Subject: 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

From: Ludovic Courtès <[email-masked]>
Date: Tue, 04 May 2021 21:51:14 +0200

Hi,

Christopher Baines <[email-masked]> 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’.