GNU bug report logs - #32821
guix pull error - from 20f8d73face564deec2f21130fb465c8c3d9a8e9 to 53c64d7c9303d52cbacdaca5d182175d472c53db

Previous Next

Package: guix;

Reported by: Danny Milosavljevic <dannym <at> scratchpost.org>

Date: Mon, 24 Sep 2018 14:09:02 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

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 32821 in the body.
You can then email your comments to 32821 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#32821; Package guix. (Mon, 24 Sep 2018 14:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 24 Sep 2018 14:09:02 GMT) Full text and rfc822 format available.

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

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: <bug-guix <at> gnu.org>
Subject: guix pull error - from 20f8d73face564deec2f21130fb465c8c3d9a8e9 to
 53c64d7c9303d52cbacdaca5d182175d472c53db
Date: Mon, 24 Sep 2018 16:08:26 +0200
[Message part 1 (text/plain, inline)]
LC_ALL=C guix pull
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git   53c64d7
guix pull: warning: failed to load '(wip android)':
Unbound variable: android-platform-version
guix pull: warning: failed to load '(wip pascal)':
Unbound variable: custom-gcc
Backtrace:
In ice-9/boot-9.scm:
   2862:4 19 (define-module* _ #:filename _ #:pure _ #:version _ # _ ?)
  2071:24 18 (call-with-deferred-observers #<procedure 2317140 at ic?>)
  2875:24 17 (_)
   222:17 16 (map1 (((guix utils)) ((guix config)) ((guix #)) ((?)) ?))
  2788:17 15 (resolve-interface (guix utils) #:select _ #:hide _ # _ ?)
  2714:10 14 (_ (guix utils) _ _ #:ensure _)
  2982:16 13 (try-module-autoload _ _)
   2312:4 12 (save-module-excursion #<procedure 236e960 at ice-9/boo?>)
  3002:22 11 (_)
In unknown file:
          10 (primitive-load-path "guix/utils" #<procedure 2133120 a?>)
In ice-9/eval.scm:
   721:20  9 (primitive-eval (define-module (guix utils) # (guix ?) ?))
In ice-9/psyntax.scm:
  1235:36  8 (expand-top-sequence ((define-module (guix utils) # ?)) ?)
  1182:24  7 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
   285:10  6 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) ?)
In ice-9/eval.scm:
   293:34  5 (_ #<module (#{ g17}#) 2226820>)
In ice-9/boot-9.scm:
   2862:4  4 (define-module* _ #:filename _ #:pure _ #:version _ # _ ?)
  2875:24  3 (_)
   222:17  2 (map1 (((guix config)) ((srfi srfi-1)) ((srfi #)) (#) ?))
   2791:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ ?)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("no code for modu?" ?) ?)

ERROR: In procedure scm-error:
no code for module (guix config)
guix pull: error: You found a bug: the program '/gnu/store/njdhsdv216hyk23nfrc7wh9hbq17ymxk-compute-guix-derivation'
failed to compute the derivation for Guix (version: "53c64d7c9303d52cbacdaca5d182175d472c53db"; system: "x86_64-linux";
host version: "20f8d73face564deec2f21130fb465c8c3d9a8e9"; pull-version: 1).
Please report it by email to <bug-guix <at> gnu.org>.
[Message part 2 (application/pgp-signature, inline)]

Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Mon, 24 Sep 2018 14:27:01 GMT) Full text and rfc822 format available.

Notification sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
bug acknowledged by developer. (Mon, 24 Sep 2018 14:27:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 32821-done <at> debbugs.gnu.org
Subject: Re: bug#32821: guix pull error - from
 20f8d73face564deec2f21130fb465c8c3d9a8e9 to
 53c64d7c9303d52cbacdaca5d182175d472c53db
Date: Mon, 24 Sep 2018 10:26:19 -0400
[Message part 1 (text/plain, inline)]
On Mon, Sep 24, 2018 at 04:08:26PM +0200, Danny Milosavljevic wrote:
> Building from this channel:

[...]

> no code for module (guix config)
> guix pull: error: You found a bug: the program '/gnu/store/njdhsdv216hyk23nfrc7wh9hbq17ymxk-compute-guix-derivation'
> failed to compute the derivation for Guix (version: "53c64d7c9303d52cbacdaca5d182175d472c53db"; system: "x86_64-linux";
> host version: "20f8d73face564deec2f21130fb465c8c3d9a8e9"; pull-version: 1).

Discussed on #guix [0]:

[14:40:28] <civodul> hmm /gnu/store/njdhsdv216hyk23nfrc7wh9hbq17ymxk-compute-guix-derivation has no references
[15:49:47] <civodul> if i rebuild compute-guix-derivation.drv locally, it gets a proper list of referenecs
[15:52:40] <lfam> civodul: How do you figure out which drv it is?
[15:52:52] <civodul> "guix gc --derivers ...-compute-guix-derivation"

Ludo rebuilt the affected file on berlin.guixsd.org, so you garbage
collect 'njdhsdv216hyk23nfrc7wh9hbq17ymxk-compute-guix-derivation' and
then try again.

If that doesn't work yet, rebuild one of the derivers locally with
--no-substitutes.

[0] https://bayfront.guixsd.org/.well-known/logs/2018-09-24.log
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#32821; Package guix. (Tue, 25 Sep 2018 08:00:02 GMT) Full text and rfc822 format available.

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

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Leo Famulari <leo <at> famulari.name>, <ludo <at> gnu.org>
Cc: 32821-done <at> debbugs.gnu.org
Subject: Re: bug#32821: guix pull error - from
 20f8d73face564deec2f21130fb465c8c3d9a8e9 to
 53c64d7c9303d52cbacdaca5d182175d472c53db
Date: Tue, 25 Sep 2018 09:59:24 +0200
[Message part 1 (text/plain, inline)]
Hi Leo,
Hi Ludo,

On Mon, 24 Sep 2018 10:26:19 -0400
Leo Famulari <leo <at> famulari.name> wrote:

> On Mon, Sep 24, 2018 at 04:08:26PM +0200, Danny Milosavljevic wrote:
> > Building from this channel:  
> 
> [...]
> 
> > no code for module (guix config)
> > guix pull: error: You found a bug: the program '/gnu/store/njdhsdv216hyk23nfrc7wh9hbq17ymxk-compute-guix-derivation'
> > failed to compute the derivation for Guix (version: "53c64d7c9303d52cbacdaca5d182175d472c53db"; system: "x86_64-linux";
> > host version: "20f8d73face564deec2f21130fb465c8c3d9a8e9"; pull-version: 1).  
> 
> Discussed on #guix [0]:
> 
> [14:40:28] <civodul> hmm /gnu/store/njdhsdv216hyk23nfrc7wh9hbq17ymxk-compute-guix-derivation has no references
> [15:49:47] <civodul> if i rebuild compute-guix-derivation.drv locally, it gets a proper list of referenecs
> [15:52:40] <lfam> civodul: How do you figure out which drv it is?
> [15:52:52] <civodul> "guix gc --derivers ...-compute-guix-derivation"

$ ls -l /gnu/store/njdhsdv216hyk23nfrc7wh9hbq17ymxk-compute-guix-derivation
-r-xr-xr-x 2 root root 1855 Jan  1  1970 /gnu/store/njdhsdv216hyk23nfrc7wh9hbq17ymxk-compute-guix-derivation

$ guix gc --references /gnu/store/njdhsdv216hyk23nfrc7wh9hbq17ymxk-compute-guix-derivation
$ guix gc --derivers /gnu/store/njdhsdv216hyk23nfrc7wh9hbq17ymxk-compute-guix-derivation

/gnu/store/lbv2w8929xdniz4aih1hmwf2dz78d456-compute-guix-derivation.drv

$ guix gc
$ ls /gnu/store/njdhsdv216hyk23nfrc7wh9hbq17ymxk-compute-guix-derivation 
ls: cannot access '/gnu/store/njdhsdv216hyk23nfrc7wh9hbq17ymxk-compute-guix-derivation': No such file or directory
$ guix pull
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git   0001478
guix pull: warning: failed to load '(wip android)':
Unbound variable: android-platform-version
guix pull: warning: failed to load '(wip pascal)':
Unbound variable: custom-gcc
0.0 MB will be downloaded:
   /gnu/store/njdhsdv216hyk23nfrc7wh9hbq17ymxk-compute-guix-derivation
Downloading https://berlin.guixsd.org/nar/gzip/njdhsdv216hyk23nfrc7wh9hbq17ymxk-compute-guix-derivation...
 compute-guix-derivation  887B                                                                                                                      268KiB/s 00:00 [##################] 100.0%

Backtrace:
In ice-9/boot-9.scm:
   2862:4 19 (define-module* _ #:filename _ #:pure _ #:version _ # _ ?)
  2071:24 18 (call-with-deferred-observers #<procedure 10b4140 at ic?>)
  2875:24 17 (_)
   222:17 16 (map1 (((guix utils)) ((guix config)) ((guix #)) ((?)) ?))
  2788:17 15 (resolve-interface (guix utils) #:select _ #:hide _ # _ ?)
  2714:10 14 (_ (guix utils) _ _ #:ensure _)
  2982:16 13 (try-module-autoload _ _)
   2312:4 12 (save-module-excursion #<procedure 11097b0 at ice-9/boo?>)
  3002:22 11 (_)
In unknown file:
          10 (primitive-load-path "guix/utils" #<procedure 1047600 a?>)
In ice-9/eval.scm:
   721:20  9 (primitive-eval (define-module (guix utils) # (guix ?) ?))
In ice-9/psyntax.scm:
  1235:36  8 (expand-top-sequence ((define-module (guix utils) # ?)) ?)
  1182:24  7 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
   285:10  6 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) ?)
In ice-9/eval.scm:
   293:34  5 (_ #<module (#{ g17}#) fc1820>)
In ice-9/boot-9.scm:
   2862:4  4 (define-module* _ #:filename _ #:pure _ #:version _ # _ ?)
  2875:24  3 (_)
   222:17  2 (map1 (((guix config)) ((srfi srfi-1)) ((srfi #)) (#) ?))
   2791:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ ?)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("no code for modu?" ?) ?)

ERROR: In procedure scm-error:
no code for module (guix config)
guix pull: error: You found a bug: the program '/gnu/store/njdhsdv216hyk23nfrc7wh9hbq17ymxk-compute-guix-derivation'
failed to compute the derivation for Guix (version: "000147811b15465cd0f67d2635ba7d807d865afd"; system: "x86_64-linux";
host version: "20f8d73face564deec2f21130fb465c8c3d9a8e9"; pull-version: 1).
Please report it by email to <bug-guix <at> gnu.org>.

$ guix pull --no-substitutes
... builds openssl
... builds libX11
... builds libtiff
... builds ghostscript
... builds libcurl
... builds gettext
... builds subversion
... some others
... finally fails:
phase `compress-documentation' succeeded after 0.0 seconds
Backtrace:
In ice-9/boot-9.scm:
   2862:4 19 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
  2071:24 18 (call-with-deferred-observers #<procedure 22db140 at ic…>)
  2875:24 17 (_)
   222:17 16 (map1 (((guix utils)) ((guix config)) ((guix #)) ((…)) …))
  2788:17 15 (resolve-interface (guix utils) #:select _ #:hide _ # _ …)
  2714:10 14 (_ (guix utils) _ _ #:ensure _)
  2982:16 13 (try-module-autoload _ _)
   2312:4 12 (save-module-excursion #<procedure 2332960 at ice-9/boo…>)
  3002:22 11 (_)
In unknown file:
          10 (primitive-load-path "guix/utils" #<procedure 211eb00 a…>)
In ice-9/eval.scm:
   721:20  9 (primitive-eval (define-module (guix utils) # (guix …) …))
In ice-9/psyntax.scm:
  1235:36  8 (expand-top-sequence ((define-module (guix utils) # …)) …)
  1182:24  7 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
   285:10  6 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …)
In ice-9/eval.scm:
   293:34  5 (_ #<module (#{ g17}#) 21ea820>)
In ice-9/boot-9.scm:
   2862:4  4 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
  2875:24  3 (_)
   222:17  2 (map1 (((guix config)) ((srfi srfi-1)) ((srfi #)) (#) …))
   2791:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)

ERROR: In procedure scm-error:
no code for module (guix config)
guix pull: error: You found a bug: the program '/gnu/store/njdhsdv216hyk23nfrc7wh9hbq17ymxk-compute-guix-derivation'
failed to compute the derivation for Guix (version: "000147811b15465cd0f67d2635ba7d807d865afd"; system: "x86_64-linux";
host version: "20f8d73face564deec2f21130fb465c8c3d9a8e9"; pull-version: 1).
Please report it by email to <bug-guix <at> gnu.org>.
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#32821; Package guix. (Tue, 25 Sep 2018 15:18:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 32821-done <at> debbugs.gnu.org, Leo Famulari <leo <at> famulari.name>
Subject: Re: bug#32821: guix pull error - from
 20f8d73face564deec2f21130fb465c8c3d9a8e9 to
 53c64d7c9303d52cbacdaca5d182175d472c53db
Date: Tue, 25 Sep 2018 17:17:44 +0200
Hi Danny,

Danny Milosavljevic <dannym <at> scratchpost.org> skribis:

> $ guix pull
> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
> Building from this channel:
>   guix      https://git.savannah.gnu.org/git/guix.git   0001478
> guix pull: warning: failed to load '(wip android)':
> Unbound variable: android-platform-version
> guix pull: warning: failed to load '(wip pascal)':
> Unbound variable: custom-gcc
> 0.0 MB will be downloaded:
>    /gnu/store/njdhsdv216hyk23nfrc7wh9hbq17ymxk-compute-guix-derivation
> Downloading https://berlin.guixsd.org/nar/gzip/njdhsdv216hyk23nfrc7wh9hbq17ymxk-compute-guix-derivation...
>  compute-guix-derivation  887B                                                                                                                      268KiB/s 00:00 [##################] 100.0%

It’s possible that you had a cached narinfo with zero references in
/var/guix/substitute/cache.

Right now I get:

$ --8<---------------cut here---------------start------------->8---
$ wget -q -O - https://berlin.guixsd.org/njdhsdv216hyk23nfrc7wh9hbq17ymxk.narinfo |grep ^Ref
References: 466iifqhyq99qy41km5h6vy6nn6a5m0b-module-import-compiled 6mfd4f8gy11rgn2xk00cnslmrslg9w7h-guile-2.2.3 ak8kcfpyz76vhn9g2giygrxpx9zfi9zw-module-import qbzw2ygy1nq2h0nq6sl9cgg1c5mq5g8z-guile-gcrypt-0.1.0
--8<---------------cut here---------------end--------------->8---

This kind of problem can propagate to every user who trusts the build
farm, so it’s obviously a serious issue.

I’d like to understand how this happened in the first place but all I
can think of is some database corruption or hardware failure.  The
reference scanner in libstore/references.cc cannot be blamed AFAICS.

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 24 Oct 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 244 days ago.

Previous Next


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