GNU bug report logs - #23030
Guix commands broken

Previous Next

Package: guix;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Wed, 16 Mar 2016 15:47: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 23030 in the body.
You can then email your comments to 23030 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#23030; Package guix. (Wed, 16 Mar 2016 15:47:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Enge <andreas <at> enge.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 16 Mar 2016 15:47:01 GMT) Full text and rfc822 format available.

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

From: Andreas Enge <andreas <at> enge.fr>
To: bug-guix <at> gnu.org
Subject: Guix commands broken
Date: Wed, 16 Mar 2016 16:46:11 +0100
Hello,

sorry for the vague title; it looks as if one of the recent commits broke the
daemon for me.

$ ./pre-inst-env guix build font-forge --no-substitutes
substitute: Backtrace:
substitute: In ice-9/boot-9.scm:
substitute:   63: 19 [call-with-prompt prompt0 ...]
substitute: In ice-9/eval.scm:
substitute:  432: 18 [eval # #]
substitute: In ice-9/boot-9.scm:
substitute: 2401: 17 [save-module-excursion #<procedure 1d3f940 at ice-9/boot-9.scm:4045:3 ()>]
substitute: 4050: 16 [#<procedure 1d3f940 at ice-9/boot-9.scm:4045:3 ()>]
substitute: 1724: 15 [%start-stack load-stack ...]
substitute: 1729: 14 [#<procedure 1d57ea0 ()>]
substitute: In unknown file:
substitute:    ?: 13 [primitive-load "/gnu/store/3lg5c1nidbj0kjdz5b63hn3vp29kzf0s-guix-0.9.0.c3f29bc/bin/.guix-real"]
substitute: In guix/ui.scm:
substitute: 1175: 12 [run-guix-command substitute "--query"]
substitute: In ice-9/boot-9.scm:
substitute:  157: 11 [catch getaddrinfo-error ...]
substitute:  157: 10 [catch srfi-34 #<procedure 2c14080 at guix/ui.scm:411:2 ()> ...]
substitute:  157: 9 [catch system-error ...]
substitute: In guix/scripts/substitute.scm:
substitute:  946: 8 [#<procedure 2c140a0 at guix/scripts/substitute.scm:939:3 ()>]
substitute:  804: 7 [process-query "info /gnu/store/qdz5fp0g0sic5vc8ysvkbdm6yilcbl0d-fontforge-20120731-b " ...]
substitute:  633: 6 [lookup-narinfos/diverse # #]
substitute:  617: 5 [lookup-narinfos "https://hydra.gnu.org" #]
substitute:  589: 4 [fetch-narinfos "https://hydra.gnu.org" #]
substitute:  222: 3 [download-cache-info "https://hydra.gnu.org"]
substitute: In guix/records.scm:
substitute:  331: 2 [recutils->alist #<unspecified>]
substitute: In ice-9/rdelim.scm:
substitute:  184: 1 [read-line #<unspecified> trim]
substitute: In unknown file:
substitute:    ?: 0 [%read-line #<unspecified>]
substitute: 
substitute: ERROR: In procedure %read-line:
substitute: ERROR: In procedure %read-line: Wrong type argument in position 1 (expecting open input port): #<unspecified>
guix build: error: corrupt input while restoring archive from #<closed: file 0>

This is with commit 23d60ba65c137abf472a25db7317154abfc4af4d, and I also just
reconfigured my system to profit from the most recent updates to the daemon,
which would allow me to drop typing the "--substitute-urls=..." over and over
again.

If I understood the commit messages correctly, a mirror should be used instead
of the above https://hydra.gnu.org.

Even "./pre-inst-env guix system reconfigure ... --no-substitutes" is broken
with the same message, even after doing a ./bootstrap and complete
recompilation.

Time to go back to a previous system...

Andreas





Information forwarded to bug-guix <at> gnu.org:
bug#23030; Package guix. (Thu, 17 Mar 2016 05:47:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Andreas Enge <andreas <at> enge.fr>
Cc: 23030 <at> debbugs.gnu.org
Subject: Re: bug#23030: Guix commands broken
Date: Thu, 17 Mar 2016 01:46:21 -0400
On Wed, Mar 16, 2016 at 04:46:11PM +0100, Andreas Enge wrote:
> Hello,
> 
> sorry for the vague title; it looks as if one of the recent commits broke the
> daemon for me.
> 
> $ ./pre-inst-env guix build font-forge --no-substitutes
> substitute: Backtrace:
> substitute: In ice-9/boot-9.scm:
> substitute:   63: 19 [call-with-prompt prompt0 ...]
> substitute: In ice-9/eval.scm:
> substitute:  432: 18 [eval # #]
> substitute: In ice-9/boot-9.scm:
> substitute: 2401: 17 [save-module-excursion #<procedure 1d3f940 at ice-9/boot-9.scm:4045:3 ()>]
> substitute: 4050: 16 [#<procedure 1d3f940 at ice-9/boot-9.scm:4045:3 ()>]
> substitute: 1724: 15 [%start-stack load-stack ...]
> substitute: 1729: 14 [#<procedure 1d57ea0 ()>]
> substitute: In unknown file:
> substitute:    ?: 13 [primitive-load "/gnu/store/3lg5c1nidbj0kjdz5b63hn3vp29kzf0s-guix-0.9.0.c3f29bc/bin/.guix-real"]
> substitute: In guix/ui.scm:
> substitute: 1175: 12 [run-guix-command substitute "--query"]
> substitute: In ice-9/boot-9.scm:
> substitute:  157: 11 [catch getaddrinfo-error ...]
> substitute:  157: 10 [catch srfi-34 #<procedure 2c14080 at guix/ui.scm:411:2 ()> ...]
> substitute:  157: 9 [catch system-error ...]
> substitute: In guix/scripts/substitute.scm:
> substitute:  946: 8 [#<procedure 2c140a0 at guix/scripts/substitute.scm:939:3 ()>]
> substitute:  804: 7 [process-query "info /gnu/store/qdz5fp0g0sic5vc8ysvkbdm6yilcbl0d-fontforge-20120731-b " ...]
> substitute:  633: 6 [lookup-narinfos/diverse # #]
> substitute:  617: 5 [lookup-narinfos "https://hydra.gnu.org" #]
> substitute:  589: 4 [fetch-narinfos "https://hydra.gnu.org" #]
> substitute:  222: 3 [download-cache-info "https://hydra.gnu.org"]
> substitute: In guix/records.scm:
> substitute:  331: 2 [recutils->alist #<unspecified>]
> substitute: In ice-9/rdelim.scm:
> substitute:  184: 1 [read-line #<unspecified> trim]
> substitute: In unknown file:
> substitute:    ?: 0 [%read-line #<unspecified>]
> substitute: 
> substitute: ERROR: In procedure %read-line:
> substitute: ERROR: In procedure %read-line: Wrong type argument in position 1 (expecting open input port): #<unspecified>
> guix build: error: corrupt input while restoring archive from #<closed: file 0>

This looks like the same error as in <http://bugs.gnu.org/22937>, which
I am also getting when I try to fetch substitutes over https.

> 
> This is with commit 23d60ba65c137abf472a25db7317154abfc4af4d, and I also just
> reconfigured my system to profit from the most recent updates to the daemon,
> which would allow me to drop typing the "--substitute-urls=..." over and over
> again.
> 
> If I understood the commit messages correctly, a mirror should be used instead
> of the above https://hydra.gnu.org.
> 
> Even "./pre-inst-env guix system reconfigure ... --no-substitutes" is broken
> with the same message, even after doing a ./bootstrap and complete
> recompilation.
> 
> Time to go back to a previous system...
> 
> Andreas
> 
> 
> 
> 




Information forwarded to bug-guix <at> gnu.org:
bug#23030; Package guix. (Thu, 17 Mar 2016 08:47:01 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Leo Famulari <leo <at> famulari.name>
Cc: Andreas Enge <andreas <at> enge.fr>, 23030 <at> debbugs.gnu.org
Subject: Re: bug#23030: Guix commands broken
Date: Thu, 17 Mar 2016 09:46:11 +0100
Leo Famulari <leo <at> famulari.name> skribis:

> This looks like the same error as in <http://bugs.gnu.org/22937>, which
> I am also getting when I try to fetch substitutes over https.

Indeed.  Commit df061d079b50111280aa7209b3b3c4cf21fde218 changes the
default substitute URLs to https.

For this to work, you need to make sure that guix-daemon is running
‘guix substitute’ with the fix for #22937.

On GuixSD, it’s a matter of reconfiguring (I updated the ‘guix-devel’
snapshot on master yesterday.)

HTH!

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#23030; Package guix. (Thu, 17 Mar 2016 10:45:02 GMT) Full text and rfc822 format available.

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

From: Andreas Enge <andreas <at> enge.fr>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 23030 <at> debbugs.gnu.org, Leo Famulari <leo <at> famulari.name>
Subject: Re: bug#23030: Guix commands broken
Date: Thu, 17 Mar 2016 11:44:01 +0100
On Thu, Mar 17, 2016 at 09:46:11AM +0100, Ludovic Courtès wrote:
> Indeed.  Commit df061d079b50111280aa7209b3b3c4cf21fde218 changes the
> default substitute URLs to https.
> For this to work, you need to make sure that guix-daemon is running
> ‘guix substitute’ with the fix for #22937.
> On GuixSD, it’s a matter of reconfiguring (I updated the ‘guix-devel’
> snapshot on master yesterday.)

I see! I am always assuming that when I reconfigure, the current copy of guix
(the one from guix pull, or the one from git) is used in the resulting system
to run guix and the daemon afterwards, while in reality it is the latest guix
snapshot before that. So reconfiguring does not work unless the snapshot is
also updated.

Now to make things work in this particular case, one also needs to give
"--substitute-urls=http://..." to the "guix system reconfigure" command
to turn off https.

Adding only "--no-substitutes" is not enough; I presume this is due to the
"feature" of grafts only partially honouring this parameter, as already
discussed.

Andreas





Information forwarded to bug-guix <at> gnu.org:
bug#23030; Package guix. (Thu, 17 Mar 2016 13:02:02 GMT) Full text and rfc822 format available.

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

From: Andreas Enge <andreas <at> enge.fr>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 23030 <at> debbugs.gnu.org
Subject: Re: bug#23030: Guix commands broken
Date: Thu, 17 Mar 2016 14:01:17 +0100
Things work for me now, thanks for the help!

However, I am still seeing this with latest git:
substitute: updating list of substitutes from 'https://hydra.gnu.org'... 100.0%

Should this not be https://mirror.hydra.gnu.org?

Andreas





Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Mon, 21 Mar 2016 22:05:01 GMT) Full text and rfc822 format available.

Notification sent to Andreas Enge <andreas <at> enge.fr>:
bug acknowledged by developer. (Mon, 21 Mar 2016 22:05:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas <at> enge.fr>
Cc: 23030-done <at> debbugs.gnu.org
Subject: Re: bug#23030: Guix commands broken
Date: Mon, 21 Mar 2016 23:04:07 +0100
Andreas Enge <andreas <at> enge.fr> skribis:

> Things work for me now, thanks for the help!
>
> However, I am still seeing this with latest git:
> substitute: updating list of substitutes from 'https://hydra.gnu.org'... 100.0%
>
> Should this not be https://mirror.hydra.gnu.org?

The daemon’s default setting is to use the two URLs: first mirror.*,
then hydra.*.

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 19 Apr 2016 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 149 days ago.

Previous Next


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