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

  • Done
  • quality assurance status badge
Details
3 participants
  • Ludovic Courtès
  • Christopher Baines
  • Tobias Geerinckx-Rice
Owner
unassigned
Submitted by
Christopher Baines
Severity
normal

Debbugs page

Christopher Baines wrote 4 years ago
(address . bug-guix@gnu.org)
8735v5ec2e.fsf@cbaines.net
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
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmCObGlfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9Xf06Q/8CB6XXjmis96Mqv+lE0yXzDwmtBdwQzNO
uS24iFp5AXNLvLMVisZy/TBBgsGXWaJywfLTfQDtFypoeOOJO7HAEh+hToQ8OoBL
Ro1EjOvYyXSYGRr8ZWnu9xlCbW1TZxrYm3UZ9Fapy2DgZbJi1Sw/TlTFPhXEDr2w
Zc9X1+oG8uOexKt+bhJWJMFWwPNc/LmgIplaXEBBhaeGywk06Jy7ZVkXiqXlto3T
lwKw9hXZOF9v2AMnCBPnwhVbDcsrIqtHPT8lXDKKFKsTp6I5m0GvNzHBR7RKDau6
k69kHESzjXUJDfFqECFlURZhzsOuL6mxzqWosI6VpY+ko2NcZtPOB53m5e7MJqQo
7znF27BLpCS3dXnyXPhBFvvlaSyThilQc0NiS3lmpmujqk/+hTWPtwFUofXmoFcz
psTG27igGW2PsmB+7mlRc0MgPbmBnHoNqoeYZ1f0pwt5dkF+rwiDqVKpSUPFwcKk
SO+Up3YIZdbaK3ZpGJuC53USydWW3R+EpKytqUPk+8ZpJX8IHAt1q63MJq31eJkl
onEBuF4NzdqF7K0+EhNnX5DXNq9sPgjKQY7o2NGemTNhlikqCsjid/aaaAb4UIgh
VeB3/odkoLMynTsFqvVbvfUfCrCgnY3qnts3HUG0qZpR54ktMADOTdBT3xP/VokL
XXK6bSK23kU=
=Vtng
-----END PGP SIGNATURE-----

Ludovic Courtès wrote 4 years ago
(name . Christopher Baines)(address . mail@cbaines.net)(address . 48156@debbugs.gnu.org)
87czu6mg5p.fsf@gnu.org
Hi,

Christopher Baines <mail@cbaines.net> skribis:

Toggle quote (10 lines)
> 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:

Toggle snippet (11 lines)
$ 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

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’.
Christopher Baines wrote 4 years ago
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 48156-close@debbugs.gnu.org)
87a6p9czvv.fsf@cbaines.net
Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (35 lines)
> Hi,
>
> Christopher Baines <mail@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:


I'll close the bug since this seems to be a "me" problem.
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmCSYFVfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9Xds1g/+JH2LTNYa7ISN3kOg2HTlPHT9MqaDLNHe
2QG/nqQaqhM+7kRKTg3KoiJKZGhgQhnadl40CAHa1yOLpBZg0Ff4k0qUNTQ9Zl1n
G+uqp7+PvmFY3eVA43TpYWU4/+m65lPEnaoW0WzGVUQuPSx9+2iILM1tSBgKABs0
F3EPV4OCc6VIO9vrvBEhB08yN4IF/bI8AjIptRe8z6K6+KXLeDQJ/BA3LMzVZMWU
BAnlfEHWtlVrTA8kaT9ZswIGLqcWsJy2n/7OY6aFMYWlwUigIAmPr4z3elxY+fCO
geNQiMY3Y6hpTfbv5L4yIwz0ZZQzW575m3tCxpjhP8dERcxiY3yS/xELpIP5ices
5R3kFwGsZIig7bKfPDWq9t5cSldb04d87f3tFEDzNxPV8in9WghJBhFp9HPxyJME
0zyQEZTLVUuYzhlEP4emNFoIYtGhwjPsfZTclsxWWOMelbypiSMGbRYPe/Uy2+dM
M4AGUX0ppVMhdzJ0Aq7NZ7Ay3Nw6qNekNsWO5GVwWpSLeSOXmPrLMxbc5kn+MJeh
KIPK87ZIdx2owlGvgwQUecGxii1H2llnfpi1HZAVXt7IbFzrJps7l+xFhQX/bpzE
GhU9mySfJLgu9tmoY9bLjHlGGL2lYQYab7kdl4+/HZMtjrrjROCGFKp1kJ8qTo/9
0Qur3nGYqfY=
=o+Qz
-----END PGP SIGNATURE-----

Ludovic Courtès wrote 4 years ago
(name . Christopher Baines)(address . mail@cbaines.net)(address . 48156-close@debbugs.gnu.org)
87a6p8gmqk.fsf@gnu.org
Hi,

Christopher Baines <mail@cbaines.net> skribis:

Toggle quote (24 lines)
> 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’.
Tobias Geerinckx-Rice wrote 4 years ago
(name . Christopher Baines)(address . mail@cbaines.net)
878s4rmlgo.fsf@nckx
Chris,

Christopher Baines 写道:
Toggle quote (4 lines)
> 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.

Toggle snippet (10 lines)
λ 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

Toggle snippet (11 lines)
λ 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

Toggle snippet (12 lines)
λ 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’

Toggle snippet (19 lines)
λ 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

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYJSK1w0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW157+IA/jvW4m7XckPT2RZ8L2uTMWHLdn1Ygn5J4Z/9QgV+
2l4xAQCMcQAJkht0QCqrjgYmQ8mUd+uQosisNegcQZHnvrJUBA==
=WhuP
-----END PGP SIGNATURE-----

Christopher Baines wrote 4 years ago
(name . Tobias Geerinckx-Rice)(address . me@tobias.gr)
877dk92d9g.fsf@cbaines.net
Tobias Geerinckx-Rice <me@tobias.gr> writes:

Toggle quote (65 lines)
> 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.
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmCW8VtfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9XfBLQ//RPvwvxvCLtWmnzmgCz1eyOo9f47ntwok
QKG9w3v3fpvlNJxDZUmHIAoLYBf7taYsZKs/5Dvyc0BaMx0uYnormmkUnPTes7ep
n+DUxupljzBPPqyCio38MtzyyrceS3rza/Cw+HIpT8eGk9DfXDybCgMKhGGvIyNE
zPfVh83z7DKKkvT10j51w0lcZdXSEQHvksWabyoXZ0Df51BISFZdWciP6n0IX9EK
/SbVldDPX8uVpQpz4f+lULlY9wVINUzGj3Nu1Av1mknU3f0FodZ1Ctte4GfQaOed
iPCYa2JZ/lO0vZlG0ziFrDYziml72XbO7tybhyMupKLzHVkUjAiFMOYkiOq5OdDR
USQNmT5/nbfM+qbUODcRAtoKwh180hBP5rJ2c9Sp9eHrrg6yDs5uW4evGCeKuZIT
yqbKJvWory4i2N4x4dnij89qqWWDqVM11dKGKrzfw6sJSnna39egV4dLzeZ19TG3
9gYuc+xY+mxvq+d3QKdnW+JIDyu1cQjPEVhxMA8wF/JiIzQJ29sJAtClJ+9OtLqN
4dFApB3F05L+xhxBs576d4Otl1ZHhYjWtxqmaydPtdh6+5C66dj/pw/3OloFYHtV
/P+EE6JX/YhrRE3OxdbqeKTXV35TgRTz6ASR1JxTQGQz4pZHWXIulC8bZGO1RF9Z
T72opIy52oI=
=huta
-----END PGP SIGNATURE-----

?
Your comment

This issue is archived.

To comment on this conversation send an email to 48156@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 48156
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help