GNU bug report logs - #36723
[core-updates] Error building module-import-compiled

Previous Next

Package: guix;

Reported by: Timothy Sample <samplet <at> ngyro.com>

Date: Thu, 18 Jul 2019 18:00:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

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 36723 in the body.
You can then email your comments to 36723 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#36723; Package guix. (Thu, 18 Jul 2019 18:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Timothy Sample <samplet <at> ngyro.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 18 Jul 2019 18:00:02 GMT) Full text and rfc822 format available.

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

From: Timothy Sample <samplet <at> ngyro.com>
To: bug-guix <at> gnu.org
Subject: [core-updates] Error building module-import-compiled
Date: Thu, 18 Jul 2019 13:59:44 -0400
Hi,

Whenever I try to build the following (i.e., using “guix build -f”)

    (use-modules (guix gexp)
                 (guix modules))

    (scheme-file
     "test.scm"
     (with-imported-modules (source-module-closure
                             '((gnu build file-systems)))
       #~(values #t)))

it says:

-----
building /gnu/store/2gmxyxpfs0a2j6pcn9xagam6hczlvihb-module-import-compiled.drv...
[ 1/14] Loading './gnu/build/file-systems.scm'...
[ 2/14] Loading './gnu/system/file-systems.scm'...
[ 3/14] Loading './gnu/system/uuid.scm'...
[ 4/14] Loading './guix/build/bournish.scm'...
[ 5/14] Loading './guix/build/syscalls.scm'...
Backtrace:
          11 (primitive-load "/gnu/store/qz6d59zqvdd5pj9hprk7sfjkpy3?")
In ice-9/eval.scm:
    619:8 10 (_ #f)
In srfi/srfi-1.scm:
   466:18  9 (fold #<procedure 7ffff5d2d520 at ice-9/eval.scm:336:1?> ?)
   466:18  8 (fold #<procedure 7ffff54bc2c0 at ice-9/eval.scm:336:1?> ?)
   466:18  7 (fold #<procedure 7ffff54c3dc0 at ice-9/eval.scm:336:1?> ?)
In ice-9/eval.scm:
    619:8  6 (_ #(#(#<directory (guix build utils) 7ffff6f53500>) # ?))
In ice-9/boot-9.scm:
   2312:4  5 (save-module-excursion _)
In unknown file:
           4 (primitive-load "./guix/build/syscalls.scm")
In ice-9/eval.scm:
    619:8  3 (_ #f)
In ice-9/boot-9.scm:
  2071:24  2 (call-with-deferred-observers #<procedure 7ffff50e4700 ?>)
   260:13  1 (for-each #<procedure 7ffff50e4480 at ice-9/boot-9.scm?> ?)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("re-exporting loc?" ?) ?)

ERROR: In procedure scm-error:
re-exporting local variable: AT_SYMLINK_NOFOLLOW
builder for `/gnu/store/2gmxyxpfs0a2j6pcn9xagam6hczlvihb-module-import-compiled.drv' failed with exit code 1
-----

Importing “(guix build syscalls)” by itself using
“with-imported-modules” works fine.

This is needed when building the Shepherd service for mounting file
systems, so it prevents me from building any systems on core-updates
(for example, building a VM or reconfiguring).  I did try (just to be
sure) running “make clean-go” and then recompiling, but it didn’t help.


-- Tim




Information forwarded to bug-guix <at> gnu.org:
bug#36723; Package guix. (Thu, 18 Jul 2019 22:17:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <mbakke <at> fastmail.com>
To: Timothy Sample <samplet <at> ngyro.com>, 36723 <at> debbugs.gnu.org
Subject: Re: bug#36723: [core-updates] Error building module-import-compiled
Date: Thu, 18 Jul 2019 21:38:29 +0200
[Message part 1 (text/plain, inline)]
Timothy Sample <samplet <at> ngyro.com> writes:

> Hi,
>
> Whenever I try to build the following (i.e., using “guix build -f”)
>
>     (use-modules (guix gexp)
>                  (guix modules))
>
>     (scheme-file
>      "test.scm"
>      (with-imported-modules (source-module-closure
>                              '((gnu build file-systems)))
>        #~(values #t)))
>
> it says:
>
> -----
> building /gnu/store/2gmxyxpfs0a2j6pcn9xagam6hczlvihb-module-import-compiled.drv...
> [ 1/14] Loading './gnu/build/file-systems.scm'...
> [ 2/14] Loading './gnu/system/file-systems.scm'...
> [ 3/14] Loading './gnu/system/uuid.scm'...
> [ 4/14] Loading './guix/build/bournish.scm'...
> [ 5/14] Loading './guix/build/syscalls.scm'...
> Backtrace:
>           11 (primitive-load "/gnu/store/qz6d59zqvdd5pj9hprk7sfjkpy3?")
> In ice-9/eval.scm:
>     619:8 10 (_ #f)
> In srfi/srfi-1.scm:
>    466:18  9 (fold #<procedure 7ffff5d2d520 at ice-9/eval.scm:336:1?> ?)
>    466:18  8 (fold #<procedure 7ffff54bc2c0 at ice-9/eval.scm:336:1?> ?)
>    466:18  7 (fold #<procedure 7ffff54c3dc0 at ice-9/eval.scm:336:1?> ?)
> In ice-9/eval.scm:
>     619:8  6 (_ #(#(#<directory (guix build utils) 7ffff6f53500>) # ?))
> In ice-9/boot-9.scm:
>    2312:4  5 (save-module-excursion _)
> In unknown file:
>            4 (primitive-load "./guix/build/syscalls.scm")
> In ice-9/eval.scm:
>     619:8  3 (_ #f)
> In ice-9/boot-9.scm:
>   2071:24  2 (call-with-deferred-observers #<procedure 7ffff50e4700 ?>)
>    260:13  1 (for-each #<procedure 7ffff50e4480 at ice-9/boot-9.scm?> ?)
> In unknown file:
>            0 (scm-error misc-error #f "~A ~S" ("re-exporting loc?" ?) ?)
>
> ERROR: In procedure scm-error:
> re-exporting local variable: AT_SYMLINK_NOFOLLOW
> builder for `/gnu/store/2gmxyxpfs0a2j6pcn9xagam6hczlvihb-module-import-compiled.drv' failed with exit code 1
> -----
>
> Importing “(guix build syscalls)” by itself using
> “with-imported-modules” works fine.
>
> This is needed when building the Shepherd service for mounting file
> systems, so it prevents me from building any systems on core-updates
> (for example, building a VM or reconfiguring).  I did try (just to be
> sure) running “make clean-go” and then recompiling, but it didn’t help.

Reverting 456c7ade095cce96f47389c37a4fe3b0390047fd makes the problem
disappear.

I don't really understand why, though.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 18 Jul 2019 22:56:01 GMT) Full text and rfc822 format available.

Notification sent to Timothy Sample <samplet <at> ngyro.com>:
bug acknowledged by developer. (Thu, 18 Jul 2019 22:56:01 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Timothy Sample <samplet <at> ngyro.com>
Cc: 36723-done <at> debbugs.gnu.org
Subject: Re: bug#36723: [core-updates] Error building module-import-compiled
Date: Fri, 19 Jul 2019 00:55:13 +0200
Hello,

Timothy Sample <samplet <at> ngyro.com> skribis:

> building /gnu/store/2gmxyxpfs0a2j6pcn9xagam6hczlvihb-module-import-compiled.drv...
> [ 1/14] Loading './gnu/build/file-systems.scm'...
> [ 2/14] Loading './gnu/system/file-systems.scm'...
> [ 3/14] Loading './gnu/system/uuid.scm'...
> [ 4/14] Loading './guix/build/bournish.scm'...
> [ 5/14] Loading './guix/build/syscalls.scm'...
> Backtrace:
>           11 (primitive-load "/gnu/store/qz6d59zqvdd5pj9hprk7sfjkpy3?")
> In ice-9/eval.scm:
>     619:8 10 (_ #f)
> In srfi/srfi-1.scm:
>    466:18  9 (fold #<procedure 7ffff5d2d520 at ice-9/eval.scm:336:1?> ?)
>    466:18  8 (fold #<procedure 7ffff54bc2c0 at ice-9/eval.scm:336:1?> ?)
>    466:18  7 (fold #<procedure 7ffff54c3dc0 at ice-9/eval.scm:336:1?> ?)
> In ice-9/eval.scm:
>     619:8  6 (_ #(#(#<directory (guix build utils) 7ffff6f53500>) # ?))
> In ice-9/boot-9.scm:
>    2312:4  5 (save-module-excursion _)
> In unknown file:
>            4 (primitive-load "./guix/build/syscalls.scm")
> In ice-9/eval.scm:
>     619:8  3 (_ #f)
> In ice-9/boot-9.scm:
>   2071:24  2 (call-with-deferred-observers #<procedure 7ffff50e4700 ?>)
>    260:13  1 (for-each #<procedure 7ffff50e4480 at ice-9/boot-9.scm?> ?)
> In unknown file:
>            0 (scm-error misc-error #f "~A ~S" ("re-exporting loc?" ?) ?)
>
> ERROR: In procedure scm-error:
> re-exporting local variable: AT_SYMLINK_NOFOLLOW

Fixed by 96783ed6275cd2818ff56916274e6e4582f1dc9b.

Thanks,
Ludo’.




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

This bug report was last modified 4 years and 254 days ago.

Previous Next


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