Subject: gst-plugins-bad cannot be built on linux-armhf, breaking qemu

From: Maxim Cournoyer <[email-masked]>
Date: Fri, 18 Sep 2020 21:45:09 -0400

This occurs on master (commit 679d5e6b3dcac4ee1f419c04b3719fead0bd9ee5).

qemu-minimal is not impacted, but the fully-fledged qemu package
cannot be built, due to a dependency on gst-plugins-bad, which fails to
build like:

./pre-inst-env guix build qemu --rounds=5 --system=armhf-linux

--8<---------------cut here---------------start------------->8---
[104/738] Generating GstInsertBin-1.0.gir with a custom command.
FAILED: gst-libs/gst/insertbin/GstInsertBin-1.0.gir 
ERROR: can't resolve libraries to shared libraries: gstinsertbin-1.0
[105/738] Generating symbol file 'gst-libs/gst/webrtc/ebe7247@@gstwebrtc-1.0@sha/libgstwebrtc-1.0.so.0.1602.0.symbols'.
[106/738] Compiling C object 'gst/camerabin2/4042765@@gstcamerabin@sha/camerabingeneral.c.o'.
[107/738] Linking target gst/audiomixmatrix/libgstaudiomixmatrix.so.
[108/738] Compiling C object 'gst/audiovisualizers/cbf4535@@gstaudiovisualizers@sha/gstsynaescope.c.o'.
[109/738] Linking target gst/audiobuffersplit/libgstaudiobuffersplit.so.
[110/738] Compiling C object 'gst/autoconvert/e5cffa3@@gstautoconvert@sha/gstautoconvert.c.o'.
[111/738] Compiling C object 'gst/audiovisualizers/cbf4535@@gstaudiovisualizers@sha/gstwavescope.c.o'.
[112/738] Linking target gst-libs/gst/codecparsers/libgstcodecparsers-1.0.so.0.1602.0.
-- Adding Fcitx Addon clipboard
[113/738] Compiling C object 'gst/aiff/3dba985@@gstaiff@sha/aiffparse.c.o'.
[114/738] Compiling C object 'gst/bayer/9043930@@gstbayer@sha/meson-generated_.._gstbayerorc.c.o'.
[115/738] Compiling C object 'gst/camerabin2/4042765@@gstcamerabin@sha/gstplugin.c.o'.
[116/738] Compiling C object 'gst/camerabin2/4042765@@gstcamerabin@sha/gstdigitalzoom.c.o'.
[117/738] Generating symbol file 'gst-libs/gst/adaptivedemux/f8886ef@@gstadaptivedemux-1.0@sha/libgstadaptivedemux-1.0.so.0.1602.0.symbols'.
[118/738] Compiling C object 'gst/camerabin2/4042765@@gstcamerabin@sha/gstviewfinderbin.c.o'.
[119/738] Compiling C object 'gst/bayer/9043930@@gstbayer@sha/gstbayer2rgb.c.o'.
[120/738] Compiling C object 'gst/bayer/9043930@@gstbayer@sha/gstrgb2bayer.c.o'.
[121/738] Compiling C object 'gst/asfmux/3f2ef0f@@gstasfmux@sha/gstasfmux.c.o'.
[122/738] Generating symbol file 'gst-libs/gst/mpegts/aa7f611@@gstmpegts-1.0@sha/libgstmpegts-1.0.so.0.1602.0.symbols'.
-- Adding Fcitx Addon vk
[123/738] Compiling C object 'gst/camerabin2/4042765@@gstcamerabin@sha/gstwrappercamerabinsrc.c.o'.
-- Adding Fcitx Addon dbus
[124/738] Compiling C object 'gst/camerabin2/4042765@@gstcamerabin@sha/gstcamerabin2.c.o'.
-- Adding Fcitx Addon lua
[125/738] Generating GstWebRTC-1.0.gir with a custom command.
FAILED: gst-libs/gst/webrtc/GstWebRTC-1.0.gir 
ERROR: can't resolve libraries to shared libraries: gstwebrtc-1.0
-- Adding Fcitx Addon unicode
-- Adding Fcitx Addon freedesktop-notify
-- Adding Fcitx Addon notificationitem
[126/738] Generating GstMpegts-1.0.gir with a custom command.
FAILED: gst-libs/gst/mpegts/GstMpegts-1.0.gir 
ERROR: can't resolve libraries to shared libraries: gstmpegts-1.0
[127/738] Generating GstPlayer-1.0.gir with a custom command.
FAILED: gst-libs/gst/player/GstPlayer-1.0.gir 
ERROR: can't resolve libraries to shared libraries: gstplayer-1.0
ninja: build stopped: subcommand failed.
command "ninja" "-j" "24" failed with status 1
builder for `/gnu/store/6yy2qhp8hfm6ajdvk5fscrzgzg701dqn-gst-plugins-bad-1.16.2.drv' failed with exit code 1
@ build-failed /gnu/store/6yy2qhp8hfm6ajdvk5fscrzgzg701dqn-gst-plugins-bad-1.16.2.drv - 1 builder for `/gnu/store/6yy2qhp8hfm6ajdvk5fscrzgzg701dqn-gst-plugins-bad-1.16.2.drv' failed with exit code 1
derivation '/gnu/store/6yy2qhp8hfm6ajdvk5fscrzgzg701dqn-gst-plugins-bad-1.16.2.drv' offloaded to '127.0.0.1' failed: build of `/gnu/store/6yy2qhp8hfm6ajdvk5fscrzgzg701dqn-gst-plugins-bad-1.16.2.drv' failed
-- Adding Fcitx Addon pinyin
build of /gnu/store/6yy2qhp8hfm6ajdvk5fscrzgzg701dqn-gst-plugins-bad-1.16.2.drv failed
View build log at '/var/log/guix/drvs/6y/y2qhp8hfm6ajdvk5fscrzgzg701dqn-gst-plugins-bad-1.16.2.drv.bz2'.
cannot build derivation `/gnu/store/4hpglj6vk0zggchh9hv287d1fh0s5mbq-spice-0.14.3.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/x3dibi2h2b1a29752f0x0j2lap9qxy2d-qemu-5.0.0.drv': 1 dependencies couldn't be built
guix build: error: build of `/gnu/store/x3dibi2h2b1a29752f0x0j2lap9qxy2d-qemu-5.0.0.drv' failed
--8<---------------cut here---------------end--------------->8---