Subject: Re: bug#53903: aarch64: failed to compute the derivation for Guix

From: Christopher Baines <[email-masked]>
Date: Thu, 10 Feb 2022 09:30:14 +0000

Ricardo Wurmus <[email-masked]> writes:

> Christopher Baines <[email-masked]> writes:
>
>> [[PGP Signed Part:Undecided]]
>>
>> Ricardo Wurmus <[email-masked]> writes:
>>
>>> \ 'check' phaseBacktrace:
>>>           13 (primitive-load "/gnu/store/l7rhvfaziri0znvs3jc6khrkxaq9shna-compute-guix-derivation")
>>> \ 'check' phaseIn ice-9/eval.scm:
>>>     155:9 12 (_ _)
>>>     159:9 11 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
>>> In ice-9/boot-9.scm:
>>>     152:2 10 (with-fluid* _ _ _)
>>>     152:2  9 (with-fluid* _ _ _)
>>> In ./guix/store.scm:
>>> \ 'check' phase  2129:24  8 (run-with-store #<store-connection 256.99 ffffa4873190> _ #:guile-for-build _ #:system _ #:target _)
>>>    1966:8  7 (_ _)
>>> - 'check' phaseIn ./guix/gexp.scm:
>>>    296:22  6 (_ _)
>>> \ 'check' phase   1180:2  5 (_ _)
>>> | 'check' phasebuilder for `/gnu/store/2j5348zpz32qmb7x4v5ipg26d269hgxf-coreutils-8.32.drv' failed with exit code 1
>>> build of /gnu/store/2j5348zpz32qmb7x4v5ipg26d269hgxf-coreutils-8.32.drv failed
>>
>> Looks like this derivation can be built at least:
>>
>>   https://data.guix.gnu.org/gnu/store/2j5348zpz32qmb7x4v5ipg26d269hgxf-coreutils-8.32.drv
>
> Interesting.  I wonder what machine built it; maybe it succeeds in qemu.
> The honeycombs here all cannot “guix pull”, so I suspect that they all
> fail to build it.

Unfortunately, looking up what machine built it requires poking in the
build coordinator database currently. I looked, and it was monokuma (an
Overdrive machine).

>>> View build log at '/var/log/guix/drvs/2j/5348zpz32qmb7x4v5ipg26d269hgxf-coreutils-8.32.drv.bz2'.
>>
>> Would you be able to share this log, or at least the last bit of it?
>
> There’s one failing test:
>
> ==> foo <==
> + fail=1
> + break
> + Exit 1
> + set +e
> + exit 1
> + exit 1
> + remove_tmp_
> + __st=1
> + cleanup_
> + kill 23895
> + wait 23895
> + test '' = yes
> + cd /tmp/guix-build-coreutils-8.32.drv-0/coreutils-8.32
> + chmod -R u+rwx /tmp/guix-build-coreutils-8.32.drv-0/coreutils-8.32/gt-assert.sh.B8Wf
> + rm -rf /tmp/guix-build-coreutils-8.32.drv-0/coreutils-8.32/gt-assert.sh.B8Wf
> + exit 1
> FAIL tests/tail-2/assert.sh (exit status: 1)

I tried building this derivation on the HoneyComb machine hooked up to
bordeaux.guix.gnu.org, and it fails to build in the same way.

Maybe this is a failure that happens (or is more likely) with more
cores. The linux-libre version is slightly different on monokuma as
well, it's running 5.12.17-gnu currently.