GNU bug report logs - #21773
guix package -u "*" fails

Previous Next

Package: guix;

Reported by: Jan Synáček <jan.synacek <at> gmail.com>

Date: Wed, 28 Oct 2015 12:45:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21773 in the body.
You can then email your comments to 21773 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#21773; Package guix. (Wed, 28 Oct 2015 12:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jan Synáček <jan.synacek <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 28 Oct 2015 12:45:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jan Synáček <jan.synacek <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: guix package -u "*" fails
Date: Wed, 28 Oct 2015 13:44:07 +0100
[Message part 1 (text/plain, inline)]
I installed guix on my Fedora 23 machine according to
https://www.gnu.org/software/guix/manual/html_node/Binary-Installation.html#Binary-Installation.
After that, I don't recall installing anything but guile. When I attempt to
run the following command, I see a backtrace.

# guix package -u "*"
warning: failed to install locale: Invalid argument
Backtrace:
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 27e4d20> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 27e4d20>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 2801940 at
ice-9/boot-9.scm:4045:3 ()>]
4050: 11 [#<procedure 2801940 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 2818ea0 ()>]
In unknown file:
   ?: 8 [primitive-load
"/gnu/store/85nyj4lz480mxaj5szffli3c1k2rbhfn-guix-0.8.3/bin/.guix-real"]
In guix/ui.scm:
1032: 7 [run-guix-command package "-u" "*"]
In ice-9/boot-9.scm:
 157: 6 [catch srfi-34 #<procedure 4142a20 at guix/ui.scm:378:2 ()> ...]
 157: 5 [catch system-error ...]
In guix/scripts/package.scm:
 995: 4 [#<procedure 4144150 at guix/scripts/package.scm:984:4 ()>]
 854: 3 [process-actions (# # # # ...)]
 566: 2 [options->installable (# # # # ...) #<<manifest> entries: #>]
In srfi/srfi-1.scm:
 664: 1 [filter-map #<procedure 413e5e0 at guix/scripts/package.scm:566:16
(expr)> ...]
In unknown file:
   ?: 0 [make-regexp "*"]

ERROR: In procedure make-regexp:
ERROR: In procedure make-regexp: Invalid preceding regular expression

# guix --version
warning: failed to install locale: Invalid argument
guix (GNU Guix) 0.8.3

-- 
Jan Synáček
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#21773; Package guix. (Wed, 28 Oct 2015 14:06:02 GMT) Full text and rfc822 format available.

Message #8 received at 21773 <at> debbugs.gnu.org (full text, mbox):

From: "Thompson, David" <dthompson2 <at> worcester.edu>
To: Jan Synáček <jan.synacek <at> gmail.com>
Cc: 21773 <at> debbugs.gnu.org
Subject: Re: bug#21773: guix package -u "*" fails
Date: Wed, 28 Oct 2015 10:05:01 -0400
On Wed, Oct 28, 2015 at 8:44 AM, Jan Synáček <jan.synacek <at> gmail.com> wrote:
> I installed guix on my Fedora 23 machine according to
> https://www.gnu.org/software/guix/manual/html_node/Binary-Installation.html#Binary-Installation.
> After that, I don't recall installing anything but guile. When I attempt to
> run the following command, I see a backtrace.

That's because '*' isn't a valid regular expression.

- Dave




Information forwarded to bug-guix <at> gnu.org:
bug#21773; Package guix. (Wed, 28 Oct 2015 14:44:01 GMT) Full text and rfc822 format available.

Message #11 received at 21773 <at> debbugs.gnu.org (full text, mbox):

From: Alex Sassmannshausen <alex.sassmannshausen <at> gmail.com>
To: "Thompson\, David" <dthompson2 <at> worcester.edu>
Cc: Jan Synáček <jan.synacek <at> gmail.com>, 21773 <at> debbugs.gnu.org
Subject: Re: bug#21773: guix package -u "*" fails
Date: Wed, 28 Oct 2015 15:43:05 +0100
Hello,

Thompson, David writes:

> On Wed, Oct 28, 2015 at 8:44 AM, Jan Synáček <jan.synacek <at> gmail.com> wrote:
>> I installed guix on my Fedora 23 machine according to
>> https://www.gnu.org/software/guix/manual/html_node/Binary-Installation.html#Binary-Installation.
>> After that, I don't recall installing anything but guile. When I attempt to
>> run the following command, I see a backtrace.
>
> That's because '*' isn't a valid regular expression.

To add to David's comment, you could try ".*".

But alternatively, afaik, providing no argument to -u is the equivalent
to providing ".*".

HTH,

Alex





Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Wed, 28 Oct 2015 15:00:05 GMT) Full text and rfc822 format available.

Notification sent to Jan Synáček <jan.synacek <at> gmail.com>:
bug acknowledged by developer. (Wed, 28 Oct 2015 15:00:06 GMT) Full text and rfc822 format available.

Message #16 received at 21773-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: "Thompson\, David" <dthompson2 <at> worcester.edu>
Cc: Jan Synáček <jan.synacek <at> gmail.com>,
 21773-done <at> debbugs.gnu.org
Subject: Re: bug#21773: guix package -u "*" fails
Date: Wed, 28 Oct 2015 15:59:26 +0100
"Thompson, David" <dthompson2 <at> worcester.edu> skribis:

> On Wed, Oct 28, 2015 at 8:44 AM, Jan Synáček <jan.synacek <at> gmail.com> wrote:
>> I installed guix on my Fedora 23 machine according to
>> https://www.gnu.org/software/guix/manual/html_node/Binary-Installation.html#Binary-Installation.
>> After that, I don't recall installing anything but guile. When I attempt to
>> run the following command, I see a backtrace.
>
> That's because '*' isn't a valid regular expression.

Right, so if you want to upgrade all the packages, you can run either:

  guix package -u

or:

  guix package -u '.*'

Anyway, the backtrace was clearly sub-optimal.  Commit fd688c8 fixes
that.  Now you’d get this:

--8<---------------cut here---------------start------------->8---
$ LC_ALL=cs_CZ.utf8 ./pre-inst-env guix package -u '*'
guix package: error: '*' is not a valid regular expression: Nepřípustný předchozí regulární výraz
--8<---------------cut here---------------end--------------->8---

Thank you!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 26 Nov 2015 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.