The package sys-libs/glibc-2.5-r4 (and r3) collides with other packages that own the /lib directory. I initially had this problem about 5 weeks before, so there are two "actual results". The one from today is in this report, I will note the differing packages from the earlier emerge. Reproducible: Always Steps to Reproduce: 1. Make sure collision-protect is activated and /lib is not in COLLISION_IGNORE 2. Have another package that owns /lib (see actual results) 3. emerge glibc-2.5-r4/-r3) Actual Results: [succesful build] >>> Completed installing glibc-2.5-r4 into /var/tmp/portage/sys-libs/glibc-2.5-r4/image/ ecompressdir: bzip2 -9 usr/share/man ecompressdir: bzip2 -9 /usr/share/info making executable: usr/lib32/libc.so making executable: usr/lib32/libpthread.so making executable: usr/lib64/libc.so making executable: usr/lib64/libpthread.so * checking 2373 files for package collisions 1000 files checked ... 2000 files checked ... existing file /lib is not owned by this package * This package is blocked because it wants to overwrite * files belonging to other packages (see messages above). * If you have no clue what this is all about report it * as a bug for this package on http://bugs.gentoo.org package sys-libs/glibc-2.5-r4 NOT merged Searching all installed packages for file collisions... Press Ctrl-C to Stop * x11-drivers/nvidia-drivers-100.14.09: '/lib' * app-emulation/virtualbox-modules-1.4.0: '/lib' * sys-boot/grub-0.97-r3: '/lib' * media-sound/alsa-firmware-1.0.14_rc2-r1: '/lib' * sys-fs/cryptsetup-luks-1.0.4-r3: '/lib' * sys-fs/lvm2-2.02.10: '/lib' * sys-fs/device-mapper-1.02.19-r1: '/lib' * media-libs/libgphoto2-2.2.1-r1: '/lib' * sys-apps/hal-0.5.9-r1: '/lib' * net-analyzer/macchanger-1.5.0-r1: '/lib' Expected Results: Glibc should merge normally without collisions. Packages listed in the first faiiled glibc emerge (about 5 weeks ago) not in this one: x11-drivers/nvidia-drivers-1.0.9746-r1 media-sound/alsa-driver-1.0.14_rc2-r1 sys-fs/udev-104-r12 I'm not sure if this is related to the problem with symlinks and collision-protect, like bug 80846. Just to be sure, /lib is an actual directory, /lib64 is a symlink to that directory: drwxr-xr-x 12 root root 12288 22. Aug 14:25 lib drwxr-xr-x 3 root root 4096 16. Jul 11:47 lib32 lrwxrwxrwx 1 root root 3 3. Jan 2007 lib64 -> lib The only workaround I could find is to add /lib to the COLLISION_IGNORE variable. Interestingly enough, other packages owning /lib merge just fine. I tested this with alsa-firmware. emerge --info: ----------------------------------------------------------------- Portage 2.1.2.12 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r2 x86_64) ================================================================= System uname: 2.6.22-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Gentoo Base System release 1.12.9 Timestamp of tree: Wed, 22 Aug 2007 20:30:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.3.5-r3, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=athlon64 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LINGUAS="en de it fr ru pl" MAKEOPTS="-s -j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/pro-audio /usr/portage/local/layman/science /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 7zip X a52 aac aalib accessibility acl acpi ada alsa amd64 artswrappersuid asterisk audiofile avahi berkdb bitmap-fonts blas bluetooth bzip2 cairo caps cdda cdr cjk cli cracklib crypt css cups dbus dga djvu dri dssi dts dv dvb dvd dvdr dvdread dvi eds encode evo exif fat ffmpeg firefox flac foomaticdb fortran fuse gcj gdbm gif gimpprint glitz glut gnokii gnutls gphoto2 gpm gtk hal hfs iconv ieee1394 imlib ipod ipv6 irda isdnlog jack java jfs joystick jpeg jpeg2k kde kdehiddenvisibility kdgraphics kerberos kig-scripting kipi ladspa lapack lcd lcms ldap libcaca libsamplerate live lm_sensors logitech-mouse mad matroska mbrola midi mikmod mmx mmxext modplug mono mozcalendar moznocompose moznoirc moznomail mp3 mpeg mudflap musepack musicbrainz nautilus ncurses nls nntp nptl nptlonly nsplugin ntfs nvidia ogg openexr opengl openmp pam pam_chroot pam_timestamp pcmcia pcre pdf perforce perl php png postgres povray ppds pppd pwdb python qt3 qt4 quicktime rdesktop readline reflection reiser4 reiserfs remote rtsp ruby samba scanner sdl session shout skins slang sms sndfile soundtouch speedo speex spell spl sql sqlite sse sse2 ssl stats stream subversion svg symlink tcpd theora threads tiff timidity truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd visualization vlm vorbis wxwindows x264 xcomposite xfs xine xinerama xml xorg xpm xprint xscreensaver xv xvid xvmc zeroconf zlib" ALSA_CARDS="ice1724 hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick vmmouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de it fr ru pl" USERLAND="GNU" VIDEO_CARDS="dummy fbdev nv nvidia v4l vesa vga vmware" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ----------------------------------------------------------------- Note: I noticed the reiser4 USE flag, and removed it afterwards. The only package using it was gparted, anyway.
(In reply to comment #0) > I'm not sure if this is related to the problem with symlinks and > collision-protect, like bug 80846. Just to be sure, /lib is an actual > directory, /lib64 is a symlink to that directory: Yeah that's completely wrong. *** This bug has been marked as a duplicate of bug 132135 ***
(In reply to comment #1) > (In reply to comment #0) > > I'm not sure if this is related to the problem with symlinks and > > collision-protect, like bug 80846. Just to be sure, /lib is an actual > > directory, /lib64 is a symlink to that directory: > > Yeah that's completely wrong. > > *** This bug has been marked as a duplicate of bug 132135 *** > OK, the suggestions worked. Sorry for the dupe.(In reply to comment #1) > (In reply to comment #0) > > I'm not sure if this is related to the problem with symlinks and > > collision-protect, like bug 80846. Just to be sure, /lib is an actual > > directory, /lib64 is a symlink to that directory: > > Yeah that's completely wrong. > > *** This bug has been marked as a duplicate of bug 132135 *** > Well, I tried the tip in the bug (what did it have to do with this, anyway?). rm lib64 && mv lib lib64 && ln -s lib64 lib): lrwxrwxrwx 1 root root 6 23. Aug 15:57 lib -> lib64/ drwxr-xr-x 3 root root 4096 16. Jul 11:47 lib32 drwxr-xr-x 12 root root 12288 22. Aug 14:25 lib64 I still get the same collisions, though. Maybe I missed something?
OK, that's what happens when you don't check before posting. Sorry for that bogus info on top.
There's no solution to the collisions until you recompile all package that are affected by your reversed symlink, so COLLISION_IGNORE is about the best option here.