Breakage is in the qemu-user builds (so retrying one has to wait through
a few others).

$ ninja -v -j4 -C b/user qemu-aarch64 qemu-aarch64_be qemu-alpha qemu-
arm qemu-armeb qemu-hexagon qemu-hppa qemu-i386 qemu-loongarch64
qemu-m68k qemu-microblaze qemu-microblazeel qemu-mips qemu-mips64 qemu-
mips64el qemu-mipsel qemu-mipsn32 qemu-mipsn32el qemu-or1k qemu-ppc
qemu-ppc64 qemu-ppc64le qemu-riscv32 qemu-riscv64 qemu-s390x qemu-sh4
qemu-sh4eb qemu-sparc qemu-sparc32plus qemu-sparc64 qemu-x86_64 qemu-
xtensa qemu-xtensaeb

...

FAILED: libqemu-aarch64-linux-user.a.p/linux-user_syscall.c.o 
cc -m64 -Ilibqemu-aarch64-linux-user.a.p -I. -I../.. -Itarget/arm 
-I../../target/arm -I../../common-user/host/x86_64 
-I../../linux-user/include/host/x86_64 -I../../linux-user/include -Ilinux-user 
-I../../linux-user -Ilinux-user/aarch64 -I../../linux-user/aarch64 -Iqapi 
-Itrace -Iui/shader -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 
-fdiagnostics-color=auto -Wall -Winvalid-pch -std=gnu11 -O2 -g 
-fstack-protector-strong -Wempty-body -Wendif-labels -Wexpansion-to-defined 
-Wformat-security -Wformat-y2k -Wignored-qualifiers -Wimplicit-fallthrough=2 
-Winit-self -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs 
-Wold-style-declaration -Wold-style-definition -Wredundant-decls -Wshadow=local 
-Wstrict-prototypes -Wtype-limits -Wundef -Wvla -Wwrite-strings 
-Wno-missing-include-dirs -Wno-psabi -Wno-shift-negative-value -isystem 
/<<PKGBUILDDIR>>/linux-headers -isystem linux-headers -iquote . -iquote 
/<<PKGBUILDDIR>> -iquote /<<PKGBUILDDIR>>/include -iquote 
/<<PKGBUILDDIR>>/host/include/x86_64 -iquote 
/<<PKGBUILDDIR>>/host/include/generic -iquote /<<PKGBUILDDIR>>/tcg/i386 
-pthread -mcx16 -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-fno-strict-aliasing -fno-common -fwrapv -ftrivial-auto-var-init=zero 
-fzero-call-used-regs=used-gpr -g -O3 -Werror=implicit-function-declaration 
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/qemu-1:9.2.1+ds-1ubuntu1 
-ffile-prefix-map=../../= -Wdate-time -D_FORTIFY_SOURCE=3 
-DPROVIDE_STUBS_FOR_STATIC -fPIE -isystem../../linux-headers 
-isystemlinux-headers -DCOMPILING_PER_TARGET 
'-DCONFIG_TARGET="aarch64-linux-user-config-target.h"' 
'-DCONFIG_DEVICES="aarch64-linux-user-config-devices.h"' -MD -MQ 
libqemu-aarch64-linux-user.a.p/linux-user_syscall.c.o -MF 
libqemu-aarch64-linux-user.a.p/linux-user_syscall.c.o.d -o 
libqemu-aarch64-linux-user.a.p/linux-user_syscall.c.o -c 
../../linux-user/syscall.c
../../linux-user/syscall.c:362:8: error: redefinition of ‘struct sched_attr’
  362 | struct sched_attr {
      |        ^~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sched.h:63,
                 from /usr/include/sched.h:43,
                 from /usr/include/pthread.h:22,
                 from /usr/include/glib-2.0/glib/deprecated/gthread.h:126,
                 from /usr/include/glib-2.0/glib.h:115,
                 from /<<PKGBUILDDIR>>/include/glib-compat.h:32,
                 from /<<PKGBUILDDIR>>/include/qemu/osdep.h:168,
                 from ../../linux-user/syscall.c:20:
/usr/include/linux/sched/types.h:98:8: note: originally defined here
   98 | struct sched_attr {
      |        ^~~~~~~~~~


I started a local rebuild to debug, someone has restarted the builds on infra.
Since it is thereby no more accessible - the old build-log on amd64 for 
comparison is: 
https://launchpadlibrarian.net/777878344/buildlog_ubuntu-plucky-amd64.qemu_1%3A9.2.1+ds-1ubuntu1_BUILDING.txt.gz

My theory is that the include files got updated in the last two days since it 
worked.
At least that was the case with similar issues in the past.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2096705

Title:
  [SRU] enable Spice on riscv64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2096705/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to