Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71124 - install errors if collision-protect is in FEATURES /different apps/ - 4 prev BUGS (68367,69329,70814/15,70938)
Summary: install errors if collision-protect is in FEATURES /different apps/ - 4 prev ...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
: 71126 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-14 00:34 UTC by Rumen Yotov
Modified: 2005-01-15 04:54 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 Rumen Yotov 2004-11-14 00:34:57 UTC
Hi,
Recently put this in FEATURES=" ... collision-protect ...". As i've just finished runing 'libperl-rebuilder' script wanted to re-emerge some of the broken apps.
To be sure first did 'emerge =package-class/pack-version -pv/-C to clear the old install, then 'emerge package-class/package -v' to re-install (same version).
Both vim-6.3.-r1 and net-snmp-5.1.1-r1 give errors due to collision in installed files. Checked with 'qpkg -f /path/to/file-name to check to what package this file belongs - nothing. So just removed the file (only one) and re-merged.
If needed could give the logs with the conflicting files, but as now saw there are 4 more such bugs obviously it's somethings with collision-protect or other.
In the beggining thought it was because if a known problem/bug with vim's duplicating files (/usr/bin/vim - though qpkg gives no app to have installed it) with some othe app (ML) etc., but with the second case i don't know. 
Thanks
PS: just re-merged open-ldap w/o such error.
Rumen

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Gentoo Base System version 1.6.6
Portage 2.0.51-r3 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.7-hardened-r11 i686)
=================================================================
System uname: 2.6.7-hardened-r11 i686 AMD Athlon(tm) XP 2200+
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/portage/distfiles"
FEATURES="autoaddcvs ccache collision-protect distlocks gpg sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.itdnet.net/gentoo
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.oregonstate.edu
http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X X509 aalib acl acpi apache2 avi berkdb bitmap-fonts bonobo caps cdr
chroot clamav crypt cups curl dedicated directfb dvd dvdr encode esd evo f77 fam
ffmpeg flac foomaticdb fortran freetype gd gdbm gif gnome gpm gstreamer gtk gtk2
gtkhtml guile hardened hardenedphp imagemagick imap imlib ipv6 java javascript
jpeg junit kde libg++ libwww mad maildir matroska mikmod mmx motif mozilla mpeg
mpeg4 mysql ncurses nls nvidia oggvorbis opengl oss pam pdflib perl png postgres
ppds prelude python qt quicktime readline samba sdl skey slang snmp speex spell
sse ssl svg svga tcltk tcpd tetex theora tiff transcode truetype unicode usb x86
xml xml2 xmms xv xvid zlib linguas_bg linguas_en"
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-11-14 00:40:38 UTC
collision-protect in general works but (I assume) there are still many packages that want to overwrite files. Another problem is that the stage tarballs don't have a proper package database, so you'll get errors until the whole system has been remerged.
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-11-14 01:13:13 UTC
*** Bug 71126 has been marked as a duplicate of this bug. ***
Comment 3 Rumen Yotov 2004-11-14 09:16:11 UTC
Hi,
Seems you right. Later happened again while compiling subversion, same file:
/usr/lib/perl5/5.8.5/i686-linux-thread-multi/perllocal.pod
As i backed up previous two files a diff shows they are different besides sharing a common name.
So short term solution: should i remove 'collision-protect' as this causes to have to emerge twice (maybe i could just run 'ebuild /path_to_ebuild install/qmerge) but still haven't tried? As the compiling phase passes OK, it's just the install/qmerge that breaks.
Looks like this mostly happens with packages which have +perl USE-flag, as i've rebuild it with +ithreads.
Thanks
Rumen
Comment 4 Ciaran McCreesh 2005-01-15 04:54:29 UTC
Hrm, the only conflicts that I can trigger with vim are with other vi clones. I can't reproduce any perl-related collisions.