Subject: Re: bug#52752: guix build guix fails tests on i686

From: Ludovic Courtès <[email-masked]>
Date: Fri, 14 Jan 2022 22:44:35 +0100

Hi Denis,

Denis 'GNUtoo' Carikli <[email-masked]> skribis:

[...]

> [...]
>> ;;; (truth ("linux-gate.so.1"
>> "/gnu/store/g64a68qy52ca2jsxh83s77f9bapja3bh-guile-3.0.7/lib/libguile-3.0.so.1"
>> "/gnu/store/5vvazsd8rh0wlinglskwkr7071lh0gb9-libgc-8.0.4/lib/libgc.so.1"
>> "/gnu/store/mjdjgiz9k5rrbj440r16z6p5g33nr7d7-glibc-2.33/lib/libpthread.so.0"
>> "/gnu/store/srz34zllfncr9iap93p8j1s8pj3rzy8n-libffi-3.3/lib/libffi.so.7"
>> "/gnu/store/1kfjmskgg1623zyw2836cl5kb6s40mpn-libunistring-0.9.10/lib/libunistring.so.2"
>> "/gnu/store/mjdjgiz9k5rrbj440r16z6p5g33nr7d7-glibc-2.33/lib/libcrypt.so.1"
>> "/gnu/store/mjdjgiz9k5rrbj440r16z6p5g33nr7d7-glibc-2.33/lib/libdl.so.2"
>> "/gnu/store/mjdjgiz9k5rrbj440r16z6p5g33nr7d7-glibc-2.33/lib/libm.so.6"
>> "/gnu/store/4vafjcwi9vlks5y67naf9gdia9l42pfz-gcc-10.3.0-lib/lib/libgcc_s.so.1"
>> "/gnu/store/mjdjgiz9k5rrbj440r16z6p5g33nr7d7-glibc-2.33/lib/libc.so.6"
>> "/gnu/store/mjdjgiz9k5rrbj440r16z6p5g33nr7d7-glibc-2.33/lib/ld-linux.so.2"))
>> 
>> ;;; (needed
>> ("/gnu/store/mjdjgiz9k5rrbj440r16z6p5g33nr7d7-glibc-2.33/lib/libc.so.6"
>> "/gnu/store/4vafjcwi9vlks5y67naf9gdia9l42pfz-gcc-10.3.0-lib/lib/libgcc_s.so.1"
>> "/gnu/store/mjdjgiz9k5rrbj440r16z6p5g33nr7d7-glibc-2.33/lib/libm.so.6"
>> "/gnu/store/mjdjgiz9k5rrbj440r16z6p5g33nr7d7-glibc-2.33/lib/libdl.so.2"
>> "/gnu/store/mjdjgiz9k5rrbj440r16z6p5g33nr7d7-glibc-2.33/lib/libcrypt.so.1"
>> "/gnu/store/1kfjmskgg1623zyw2836cl5kb6s40mpn-libunistring-0.9.10/lib/libunistring.so.2"
>> "/gnu/store/srz34zllfncr9iap93p8j1s8pj3rzy8n-libffi-3.3/lib/libffi.so.7"
>> "/gnu/store/mjdjgiz9k5rrbj440r16z6p5g33nr7d7-glibc-2.33/lib/libpthread.so.0"
>> "/gnu/store/5vvazsd8rh0wlinglskwkr7071lh0gb9-libgc-8.0.4/lib/libgc.so.1"
>> "/gnu/store/g64a68qy52ca2jsxh83s77f9bapja3bh-guile-3.0.7/lib/libguile-3.0.so.1"
>> "/gnu/store/mjdjgiz9k5rrbj440r16z6p5g33nr7d7-glibc-2.33/lib/ld-linux.so.2"))
>> test-name: file-needed/recursive location:
>> /tmp/guix-build-guix-1.3.0-16.10ceb3e.drv-0/source/tests/gremlin.scm:70

According to vdso(7), what’s called “linux-vdso.so” on x86_64 and
several other architectures is called “linux-gate.so” on i386.

We don’t see this in the build farm because we perform i386 builds on
x86_64 machines (with an x86_64 kernel).

Anyway, fixed in e7ad192de008a6a21638def6eb973b9cc0c91116.

>> + guix system -n disk-image gnu/system/examples/desktop.tmpl
>> accepted connection from pid 11777, user nixbld
>> guix system: warning: 'disk-image' is deprecated: use 'image' instead
>> guix system: error: service 'xorg-server' provided more than once
>> + rm -f t-guix-system-11536 t-guix-system-error-11536
>> /tmp/guix-build-guix-1.3.0-16.10ceb3e.drv-0/t-guix-system-11536/config.scm
>> /tmp/guix-build-guix-1.3.0-16.10ceb3e.drv-0/t-guix-system-11536/my-torrc
>> + rmdir
>> /tmp/guix-build-guix-1.3.0-16.10ceb3e.drv-0/t-guix-system-11536 FAIL
>> tests/guix-system.sh (exit status: 1)

I believe this one was fixed by
dc2b90109bbc86dc0124813007d4aa935371cc9c.

Note that we have yet to update the ‘guix’ package for these changes to
actually fix ‘guix build guix’.  We’ll do that soon.

Thanks,
Ludo’.