Bug#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

2026-08-05 Thread Michael Tokarev

On 05.08.2026 14:25, Santiago Vila wrote:

Package: src:spice
Version: 0.16.0-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

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

..


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 },
   | ^


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



Bug#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

2026-08-05 Thread Santiago Vila
Package: src:spice
Version: 0.16.0-2
Severity: serious
Tags: ftbfs forky sid

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 '/<>'
make[1]: *** [debian/rules:10: install] Error 2
make[1]: Leaving directory '/<>'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2