all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#31294: Failed building dependencies for guix.
@ 2018-04-28  3:55 Fis Trivial
  2018-04-29 16:04 ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Fis Trivial @ 2018-04-28  3:55 UTC (permalink / raw)
  To: 31294


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#31294: Failed building dependencies for guix.
  2018-04-28  3:55 bug#31294: Failed building dependencies for guix Fis Trivial
@ 2018-04-29 16:04 ` Ludovic Courtès
  2018-04-30  0:24   ` Fis Trivial
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2018-04-29 16:04 UTC (permalink / raw)
  To: Fis Trivial; +Cc: 28144, 31294

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 ?

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#31294: Failed building dependencies for guix.
  2018-04-29 16:04 ` Ludovic Courtès
@ 2018-04-30  0:24   ` Fis Trivial
  2018-04-30 10:20     ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Fis Trivial @ 2018-04-30  0:24 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 31294@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 6700 bytes --]


Ludovic Courtès writes:

> 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")])


> 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 #2: profiles.xz --]
[-- Type: application/x-xz, Size: 75856 bytes --]

[-- Attachment #3: ATT00001.txt --]
[-- Type: text/plain, Size: 40 bytes --]



> Thanks in advance,
> Ludo’.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#31294: Failed building dependencies for guix.
  2018-04-30  0:24   ` Fis Trivial
@ 2018-04-30 10:20     ` Ludovic Courtès
  2018-04-30 10:59       ` Fis Trivial
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2018-04-30 10:20 UTC (permalink / raw)
  To: Fis Trivial; +Cc: 31294@debbugs.gnu.org

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#31294: Failed building dependencies for guix.
  2018-04-30 10:20     ` Ludovic Courtès
@ 2018-04-30 10:59       ` Fis Trivial
  2018-04-30 21:10         ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Fis Trivial @ 2018-04-30 10:59 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 31294@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 1636 bytes --]


Ludovic Courtès writes:

> 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 #2: profiles.xz --]
[-- Type: application/x-xz, Size: 76284 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#31294: Failed building dependencies for guix.
  2018-04-30 10:59       ` Fis Trivial
@ 2018-04-30 21:10         ` Ludovic Courtès
  2018-05-01 13:35           ` bug#28144: " Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2018-04-30 21:10 UTC (permalink / raw)
  To: Fis Trivial; +Cc: 31294@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 243 bytes --]

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):


[-- Attachment #2: Type: text/x-patch, Size: 3145 bytes --]

@@ -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)                   

[-- Attachment #3: Type: text/plain, Size: 187 bytes --]


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#28144: bug#31294: Failed building dependencies for guix.
  2018-04-30 21:10         ` Ludovic Courtès
@ 2018-05-01 13:35           ` Ludovic Courtès
  2019-01-03 22:01             ` Ricardo Wurmus
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2018-05-01 13:35 UTC (permalink / raw)
  To: Fis Trivial; +Cc: 28144, 31294@debbugs.gnu.org

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

Ludo’.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#31294: Failed building dependencies for guix.
  2018-05-01 13:35           ` bug#28144: " Ludovic Courtès
@ 2019-01-03 22:01             ` Ricardo Wurmus
  0 siblings, 0 replies; 8+ messages in thread
From: Ricardo Wurmus @ 2019-01-03 22:01 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 28144, 31294@debbugs.gnu.org


Ludovic Courtès <ludo@gnu.org> writes:

> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-01-03 22:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-28  3:55 bug#31294: Failed building dependencies for guix Fis Trivial
2018-04-29 16:04 ` Ludovic Courtès
2018-04-30  0:24   ` Fis Trivial
2018-04-30 10:20     ` Ludovic Courtès
2018-04-30 10:59       ` Fis Trivial
2018-04-30 21:10         ` Ludovic Courtès
2018-05-01 13:35           ` bug#28144: " Ludovic Courtès
2019-01-03 22:01             ` Ricardo Wurmus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.