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
Michael Tokarev <[email protected]> Wed, 5 Aug 2026 18:24:36 +0300
| Newsgroups | gmane.linux.debian.devel.bugs.rc |
|---|---|
| Message-ID | <[email protected]> |
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