- emerge fails with the following error message ... >>> Completed installing qemu-1.4.0 into /var/tmp/portage/app-emulation/qemu-1.4.0/image/ strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line usr/lib/libcacard.so.0.0.0 usr/share/qemu/palcode-clipper usr/lib/libcacard.a usr/bin/qemu-vscclient usr/bin/qemu-i386 usr/bin/qemu-x86_64 usr/bin/qemu-nbd usr/libexec/qemu-bridge-helper usr/bin/qemu-img usr/bin/qemu-io usr/bin/virtfs-proxy-helper usr/bin/qemu-system-i386 usr/bin/qemu-system-x86_64 ecompressdir: bzip2 -9 /usr/share/doc making executable: usr/lib/libcacard.so.0.0.0 * checking 106 files for package collisions * This package will overwrite one or more files that may belong to other * packages (see list below). You can use a command such as `portageq * owners / <filename>` to identify the installed package that owns a * file. If portageq reports that only one package owns a file then do * NOT file a bug report. A bug report is only useful if it identifies at * least two or more packages that are known to install the same file(s). * If a collision occurs and you can not explain where the file came from * then you should simply ignore the collision since there is not enough * information to determine if a real problem exists. Please do NOT file * a bug report at http://bugs.gentoo.org unless you report exactly which * two packages install the same file(s). Once again, please do NOT file * a bug report unless you have completely understood the above message. * * Detected file collision(s): * * /usr/include/cacard/vcard_emul_type.h * /usr/include/cacard/vscard_common.h * /usr/include/cacard/cac.h * /usr/include/cacard/vevent.h * /usr/include/cacard/vreader.h * /usr/include/cacard/vcardt.h * /usr/include/cacard/eventt.h * /usr/include/cacard/card_7816.h * /usr/include/cacard/vcard_emul.h * /usr/include/cacard/card_7816t.h * /usr/include/cacard/vcard.h * /usr/include/cacard/vreadert.h * /usr/lib/libcacard.so.0.0.0 * /usr/lib/pkgconfig/libcacard.pc * /usr/lib/libcacard.so.0 * /usr/lib/libcacard.so * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * app-emulation/libcacard-0.1.2:0::gentoo * /usr/include/cacard/cac.h * /usr/include/cacard/card_7816.h * /usr/include/cacard/card_7816t.h * /usr/include/cacard/eventt.h * /usr/include/cacard/vcard.h * /usr/include/cacard/vcard_emul.h * /usr/include/cacard/vcard_emul_type.h * /usr/include/cacard/vcardt.h * /usr/include/cacard/vevent.h * /usr/include/cacard/vreader.h * /usr/include/cacard/vreadert.h * /usr/include/cacard/vscard_common.h * /usr/lib/libcacard.so * /usr/lib/libcacard.so.0 * /usr/lib/libcacard.so.0.0.0 * /usr/lib/pkgconfig/libcacard.pc * * Package 'app-emulation/qemu-1.4.0' NOT merged due to file collisions. * If necessary, refer to your elog messages for the whole content of the * above message. ... box ~ # emerge --search cacard Searching... [ Results for search key : cacard ] [ Applications found : 1 ] * app-emulation/libcacard Latest version available: 0.1.2 Latest version installed: 0.1.2 Size of files: 269 kB Homepage: http://spice-space.org/ Description: Library for emulating CAC cards. License: GPL-3 box ~ # emerge -puDNav world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ~] app-emulation/qemu-1.4.0 [1.2.2-r3] USE="aio alsa caps curl filecaps%* jpeg ncurses opengl png python sdl seccomp smartcard threads tls uuid vhost-net virtfs vnc xattr -bluetooth -brltty -debug -doc -fdt -mixemu -pulseaudio -rbd -sasl (-selinux) -spice -static -static-softmmu -static-user -systemtap -tci -usbredir -vde -xen -xfs" QEMU_SOFTMMU_TARGETS="i386 x86_64 -alpha -arm -cris -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -or32 -ppc -ppc64 -ppcemb -s390x -sh4 -sh4eb -sparc -sparc64 -unicore32 -xtensa -xtensaeb" QEMU_USER_TARGETS="i386 x86_64 -alpha -arm -armeb -cris -m68k -microblaze -microblazeel -mips -mipsel -or32 -ppc -ppc64 -ppc64abi32 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -unicore32" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB box ~ # cat /etc/portage/package.accept_keywords ### Firefox/Thunderbird dev-libs/nspr dev-libs/nss mail-client/thunderbird media-libs/libvpx net-libs/xulrunner www-client/firefox ### Hacking net-analyzer/wireshark ### Kernel =sys-kernel/hardened-sources-3.7* ### Security app-antivirus/clamav app-antivirus/chkrootkit app-forensics/rkhunter ### Sonstiges dev-java/icedtea-bin sys-apps/lm_sensors ### Virtualization app-emulation/qemu app-emulation/libvirt app-emulation/virt-manager app-emulation/virtinst sys-firmware/ipxe sys-firmware/seabios sys-firmware/sgabios sys-firmware/vgabios sys-libs/libseccomp ### X11 x11-drivers/xf86-video-intel x11-libs/pixman box ~ # emerge --info Portage 2.1.11.50 (hardened/linux/amd64, gcc-4.6.3, glibc-2.15-r3, 3.7.6-hardened-v1 x86_64) ================================================================= System uname: Linux-3.7.6-hardened-v1-x86_64-Intel-R-_Core-TM-_i7-3770T_CPU_@_2.50GHz-with-gentoo-2.1 KiB Mem: 7097156 total, 6006488 free KiB Swap: 1048572 total, 1048572 free Timestamp of tree: Tue, 26 Feb 2013 00:45:01 +0000 ld GNU ld (GNU Binutils) 2.22 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.2_p37 dev-lang/python: 2.7.3-r2, 3.2.3 dev-util/cmake: 2.8.9 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6 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-r4 sys-kernel/linux-headers: 3.6 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo x-portage ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mavx -msse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=generic -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mavx -msse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=generic -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch webrsync-gpg xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j8" PKGDIR="/usr/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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="" USE="X aac acl acpi alsa amd64 apng bash-completion berkdb branding bzip2 cairo cdr clamav clamdtop cli consolekit cracklib crypt css curl cxx dbus device-mapper dhcpcd dri dts dvd dvdr encode exif expat extras fftw flac fontconfig ftp gdbm gdu gif git gnutls gphoto2 gpm gsm gtk gtkhtml gudev gzip hardened hwdb iconv icu idn ieee1394 imagemagick imap imlib ipc ipv6 iscsi javascript jpeg jpeg2k justify kvm lame libkms libnotify llvm lm_sensors lock lvm lzma lzo mad mem-scramble memlimit mime minizip mmap mmx mng modules mozilla mp3 mp4 mpeg mplayer mudflap multilib natspec ncurses networkmanager nfs nls nptl nsplugin ogg openal opengl openmp pam pax_kernel pcre pdf pdfimport perl pkcs11 png policykit posix postscript ppp python qemu quicktime rar raw rdesktop readline sdl session sharedmem smartcard smp sna sockets socks5 sound speex sqlite sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification subversion svg syslog-ng szip tcpd theora threads thunar tiff tls truetype udev unicode urandom usb vaapi virt-network virtfs vnc vorbis webm wmf x264 xattr xft xml xorg xv xvid zlib" ABI_X86="64" 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" LINGUAS="de en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON Reproducible: Always Steps to Reproduce: 1. preinstalled app-emulation/qemu-1.2.2-r3 2. run 3. emerge -uDNav world or any other emerge command to update qemu 4. compile is ok but install fails Actual Results: app-emulation/qemu-1.4.0 update fails due to file collisions Expected Results: app-emulation/qemu-1.4.0 update completes without file collisions errors
Fwiw, I have the same problem. libcacard is a dependency of app-emulation/spice[smartcard] and net-misc/spice-gtk[smartcard]. I recompiled these with USE=-smartcard and removed libcacard to work around this problem.
Confirmed here, same problem.
this happens also if I merge qemu with -smartcard
Also, multilib-strict fail.
*** Bug 460210 has been marked as a duplicate of this bug. ***
Blocker added for 1.4.0 and newer.