Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 434664 - dev-db/mongodb-2.2.0 - Detected file collision(s): /usr/lib
Summary: dev-db/mongodb-2.2.0 - Detected file collision(s): /usr/lib
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-11 01:24 UTC by Jeff Mitchell
Modified: 2012-09-11 17:47 UTC (History)
2 users (show)

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


Attachments
Build log (build.log.gz,36.74 KB, application/x-gzip)
2012-09-11 01:29 UTC, Jeff Mitchell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Mitchell 2012-09-11 01:24:26 UTC
Every time I try to emerge MongoDB 2.2.0 I get a ton of file collisions -- it seems like it's trying to create/overwrite /usr/lib.

Reproducible: Always




emerge --info:

Portage 2.2.0_alpha125 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.4, glibc-2.15-r2, 3.3.8-gentoo x86_64)
=================================================================
System uname: Linux-3.3.8-gentoo-x86_64-Intel-R-_Core-TM-_i7-2720QM_CPU_@_2.20GHz-with-gentoo-2.1
Timestamp of tree: Mon, 10 Sep 2012 23:00: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.8-r3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo mva rion
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -Os -pipe -march=native -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -Os -pipe -march=native -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j4"
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="/var/lib/layman/mva /var/lib/layman/rion"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="32bit X a52 aac aalib acl acpi addressbook afp alsa amd64 amr ancient ao apm apng archive asf aspell ass assistant attica avahi avcodec avformat avx bash-completion berkdb bluetooth bluray branding bzip2 cairo calendar caps cdda cddb cdio cdparanoia cdr cdrdao cdrom chm cleartype cli client clucene cmake colordiff connman consolekit corefonts cpudetection cracklib crypt cryptsetup cscope cups curl curlwrappers cxx dbus declarative designer designer-plugin dga dirac djvu dri dts dvd dvdr ebook edd egl eigen embedded emboss emovix enchant encode equalizer ethernet eurephia exif expat extras faac faad fakevim fam fancy fat ffmpeg fftw firefox flac fontconfig fortran fts fts3 fuse g3dvl gbm gcrypt gd gdbm gdu gif git gles gles1 gles2 gmail gme gmp gnome gnome-keyring gnutls gold google gpg gphoto2 gpm gps gpssync graphics graphite graphviz gs gsm gssapi gstreamer gtk gtk3 gudev hdri hunspell hwdb ical iconv icu id3 id3tag idle idn ilbc imagemagick imap inotify introspection ios ipod iproute2 ipv6 java jbig jce jingle jpeg jpeg2k json kate kde kerberos keymap kipi ladspa lame lastfm latex lcms ldap less libcaca libedit libffi libkms libnotify libproxy libsamplerate libssh2 libtiger libv4l libv4l2 llvm llvm-gcc lm_sensors lto lua lzma lzo mac4lin mad maildir matroska mbox mdnsresponder-compat mercurial minizip mjpeg mktemp mmap mmx mmxext mng modplug modules mp3 mp4 mpeg mpris msn mtp mudflap multilib multimedia musepack musicbrainz mysql mysqli nautilus ncurses network new-login nls nntp nptl nsplugin ntfsprogs ntp ntpd numa ogg okteta openexr opengl openmp openssl openvg openvpn optimization oscar osmesa otr ovftool pam pango passwdqc passwordsave pcap pcre pdf perl perl-geoipupdate phonon plasma plotutils plugins pm-utils pmu png policykit portaudio postgres postproc postscript ppds pppd private-headers projectm pth pulseaudio pyqt4 python qalculate qmake qml qt3support qt4 qthelp qtscript quicktime qwt raop rar rdesktop readline realtime redeyes reviewboard rle rss rtmp rtsp ruby samba scanner schroedinger scim sdl sdl-image sdlgfx sensord sensors session sha512 shared-dricore shine shout smime smtp sna sndfile socks socks5 soundex sox speex spell sql sqlite sqlite3 srv sse sse2 sse3 sse4 sse4_1 sse4a sse5 ssh ssl ssse3 startup-notification stream subversion suid svg switcher systeminfo sysvipc taglib tcpd telepathy themedesigner theora thin-splines threads thunderbird tiff tokyocabinet tools transcode truetype tslib udev udisks unicode unlock-notify upnp upower usb v4l v8 vaapi valgrind vcd vcdx vdpau video vim vim-syntax vix vlc vlm vmware-tools vmware_guest_linux vmware_guest_windows vnc vorbis vpx wavpack webinterface webkit wifi wma wma-fixed wmf x264 xa xattr xcb xcomposite xetex xhtml xinerama xml xmlpatterns xscreensaver xv xvfb xvid xvmc yahoo zeroconf zip zlib zsh-completion" 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" 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="keyboard mouse evdev synaptics mutouch" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel nvidia" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jeff Mitchell 2012-09-11 01:29:35 UTC
Created attachment 323468 [details]
Build log
Comment 2 Zac Medico gentoo-dev 2012-09-11 15:14:22 UTC
It looks like /var/tmp/portage/dev-db/mongodb-2.2.0/image/usr/lib is a symlink, and PMS says that an ebuild is not allowed to replace a directory with a symlink. Portage bails out in this case since bug #326685.
Comment 3 Ultrabug gentoo-dev 2012-09-11 17:47:23 UTC
Wow this is some serious shit as it can break some systems indeed, thanks Jeff.

Emergency fix pushed to tree as I'm not a scons expert enough to have a better solution.

+  11 Sep 2012; Ultrabug <ultrabug@gentoo.org> mongodb-2.2.0.ebuild,
+  files/mongodb-2.2-fix-sconscript.patch,
+  +files/mongodb-2.2-fix-x86client.patch:
+  Do not apply client patch on amd64 machines, fix #434664.
+