ebuild generated make files has problem that make emerge fail. Reproducible: Always Steps to Reproduce: 1.# emerge qemu-kvm failed 2.# paludis qemu-kvm failed 3.# cd <to the source directory> 4.# make failed with same error message in the out log: In file included from /var/tmp/paludis/app-emulation-qemu-kvm-9999/work/qemu-kvm-9999/gdbstub.c:37:0: /var/tmp/paludis/app-emulation-qemu-kvm-9999/work/qemu-kvm-9999/qemu-kvm.h:845:42: error: expected ')' before 'start_addr' /var/tmp/paludis/app-emulation-qemu-kvm-9999/work/qemu-kvm-9999/qemu-kvm.h:847:50: error: expected ')' before 'start_addr' /var/tmp/paludis/app-emulation-qemu-kvm-9999/work/qemu-kvm-9999/qemu-kvm.h:850:50: error: expected ')' before 'start_addr' /var/tmp/paludis/app-emulation-qemu-kvm-9999/work/qemu-kvm-9999/qemu-kvm.h:852:45: error: expected ')' before 'start' In file included from /var/tmp/paludis/app-emulation-qemu-kvm-9999/work/qemu-kvm-9999/gdbstub.c:37:0: /var/tmp/paludis/app-emulation-qemu-kvm-9999/work/qemu-kvm-9999/qemu-kvm.h:931:55: error: expected ')' before 'start_addr' make[1]: *** [gdbstub.o] Error 1 make: *** [subdir-x86_64-linux-user] Error 2 =================== Actual Results: emerge fails Expected Results: emerge OK 5.# ./configure --prefix=/usr/bin && make 6.# importare -i -l `pwd` app-emulation/qemu-kvm 9999 is OK
was reported to other site: http://www.mail-archive.com/kvm@vger.kernel.org/msg33521.html
Attach emerge --info and build.log output plz
The -9999 ebuild is only supported by Jorge.
Created attachment 230415 [details] emerge output
emerge --info and other are the same as: http://bugs.gentoo.org/show_bug.cgi?id=318287
===== this configure make the make fail # ./configure --prefix=/usr --target-list=x86_64-softmmu,x86_64-linux-user --disable-strip --audio-drv-list=sdl,esd,alsa ===== this configure will make the make sucess # ./configure --prefix=/usr --target-list=x86_64-softmmu,x86_64-linux-user --disable-strip --audio-drv-list=sdl,esd,alsa so it is the setting QEMU_USER_TARGETS="x86_64" in make.conf caused the emerge to use "--target-list=x86_64-softmmu,x86_64-linux-user". but the generated make files for it will fail, that's a problem of the original source package. so just remove x86_64 from EMU_USER_TARGETS will be the current work around.
a correction: ===== this configure will make the make sucess # ./configure --prefix=/usr --target-list=x86_64-softmmu --disable-strip --audio-drv-list=sdl,esd,alsa
Are you still getting this failure when building qemu-kvm-9999? It's currently failing here, but per bug 317205 and not because of this issue.
(In reply to comment #8) > Are you still getting this failure when building qemu-kvm-9999? > It's currently failing here, but per bug 317205 and not because of this issue. > qemu-kvm-9999 compile successfully, but is not usable, only because libvirt-0.8.1-r1 could not recognize version of qemu-kvm-9999, and can not start it. this might not be a bug but a version compatiblity issue. the libvirt from git master can not be compiled as make calls autogen.sh endlessly. recently only stable versions of qemu-kvm and libvirt can be used.
Adding the upstream bug report link.
Please sync and test with the updated ebuild. This was fixed by restricting targets to x86_64-softmmu as that's the only supported target by upstream.