too long lines were shrinked: [1741/2855] x86_64-pc-linux-gnu-gcc -m64 -mcx16 -Ilibqemu-x86_64-softmmu.fa.p -I. -I.. -Itarget/i386 -I../target/i386 -Iqapi -Itrace -Iui -Iui/shader -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=auto -Wall -Winvalid-pch -std=gnu11 -O2 -fstack-prot [1742/2855] x86_64-pc-linux-gnu-gcc -m64 -mcx16 -Ilibqemu-x86_64-softmmu.fa.p -I. -I.. -Itarget/i386 -I../target/i386 -Iqapi -Itrace -Iui -Iui/shader -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=auto -Wall -Winvalid-pch -std=gnu11 -O2 -fstack-prot [1743/2855] x86_64-pc-linux-gnu-gcc -m64 -mcx16 -Ilibqemu-x86_64-softmmu.fa.p -I. -I.. -Itarget/i386 -I../target/i386 -Iqapi -Itrace -Iui -Iui/shader -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=auto -Wall -Winvalid-pch -std=gnu11 -O2 -fstack-prot [1744/2855] x86_64-pc-linux-gnu-gcc -m64 -mcx16 -o qemu-system-i386 libcommon.fa.p/hw_core_cpu-common.c.o libcommon.fa.p/hw_core_machine-smp.c.o libcommon.fa.p/gdbstub_syscalls.c.o libcommon.fa.p/cpu-common.c.o libcommon.fa.p/page-vary-common.c.o libcommon.fa.p/disas_disas.c.o libcommon.fa.p/accel_ FAILED: qemu-system-i386 x86_64-pc-linux-gnu-gcc -m64 -mcx16 -o qemu-system-i386 libcommon.fa.p/hw_core_cpu-common.c.o libcommon.fa.p/hw_core_machine-smp.c.o libcommon.fa.p/gdbstub_syscalls.c.o libcommon.fa.p/cpu-common.c.o libcommon.fa.p/page-vary-common.c.o libcommon.fa.p/disas_disas.c.o libcommon.fa.p/accel_tcg_cpu-exec /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: libcommon.fa.p/net_af-xdp.c.o: undefined reference to symbol 'bpf_xdp_detach@@LIBBPF_0.7.0' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libbpf.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-20231214-171515 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 17.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.6 Python 3.11.7 Available Rust versions: [1] rust-1.72.0 [2] rust-bin-1.74.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] 4) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 [4] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.21.5 linux/amd64 HEAD of ::gentoo commit 9fe03b6f1f4d9dee641d773f31f9584e8a1bdf46 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Dec 21 00:31:54 2023 +0000 Merge updates from master emerge -qpvO app-emulation/qemu [ebuild U ] app-emulation/qemu-8.2.0 [8.1.3] USE="aio bzip2 curl fdt filecaps gnutls jemalloc ncurses oss pam pin-upstream-blobs png python sasl seccomp slirp vhost-net vnc xattr -accessibility -alsa -bpf -capstone -debug -doc -fuse -glusterfs -gtk -infiniband -io-uring -iscsi -jack -jpeg -keyutils -lzo -multipath -nfs -nls -numa -opengl -pipewire -plugins -pulseaudio -rbd -sdl -sdl-image (-selinux) -smartcard -snappy -spice -ssh -static-user -systemtap -test -udev -usb -usbredir -vde -virgl -virtfs -vte -xen -zstd" PYTHON_TARGETS="python3_11 -python3_10 -python3_12" QEMU_SOFTMMU_TARGETS="i386 x86_64 -aarch64 -alpha -arm -avr -cris -hppa -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -xtensa -xtensaeb" QEMU_USER_TARGETS="i386 x86_64 -aarch64 -aarch64_be -alpha -arm -armeb -cris -hexagon -hppa -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -xtensa -xtensaeb"
Created attachment 880128 [details] emerge-info.txt
Created attachment 880129 [details] app-emulation:qemu-8.2.0:20231221-015829.log.xz
Created attachment 880130 [details] emerge-history.txt.xz
Created attachment 880131 [details] environment
Created attachment 880132 [details] etc.clang.tar.xz
Created attachment 880133 [details] etc.portage.tar.xz
The file size of ./files/logs.tar.xz is too big (11M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/17.1-20231214-171515/var/tmp/tb/issues/20231221-020455-app-emulation_qemu-8.2.0/files/logs.tar.xz is valid.
Created attachment 880134 [details] qlist-info.txt.xz
Hello Toralf, Can you please try to re-emerge using the bpf flag enabled? Cheers, berte.
Hi, I just hit the same problem with qemu-8.2.3 (it was recently switched to stable). I can confirm that after enabling the bpf USE flag the compilation completed with no issue.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55b79e860e1908a11bcae4b840ec0ba21059eb3b commit 55b79e860e1908a11bcae4b840ec0ba21059eb3b Author: Christopher Fore <csfore@posteo.net> AuthorDate: 2024-09-25 12:19:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-09-26 06:13:24 +0000 app-emulation/qemu: Add xdp USE flag This will add an xdp USE flag to fix situations where users have the bpf USE flag disabled but libxdp is installed thru net-libs/xdp-tools. This results in QEMU automatically detecting this and attempting to build af-xdp and failing. Credit-to: holgerh, parona Closes: https://bugs.gentoo.org/920459 Signed-off-by: Christopher Fore <csfore@posteo.net> Signed-off-by: Sam James <sam@gentoo.org> app-emulation/qemu/metadata.xml | 1 + app-emulation/qemu/qemu-9.0.2-r2.ebuild | 1007 +++++++++++++++++++++++++++++++ 2 files changed, 1008 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee6fb718f41c559c7bc00b531894e2849837ee6a commit ee6fb718f41c559c7bc00b531894e2849837ee6a Author: Christopher Fore <csfore@posteo.net> AuthorDate: 2024-09-25 12:19:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-09-26 06:13:25 +0000 app-emulation/qemu: Add xdp USE flag to live ebuild This will add an xdp USE flag to fix situations where users have the bpf USE flag disabled but libxdp is installed thru net-libs/xdp-tools. This results in QEMU automatically detecting this and attempting to build af-xdp and failing. Credit-to: holgerh, parona Bug: https://bugs.gentoo.org/920459 Signed-off-by: Christopher Fore <csfore@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/35197 Signed-off-by: Sam James <sam@gentoo.org> app-emulation/qemu/qemu-9999.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)