#1143709 spice: FTBFS: ../server/tests/test-display-base.cpp:809:5: error: either all initializer clauses should be designated or none of them should be

Package:
src:spice
Source:
src:spice
Submitter:
Santiago Vila
Date:
2026-08-05 15:35:02 UTC
Severity:
normal
Tags:
#1143709#5
Date:
2026-08-05 11:25:34 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:spice, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
[83/172] cc -Iserver/tests/libtestlib.a.p -Iserver/tests -I. [too-long-redacted] server/tests/basic-event-loop.c
[84/172] c++  -o server/libspice-server.so.1.15.0 server/lib [too-long-redacted] gnu/libsasl2.so -Wl,--end-group
[85/172] cc -Iserver/tests/libtestlib.a.p -Iserver/tests -I. [too-long-redacted]  -c ../server/tests/win-alarm.c
[86/172] c++ -Iserver/tests/libtestlib.a.p -Iserver/tests -I [too-long-redacted] ver/tests/test-display-base.cpp
FAILED: [code=1] server/tests/libtestlib.a.p/test-display-base.cpp.o
c++ -Iserver/tests/libtestlib.a.p -Iserver/tests -I../server [too-long-redacted] ver/tests/test-display-base.cpp
../server/tests/test-display-base.cpp:809:5: error: either all initializer clauses should be designated or none of them should be
  809 |     { .attached_worker = attached_worker },
      |     ^
[87/172] c++ -Iserver/tests/libtestlib.a.p -Iserver/tests -I [too-long-redacted]  -c ../server/tests/vmc-emu.cpp
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 1
make[2]: *** [debian/rules:10: build] Error 25
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:10: install] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1143709#10
Date:
2026-08-05 15:24:36 UTC
From:
To:
..

This seems to be a bug in gcc, since this is an anonymous union, which
requires just *one* field to be specified, because this is what actually
exist there given the context (other fields don't exist).

But it's a known isssue, it seems, and there's a workaround already, so
I'll upload a new version.

Thanks,

/mjt

#1143709#15
Date:
2026-08-05 15:33:44 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
spice, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1143709@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Tokarev <mjt@tls.msk.ru> (supplier of updated spice package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 05 Aug 2026 18:28:00 +0300
Source: spice
Architecture: source
Version: 0.16.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>
Changed-By: Michael Tokarev <mjt@tls.msk.ru>
Closes: 1141521 1143709
Changes:
 spice (0.16.0-3) unstable; urgency=medium
 .
   * d/control: remove python3-six build dependency (Closes: #1141521)
   * test-display-base-Fix-C-designated-initializer-for-a.patch
     (Closes: #1143709)
Checksums-Sha1:
 bc456251b068c69da710d54aa42410344551f92a 2821 spice_0.16.0-3.dsc
 141fbe3a623c383bf21e33da25376421e1092f04 37160 spice_0.16.0-3.debian.tar.xz
 ba9aaa266c499e055bcc1be9c1046ffbd2db5429 8135 spice_0.16.0-3_source.buildinfo
Checksums-Sha256:
 84b9fb0624711ba5ac32937afa78767da441212524f259bb0be9bdd0c82b2c5f 2821 spice_0.16.0-3.dsc
 e83d2459be22cc770365329697f4ad3c15cc6c91f96371face19ff1824106df4 37160 spice_0.16.0-3.debian.tar.xz
 2bbdf5bebc474d1e5553959245b4277add5123755f6b63a68f6db4e5070e075a 8135 spice_0.16.0-3_source.buildinfo
Files:
 6dece966eac4c2747aadea0f5bf94105 2821 misc optional spice_0.16.0-3.dsc
 b4f18ccdcfbab065dd521b94d92118a4 37160 misc optional spice_0.16.0-3.debian.tar.xz
 763fc35a5ee2fbddb413801c18f96e96 8135 misc optional spice_0.16.0-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

wsG7BAEBCgBvBYJqc1aUCRCCqkokOx6UeEcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmcmBXlFzrEcWUHiQekYvNUOPKWDBSLjXCOhWHdKdMVu
7xYhBGSqKrUx1WkDNmv++YKqSiQ7HpR4AAAl2xAAolh4SpmkozV8QKwXdc8GfgOt
NIiFQCz/GrU4WVZypG+YLVYaXnTb82auTiuT120LxFbYxs5ap5n3odXKewE4htqW
6M5zzOgsZiUPt+Fo1T1Fp9rxJucQo724s5/RvRxlUWIHSw8XmIFeKKeYZhPDaC0n
PEfnRG5d+mjdnUMPeO9KmkJh6MOzLPP6FG3BHSNGPpEZv26dUeJNdN2br5O4nomv
9UV6xXWZhrc1kr8P82MgW/wMmeL6sEr035ZlH0J5ezJeiBLIMxq9Egthp7TU7m5G
SciFywOHYezUpsCfkJXUPAhPCgdVYOlN6MIrxyfU/G0AEdfqW7FVSBH8KeI6eNcr
UlaStN7AdjGMuhJnugoY+IPj/fJfS9gQPJg5+m+xHZw19nXK5nVeAr5iOb7NPENB
jASE2qdOJIn9AZ3h/FNf4MnxR06pVemlDcTclYXIlzg6NGCeuBGurtVR2fMFor7R
XIQfyh7LJYbyBkYERqHZ1uaH+KCsPFmYD/rn0Hmn/N1P80yPKnspMZ6ltFDWDwQu
hjoxqRw3uoZLnRImfoClrg5EnB8YMAsQquWWoNmh/ZM0ND5pjRZAGMGjcSnIbdd0
mPx7PYFwi88vK8aLFgO7YXWXsTMf19lRpnjZsBkdEMx1Gl2DymrCHDdseudWq7TM
v3J0Tquh9TLFW+IynLM=
=E75v
-----END PGP SIGNATURE-----