Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482878 - app-emulation/qemu-1.6.0 configure fails with USE="-fdt" and QEMU_SOFTMMU_TARGETS="arm"
Summary: app-emulation/qemu-1.6.0 configure fails with USE="-fdt" and QEMU_SOFTMMU_TAR...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-29 04:29 UTC by Mike Gilbert
Modified: 2013-09-06 15:25 UTC (History)
4 users (show)

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


Attachments
Ebuild patch (qemu.patch,1.07 KB, patch)
2013-09-02 14:25 UTC, Mike Gilbert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2013-08-29 04:29:47 UTC
Maybe this could be added to the REQUIRED_USE conditions?

>>> Configuring source in /tmp/portage/app-emulation/qemu-1.6.0/work/qemu-1.6.0 ...
 * Building the following softmmu targets: ,arm-softmmu
 * ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 --docdir=/usr/share/doc/qemu-1.6.0/html --disable-bsd-user --disable-guest-agent --disable-strip --disable-werror --python=/usr/bin/python2.7 --disable-linux-user --enable-system --with-system-pixman --target-list=,arm-softmmu --enable-bluez --enable-gtk --with-gtkabi=3.0 --enable-sdl --enable-linux-aio --disable-brlapi --enable-cap-ng --enable-curl --disable-fdt --disable-glusterfs --disable-libiscsi --enable-vnc-jpeg --enable-kvm --enable-curses --enable-glx --enable-vnc-png --disable-rbd --disable-vnc-sasl --enable-seccomp --disable-smartcard-nss --enable-spice --disable-vnc-tls --disable-vnc-ws --disable-usb-redir --enable-uuid --enable-vde --enable-vhost-net --disable-virtfs --enable-vnc --enable-attr --disable-xen --disable-xen-pci-passthrough --disable-xfsctl --audio-drv-list=sdl,alsa,oss --enable-migration-from-qemu-kvm --disable-debug-info --disable-debug-tcg --enable-docs --disable-tcg-interpreter

ERROR: fdt disabled but some requested targets require it.
       You can turn off fdt only if you also disable all the system emulation
       targets which need it (by specifying a cut down --target-list).
Comment 1 Raffaello D. Di Napoli 2013-08-31 04:27:00 UTC
Same here:

USE="-fdt"
QEMU_SOFTMMU_TARGETS="arm i386 ppc x86_64"
QEMU_USER_TARGETS="arm i386 ppc x86_64"

Results in:

 * Building the following softmmu targets: ,i386-softmmu,x86_64-softmmu,arm-softmmu,ppc-softmmu
 * Building the following user targets: ,i386-linux-user,x86_64-linux-user,arm-linux-user,ppc-linux-user
 * ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 --docdir=/usr/share/doc/qemu-1.6.0/html --disable-bsd-user --disable-guest-agent --disable-strip --disable-werror --python=/usr/bin/python2.7 --disable-linux-user --enable-system --with-system-pixman --target-list=,i386-softmmu,x86_64-softmmu,arm-softmmu,ppc-softmmu --disable-bluez --enable-gtk --with-gtkabi=3.0 --enable-sdl --enable-linux-aio --disable-brlapi --disable-cap-ng --disable-curl --disable-fdt --disable-glusterfs --disable-libiscsi --enable-vnc-jpeg --enable-kvm --enable-curses --enable-glx --enable-vnc-png --disable-rbd --disable-vnc-sasl --disable-seccomp --disable-smartcard-nss --disable-spice --disable-vnc-tls --disable-vnc-ws --disable-usb-redir --enable-uuid --disable-vde --enable-vhost-net --disable-virtfs --enable-vnc --enable-attr --disable-xen --disable-xen-pci-passthrough --disable-xfsctl --audio-drv-list=sdl,alsa,oss --enable-migration-from-qemu-kvm --disable-debug-info --disable-debug-tcg --enable-docs --disable-tcg-interpreter

ERROR: fdt disabled but some requested targets require it.
       You can turn off fdt only if you also disable all the system emulation
       targets which need it (by specifying a cut down --target-list).
Comment 2 Lukas Elsner 2013-09-02 08:12:38 UTC
confirm
Comment 3 Mike Gilbert gentoo-dev 2013-09-02 14:25:32 UTC
Created attachment 357670 [details, diff]
Ebuild patch

Here is a patch to enable fdt via IUSE defaults, and add required use constraints for the relevant targets (based on configure).

Let me know if it is ok to apply one or both changes.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2013-09-06 15:25:45 UTC
Applied to 1.6.0, thanks.