Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318413 - app-emulation/qemu-kvm-9999 fails
Summary: app-emulation/qemu-kvm-9999 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Jorge Manuel B. S. Vicetto
URL: https://sourceforge.net/tracker/?func...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-04 13:10 UTC by fkhp
Modified: 2010-06-12 05:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge output (emerge.log,15.00 KB, text/plain)
2010-05-05 10:16 UTC, fkhp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fkhp 2010-05-04 13:10:58 UTC
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
Comment 1 fkhp 2010-05-04 13:16:15 UTC
was reported to other site:
http://www.mail-archive.com/kvm@vger.kernel.org/msg33521.html
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2010-05-04 20:17:30 UTC
Attach emerge --info and build.log output plz
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2010-05-04 23:00:20 UTC
The -9999 ebuild is only supported by Jorge.
Comment 4 fkhp 2010-05-05 10:16:22 UTC
Created attachment 230415 [details]
emerge output
Comment 5 fkhp 2010-05-05 10:17:17 UTC
emerge --info and other are the same as: 
http://bugs.gentoo.org/show_bug.cgi?id=318287
Comment 6 fkhp 2010-05-05 15:21:18 UTC
===== 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.





Comment 7 fkhp 2010-05-05 17:47:02 UTC
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
Comment 8 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-06-10 20:24:45 UTC
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.
Comment 9 fkhp 2010-06-10 23:28:19 UTC
(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. 
Comment 10 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-06-11 12:08:52 UTC
Adding the upstream bug report link.
Comment 11 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-06-12 05:21:41 UTC
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.