Subject: bug#50212: Several tests fail, Bash fails often. Was: Tests fail while building Guix

From: Maxime Devos <[email-masked]>
Date: Sat, 28 Aug 2021 17:00:50 +0200

Simon Streit schreef op vr 27-08-2021 om 21:53 [+0200]:
> This is another follow up after having actually read the relevant info
> section on how to do proper testing in Guix.
> 
> Checkout is at 5422920b9eaaa0c6bf779588748595c66ca86ba3, and this time I
> prepared a test-suite.log with all errors that happen.  Please find it
> attached.  This time it isn't too big either.

Some questions:

* What's the hash of gnu/packages/bootstrap/i686-linux/bash?

  (Run guix hash gnu/packages/bootstrap/i686-linux/bash)

  I have 1ig8a4bhc7fpw8zrnw4l568wmmcb29rlwg4jbih3imb4x6d9l1gd.
  If you see something different, your copy is probably corrupt.

* What does ‘objdump -a gnu/packages/bootstrap/i686-linux/bash’ output?
  On my x86_64 system, it outputs ‘[...] file format elf32-i386’.

* What architecture are you on?

  You can test with:

  $ echo '((@ (guix utils) %current-system))' | guix repl

  On my x86_64-linux system, it outputs

  [...]
  $1 = "x86_64-linux"
  scheme@(guix-user)>.

If your system isn't i686-linux or x86_64-linux, something odd is going on.

Greetings,
Maxime.