Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 439758 - app-emulation/qemu-1.2.0 emerge fails with invalid working directory
Summary: app-emulation/qemu-1.2.0 emerge fails with invalid working directory
Status: RESOLVED DUPLICATE of bug 439374
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-26 13:22 UTC by lsching17
Modified: 2012-10-26 16:24 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 lsching17 2012-10-26 13:22:38 UTC
app-emulation/qemu-1.2.0 emerge fails with invalid working directory

$ sudo emerge --update --deep --newuse @world
Calculating dependencies... done!

>>> Verifying ebuild manifests
>>> Running pre-merge checks for app-emulation/qemu-1.2.0
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /custom/tmp/kernel/src
 * Found kernel object directory:
 *     /custom/tmp/kernel/KBUILD_OUTPUT
 * Found sources for kernel version:
 *     3.6.3
 * Checking for suitable kernel configuration options...
 *   You will need the Universal TUN/TAP driver compiled into your kernel or loaded as a module to use the virtual network device if using -net tap.
 *   You will also need support for 802.1d Ethernet Bridging for some network configurations.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.

>>> Emerging (1 of 1) app-emulation/qemu-1.2.0
>>> Downloading 'http://gentoo.aditsu.net/distfiles/qemu-kvm-1.2.0.tar.gz'
--2012-10-26 21:09:38--  http://gentoo.aditsu.net/distfiles/qemu-kvm-1.2.0.tar.gz
Resolving gentoo.aditsu.net... 59.148.208.52
Connecting to gentoo.aditsu.net|59.148.208.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6839420 (6.5M) [application/x-gzip]
Saving to: ‘/custom/tmp/portage/distfiles/qemu-kvm-1.2.0.tar.gz’

100%[======================================>] 6,839,420   5.91MB/s   in 1.1s   

2012-10-26 21:09:39 (5.91 MB/s) - ‘/custom/tmp/portage/distfiles/qemu-kvm-1.2.0.tar.gz’ saved [6839420/6839420]

 * qemu-kvm-1.2.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...            [ ok ]
>>> Unpacking source...
>>> Unpacking qemu-kvm-1.2.0.tar.gz to /custom/tmp/portage/tmp/portage/app-emulation/qemu-1.2.0/work
>>> Source unpacked in /custom/tmp/portage/tmp/portage/app-emulation/qemu-1.2.0/work
 * ERROR: app-emulation/qemu-1.2.0 failed (prepare phase):
 *   The source directory '/custom/tmp/portage/tmp/portage/app-emulation/qemu-1.2.0/work/qemu-1.2.0' doesn't exist
 * 
 * Call stack:
 *            ebuild.sh, line 708:  Called ebuild_main 'prepare'
 *   phase-functions.sh, line 955:  Called dyn_prepare
 *   phase-functions.sh, line 372:  Called die
 * The specific snippet of code:
 *   		die "The source directory '${S}' doesn't exist"
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/qemu-1.2.0'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/qemu-1.2.0'`.
 * The complete build log is located at '/custom/tmp/portage/zlog/app-emulation:qemu-1.2.0:20121026-130938.log'.
 * For convenience, a symlink to the build log is located at '/custom/tmp/portage/tmp/portage/app-emulation/qemu-1.2.0/temp/build.log'.
 * The ebuild environment file is located at '/custom/tmp/portage/tmp/portage/app-emulation/qemu-1.2.0/temp/environment'.
 * Working directory: '/custom/tmp/portage/tmp/portage/app-emulation/qemu-1.2.0'
 * S: '/custom/tmp/portage/tmp/portage/app-emulation/qemu-1.2.0/work/qemu-1.2.0'

>>> Failed to emerge app-emulation/qemu-1.2.0, Log file:

>>>  '/custom/tmp/portage/zlog/app-emulation:qemu-1.2.0:20121026-130938.log'

 * Messages for package app-emulation/qemu-1.2.0:

 *   You will need the Universal TUN/TAP driver compiled into your kernel or loaded as a module to use the virtual network device if using -net tap.
 *   You will also need support for 802.1d Ethernet Bridging for some network configurations.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.

 * Messages for package app-emulation/qemu-1.2.0:

 * ERROR: app-emulation/qemu-1.2.0 failed (prepare phase):
 *   The source directory '/custom/tmp/portage/tmp/portage/app-emulation/qemu-1.2.0/work/qemu-1.2.0' doesn't exist
 * 
 * Call stack:
 *            ebuild.sh, line 708:  Called ebuild_main 'prepare'
 *   phase-functions.sh, line 955:  Called dyn_prepare
 *   phase-functions.sh, line 372:  Called die
 * The specific snippet of code:
 *   		die "The source directory '${S}' doesn't exist"
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/qemu-1.2.0'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/qemu-1.2.0'`.
 * The complete build log is located at '/custom/tmp/portage/zlog/app-emulation:qemu-1.2.0:20121026-130938.log'.
 * For convenience, a symlink to the build log is located at '/custom/tmp/portage/tmp/portage/app-emulation/qemu-1.2.0/temp/build.log'.
 * The ebuild environment file is located at '/custom/tmp/portage/tmp/portage/app-emulation/qemu-1.2.0/temp/environment'.
 * Working directory: '/custom/tmp/portage/tmp/portage/app-emulation/qemu-1.2.0'
 * S: '/custom/tmp/portage/tmp/portage/app-emulation/qemu-1.2.0/work/qemu-1.2.0'



Reproducible: Always




"qemu-1.2.0" is not found in the working directory, instead "qemu-kvm-1.2.0" is created by portage, which might be the root cause

$ sudo ls -la /custom/tmp/portage/tmp/portage/app-emulation/qemu-1.2.0/work/
total 0
drwx------  3 portage portage   60 Oct 26 21:09 .
drwxrwxr-x  6 portage portage  240 Oct 26 21:09 ..
drwxr-xr-x 44 portage portage 6920 Sep  6 16:31 qemu-kvm-1.2.0


$ sudo emerge --info qemu
Portage 2.1.11.9 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.6.3-custom x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.6.3-custom-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.1
Timestamp of tree: Fri, 26 Oct 2012 00:45:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fuse-linker-plugin -march=native -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fuse-linker-plugin -march=native -ftree-vectorize"
DISTDIR="/custom/tmp/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parallel-install parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.aditsu.net"
LANG="en_HK.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16"
PKGDIR="/custom/tmp/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/custom/tmp/portage/tmp"
PORTDIR="/custom/tmp/portage/tree"
PORTDIR_OVERLAY=""
SYNC=""
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 avx berkdb bluetooth bzip2 cairo caps cdda cdr cjk cli consolekit cracklib crypt cups custom-optimization cxx dbus dga dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gnutls gpm gtk iconv ipv6 jpeg lcms ldap libnotify lzma lzo mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg openal opengl openmp pam pango pcre pdf png policykit ppds pppd qt3support qt4 readline sasl sdl session smp spell sse sse2 sse3 ssl ssse3 startup-notification svg tcl tcpd threads tiff truetype udev udisks unicode upower usb vdpau vorbis wifi wxwidgets x264 xattr xcb xft xml xv xvid 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="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel r600 radeon" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-emulation/qemu-1.2.0 was built with the following:
USE="aio alsa jpeg kvm (multilib) ncurses opengl png sasl sdl spice ssl usbredir vhost-net xattr -bluetooth -brltty -curl -fdt -hardened -nss -pulseaudio -qemu-ifup -rbd -static -vde -xen -xfs" QEMU_SOFTMMU_TARGETS="i386 x86_64 (-alpha) (-arm) -cris -lm32 (-m68k) -microblaze -microblazeel (-mips) -mips64 -mips64el -mipsel (-ppc) (-ppc64) -ppcemb -s390x -sh4 -sh4eb (-sparc) -sparc64 -xtensa -xtensaeb" QEMU_USER_TARGETS="i386 x86_64 (-alpha) (-arm) -armeb -cris (-m68k) -microblaze -microblazeel (-mips) -mipsel (-ppc) (-ppc64) -ppc64abi32 -s390x -sh4 -sh4eb (-sparc) -sparc32plus -sparc64 -unicore32"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-10-26 16:24:51 UTC

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