Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343207 - app-emulation/qemu-kvm-0.13.0 fails parallel build
Summary: app-emulation/qemu-kvm-0.13.0 fails parallel build
Status: RESOLVED DUPLICATE of bug 343175
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo QEMU Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-29 05:25 UTC by Michael Orlitzky
Modified: 2010-10-29 14:23 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Orlitzky gentoo-dev 2010-10-29 05:25:32 UTC
If you set MAKEOPTS="-jX" to a relatively high number (e.g. 6), this build can fail. An example:

  gantu ~ $ sudo MAKEOPTS="-j6" emerge -1 qemu-kvm
  ...
  >>> Compiling source in /var/tmp/portage/app-emulation/qemu-kvm-0.13.0/work/qemu-kvm-0.13.0 ...
  make -j6 
    GEN   x86_64-softmmu/config-devices.mak
    GEN   x86_64-linux-user/config-devices.mak
    GEN   i386-softmmu/config-devices.mak
    GEN   i386-linux-user/config-devices.mak
    GEN   config-all-devices.mak
    GEN   qemu-img-cmds.texi
    GEN   qemu-monitor.texi
    GEN   qemu-tech.html
    GEN   qemu-options.texi
    GEN   qemu-nbd.8
    GEN   QMP/qmp-commands.txt
    GEN   config-host.h
    GEN   qemu-img-cmds.h
    CC    cmd.o
  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'
  make: *** [cmd.o] Error 1


If I had to venture a guess, it would be that the "GEN   config-host.h" target needs to complete before compilation begins.
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-10-29 14:23:41 UTC

*** This bug has been marked as a duplicate of bug 343175 ***