Subject: bug#38528: Add test for `guix pull'

From: Ludovic Courtès <[email-masked]>
Date: Sat, 14 Dec 2019 15:11:05 +0100

Hi,

Pierre Neidhardt <[email-masked]> skribis:

> $ guix environment guix -- make as-derivation
> Building Guix in Guix...
> warning: 'nix-server-socket' is deprecated, use 'store-connection-socket' instead
> warning: 'nix-server-major-version' is deprecated, use 'store-connection-major-version' instead
> warning: 'nix-server-minor-version' is deprecated, use 'store-connection-minor-version' instead
> fetching path `/gnu/store/qa3sp0f1qpqhrzb0v9y5kfgyr61dh70r-xz-5.2.4.tar.gz'...
> building path(s) `/gnu/store/aqv75406kbs6s1sp3z9x5fbl9c7y7psn-ld-wrapper-boot0-0'
> Downloading https://ci.guix.gnu.org/nar/qa3sp0f1qpqhrzb0v9y5kfgyr61dh70r-xz-5.2.4.tar.gz...
> building "/gnu/store/w8fw0vzvai0yw5akfq3gd94avb7jvd4h-binutils-cross-boot0-2.32"/bin/ld wrapper in "/gnu/store/aqv75406kbs6s1sp3z9x5fbl9c7y7psn-ld-wrapper-boot0-0"
> Backtrace:
> In ice-9/boot-9.scm:
>  157: 11 [catch #t #<catch-closure c900a0> ...]
> In unknown file:
>    ?: 10 [apply-smob/1 #<catch-closure c900a0>]
> In ice-9/boot-9.scm:
>   63: 9 [call-with-prompt prompt0 ...]
> In ice-9/eval.scm:
>  432: 8 [eval # #]
> In ice-9/boot-9.scm:
> 2320: 7 [save-module-excursion #<procedure cc1b80 at ice-9/boot-9.scm:3961:3 ()>]
> 3966: 6 [#<procedure cc1b80 at ice-9/boot-9.scm:3961:3 ()>]
> 1645: 5 [%start-stack load-stack #<procedure cbd2e0 at ice-9/boot-9.scm:3957:10 ()>]
> 1650: 4 [#<procedure cc3060 ()>]
> In unknown file:
>    ?: 3 [primitive-load "/gnu/store/7pcp12416a7gjfm18pk87hradjgrnnrz-ld-wrapper-boot0-0-guile-builder"]
> In ice-9/eval.scm:
>  387: 2 [eval # ()]
>  432: 1 [eval # #]
> In unknown file:
>    ?: 0 [copy-file "/gnu/store/2p4rab987bknvsqm46rxkz7d55wyqpfy-ld-wrapper.in" ...]
>
> ERROR: In procedure copy-file:
> ERROR: In procedure copy-file: No such file or directory
> builder for `/gnu/store/dvrl5vf6ghxx9w70gacrcamqaxbiwlrf-ld-wrapper-boot0-0.drv' failed with exit code 1

This is weird…  All I can say it that it works for me.  :-)

Could you find out (1) why it’s trying to rebuild ‘ld-wrapper-boot0’
(which means rebuilding the world), and (2) why this particular build is
failing?

Thanks,
Ludo’.