guix pull error - from 20f8d73face564deec2f21130fb465c8c3d9a8e9 to 53c64d7c9303d52cbacdaca5d182175d472c53db

  • Done
  • quality assurance status badge
Details
3 participants
  • Danny Milosavljevic
  • Leo Famulari
  • Ludovic Courtès
Owner
unassigned
Submitted by
Danny Milosavljevic
Severity
normal
D
D
Danny Milosavljevic wrote on 24 Sep 2018 16:08
(address . bug-guix@gnu.org)
20180924160826.4426a5e6@scratchpost.org
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 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>.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAluo79oACgkQ5xo1VCww
uqUk3Qf9GfG07mkPMDDe8eDsDgiDAlbjqL95ouFalK4z9BNGY6b9htesO2cW6Jze
3ev65TldbbqkC0XY+IqSzRgeHnIZl0KhAi27xT7HfZEGg23bLtlwk6/sJqajGF9j
EHGTC6MYnVxIRe0CyS5559w0cobVTwp/WGwd7rj3A9Xau/5yyqKood0KAb3+4hmK
ArLJHyDtPKTDsIm/h+Fsso1rqhYjDBODHV2cxMZDI1FALs7PRQKpLWv87GMHs+J7
ptCUUhsOyb4oIa/KmZ19Zcwh1v3BocY1Y5Tcvg8pHo0RR1LCszbim+RpF8eeLr0k
A7h1RBHoJe0ke0+rpWGtHMKMwMb6vA==
=rNca
-----END PGP SIGNATURE-----


L
L
Leo Famulari wrote on 24 Sep 2018 16:26
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)(address . 32821-done@debbugs.gnu.org)
20180924142619.GA11026@jasmine.lan
On Mon, Sep 24, 2018 at 04:08:26PM +0200, Danny Milosavljevic wrote:
Toggle quote (2 lines)
> Building from this channel:

[...]

Toggle quote (5 lines)
> 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.

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAluo9AgACgkQJkb6MLrK
fwiUhQ//UcBuvfx8ipsRCBznkUs2GGKuqKO7iSInFzVPuXSKZjLeBGaHKPKgZp/t
x+rajRPLaEihglD7B56bfw3sx33x/f9hnkLIEeWrx23kzbM/gexH8NELK9YkvkLh
pkuG5d8LWJ92QZEPA2ANcun2L1nY+riMXCvsxumylqz6oPJjaio7MR96GkDHGJXA
YHBd7RMhNTEIVIZADAAu7Q7cyVzHLKMvov3jPehu/DIyVWjrs+HSHwVTsU4inTXn
TJz72WzaEuc595qwC98QDtm+t/rXleRTMotojtMM5O35Gr3FfQiKBVtMSHn0z2Lk
Vou6FMlD47u1c8db9SS3CliejupoXwgqWeTqYAdgMqKIVan9W3FpVl+4AsWT17/p
e8U9pQuIRxjCtluEiIcnVZ4ifGOqvxqEHvra73I/JYtTwkehdxpaH6+grHsZpRAF
TC9+O/dC6YPtUbVDlQeN4OfsYgDBGYdv70yeSB+sIpn8r+TbCD2I1cQcaQJ/Xnko
5MZHwz8a9o1XmFNXzmx3i7dTVQMH59Lh9Y95v73lo34rVE1nM64TaOVrndAae40s
Vnm1BDfxzzqp5zO8v6LSi8OUYz+xTugEUGiiXFvHR5EI1PvAb4E1ljL9yYoWqHsT
UjVK/It/jhwhK4AYesugFyh07LTZqocQYmK71TCL+6O4OBjpQQQ=
=t/wB
-----END PGP SIGNATURE-----


Closed
D
D
Danny Milosavljevic wrote on 25 Sep 2018 09:59
(address . 32821-done@debbugs.gnu.org)
20180925095924.719e7472@scratchpost.org
Hi Leo,
Hi Ludo,

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

Toggle quote (17 lines)
> 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 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
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>.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlup6twACgkQ5xo1VCww
uqWY0wf/duoQG1x3qmfYDM37c/fhDnhQL07nXfKlR61o4+0v8ugl6hI45GYvNrr+
FmzqmgSnzR2q0NbhBOfGwd3M/+VZg3PLOGbAMTA3vG0bWzyEej4uFmfXAoV42QYA
MquM5Dtn3epleEiYwaLYdIZPaWX60YUDIzOja5bJSezTqemJCY5O3CeyHRvBgGfy
wc5p6SYlj+4ikT9YK3WdjRKKiu+Mt9lUesgjEW3/IMOqBp/a6vScaqwYOAz17y83
o/6Cry2UVFSA2hpMXJiuG6TU7Hb5Tiy3MRAxfkhPE7Y78ZFsonOY+yN1pvEkKl08
3vSQaCmjsCSBm3QzOME9Ng3115UzEA==
=WoSb
-----END PGP SIGNATURE-----


Closed
L
L
Ludovic Courtès wrote on 25 Sep 2018 17:17
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
87sh1x4ndz.fsf@gnu.org
Hi Danny,

Danny Milosavljevic <dannym@scratchpost.org> skribis:

Toggle quote (13 lines)
> $ 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---
References: 466iifqhyq99qy41km5h6vy6nn6a5m0b-module-import-compiled 6mfd4f8gy11rgn2xk00cnslmrslg9w7h-guile-2.2.3 ak8kcfpyz76vhn9g2giygrxpx9zfi9zw-module-import qbzw2ygy1nq2h0nq6sl9cgg1c5mq5g8z-guile-gcrypt-0.1.0
Toggle snippet (10 lines)
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’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 32821@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 32821
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch