Subject: Re: bug#43859: Test Suite Failures

From: Maxim Cournoyer <[email-masked]>
Date: Sun, 17 Nov 2024 16:29:52 +0900

Hi,

Ludovic Courtès <[email-masked]> writes:

> Hi,
>
> Raphael Gosselin <[email-masked]> skribis:
>
>> Guix: 1.1.0
>> Guile: 3.0.4
>> Guile-Gcrypt: 0.3.0
>> GnuTLS: 3.6.12
>> Guile-SQLite3: 0.1.3
>> Guile-Git: 0.3.0
>> Guile-JSON: 4.3.2
>> zlib: 1.2.11
>> Make: 4.3
>> Guile-SSH: 0.13.1
>> libgcrypt: 1.8.5
>> sqlite3: 3.31.1
>> g++: 9.3.0
>
> Was it on a “foreign distro”?  Are Guile-Gcrypt, Guile-JSON, etc. coming
> from packages of the host distro?
>
> Or are you running “make checking” within “guix environment guix”, or
> perhaps with the ‘--container’ option?

[...]

> I suspect this is because your ~/.gitconfig is being used, which was
> fixed in commit 3c91f003416c9fb79af2dc8766a7f449aa03f839 (see
> <https://issues.guix.gnu.org/37679>).
>
>> @ build-started
>> /home/raph/guix-1.1.0/test-tmp/store/z2hbf42p0rilqacllrlwr8n7p6nd8k1k-guile-bootstrap-2.0.drv
>> - x86_64-linux
>> /home/raph/guix-1.1.0/test-tmp/var/log/guix/drvs/z2//hbf42p0rilqacllrlwr8n7p6nd8k1k-guile-bootstrap-2.0.drv.bz2
>> 10429
>> while setting up the build environment: executing `/home/raph/guix-1.1.0/test-tmp/store/yd91vyb838z41y7pp56ndfc5vv417656-bash': Exec format error
>> builder for `/home/raph/guix-1.1.0/test-tmp/store/z2hbf42p0rilqacllrlwr8n7p6nd8k1k-guile-bootstrap-2.0.drv' failed with exit code 1
>> @ build-failed
>> /home/raph/guix-1.1.0/test-tmp/store/z2hbf42p0rilqacllrlwr8n7p6nd8k1k-guile-bootstrap-2.0.drv
>> - 1 builder for
>> `/home/raph/guix-1.1.0/test-tmp/store/z2hbf42p0rilqacllrlwr8n7p6nd8k1k-guile-bootstrap-2.0.drv'
>> failed with exit code 1
>> cannot build derivation `/home/raph/guix-1.1.0/test-tmp/store/8abwvl1mpdn99sancxacb9rh94cm5qnh-something.drv': 1 dependencies couldn't be built
>> actual-value: #f
>> actual-error:
>> + (%exception
>> +   #<&store-protocol-error message: "build of `/home/raph/guix-1.1.0/test-tmp/store/8abwvl1mpdn99sancxacb9rh94cm5qnh-something.drv' failed" status: 100>)
>
> This (“Exec format error”) is fishy.  What does this command print:
>
>   file -L /home/raph/guix-1.1.0/test-tmp/store/yd91vyb838z41y7pp56ndfc5vv417656-bash
>
> ?
>
> Many failures are due to this.
>
> Next time, please send ‘test-suite.log’, which contains the
> concatenation of all the individual logs.
>
> Thanks for your report!

Closing this old forgotten report.

Do send an updated version with the above recommendations if you still
encounter problems (I'm debugging a few test failures not already
reported.

-- 
Thanks,
Maxim