GNU bug report logs - #31294
Failed building dependencies for guix.

Previous Next

Package: guile;

Reported by: Fis Trivial <ybbs.daans <at> hotmail.com>

Date: Sat, 28 Apr 2018 03:56:01 UTC

Severity: serious

Tags: unreproducible

Merged with 27476, 27652, 28144, 31367, 31740, 32385, 34112, 34319

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 31294 in the body.
You can then email your comments to 31294 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#31294; Package guix. (Sat, 28 Apr 2018 03:56:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fis Trivial <ybbs.daans <at> hotmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 28 Apr 2018 03:56:01 GMT) Full text and rfc822 format available.

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

From: Fis Trivial <ybbs.daans <at> hotmail.com>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: Failed building dependencies for guix.
Date: Sat, 28 Apr 2018 03:55:25 +0000
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




Information forwarded to bug-guix <at> gnu.org:
bug#31294; Package guix. (Sun, 29 Apr 2018 16:05:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Fis Trivial <ybbs.daans <at> hotmail.com>
Cc: 28144 <at> debbugs.gnu.org, 31294 <at> debbugs.gnu.org
Subject: Re: bug#31294: Failed building dependencies for guix.
Date: Sun, 29 Apr 2018 18:04:28 +0200
Hi,

Fis Trivial <ybbs.daans <at> 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 ?

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’.




Severity set to 'important' from 'normal' Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Sun, 29 Apr 2018 19:35:01 GMT) Full text and rfc822 format available.

Merged 28144 31294. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Sun, 29 Apr 2018 19:35:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#31294; Package guix. (Mon, 30 Apr 2018 00:25:01 GMT) Full text and rfc822 format available.

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

From: Fis Trivial <ybbs.daans <at> hotmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: "31294 <at> debbugs.gnu.org" <31294 <at> debbugs.gnu.org>
Subject: Re: bug#31294: Failed building dependencies for guix.
Date: Mon, 30 Apr 2018 00:24:18 +0000
[Message part 1 (text/plain, inline)]
Ludovic Courtès writes:

> Hi,
>
> Fis Trivial <ybbs.daans <at> 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")])


> 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.

[profiles.tar.xz (application/x-xz, attachment)]
[ATT00001.txt (text/plain, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#31294; Package guix. (Mon, 30 Apr 2018 10:21:01 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Fis Trivial <ybbs.daans <at> hotmail.com>
Cc: "31294 <at> debbugs.gnu.org" <31294 <at> debbugs.gnu.org>
Subject: Re: bug#31294: Failed building dependencies for guix.
Date: Mon, 30 Apr 2018 12:20:38 +0200
Hi,

Fis Trivial <ybbs.daans <at> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#31294; Package guix. (Mon, 30 Apr 2018 11:01:02 GMT) Full text and rfc822 format available.

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

From: Fis Trivial <ybbs.daans <at> hotmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: "31294 <at> debbugs.gnu.org" <31294 <at> debbugs.gnu.org>,
 Fis Trivial <ybbs.daans <at> hotmail.com>
Subject: Re: bug#31294: Failed building dependencies for guix.
Date: Mon, 30 Apr 2018 10:59:54 +0000
[Message part 1 (text/plain, inline)]
Ludovic Courtès writes:

> Hi,
>
> Fis Trivial <ybbs.daans <at> 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.

[profiles.tar.xz (application/x-xz, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#31294; Package guix. (Mon, 30 Apr 2018 21:11:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Fis Trivial <ybbs.daans <at> hotmail.com>
Cc: "31294 <at> debbugs.gnu.org" <31294 <at> debbugs.gnu.org>
Subject: Re: bug#31294: Failed building dependencies for guix.
Date: Mon, 30 Apr 2018 23:10:05 +0200
[Message part 1 (text/plain, inline)]
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):

[Message part 2 (text/x-patch, inline)]
@@ -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)                   
[Message part 3 (text/plain, inline)]
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’.

Information forwarded to bug-guix <at> gnu.org:
bug#31294; Package guix. (Tue, 01 May 2018 13:36:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Fis Trivial <ybbs.daans <at> hotmail.com>
Cc: 28144 <at> debbugs.gnu.org, "31294 <at> debbugs.gnu.org" <31294 <at> debbugs.gnu.org>
Subject: Re: bug#31294: Failed building dependencies for guix.
Date: Tue, 01 May 2018 15:35:21 +0200
ludo <at> 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>.

Ludo’.




Merged 28144 31294 31367. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Sun, 06 May 2018 15:24:01 GMT) Full text and rfc822 format available.

Merged 28144 31294 31367 32385. Request was from Chris Marusich <cmmarusich <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 10 Aug 2018 06:48:02 GMT) Full text and rfc822 format available.

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

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

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 28144 <at> debbugs.gnu.org, "31294 <at> debbugs.gnu.org" <31294 <at> debbugs.gnu.org>,
 Fis Trivial <ybbs.daans <at> hotmail.com>
Subject: Re: bug#31294: Failed building dependencies for guix.
Date: Thu, 03 Jan 2019 23:01:41 +0100
Ludovic Courtès <ludo <at> gnu.org> writes:

> ludo <at> 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





Severity set to 'serious' from 'important' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 06 Feb 2019 20:58:02 GMT) Full text and rfc822 format available.

Merged 27476 27652 28144 31294 31367 31740 32385 34112 34319. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 06 Feb 2019 20:58:03 GMT) Full text and rfc822 format available.

bug reassigned from package 'guix' to 'guile'. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 09 Feb 2019 22:12:01 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. (Fri, 15 Jan 2021 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 101 days ago.

Previous Next


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