app-emulation/qemu-kvm-0.13.0 Build fails with following error: Building optionrom/linuxboot.img Building optionrom/multiboot.img Building optionrom/linuxboot.raw Building optionrom/multiboot.raw Signing optionrom/linuxboot.bin In file included from qemu-aio.h:17, from cmd.c:27: qemu-common.h:5:25: error: config-host.h: No such file or directory Signing optionrom/multiboot.bin Building optionrom/extboot.img GEN qemu-img.1 Building optionrom/vapic.img In file included from qemu-aio.h:17, from cmd.c:27: qemu-common.h:61: error: redefinition of 'struct iovec' Building optionrom/extboot.raw Building optionrom/vapic.raw CC qemu-nbd.o CC qemu-tool.o Signing optionrom/extboot.bin Signing optionrom/vapic.bin CC qemu-error.o make: *** [cmd.o] Error 1 make: *** Waiting for unfinished jobs.... CC cutils.o rm extboot.img vapic.o multiboot.o extboot.o linuxboot.raw linuxboot.img vapic.raw vapic.img multiboot.raw extboot.raw multiboot.img linuxboot.o * ERROR: app-emulation/qemu-kvm-0.13.0 failed: * emake failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3579: Called _eapi2_src_compile * ebuild.sh, line 646: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =app-emulation/qemu-kvm-0.13.0', * the complete build log and the output of 'emerge -pqv =app-emulation/qemu-kvm-0.13.0'. * The complete build log is located at '/var/tmp/portage/app-emulation/qemu-kvm-0.13.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/qemu-kvm-0.13.0/temp/environment'. * S: '/var/tmp/portage/app-emulation/qemu-kvm-0.13.0/work/qemu-kvm-0.13.0' Reproducible: Always Steps to Reproduce: 1. emerge --update world vhost ~ # emerge --info =app-emulation/qemu-kvm-0.13.0 Portage 2.1.8.3 (hardened/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r2, 2.6.35-gentoo-r9 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.35-gentoo-r9-x86_64-Intel-R-_Core-TM-_i5_CPU_650_@_3.20GHz-with-gentoo-1.12.13 Timestamp of tree: Sat, 30 Oct 2010 12:15:01 +0000 app-shells/bash: 4.1_p7 dev-lang/python: 2.6.5-r3, 3.1.2-r4 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -mtune=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -mtune=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j32" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage" USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fdti gdbm gnutls gpm hardened iconv justify kqemu kvm mmx modules mudflap multilib ncurses nls nptl nptli nptlonly openmp pam pcap pcre perl pic pppd python qemu readline session sse sse2 ssl sysfs tcpd threads urandom vde vnc xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY ############################################################################# ############################################################################# ############################################################################# vhost ~ # cat '/var/tmp/portage/app-emulation/qemu-kvm-0.13.0/temp/build.log' * CPV: app-emulation/qemu-kvm-0.13.0 * REPO: gentoo * USE: aio amd64 elibc_glibc hardened kernel_linux multilib ncurses qemu_softmmu_targets_arm qemu_softmmu_targets_cris qemu_softmmu_targets_i386 qemu_softmmu_targets_m68k qemu_softmmu_targets_microblaze qemu_softmmu_targets_mips qemu_softmmu_targets_mips64 qemu_softmmu_targets_mips64el qemu_softmmu_targets_mipsel qemu_softmmu_targets_ppc qemu_softmmu_targets_ppc64 qemu_softmmu_targets_ppcemb qemu_softmmu_targets_sh4 qemu_softmmu_targets_sh4eb qemu_softmmu_targets_sparc qemu_softmmu_targets_sparc64 qemu_softmmu_targets_x86_64 qemu_user_targets_alpha qemu_user_targets_arm qemu_user_targets_armeb qemu_user_targets_cris qemu_user_targets_i386 qemu_user_targets_m68k qemu_user_targets_microblaze qemu_user_targets_mips qemu_user_targets_mipsel qemu_user_targets_ppc qemu_user_targets_ppc64 qemu_user_targets_ppc64abi32 qemu_user_targets_sh4 qemu_user_targets_sh4eb qemu_user_targets_sparc qemu_user_targets_sparc32plus qemu_user_targets_sparc64 qemu_user_targets_x86_64 ssl userland_GNU vde * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.35-gentoo-r9/build * Found sources for kernel version: * 2.6.35-gentoo-r9 >>> Unpacking source... >>> Unpacking qemu-kvm-0.13.0.tar.gz to /var/tmp/portage/app-emulation/qemu-kvm-0.13.0/work >>> Source unpacked in /var/tmp/portage/app-emulation/qemu-kvm-0.13.0/work >>> Preparing source in /var/tmp/portage/app-emulation/qemu-kvm-0.13.0/work/qemu-kvm-0.13.0 ... * Applying qemu-0.11.0-mips64-user-fix.patch ... [ ok ] * Applying qemu-kvm-0.12.3-include-madvise-defines.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-emulation/qemu-kvm-0.13.0/work/qemu-kvm-0.13.0 ... * Building the following softmmu targets: i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu microblaze-softmmu mips-softmmu mipsel-softmmu ppc-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu mips64-softmmu mips64el-softmmu ppcemb-softmmu * Building the following user targets: i386-linux-user x86_64-linux-user arm-linux-user cris-linux-user m68k-linux-user microblaze-linux-user mips-linux-user mipsel-linux-user ppc-linux-user ppc64-linux-user sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user alpha-linux-user armeb-linux-user ppc64abi32-linux-user sparc32plus-linux-user Install prefix /usr BIOS directory /usr/share/qemu binary directory /usr/bin config directory /usr/etc Manual directory /usr/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /var/tmp/portage/app-emulation/qemu-kvm-0.13.0/work/qemu-kvm-0.13.0 C compiler x86_64-pc-linux-gnu-gcc Host C compiler x86_64-pc-linux-gnu-gcc CFLAGS -O2 -g -march=native -mtune=native -O2 -pipe QEMU_CFLAGS -m64 -fstack-protector-all -Wold-style-definition -Wold-style-declaration -I. -I$(SRC_PATH) -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing LDFLAGS -Wl,--warn-common -m64 -g -Wl,-z,execheap -Wl,-O1 -Wl,--as-needed make make install install host CPU x86_64 host big endian no target list i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu microblaze-softmmu mips-softmmu mipsel-softmmu ppc-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu mips64-softmmu mips64el-softmmu ppcemb-softmmu i386-linux-user x86_64-linux-user arm-linux-user cris-linux-user m68k-linux-user microblaze-linux-user mips-linux-user mipsel-linux-user ppc-linux-user ppc64-linux-user sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user alpha-linux-user armeb-linux-user ppc64abi32-linux-user sparc32plus-linux-user tcg debug enabled no Mon debug enabled no gprof enabled no sparse enabled no strip binaries no profiler no static build no -Werror enabled no SDL support no curses support yes curl support no check support no mingw32 support no Audio drivers oss Extra audio cards ac97 es1370 sb16 Block whitelist Mixer emulation no VNC TLS support yes VNC SASL support no VNC JPEG support no VNC PNG support no VNC thread no xen support no CPU emulation yes brlapi support no bluez support no Documentation yes NPTL support yes GUEST_BASE yes PIE user targets yes vde support yes IO thread no Linux AIO support yes ATTR/XATTR support yes Install blobs yes KVM support yes KVM PIT support yes KVM device assig. yes fdt support no preadv support yes fdatasync yes uuid support yes vhost-net support yes >>> Source configured. >>> Compiling source in /var/tmp/portage/app-emulation/qemu-kvm-0.13.0/work/qemu-kvm-0.13.0 ... make -j32 GEN i386-softmmu/config-devices.mak GEN x86_64-softmmu/config-devices.mak GEN arm-softmmu/config-devices.mak GEN cris-softmmu/config-devices.mak GEN m68k-softmmu/config-devices.mak GEN microblaze-softmmu/config-devices.mak GEN mips-softmmu/config-devices.mak GEN ppc-softmmu/config-devices.mak GEN ppc64-softmmu/config-devices.mak GEN sh4-softmmu/config-devices.mak GEN mipsel-softmmu/config-devices.mak GEN sh4eb-softmmu/config-devices.mak GEN sparc-softmmu/config-devices.mak GEN mips64-softmmu/config-devices.mak GEN sparc64-softmmu/config-devices.mak GEN mips64el-softmmu/config-devices.mak GEN ppcemb-softmmu/config-devices.mak GEN i386-linux-user/config-devices.mak GEN x86_64-linux-user/config-devices.mak GEN arm-linux-user/config-devices.mak GEN cris-linux-user/config-devices.mak GEN m68k-linux-user/config-devices.mak GEN microblaze-linux-user/config-devices.mak GEN mips-linux-user/config-devices.mak GEN ppc-linux-user/config-devices.mak GEN mipsel-linux-user/config-devices.mak GEN ppc64-linux-user/config-devices.mak GEN sh4-linux-user/config-devices.mak GEN sparc-linux-user/config-devices.mak GEN sh4eb-linux-user/config-devices.mak GEN sparc64-linux-user/config-devices.mak GEN alpha-linux-user/config-devices.mak GEN armeb-linux-user/config-devices.mak GEN ppc64abi32-linux-user/config-devices.mak GEN sparc32plus-linux-user/config-devices.mak GEN config-all-devices.mak GEN qemu-options.texi GEN qemu-monitor.texi GEN qemu-img-cmds.texi GEN qemu-tech.html GEN qemu-nbd.8 GEN QMP/qmp-commands.txt GEN config-host.h GEN qemu-img-cmds.h CC cmd.o GEN qemu-options.def GEN qemu-img.1 In file included from qemu-aio.h:17, from cmd.c:27: qemu-common.h:5:25: error: config-host.h: No such file or directory In file included from qemu-aio.h:17, from cmd.c:27: qemu-common.h:61: error: redefinition of 'struct iovec' AS optionrom/multiboot.o make: *** [cmd.o] Error 1 make: *** Waiting for unfinished jobs.... AS optionrom/linuxboot.o AS optionrom/extboot.o AS optionrom/vapic.o Building optionrom/multiboot.img Building optionrom/vapic.img Building optionrom/multiboot.raw Building optionrom/extboot.img Building optionrom/vapic.raw Signing optionrom/multiboot.bin Building optionrom/linuxboot.img Building optionrom/extboot.raw Signing optionrom/vapic.bin Signing optionrom/extboot.bin Building optionrom/linuxboot.raw Signing optionrom/linuxboot.bin rm extboot.img vapic.o multiboot.o extboot.o linuxboot.raw linuxboot.img vapic.raw vapic.img multiboot.raw extboot.raw multiboot.img linuxboot.o * ERROR: app-emulation/qemu-kvm-0.13.0 failed: * emake failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3579: Called _eapi2_src_compile * ebuild.sh, line 646: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =app-emulation/qemu-kvm-0.13.0', * the complete build log and the output of 'emerge -pqv =app-emulation/qemu-kvm-0.13.0'. * The complete build log is located at '/var/tmp/portage/app-emulation/qemu-kvm-0.13.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/qemu-kvm-0.13.0/temp/environment'. * S: '/var/tmp/portage/app-emulation/qemu-kvm-0.13.0/work/qemu-kvm-0.13.0'
I believe this bug is a duplicate: https://bugs.gentoo.org/show_bug.cgi?id=343175 $ MAKEOPTS=-j1 emerge -1 qemu-kvm works as expected on my affected systems.
*** This bug has been marked as a duplicate of bug 343175 *** *** This bug has been marked as a duplicate of bug 343175 ***