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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#36723: closed ([core-updates] Error building module-import-compiled)
Date: Thu, 18 Jul 2019 22:56:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 19 Jul 2019 00:55:13 +0200
with message-id <87r26nc5ri.fsf <at> gnu.org>
and subject line Re: bug#36723: [core-updates] Error building module-import-compiled
has caused the debbugs.gnu.org bug report #36723,
regarding [core-updates] Error building module-import-compiled
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
36723: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36723
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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


[Message part 3 (message/rfc822, inline)]
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’.


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

Previous Next


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