all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#32821: guix pull error - from 20f8d73face564deec2f21130fb465c8c3d9a8e9 to 53c64d7c9303d52cbacdaca5d182175d472c53db
@ 2018-09-24 14:08 Danny Milosavljevic
  2018-09-24 14:26 ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Danny Milosavljevic @ 2018-09-24 14:08 UTC (permalink / raw)
  To: 32821

[-- Attachment #1: Type: text/plain, Size: 2187 bytes --]

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@gnu.org>.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#32821: guix pull error - from 20f8d73face564deec2f21130fb465c8c3d9a8e9 to 53c64d7c9303d52cbacdaca5d182175d472c53db
  2018-09-24 14:08 bug#32821: guix pull error - from 20f8d73face564deec2f21130fb465c8c3d9a8e9 to 53c64d7c9303d52cbacdaca5d182175d472c53db Danny Milosavljevic
@ 2018-09-24 14:26 ` Leo Famulari
  2018-09-25  7:59   ` Danny Milosavljevic
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2018-09-24 14:26 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 32821-done

[-- Attachment #1: Type: text/plain, Size: 1148 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#32821: guix pull error - from 20f8d73face564deec2f21130fb465c8c3d9a8e9 to 53c64d7c9303d52cbacdaca5d182175d472c53db
  2018-09-24 14:26 ` Leo Famulari
@ 2018-09-25  7:59   ` Danny Milosavljevic
  2018-09-25 15:17     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Danny Milosavljevic @ 2018-09-25  7:59 UTC (permalink / raw)
  To: Leo Famulari, ludo; +Cc: 32821-done

[-- Attachment #1: Type: text/plain, Size: 6340 bytes --]

Hi Leo,
Hi Ludo,

On Mon, 24 Sep 2018 10:26:19 -0400
Leo Famulari <leo@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@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@gnu.org>.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#32821: guix pull error - from 20f8d73face564deec2f21130fb465c8c3d9a8e9 to 53c64d7c9303d52cbacdaca5d182175d472c53db
  2018-09-25  7:59   ` Danny Milosavljevic
@ 2018-09-25 15:17     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2018-09-25 15:17 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 32821-done

Hi Danny,

Danny Milosavljevic <dannym@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’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-09-25 15:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-24 14:08 bug#32821: guix pull error - from 20f8d73face564deec2f21130fb465c8c3d9a8e9 to 53c64d7c9303d52cbacdaca5d182175d472c53db Danny Milosavljevic
2018-09-24 14:26 ` Leo Famulari
2018-09-25  7:59   ` Danny Milosavljevic
2018-09-25 15:17     ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.