Failed building dependencies for guix.

  • Done
  • quality assurance status badge
Details
4 participants
  • Chris Marusich
  • Ludovic Courtès
  • Ricardo Wurmus
  • Fis Trivial
Owner
unassigned
Submitted by
Fis Trivial
Severity
serious
Merged with
F
F
Fis Trivial wrote on 28 Apr 2018 05:55
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
BLUPR16MB05006CCADC9B1E67C28BCF65928C0@BLUPR16MB0500.namprd16.prod.outlook.com
I failed building the dependencies for guix with `guix environment guix`.

The command failed when doing in clean bash environment, but success in
normal environment. Which means, doing:

$ guix environment guix

will success.


But failed with `env -i bash --norc --noprofile --login` added, which
would success at before.


I'm running guix on top of Fedora 27.

$ uname -a
Linux localhost.localdomain 4.15.17-300.fc27.x86_64 #1 SMP Thu Apr 12 18:19:17 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


guix version:
$ guix --version
guix (GNU Guix) 0.14.0-11.ab85cf7
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.



Use following steps to reproduce:
$ env -i bash --norc --noprofile --login
$ guix environment guix

Error message:

The following derivations will be built:
/gnu/store/c53mj37x2dnrgmrpagpv9l5c2ghly2hy-profile.drv
/gnu/store/vpvx01j2qs31lfix131n1akwdjwf5s4z-xdg-desktop-database.drv
/gnu/store/hr8xa2inki6lfbn8v9jfgmygbxygszs2-xdg-mime-database.drv
/gnu/store/5y6mkv079xq5hnfajxfwky0kfc6ffy3p-info-dir.drv
/gnu/store/95glrzk2y6p6b3z7hlmdignzzvxjvi2r-manual-database.drv
Backtrace:
10 (primitive-load "/gnu/store/mpy5w5gprs1ymrl3kwhqwr2jvnk?")
In ice-9/eval.scm:
721:20 9 (primitive-eval (begin (use-modules (guix build #) ?) ?))
In ice-9/psyntax.scm:
1235:36 8 (expand-top-sequence ((begin (use-modules (# # ?) ?) ?)) ?)
1182:24 7 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
1182:24 6 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
285:10 5 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) ?)
In ice-9/boot-9.scm:
3365:20 4 (process-use-modules _)
222:17 3 (map1 (((guix build utils)) ((srfi srfi-1)) ((srfi ?)) ?))
3366:31 2 (_ ((guix build utils)))
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 build utils)
builder for `/gnu/store/5y6mkv079xq5hnfajxfwky0kfc6ffy3p-info-dir.drv' failed with exit code 1
cannot build derivation `/gnu/store/c53mj37x2dnrgmrpagpv9l5c2ghly2hy-profile.drv': 1 dependencies couldn't be built
guix environment: error: build failed: build of `/gnu/store/c53mj37x2dnrgmrpagpv9l5c2ghly2hy-profile.drv' failed
L
L
Ludovic Courtès wrote on 29 Apr 2018 18:04
(name . Fis Trivial)(address . ybbs.daans@hotmail.com)
87vaca578z.fsf@gnu.org
Hi,

Fis Trivial <ybbs.daans@hotmail.com> skribis:

Toggle quote (33 lines)
> Use following steps to reproduce:
> $ env -i bash --norc --noprofile --login
> $ guix environment guix
>
> Error message:
>
> The following derivations will be built:
> /gnu/store/c53mj37x2dnrgmrpagpv9l5c2ghly2hy-profile.drv
> /gnu/store/vpvx01j2qs31lfix131n1akwdjwf5s4z-xdg-desktop-database.drv
> /gnu/store/hr8xa2inki6lfbn8v9jfgmygbxygszs2-xdg-mime-database.drv
> /gnu/store/5y6mkv079xq5hnfajxfwky0kfc6ffy3p-info-dir.drv
> /gnu/store/95glrzk2y6p6b3z7hlmdignzzvxjvi2r-manual-database.drv
> Backtrace:
> 10 (primitive-load "/gnu/store/mpy5w5gprs1ymrl3kwhqwr2jvnk?")
> In ice-9/eval.scm:
> 721:20 9 (primitive-eval (begin (use-modules (guix build #) ?) ?))
> In ice-9/psyntax.scm:
> 1235:36 8 (expand-top-sequence ((begin (use-modules (# # ?) ?) ?)) ?)
> 1182:24 7 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
> 1182:24 6 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
> 285:10 5 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) ?)
> In ice-9/boot-9.scm:
> 3365:20 4 (process-use-modules _)
> 222:17 3 (map1 (((guix build utils)) ((srfi srfi-1)) ((srfi ?)) ?))
> 3366:31 2 (_ ((guix build utils)))
> 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 build utils)
> builder for `/gnu/store/5y6mkv079xq5hnfajxfwky0kfc6ffy3p-info-dir.drv' failed with exit code 1

This looks like https://bugs.gnu.org/28144, which we don’t understand
yet.

(Most likely changing the Bash environment just led you to ignore
~/.config/guix/latest (or vice versa), thereby leading you to use a
different set of Guix compiled modules.)

Could you paste /gnu/store/5y6mkv079xq5hnfajxfwky0kfc6ffy3p-info-dir.drv ?

Also, could you post ~/.config/guix/latest/guix/profiles.go and
/run/current-system/profile/lib/guile/2.2/site-ccache/guix/profiles.go ?
(Perhaps you’ll need to gzip them to be sure.)

Thanks in advance,
Ludo’.
L
L
Ludovic Courtès wrote on 29 Apr 2018 21:34
control message for bug #31294
(address . control@debbugs.gnu.org)
87in893iya.fsf@gnu.org
severity 31294 important
L
L
Ludovic Courtès wrote on 29 Apr 2018 21:34
control message for bug #28144
(address . control@debbugs.gnu.org)
87h8nt3iy3.fsf@gnu.org
merge 28144 31294
F
F
Fis Trivial wrote on 30 Apr 2018 02:24
Re: bug#31294: Failed building dependencies for guix.
(name . Ludovic Courtès)(address . ludo@gnu.org)(name . 31294@debbugs.gnu.org)(address . 31294@debbugs.gnu.org)
BLUPR16MB05002D49B4A0E83B5F5FF4DD92820@BLUPR16MB0500.namprd16.prod.outlook.com
Ludovic Courtès writes:
Toggle quote (46 lines)
> Hi,
>
> Fis Trivial <ybbs.daans@hotmail.com> skribis:
>
>> Use following steps to reproduce:
>> $ env -i bash --norc --noprofile --login
>> $ guix environment guix
>>
>> Error message:
>>
>> The following derivations will be built:
>> /gnu/store/c53mj37x2dnrgmrpagpv9l5c2ghly2hy-profile.drv
>> /gnu/store/vpvx01j2qs31lfix131n1akwdjwf5s4z-xdg-desktop-database.drv
>> /gnu/store/hr8xa2inki6lfbn8v9jfgmygbxygszs2-xdg-mime-database.drv
>> /gnu/store/5y6mkv079xq5hnfajxfwky0kfc6ffy3p-info-dir.drv
>> /gnu/store/95glrzk2y6p6b3z7hlmdignzzvxjvi2r-manual-database.drv
>> Backtrace:
>> 10 (primitive-load "/gnu/store/mpy5w5gprs1ymrl3kwhqwr2jvnk?")
>> In ice-9/eval.scm:
>> 721:20 9 (primitive-eval (begin (use-modules (guix build #) ?) ?))
>> In ice-9/psyntax.scm:
>> 1235:36 8 (expand-top-sequence ((begin (use-modules (# # ?) ?) ?)) ?)
>> 1182:24 7 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
>> 1182:24 6 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
>> 285:10 5 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) ?)
>> In ice-9/boot-9.scm:
>> 3365:20 4 (process-use-modules _)
>> 222:17 3 (map1 (((guix build utils)) ((srfi srfi-1)) ((srfi ?)) ?))
>> 3366:31 2 (_ ((guix build utils)))
>> 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 build utils)
>> builder for `/gnu/store/5y6mkv079xq5hnfajxfwky0kfc6ffy3p-info-dir.drv' failed with exit code 1
>
> This looks like <https://bugs.gnu.org/28144>, which we don’t understand
> yet.
>
> (Most likely changing the Bash environment just led you to ignore
> ~/.config/guix/latest (or vice versa), thereby leading you to use a
> different set of Guix compiled modules.)
>
> Could you paste /gnu/store/5y6mkv079xq5hnfajxfwky0kfc6ffy3p-info-dir.drv ?
>
Derive([("out","/gnu/store/dpc817mql6764c6banrljn8lyjjjaf66-info-dir","","")],[("/gnu/store/0bfjq1ffy0m91frzsq1n4jqqg1hwx4v7-guile-2.2.3.drv",["out"]),("/gnu/store/0sr6a7lj72vb3cqx2gsdk3lxi2qr8hv1-file-5.32.drv",["out"]),("/gnu/store/13lpzxlf846i008qbiw85n3vhf9yvplq-sqlite-3.21.0.drv",["out"]),("/gnu/store/2jj26rl41f2352kl0iq8d57i6lgyfn5c-automake-1.15.1.drv",["out"]),("/gnu/store/460grihfmshw7z0bnqq09hys0hhpimy9-libtasn1-4.12.drv",["out"]),("/gnu/store/4k0p2qgjf121gd1jvb433jjlxb951iw4-grep-3.1.drv",["out"]),("/gnu/store/4m259i6f83awbdi09gn3v8skrsflcdzx-bash-minimal-4.4.12.drv",["out"]),("/gnu/store/509g2r09spbspn5imd42nsqx402jbsjf-guile-2.2.3.drv",["out"]),("/gnu/store/811pfvhj0gnrv8fqw4r6p6niqg87aphv-ld-wrapper-0.drv",["out"]),("/gnu/store/9n95j6vzy2xgzwm2kp04lyrdwz2ccgxm-util-linux-2.31.drv",["out"]),("/gnu/store/9nmwnbs9jndfama90x4i9v5150i64xf0-sed-4.4.drv",["out"]),("/gnu/store/ackbyqpplc6yr5hk68snawx4bmrygn6f-xz-5.2.3.drv",["out"]),("/gnu/store/ajxj7xlidhn1wf21kzvzj0z6p2srz8j3-bzip2-1.0.6.drv",["out"]),("/gnu/store/aw7mmwdw1qs25c8cryasi6vwqxwpa0gy-make-4.2.1.drv",["out"]),("/gnu/store/bczgczvb3nwcypk67z9j67np7xgf6b4c-glibc-utf8-locales-2.26.105-g0890d5379c.drv",["out"]),("/gnu/store/bfadqq933hs8f05213z8wnawd1cga6h2-guile-json-0.6.0.drv",["out"]),("/gnu/store/bh5pivpjk0gxnq1nzpkx3vbmwyak3qxa-guile-git-0.0-6.36f93c1.drv",["out"]),("/gnu/store/c2z8m9sagz3d2m57irhpzg86bqh2z795-graphviz-2.40.1.drv",["out"]),("/gnu/store/cjrz5r8yjghj8lwgxsqqa259c72pdib6-libltdl-2.4.6.drv",["out"]),("/gnu/store/czk2xigxxwkbyvlp112k4y61igibab4y-gzip-1.8.drv",["out"]),("/gnu/store/d8y0rbsicxkhw0dgxzj2idm1bfd98bxz-libgc-7.6.0.drv",["out"]),("/gnu/store/dfj9qsrhl9xd2997wqg9wqyk7xc47fin-gcc-5.5.0.drv",["out"]),("/gnu/store/fg9jyyrc0fs8l34wasw3pahhwp1pbky9-zlib-1.2.11.drv",["out"]),("/gnu/store/fld0ygyvd89py4kai9vnkvv70gp7mhaz-pkg-config-0.29.2.drv",["out"]),("/gnu/store/g96gl1d58llibr3q8l3l36bpkm4vv4c9-texinfo-6.5.drv",["out"]),("/gnu/store/h2imfnqll253wkz2dpig595bvkpcpii0-po4a-0.47.drv",["out"]),("/gnu/store/hbi3gqpfbvxc9r9y8w2yb923j5dm2cxi-gzip-1.8.drv",["out"]),("/gnu/store/hzj9vs4hgqdw2saicp91qwxkyjnzivdr-findutils-4.6.0.drv",["out"]),("/gnu/store/i3bzdf1fp3y4a0wkbnpaiw30mjbb7q30-glibc-2.26.105-g0890d5379c.drv",["out","static"]),("/gnu/store/ija7ycbcp68cksgg6zpr2dvmiwqhhvx5-libgcrypt-1.8.1.drv",["out"]),("/gnu/store/jgpqhyaky6vlpc7g31k6j9c03zpj382m-autoconf-wrapper-2.69.drv",["out"]),("/gnu/store/kcgi1xbqdvkhli6cpd0znrqdv69c4l9i-binutils-2.28.1.drv",["out"]),("/gnu/store/lb5bdahyi6znc87p5bzjz2dfbxhpspsn-libgpg-error-1.27.drv",["out"]),("/gnu/store/lv1j1ah6j7n3pi2kdayrwwsg9b2d7543-linux-libre-headers-4.9.59.drv",["out"]),("/gnu/store/m8pkc0l1wai0svh12ra7rbs3hzqys9ln-gnutls-3.5.13.drv",["out"]),("/gnu/store/mjykhz1mh2nivnar23h34bam3nb1qa3m-gawk-4.1.4.drv",["out"]),("/gnu/store/ncrgzza2w83wpcvikm28jjjis4jr2hjn-tar-1.29.drv",["out"]),("/gnu/store/pl63danxypih3lhl6rmb0pzdcw88la89-libidn2-2.0.4.drv",["out"]),("/gnu/store/pzpimhvxzlm719bjyhi929vqqzqmhdz7-help2man-1.47.5.drv",["out"]),("/gnu/store/qkjybggdp1hmr7a3l7h16yfxdacj7nsn-nettle-3.4.drv",["out"]),("/gnu/store/rr8rqhjd52clcxlgv1z98kb809i0cpmw-guile-bytestructures-1.0.1.drv",["out"]),("/gnu/store/s3fml6n727yzxrj1bx0kk81b115bmasf-coreutils-8.28.drv",["out"]),("/gnu/store/s4c06vj082h3sw6s6801vn2i24p9wi88-guile-ssh-0.11.2.drv",["out"]),("/gnu/store/sj0qdyigdz8azl90iavig12i6czw3d0s-patch-2.7.5.drv",["out"]),("/gnu/store/v6cimfp7cqy7i7niasyra6z3xfjr3qnh-diffutils-3.6.drv",["out"]),("/gnu/store/wyg0y5fd8zcv9rbnk0hi7kb6k7cxjjlp-libunistring-0.9.8.drv",["out"]),("/gnu/store/zdic0i6jwppc7v77d2w51bszzl81dln3-bzip2-1.0.6.drv",["out"]),("/gnu/store/zsjci2pmwizi7dm8vv7chnvm06f8g0af-gmp-6.1.2.drv",["out"]),("/gnu/store/zw1w82fbkh66vfid9s15zxzmcpgx5bjc-gettext-minimal-0.19.8.1.drv",["out"])],["/gnu/store/mpy5w5gprs1ymrl3kwhqwr2jvnkdnvh7-info-dir-builder"],"x86_64-linux","/gnu/store/32qhdh8q4ba9lzp20495lw3a4cx0p3mp-guile-2.2.3/bin/guile",["--no-auto-compile","/gnu/store/mpy5w5gprs1ymrl3kwhqwr2jvnkdnvh7-info-dir-builder"],[("allowSubstitutes","0"),("out","/gnu/store/dpc817mql6764c6banrljn8lyjjjaf66-info-dir"),("preferLocalBuild","1")])
Toggle quote (4 lines)
> Also, could you post ~/.config/guix/latest/guix/profiles.go and
> /run/current-system/profile/lib/guile/2.2/site-ccache/guix/profiles.go ?
> (Perhaps you’ll need to gzip them to be sure.)
>
I couldn't find
/run/current-system/profile/lib/guile/2.2/site-ccache/guix/profiles.go
you are talking about, I did `find . -iname "profiles.go"` in /run/ as
root but didn't find the file you are talking about, not even the
directory "current-system". But ~/.config/guix/latest/guix/profiles.go
is attached in the mail.
Attachment: profiles.tar.xz (.07 MiB)
Toggle quote (2 lines)
> Thanks in advance,
> Ludo’.
L
L
Ludovic Courtès wrote on 30 Apr 2018 12:20
(name . Fis Trivial)(address . ybbs.daans@hotmail.com)(name . 31294@debbugs.gnu.org)(address . 31294@debbugs.gnu.org)
87po2hyozt.fsf@gnu.org
Hi,

Fis Trivial <ybbs.daans@hotmail.com> skribis:

Toggle quote (2 lines)
> Ludovic Courtès writes:

[...]

Toggle quote (2 lines)
>> Could you paste /gnu/store/5y6mkv079xq5hnfajxfwky0kfc6ffy3p-info-dir.drv ?

[...]

Toggle quote (2 lines)
> "/gnu/store/32qhdh8q4ba9lzp20495lw3a4cx0p3mp-guile-2.2.3/bin/guile",["--no-auto-compile","/gnu/store/mpy5w5gprs1ymrl3kwhqwr2jvnkdnvh7-info-dir-builder"],[("allowSubstitutes","0"),("out","/gnu/store/dpc817mql6764c6banrljn8lyjjjaf66-info-dir"),("preferLocalBuild","1")])

As in Chris’s case, there’s no -L or -C here.

Toggle quote (12 lines)
>> Also, could you post ~/.config/guix/latest/guix/profiles.go and
>> /run/current-system/profile/lib/guile/2.2/site-ccache/guix/profiles.go ?
>> (Perhaps you’ll need to gzip them to be sure.)
>>
>
> I couldn't find
> /run/current-system/profile/lib/guile/2.2/site-ccache/guix/profiles.go
> you are talking about, I did `find . -iname "profiles.go"` in /run/ as
> root but didn't find the file you are talking about, not even the
> directory "current-system". But ~/.config/guix/latest/guix/profiles.go
> is attached in the mail.

Apparently the profiles.go you sent is correct.

To find out where the faulty profiles.go is, could you:

1. Run ‘guix environment guix’ in the environment that triggers the
error, but run it under ‘strace’:

strace -f -o log guix environment guix

2. grep that ‘log’ file along these lines:

grep 'open.*guix/profiles\.go.*= [0-9]' log

3. gzip that profiles.go file and send it.

Thanks in advance,
Ludo’.
F
F
Fis Trivial wrote on 30 Apr 2018 12:59
(name . Ludovic Courtès)(address . ludo@gnu.org)
BLUPR16MB0500BA35BBAD09BFB6A735A192820@BLUPR16MB0500.namprd16.prod.outlook.com
Ludovic Courtès writes:
Toggle quote (45 lines)
> Hi,
>
> Fis Trivial <ybbs.daans@hotmail.com> skribis:
>
>> Ludovic Courtès writes:
>
> [...]
>
>>> Could you paste /gnu/store/5y6mkv079xq5hnfajxfwky0kfc6ffy3p-info-dir.drv ?
>
> [...]
>
>> "/gnu/store/32qhdh8q4ba9lzp20495lw3a4cx0p3mp-guile-2.2.3/bin/guile",["--no-auto-compile","/gnu/store/mpy5w5gprs1ymrl3kwhqwr2jvnkdnvh7-info-dir-builder"],[("allowSubstitutes","0"),("out","/gnu/store/dpc817mql6764c6banrljn8lyjjjaf66-info-dir"),("preferLocalBuild","1")])
>
> As in Chris’s case, there’s no -L or -C here.
>
>>> Also, could you post ~/.config/guix/latest/guix/profiles.go and
>>> /run/current-system/profile/lib/guile/2.2/site-ccache/guix/profiles.go ?
>>> (Perhaps you’ll need to gzip them to be sure.)
>>>
>>
>> I couldn't find
>> /run/current-system/profile/lib/guile/2.2/site-ccache/guix/profiles.go
>> you are talking about, I did `find . -iname "profiles.go"` in /run/ as
>> root but didn't find the file you are talking about, not even the
>> directory "current-system". But ~/.config/guix/latest/guix/profiles.go
>> is attached in the mail.
>
> Apparently the profiles.go you sent is correct.
>
> To find out where the faulty profiles.go is, could you:
>
> 1. Run ‘guix environment guix’ in the environment that triggers the
> error, but run it under ‘strace’:
>
> strace -f -o log guix environment guix
>
> 2. grep that ‘log’ file along these lines:
>
> grep 'open.*guix/profiles\.go.*= [0-9]' log
>
> 3. gzip that profiles.go file and send it.
>
> Thanks in advance,
> Ludo’.
Send as attachment.
Attachment: profiles.tar.xz (.07 MiB)
L
L
Ludovic Courtès wrote on 30 Apr 2018 23:10
(name . Fis Trivial)(address . ybbs.daans@hotmail.com)(name . 31294@debbugs.gnu.org)(address . 31294@debbugs.gnu.org)
87po2gtn82.fsf@gnu.org
I diffed the profiles.go you sent against the known-good profiles.go
that I have. There’s a lot of noise in the diff (different addresses,
etc.), but the interesting bit is this (the minus signs correspond to
the “bad” .go file):
@@ -11999,76 +11999,77 @@ Disassembly of info-dir-file at #x10120:
94 (struct-set!/immediate 10 1 11)
95 (struct-set!/immediate 10 2 8)
96 (make-short-immediate 11 772) ;; ()
- 97 (cons 10 10 11)
- 98 (cons 10 3 10)
- 99 (cons 10 4 10)
- 100 (cons 10 5 10)
- 101 (module-box 9 70359 70343 70357 #t);; `(@@ (guix gexp) <gexp>)'
- 106 (box-ref 9 9)
- 107 (allocate-struct/immediate 9 9 3)
- 108 (struct-set!/immediate 9 0 10)
- 109 (struct-set!/immediate 9 1 11)
- 110 (make-non-immediate 11 74512) ;; #<procedure 7f1a6cbf2f18 at guix/profiles.scm:689:6 (t-c7b26db35e6c509-5fd8 t…>
- 112 (struct-set!/immediate 9 2 11)
- 113 (box-set! 12 9)
- 114 (toplevel-box 11 74522 51858 74520 #t);; `gexp->derivation'
- 119 (box-ref 11 11)
- 120 (make-non-immediate 10 74518) ;; "info-dir" at guix/profiles.scm:714:20
- 122 (box-ref 12 12)
- 123 (static-ref 9 74533) ;; #:local-build?
- 125 (static-ref 6 74543) ;; #:substitutable?
- 127 (handle-interrupts) at guix/profiles.scm:714:2
- 128 (mov 5 11)
- 129 (mov 11 10)
- 130 (mov 10 12)
- 131 (mov 12 5)
- 132 (mov 5 6)
- 133 (mov 6 7)
- 134 (mov 7 5)
- 135 (tail-call 7)
+ 97 (cons 11 10 11)
+ 98 (cons 11 3 11)
+ 99 (cons 11 4 11)
+ 100 (cons 11 5 11)
+ 101 (module-box 10 70359 70343 70357 #t);; `(@@ (guix gexp) <gexp>)'
+ 106 (box-ref 10 10)
+ 107 (allocate-struct/immediate 10 10 3)
+ 108 (struct-set!/immediate 10 0 11)
+ 109 (make-non-immediate 11 74513) ;; ((guix build utils))
+ 111 (struct-set!/immediate 10 1 11)
+ 112 (make-non-immediate 11 74514) ;; #<procedure 7f73ca0eef28 at guix/profiles.scm:689:6 (t-c7b26db35e6c509-5fd8 t…>
+ 114 (struct-set!/immediate 10 2 11)
+ 115 (box-set! 12 10)
+ 116 (toplevel-box 11 74524 51856 74522 #t);; `gexp->derivation'
+ 121 (box-ref 11 11)
+ 122 (make-non-immediate 10 74520) ;; "info-dir" at guix/profiles.scm:714:20
+ 124 (box-ref 12 12)
+ 125 (static-ref 9 74535) ;; #:local-build?
+ 127 (static-ref 6 74545) ;; #:substitutable?
+ 129 (handle-interrupts) at guix/profiles.scm:714:2
+ 130 (mov 5 11)
+ 131 (mov 11 10)
+ 132 (mov 10 12)
+ 133 (mov 12 5)
+ 134 (mov 5 6)
+ 135 (mov 6 7)
+ 136 (mov 7 5)
+ 137 (tail-call 7)
It confirms that the bad code creates a <gexp> structure with the empty
list as its ‘modules’ field instead of '((guix build utils)).

That’s clearly a Guile bug.

Ludo’.
L
L
Ludovic Courtès wrote on 1 May 2018 15:35
(name . Fis Trivial)(address . ybbs.daans@hotmail.com)
878t93sdly.fsf@gnu.org
ludo@gnu.org (Ludovic Courtès) skribis:

Toggle quote (5 lines)
> It confirms that the bad code creates a <gexp> structure with the empty
> list as its ‘modules’ field instead of '((guix build utils)).
>
> That’s clearly a Guile bug.

This miscompilation issue involves “syntax parameters” (because
‘with-imported-modules’ uses a syntax parameter), and it very likely has
to do with the thread-safety issue I describe here:

Ludo’.
L
L
Ludovic Courtès wrote on 6 May 2018 17:23
control message for bug #28144
(address . control@debbugs.gnu.org)
87o9hsn6zn.fsf@gnu.org
merge 28144 31367
C
C
Chris Marusich wrote on 10 Aug 2018 08:46
Re: Processed (with 1 errors): Reopen 32385 and merge with 28144
(name . GNU bug tracker automated control server)(address . control@debbugs.gnu.org)
871sb690rp.fsf@gmail.com
severity 32385 important
merge 32385 28144
thanks
--
Chris
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlttNNoACgkQ3UCaFdgi
Rp0g9RAAprTGEFVcZV+5hyJx4pH4DSe2/WaGsb+6MkgI2ppky8z+OS1uTdwsU4+G
ESwGdphAWftooI1GCHFnbTaphwhlopcI+MHS3s7MR4UgIut4QLZaWy1ATFeIviYg
RLTF8t8eKI48Pr49WncPwTeErbtKr7SBELAjbMoVqa/qixDycexXVk7KE1aJ17mg
d7iIRUpbGTyhXhpk2bAiMy+7xId4Gp0Aazqo/5m31pDQbYbq7tpZBlgMiSgNbPa6
oCLMqMJzbr/4eqnGzJVrR/UCOXLzpCsjlKzsT9OMoUHMD0FdPkYEbQJOiVSa4qe8
YDF1CNbN/7pMfainLDWyP3EB8uHgJFBYJEUF/11306BjsFfBxzPmTimy6qlXlfCf
EEsvzrMSRoXtgC9OrGo3C4Q89zt7Kv/WfmRRaaCfgmnf9jLkuFWzYrzLYXfhy4LG
+o1ZP10yud1/sSyuH12gfyhO6JXIFNG4BqYKm16QfWqyEmc3TgF3GSH7N1bNehLs
rbfiEmtXoKT5ZM5NnzXSbhh8gBRg8ZVgKqmrHOGPt6e0aYX4yMDfbQUn8cL/1ucO
ohEo7Oq0lwdX7GetRLwZaGwhob8HdDzLTy6uDyBaEklmwR7jU2V4rFhUiGa5NUmL
D0HQV8RV6fYOQkFSGLTltzF0YR7gbrTmjGL/LHAjdICjIvnGUho=
=Kd9j
-----END PGP SIGNATURE-----

R
R
Ricardo Wurmus wrote on 3 Jan 2019 23:01
Re: bug#31294: Failed building dependencies for guix.
(name . Ludovic Courtès)(address . ludo@gnu.org)
87k1jltn7e.fsf@elephly.net
Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (12 lines)
> ludo@gnu.org (Ludovic Courtès) skribis:
>
>> It confirms that the bad code creates a <gexp> structure with the empty
>> list as its ‘modules’ field instead of '((guix build utils)).
>>
>> That’s clearly a Guile bug.
>
> This miscompilation issue involves “syntax parameters” (because
> ‘with-imported-modules’ uses a syntax parameter), and it very likely has
> to do with the thread-safety issue I describe here:
> <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27476#74>.

I just got this on my Fedora workstation in the office, where I use Guix
from a git checkout. I worked around this by moving “guix/profiles.go”
out of the way.

(Some people seem to be getting this with just “guix pull” now.)

--
Ricardo
L
L
Ludovic Courtès wrote on 6 Feb 2019 21:57
control message for bug #28144
(address . control@debbugs.gnu.org)
87imxw8wjw.fsf@gnu.org
severity 28144 serious
L
L
Ludovic Courtès wrote on 6 Feb 2019 21:57
control message for bug #27476
(address . control@debbugs.gnu.org)
87h8dg8wjq.fsf@gnu.org
merge 27476 28144
L
L
Ludovic Courtès wrote on 9 Feb 2019 23:11
(address . control@debbugs.gnu.org)
87sgwwpq85.fsf@gnu.org
reassign 27476 guile
?