GNU bug report logs - #30602
'guix pull' fails with: "Module named (system repl debug) does not exist"

Previous Next

Package: guix;

Reported by: Alex ter Weele <alex.ter.weele <at> gmail.com>

Date: Sun, 25 Feb 2018 04:37:02 UTC

Severity: serious

Merged with 30898

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 30602 in the body.
You can then email your comments to 30602 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#30602; Package guix. (Sun, 25 Feb 2018 04:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alex ter Weele <alex.ter.weele <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 25 Feb 2018 04:37:02 GMT) Full text and rfc822 format available.

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

From: Alex ter Weele <alex.ter.weele <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: guix pull failures at and after
 0458ab53f6ab58c42f379b8e7d55d130df4232e3
Date: Sat, 24 Feb 2018 22:36:17 -0600
Hello,

I and at least one other person on #guix observered guix pull failing
around 2018-02-25. I am using this commit:

    $ guix --version
    guix (GNU Guix) f09cb93e3a2310f7726cb98fa5679c1a8483c39f
    Copyright (C) 2018 the Guix authors
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.


Pulling commit 0458ab53f6ab58c42f379b8e7d55d130df4232e3 is failing
reliably for me, but other people were unable to reproduce. Here is the
output:

    $ guix pull --commit=0458ab53f6ab58c42f379b8e7d55d130df4232e3
    Updating from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
    Building from Git commit 0458ab53f6ab58c42f379b8e7d55d130df4232e3...
    substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
    The following derivation will be built:
    /gnu/store/ciawm53ygcvs7gfpb54wpzb4kkgnag9i-guix-latest.drv
    copying and compiling to '/gnu/store/r82flrikwwd6ir0qlbc8ssm1n1m2z9dw-guix-latest' with Guile 2.2.3...
    loading...       25.9% of 667 filesrandom seed for tests: 1519531629
    compiling...    100.0% of 667 files
    Backtrace:
    Exception thrown while printing backtrace:
    In procedure public-lookup: Module named (system repl debug) does not exist


    Some deprecated features have been used.  Set the environment
    variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
    program to get more information.  Set it to "no" to suppress
    this message.
    builder for `/gnu/store/ciawm53ygcvs7gfpb54wpzb4kkgnag9i-guix-latest.drv' failed with exit code 1
    guix pull: error: build failed: build of `/gnu/store/ciawm53ygcvs7gfpb54wpzb4kkgnag9i-guix-latest.drv' failed

Pulling the current tip also fails:

    $ guix pull --commit=0181df537ffb4e4273b2ca005738fdb7bd3d73f5
    Updating from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
    Building from Git commit 0181df537ffb4e4273b2ca005738fdb7bd3d73f5...
    The following derivation will be built:
    /gnu/store/l4zlr66svshwhp5mmv597mr0s5rj3hvi-guix-latest.drv
    copying and compiling to '/gnu/store/aqqlcynpjv7lm0f6icvg35m2nvp05vrg-guix-latest' with Guile 2.2.3...
    loading...       25.9% of 667 filesrandom seed for tests: 1519530903
    compiling...    100.0% of 667 files
    Backtrace:
    Exception thrown while printing backtrace:
    In procedure public-lookup: Module named (system repl debug) does not exist


    Some deprecated features have been used.  Set the environment
    variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
    program to get more information.  Set it to "no" to suppress
    this message.
    builder for `/gnu/store/l4zlr66svshwhp5mmv597mr0s5rj3hvi-guix-latest.drv' failed with exit code 1
    guix pull: error: build failed: build of `/gnu/store/l4zlr66svshwhp5mmv597mr0s5rj3hvi-guix-latest.drv' failed

I tried to reproduce the problem by building locally, but a clean build
from that commit succeeds.

    git rev-parse HEAD && guix environment guix -- make -j4
    0458ab53f6ab58c42f379b8e7d55d130df4232e3
    GEN      doc/os-config-bare-bones.texi
    GEN      doc/os-config-lightweight-desktop.texi
    GEN      nix/libstore/schema.sql.hh
    GEN      doc/os-config-desktop.texi
    echo 0.14.0.2563-0458a > ".version-t" && mv ".version-t" ".version"
    make  all-recursive
    make[1]: Entering directory '/home/alex/src/guix'
    ...
    Some deprecated features have been used.  Set the environment
    variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
    program to get more information.  Set it to "no" to suppress
    this message.
    make[2]: Leaving directory '/home/alex/src/guix'
    make[1]: Leaving directory '/home/alex/src/guix'

    Compilation finished at Sat Feb 24 22:31:18

Anything else I can try? The commits in question have nothing to do with
the mechanics of guix pull, AFAICT, which makes this even stranger.




Information forwarded to bug-guix <at> gnu.org:
bug#30602; Package guix. (Sun, 25 Feb 2018 16:33:02 GMT) Full text and rfc822 format available.

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

From: Alex ter Weele <alex.ter.weele <at> gmail.com>
To: bug#30602 <30602 <at> debbugs.gnu.org>
Subject: Re: Status: guix pull failures at and after
 0458ab53f6ab58c42f379b8e7d55d130df4232e3
Date: Sun, 25 Feb 2018 10:32:15 -0600
I pulled an earlier commit to sanity-check myself:

    $ guix pull --commit=5a227e7c5c2054af036d95895c92dd56ec88338d
    Updating from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
    Building from Git commit 5a227e7c5c2054af036d95895c92dd56ec88338d...
    substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
    The following derivation will be built:
    /gnu/store/lgk59hz0ca5zff7ffcxmicyvr8146gb9-guix-latest.drv
    copying and compiling to '/gnu/store/ix9nini4rs7b4m5k335vdbdhz303f4lh-guix-latest' with Guile 2.2.3...
    loading...	 25.9% of 667 filesrandom seed for tests: 1519536908
    compiling...	100.0% of 667 files

    Some deprecated features have been used.  Set the environment
    variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
    program to get more information.  Set it to "no" to suppress
    this message.
    updated GNU Guix successfully deployed under `/home/alex/.config/guix/latest'

Then I pulled again to get the tip of the repository, and it worked:

    $ guix pull
    Updating from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
    Building from Git commit 0181df537ffb4e4273b2ca005738fdb7bd3d73f5...
    substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
    The following derivation will be built:
    /gnu/store/l4zlr66svshwhp5mmv597mr0s5rj3hvi-guix-latest.drv
    copying and compiling to '/gnu/store/aqqlcynpjv7lm0f6icvg35m2nvp05vrg-guix-latest' with Guile 2.2.3...
    loading...	 25.9% of 667 filesrandom seed for tests: 1519538816
    compiling...	100.0% of 667 files

    Some deprecated features have been used.  Set the environment
    variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
    program to get more information.  Set it to "no" to suppress
    this message.
    updated GNU Guix successfully deployed under `/home/alex/.config/guix/latest'
    $ guix --version
    guix (GNU Guix) 0181df537ffb4e4273b2ca005738fdb7bd3d73f5
    Copyright (C) 2018 the Guix authors
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.




Information forwarded to bug-guix <at> gnu.org:
bug#30602; Package guix. (Mon, 26 Feb 2018 15:05:01 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Alex ter Weele <alex.ter.weele <at> gmail.com>
Cc: 30602 <at> debbugs.gnu.org
Subject: Re: bug#30602: guix pull failures at and after
 0458ab53f6ab58c42f379b8e7d55d130df4232e3
Date: Mon, 26 Feb 2018 16:04:40 +0100
Hi Alex,

Alex ter Weele <alex.ter.weele <at> gmail.com> skribis:

>     The following derivation will be built:
>     /gnu/store/ciawm53ygcvs7gfpb54wpzb4kkgnag9i-guix-latest.drv
>     copying and compiling to '/gnu/store/r82flrikwwd6ir0qlbc8ssm1n1m2z9dw-guix-latest' with Guile 2.2.3...
>     loading...       25.9% of 667 filesrandom seed for tests: 1519531629
>     compiling...    100.0% of 667 files
>     Backtrace:
>     Exception thrown while printing backtrace:
>     In procedure public-lookup: Module named (system repl debug) does not exist

I’m afraid this is a non-deterministic build failure having to do with
multithreading in the compilation process.

Let’s see what can be done…

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#30602; Package guix. (Mon, 26 Feb 2018 17:32:01 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Alex ter Weele <alex.ter.weele <at> gmail.com>
Cc: 30602 <at> debbugs.gnu.org
Subject: Re: bug#30602: guix pull failures at and after
 0458ab53f6ab58c42f379b8e7d55d130df4232e3
Date: Mon, 26 Feb 2018 18:31:10 +0100
Hi again,

Alex ter Weele <alex.ter.weele <at> gmail.com> skribis:

>     The following derivation will be built:
>     /gnu/store/ciawm53ygcvs7gfpb54wpzb4kkgnag9i-guix-latest.drv
>     copying and compiling to '/gnu/store/r82flrikwwd6ir0qlbc8ssm1n1m2z9dw-guix-latest' with Guile 2.2.3...
>     loading...       25.9% of 667 filesrandom seed for tests: 1519531629
>     compiling...    100.0% of 667 files
>     Backtrace:
>     Exception thrown while printing backtrace:
>     In procedure public-lookup: Module named (system repl debug) does not exist

Looking more closely, (system repl debug) is used in one place, (guix ui),
where it’s an #:autoload.

Here the (guix ui) code is failing to load that module, and thus failing
to provide a good backtrace and error message.

However I’m unclear whether the error is on the client side (the ‘guix
pull’ process), or whether it’s on the build side (in the guile process
that builds the derivation.)

Can you paste the output of:

  cat $(guix build --log-file /gnu/store/ciawm53ygcvs7gfpb54wpzb4kkgnag9i-guix-latest.drv)

?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#30602; Package guix. (Tue, 27 Feb 2018 12:08:02 GMT) Full text and rfc822 format available.

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

From: Alex ter Weele <alex.ter.weele <at> gmail.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 30602 <at> debbugs.gnu.org, Alex ter Weele <alex.ter.weele <at> gmail.com>
Subject: Re: bug#30602: guix pull failures at and after
 0458ab53f6ab58c42f379b8e7d55d130df4232e3
Date: Tue, 27 Feb 2018 06:07:31 -0600
Here it is:

    $ bzcat $(guix build --log-file /gnu/store/ciawm53ygcvs7gfpb54wpzb4kkgnag9i-guix-latest.drv)
    copying and compiling to '/gnu/store/r82flrikwwd6ir0qlbc8ssm1n1m2z9dw-guix-latest' with Guile 2.2.3...
    loading...	 25.9% of 667 filesrandom seed for tests: 1519531629
    compiling...	100.0% of 667 files
    Backtrace:
    Exception thrown while printing backtrace:
    In procedure public-lookup: Module named (system repl debug) does not exist


    Some deprecated features have been used.  Set the environment
    variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
    program to get more information.  Set it to "no" to suppress
    this message.




Severity set to 'important' from 'normal' Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Thu, 15 Mar 2018 09:33:01 GMT) Full text and rfc822 format available.

Changed bug title to ''guix pull' fails with: "Module named (system repl debug) does not exist"' from 'guix pull failures at and after 0458ab53f6ab58c42f379b8e7d55d130df4232e3' Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Tue, 01 May 2018 20:25:02 GMT) Full text and rfc822 format available.

Merged 30602 30898. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Tue, 01 May 2018 20:31:04 GMT) Full text and rfc822 format available.

Severity set to 'serious' from 'important' Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Thu, 21 Jun 2018 13:44:01 GMT) Full text and rfc822 format available.

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Sun, 29 Jul 2018 15:27:01 GMT) Full text and rfc822 format available.

Notification sent to Alex ter Weele <alex.ter.weele <at> gmail.com>:
bug acknowledged by developer. (Sun, 29 Jul 2018 15:27:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Alex ter Weele <alex.ter.weele <at> gmail.com>
Cc: 30602-done <at> debbugs.gnu.org
Subject: Re: bug#30602: guix pull failures at and after
 0458ab53f6ab58c42f379b8e7d55d130df4232e3
Date: Sun, 29 Jul 2018 17:26:03 +0200
Hello,

Alex ter Weele <alex.ter.weele <at> gmail.com> skribis:

>     $ bzcat $(guix build --log-file /gnu/store/ciawm53ygcvs7gfpb54wpzb4kkgnag9i-guix-latest.drv)
>     copying and compiling to '/gnu/store/r82flrikwwd6ir0qlbc8ssm1n1m2z9dw-guix-latest' with Guile 2.2.3...
>     loading...	 25.9% of 667 filesrandom seed for tests: 1519531629
>     compiling...	100.0% of 667 files
>     Backtrace:
>     Exception thrown while printing backtrace:
>     In procedure public-lookup: Module named (system repl debug) does not exist

With Guile 2.2.4, which includes several thread-safety fixes in the
module system and VM, and which ‘guix pull’ uses since commit
084f64cb032b6ab4ce326b088d230bd1ead53ee2, the problem appears to be
gone.

Closing!

Ludo’.




Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Sun, 29 Jul 2018 15:27:02 GMT) Full text and rfc822 format available.

Notification sent to Fis Trivial <ybbs.daans <at> hotmail.com>:
bug acknowledged by developer. (Sun, 29 Jul 2018 15:27:02 GMT) Full text and rfc822 format available.

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

This bug report was last modified 5 years and 215 days ago.

Previous Next


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