MQ libqemu-aarch64-linux-user.fa.p/linux-user_syscall.c.o -MF libqemu-aarch64-linux-user.fa.p/linux-user_syscall.c.o.d -o libqemu-aarch64-linux-user.fa.p/linux-user_syscall.c.o -c ../linux-user/syscall.c FAILED: libqemu-aarch64-linux-user.fa.p/linux-user_syscall.c.o x86_64-pc-linux-gnu-gcc -m64 -mcx16 -Ilibqemu-aarch64-linux-user.fa.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 -I../linux-user/aarch64 -Iqapi -Itrace -Iui/shader -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=auto -Wall -Winvalid-pch -std=gnu11 -O2 -isystem /var/tmp/portage/app-emulation/qemu-7.2.0/work/qemu-7.2.0/linux-headers -isystem linux-headers -iquote . -iquote /var/ tmp/portage/app-emulation/qemu-7.2.0/work/qemu-7.2.0 -iquote /var/tmp/portage/app-emulation/qemu-7.2.0/work/qemu-7.2.0/include -iquote /var/tmp/portage/app-emulation/qemu-7.2.0/work/qemu-7.2.0/tcg/i386 -pthread -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wold-style-declaration -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers - Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wimplicit-fallthrough=2 -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-psabi -fstack-protector-strong -O3 -pipe -march=native -fomit-frame-pointer -fopt-info-vec -fcf-protection=return -flto=auto -ffat-lto-objects -fno-lto -fno-use-linker-plugin -fPIE -isystem../linux-headers -isystemlinux-headers -DNEED_CPU_H '-DCONFIG_TARGET="aarch64-linux-user-config-target.h"' '-DCONFIG_DEVICES="aarch64-linux-user-config-devices.h"' -MD -MQ libqemu- aarch64-linux-user.fa.p/linux-user_syscall.c.o -MF libqemu-aarch64-linux-user.fa.p/linux-user_syscall.c.o.d -o libqemu-aarch64-linux-user.fa.p/linux-user_syscall.c.o -c ../linux-user/syscall.c In file included from /usr/include/linux/btrfs.h:29, from ../linux-user/syscall.c:163: /usr/include/linux/fs.h:50:8: error: redefinition of ‘struct file_clone_range’ 50 | struct file_clone_range { | ^~~~~~~~~~~~~~~~ ../linux-user/syscall.c:129:8: note: originally defined here 129 | struct file_clone_range { | ^~~~~~~~~~~~~~~~ Known issue.
Discussed here: https://lists.openembedded.org/g/openembedded-core/topic/patchv2_qemu_fix_building/97161162 also here: https://lore.kernel.org/all/20230110174901.2580297-3-berrange@redhat.com
Oh not again...
Please include the full build.log & emerge --info.
There is a patch proposal in my above URLs, I am testing it :)
(In reply to Adrien Dessemond from comment #4) > There is a patch proposal in my above URLs, I am testing it :) The problem is that's what I did in bug 895662.
Ah, we just need to stable something newer.
Well sorry I was trying with '=app-emulation/qemu-7.2.0' (keyworded amd64 stable) which has the problem. '=app-emulation/qemu-7.2.0-r3' revision includes a patch that seems to correct that glibc 2.36 issue. Unless I am missing something,nothing more to do for me. Perhaps include the patch as well for the stable -7.2.0 ebuild?
I don't think it's invalid, we should stable the newer version, even if users aren't likely to hit it because >=linux-headers-6.2 is ~arch. If nothing else, it's overdue.
x86 done
ppc64 done
amd64 done
arm64 done all arches done