GNU bug report logs - #48156
basic system test broken: qemu-system-x86_64: error while loading shared libraries: libXcursor.so.1: cannot open shared object file: No such file or directory

Previous Next

Package: guix;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Sun, 2 May 2021 09:11:02 UTC

Severity: normal

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48156 in the body.
You can then email your comments to 48156 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#48156; Package guix. (Sun, 02 May 2021 09:11:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Baines <mail <at> cbaines.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 02 May 2021 09:11:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: bug-guix <at> gnu.org
Subject: basic system test broken: qemu-system-x86_64: error while loading
 shared libraries: libXcursor.so.1: cannot open shared object file: No such
 file or directory
Date: Sun, 02 May 2021 10:10:01 +0100
[Message part 1 (text/plain, inline)]
This is on commit 1b792e8b5275dc010c53d91062082340431204f2.

→ make check-system TESTS=basic
Compiling Scheme modules...
Selected 1 system tests...
The following derivation will be built:
   /gnu/store/7dyw16iakczr7qg89rb3rgbh443cvwpc-basic.drv
building /gnu/store/7dyw16iakczr7qg89rb3rgbh443cvwpc-basic.drv...
/gnu/store/13v06bndh09k1db50yndqi7610a9170k-qemu-5.2.0/bin/qemu-system-x86_64: error while loading shared libraries: libXcursor.so.1: cannot open shared object file: No such file or directory
Backtrace:
           4 (primitive-load "/gnu/store/kxwahrlahs75yr5j190n7f5sah9?")
In ice-9/eval.scm:
    619:8  3 (_ #f)
   626:19  2 (_ #<directory (guile-user) 7ffff1baff00>)
In gnu/build/marionette.scm:
    141:7  1 (make-marionette ("/gnu/store/s8cndczb6zz9al8l7nqk9hm?") ?)
    114:7  0 (accept* #<input-output: socket 10>)

gnu/build/marionette.scm:114:7: In procedure accept*:
timeout in 'accept' #<input-output: socket 10>
QEMU runs as PID 14
note: keeping build directory `/tmp/guix-build-basic.drv-3'
builder for `/gnu/store/7dyw16iakczr7qg89rb3rgbh443cvwpc-basic.drv' failed with exit code 1
build of /gnu/store/7dyw16iakczr7qg89rb3rgbh443cvwpc-basic.drv failed
View build log at '/var/log/guix/drvs/7d/yw16iakczr7qg89rb3rgbh443cvwpc-basic.drv.bz2'.
guix build: error: build of `/gnu/store/7dyw16iakczr7qg89rb3rgbh443cvwpc-basic.drv' failed
make: *** [Makefile:6923: check-system] Error 1
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#48156; Package guix. (Tue, 04 May 2021 19:52:02 GMT) Full text and rfc822 format available.

Message #8 received at 48156 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 48156 <at> debbugs.gnu.org
Subject: Re: bug#48156: basic system test broken: qemu-system-x86_64: error
 while loading shared libraries: libXcursor.so.1: cannot open shared object
 file: No such file or directory
Date: Tue, 04 May 2021 21:51:14 +0200
Hi,

Christopher Baines <mail <at> cbaines.net> skribis:

> This is on commit 1b792e8b5275dc010c53d91062082340431204f2.
>
> → make check-system TESTS=basic
> Compiling Scheme modules...
> Selected 1 system tests...
> The following derivation will be built:
>    /gnu/store/7dyw16iakczr7qg89rb3rgbh443cvwpc-basic.drv
> building /gnu/store/7dyw16iakczr7qg89rb3rgbh443cvwpc-basic.drv...
> /gnu/store/13v06bndh09k1db50yndqi7610a9170k-qemu-5.2.0/bin/qemu-system-x86_64: error while loading shared libraries: libXcursor.so.1: cannot open shared object file: No such file or directory

That looks fishy.  I cannot reproduce it like this:

--8<---------------cut here---------------start------------->8---
$ TESTS=basic guix time-machine --commit=1b792e8b5275dc010c53d91062082340431204f2 -- build -m etc/system-tests.scm

[...]

;;; (services (file-system-/dev/shm file-system-/sys/firmware/efi/efivars urandom-seed term-tty3 term-tty2 virtual-terminal mcron term-tty4 console-font-tty5 console-font-tty1 user-file-systems user-processes root-file-system console-font-tty2 marionette loopback syslogd nscd term-tty5 root file-system-/dev/pts term-tty6 file-system-/sys/kernel/debug console-font-tty3 guix-daemon term-tty1 user-homes console-font-tty6 sysctl console-font-tty4 term-auto host-name file-systems udev))
# of expected passes      27
# of skipped tests        1
successfully built /gnu/store/q1p7gbpxv37ycisdpl11vi4x86l73lmg-basic.drv
/gnu/store/2v80zymwawb9cvf9bhdfj87f60nrcpn3-basic
--8<---------------cut here---------------end--------------->8---

It’s not the same derivation though.

I can’t seem to find
/gnu/store/7dyw16iakczr7qg89rb3rgbh443cvwpc-basic.drv nor
/gnu/store/13v06bndh09k1db50yndqi7610a9170k-qemu-5.2.0.  Where do they
come from?

Thanks,
Ludo’.




Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Wed, 05 May 2021 09:08:01 GMT) Full text and rfc822 format available.

Notification sent to Christopher Baines <mail <at> cbaines.net>:
bug acknowledged by developer. (Wed, 05 May 2021 09:08:02 GMT) Full text and rfc822 format available.

Message #13 received at 48156-close <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 48156-close <at> debbugs.gnu.org
Subject: Re: bug#48156: basic system test broken: qemu-system-x86_64: error
 while loading shared libraries: libXcursor.so.1: cannot open shared object
 file: No such file or directory
Date: Wed, 05 May 2021 10:07:32 +0100
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:

> Hi,
>
> Christopher Baines <mail <at> cbaines.net> skribis:
>
>> This is on commit 1b792e8b5275dc010c53d91062082340431204f2.
>>
>> → make check-system TESTS=basic
>> Compiling Scheme modules...
>> Selected 1 system tests...
>> The following derivation will be built:
>>    /gnu/store/7dyw16iakczr7qg89rb3rgbh443cvwpc-basic.drv
>> building /gnu/store/7dyw16iakczr7qg89rb3rgbh443cvwpc-basic.drv...
>> /gnu/store/13v06bndh09k1db50yndqi7610a9170k-qemu-5.2.0/bin/qemu-system-x86_64: error while loading shared libraries: libXcursor.so.1: cannot open shared object file: No such file or directory
>
> That looks fishy.  I cannot reproduce it like this:
>
> --8<---------------cut here---------------start------------->8---
> $ TESTS=basic guix time-machine --commit=1b792e8b5275dc010c53d91062082340431204f2 -- build -m etc/system-tests.scm
>
> [...]
>
> ;;; (services (file-system-/dev/shm file-system-/sys/firmware/efi/efivars urandom-seed term-tty3 term-tty2 virtual-terminal mcron term-tty4 console-font-tty5 console-font-tty1 user-file-systems user-processes root-file-system console-font-tty2 marionette loopback syslogd nscd term-tty5 root file-system-/dev/pts term-tty6 file-system-/sys/kernel/debug console-font-tty3 guix-daemon term-tty1 user-homes console-font-tty6 sysctl console-font-tty4 term-auto host-name file-systems udev))
> # of expected passes      27
> # of skipped tests        1
> successfully built /gnu/store/q1p7gbpxv37ycisdpl11vi4x86l73lmg-basic.drv
> /gnu/store/2v80zymwawb9cvf9bhdfj87f60nrcpn3-basic
> --8<---------------cut here---------------end--------------->8---
>
> It’s not the same derivation though.
>
> I can’t seem to find
> /gnu/store/7dyw16iakczr7qg89rb3rgbh443cvwpc-basic.drv nor
> /gnu/store/13v06bndh09k1db50yndqi7610a9170k-qemu-5.2.0.  Where do they
> come from?

I've done a bit more digging, the qemu output is grafted, and I'm
probably getting a different grafted result since the libxcursor output
I have in my store is broken:

/gnu/store/mwcfhmiivhp4q7wax3ja8s17pk20i6w9-libxcursor-1.2.0/
└── share
    └── doc
        └── libxcursor-1.2.0
            └── COPYING

This comes from guix.cbaines.net, so it's probably not affecting anyone
else. I checked where the build happened, and it took place on a machine
which I was playing around with overclocking, and wasn't running in a
stable way.

I'm sort of impressed things managed to break in such a specific way
though. Because of how the Guix Build Coordinator works, this build must
have taken place, something went wrong in the middle, and then the
outputs got uploaded and the build result reported all without
issue. The build log has some interesting "succeeded after 0.0 seconds"
bits at the end:

  https://guix.cbaines.net/build/d4850c59-a007-4754-b16d-d867d63bc95e/log

I'll close the bug since this seems to be a "me" problem.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#48156; Package guix. (Thu, 06 May 2021 10:51:01 GMT) Full text and rfc822 format available.

Message #16 received at 48156-close <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 48156-close <at> debbugs.gnu.org
Subject: Re: bug#48156: basic system test broken: qemu-system-x86_64: error
 while loading shared libraries: libXcursor.so.1: cannot open shared object
 file: No such file or directory
Date: Thu, 06 May 2021 12:50:11 +0200
Hi,

Christopher Baines <mail <at> cbaines.net> skribis:

> I've done a bit more digging, the qemu output is grafted, and I'm
> probably getting a different grafted result since the libxcursor output
> I have in my store is broken:
>
> /gnu/store/mwcfhmiivhp4q7wax3ja8s17pk20i6w9-libxcursor-1.2.0/
> └── share
>     └── doc
>         └── libxcursor-1.2.0
>             └── COPYING
>
> This comes from guix.cbaines.net, so it's probably not affecting anyone
> else. I checked where the build happened, and it took place on a machine
> which I was playing around with overclocking, and wasn't running in a
> stable way.
>
> I'm sort of impressed things managed to break in such a specific way
> though. Because of how the Guix Build Coordinator works, this build must
> have taken place, something went wrong in the middle, and then the
> outputs got uploaded and the build result reported all without
> issue. The build log has some interesting "succeeded after 0.0 seconds"
> bits at the end:
>
>   https://guix.cbaines.net/build/d4850c59-a007-4754-b16d-d867d63bc95e/log

Woow, this is super weird.  If all our packages could build this
quickly…  :-)

Thanks for following up,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#48156; Package guix. (Fri, 07 May 2021 00:34:01 GMT) Full text and rfc822 format available.

Message #19 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Christopher Baines <mail <at> cbaines.net>
Cc: Ludovic Courtès <ludo <at> gnu.org>, bug-guix <at> gnu.org,
 48156-close <at> debbugs.gnu.org
Subject: Re: bug#48156: basic system test broken: qemu-system-x86_64: error
 while loading shared libraries: libXcursor.so.1: cannot open shared object
 file: No such file or directory
Date: Fri, 07 May 2021 02:33:27 +0200
[Message part 1 (text/plain, inline)]
Chris,

Christopher Baines 写道:
> This comes from guix.cbaines.net, so it's probably not affecting 
> anyone
> else.

The spooky happenings below reminded of this thread.  Perhaps 
they're useful somehow.  Probably not.

--8<---------------cut here---------------start------------->8---
λ guix environment guix -- ./pre-inst-env guix build \
	--no-grafts mergerfs --target=aarch64-linux-gnu
[...]
downloading from 
https://guix.cbaines.net/nar/lzip/g3f3pkvli22b6q514cqwwsfk1ip8dwij-mergerfs-2.32.4 
...
[...]
/gnu/store/g3f3pkvli22b6q514cqwwsfk1ip8dwij-mergerfs-2.32.4
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
λ tree 
/gnu/store/g3f3pkvli22b6q514cqwwsfk1ip8dwij-mergerfs-2.32.4/
/gnu/store/g3f3pkvli22b6q514cqwwsfk1ip8dwij-mergerfs-2.32.4/
└── share
   └── doc
       └── mergerfs-2.32.4
           └── LICENSE

3 directories, 1 file
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
λ guix environment guix -- ./pre-inst-env guix build \
	--no-grafts mergerfs --target=aarch64-linux-gnu \
       --check --keep-failed
[...]
guix build: error: derivation 
`/gnu/store/xkbxh0bwqppf6ga8fxx38hz3f1kq0av8-mergerfs-2.32.4.drv' 
may not be deterministic: output 
`/gnu/store/g3f3pkvli22b6q514cqwwsfk1ip8dwij-mergerfs-2.32.4' 
differs from 
‘/gnu/store/g3f3pkvli22b6q514cqwwsfk1ip8dwij-mergerfs-2.32.4-check’
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
λ tree 
/gnu/store/g3f3pkvli22b6q514cqwwsfk1ip8dwij-mergerfs-2.32.4-check
/gnu/store/g3f3pkvli22b6q514cqwwsfk1ip8dwij-mergerfs-2.32.4-check
├── bin
│   ├── mergerfs
│   └── mergerfs-fusermount
├── sbin
│   └── mount.mergerfs
└── share
   ├── doc
   │   └── mergerfs-2.32.4
   │       └── LICENSE
   └── man
       └── man1
           └── mergerfs.1.gz

7 directories, 5 files
--8<---------------cut here---------------end--------------->8---

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#48156; Package guix. (Fri, 07 May 2021 00:34:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#48156; Package guix. (Sat, 08 May 2021 20:16:01 GMT) Full text and rfc822 format available.

Message #25 received at 48156 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: Ludovic Courtès <ludo <at> gnu.org>, 48156 <at> debbugs.gnu.org
Subject: Re: bug#48156: basic system test broken: qemu-system-x86_64: error
 while loading shared libraries: libXcursor.so.1: cannot open shared object
 file: No such file or directory
Date: Sat, 08 May 2021 21:15:23 +0100
[Message part 1 (text/plain, inline)]
Tobias Geerinckx-Rice <me <at> tobias.gr> writes:

> Chris,
>
> Christopher Baines 写道:
>> This comes from guix.cbaines.net, so it's probably not affecting
>> anyone
>> else.
>
> The spooky happenings below reminded of this thread.  Perhaps they're
> useful somehow.  Probably not.
>
> --8<---------------cut here---------------start------------->8---
> λ guix environment guix -- ./pre-inst-env guix build \
> 	--no-grafts mergerfs --target=aarch64-linux-gnu
> [...]
> downloading from
> https://guix.cbaines.net/nar/lzip/g3f3pkvli22b6q514cqwwsfk1ip8dwij-mergerfs-2.32.4
> ...
> [...]
> /gnu/store/g3f3pkvli22b6q514cqwwsfk1ip8dwij-mergerfs-2.32.4
> --8<---------------cut here---------------end--------------->8---
>
> --8<---------------cut here---------------start------------->8---
> λ tree /gnu/store/g3f3pkvli22b6q514cqwwsfk1ip8dwij-mergerfs-2.32.4/
> /gnu/store/g3f3pkvli22b6q514cqwwsfk1ip8dwij-mergerfs-2.32.4/
> └── share
>    └── doc
>        └── mergerfs-2.32.4
>            └── LICENSE
>
> 3 directories, 1 file
> --8<---------------cut here---------------end--------------->8---
>
> --8<---------------cut here---------------start------------->8---
> λ guix environment guix -- ./pre-inst-env guix build \
> 	--no-grafts mergerfs --target=aarch64-linux-gnu \
>        --check --keep-failed
> [...]
> guix build: error: derivation
> `/gnu/store/xkbxh0bwqppf6ga8fxx38hz3f1kq0av8-mergerfs-2.32.4.drv'
> may not be deterministic: output
> `/gnu/store/g3f3pkvli22b6q514cqwwsfk1ip8dwij-mergerfs-2.32.4'
> differs from
> ‘/gnu/store/g3f3pkvli22b6q514cqwwsfk1ip8dwij-mergerfs-2.32.4-check’
> --8<---------------cut here---------------end--------------->8---
>
> --8<---------------cut here---------------start------------->8---
> λ tree
> /gnu/store/g3f3pkvli22b6q514cqwwsfk1ip8dwij-mergerfs-2.32.4-check
> /gnu/store/g3f3pkvli22b6q514cqwwsfk1ip8dwij-mergerfs-2.32.4-check
> ├── bin
> │   ├── mergerfs
> │   └── mergerfs-fusermount
> ├── sbin
> │   └── mount.mergerfs
> └── share
>    ├── doc
>    │   └── mergerfs-2.32.4
>    │       └── LICENSE
>    └── man
>        └── man1
>            └── mergerfs.1.gz
>
> 7 directories, 5 files
> --8<---------------cut here---------------end--------------->8---

Hmm, I checked the build for this output as well, same machine, which is
good I guess. I've submitted another build to replace it.

Where did this come up? I wasn't aware anyone else was using
guix.cbaines.net for substitutes, especially for cross-build things.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 06 Jun 2021 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 325 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.