Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111970 - astng-0.13.1 has file collision during installation with logilab-0.12.0
Summary: astng-0.13.1 has file collision during installation with logilab-0.12.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-09 07:39 UTC by Mike Auty (RETIRED)
Modified: 2006-01-19 08:46 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 Mike Auty (RETIRED) gentoo-dev 2005-11-09 07:39:50 UTC
During an "emerge -avuDNt world", my installation of pylint (0.8.1) which was
already installed, asked to install the new package astng.  Unforuntately this
fails with FEATURES="collision-protect" enabled, as follows:

>>> Completed installing astng-0.13.1 into /var/tmp/portage/astng-0.13.1/image/

* checking 35 files for package collisions
existing file /usr/lib/python2.4/site-packages/logilab/__init__.py is not owned
by this package
* spent 0.0382580757141 seconds checking for file collisions
* 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 dev-python/astng-0.13.1 NOT merged

No package files given... Grabbing a set.


Reproducible: Always
Steps to Reproduce:
1. Have a previously emerged copy of pylint and logilab (perhaps with --nodeps
to recreate)
2. Attempt to emerge astng.
3.

Actual Results:  
The emerge failed with the error message above

Expected Results:  
The installation fails, most likely not writing to the logilab directory, but
just to the underlying astng directory.  I'm not sure whether this is altering
the logilab files to register it as a plugin, or whether it's just trying to
install on top of it.

Portage 2.0.53_rc7 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14
i686)
=================================================================
System uname: 2.6.14 i686 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.12.0_pre10
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect cvs distlocks sandbox sfperms
strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/personal"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 100dpi 3dnow 75dpi X aac aalib acl acpi adns alsa animation ao
audiofile avi bash-completion berkdb bitmap-fonts boundschecking bzip2 cairo
ccache cdr cjk client crypt cups dbus djvu dlloader dpms dri dvd dvdr dvi eds
emboss encode ethereal exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif
glade glitz glut gnome gnutls graphviz gstreamer gtk gtk2 gtkhtml hal hardened
idn imagemagick imap imlib java jpeg junit lcms ldap libg++ libwww lua mad
maildir mbox mikmod mime mmx mmxext mng motif mozilla mozsvg mp3 mpeg ncurses
nls nntp nptl nptlonly nvidia ogg oggvorbis opengl pam pcre pdflib perl pic pie
plot png pop3 postgres python quicktime readline real sdl server snmp spell
sqlite sse sse2 ssl svg svga t1lib tcpd theora tiff truetype truetype-fonts
type1 type1-fonts udev unicode usb v4l v4l2 vorbis win32codecs xine xml2 xrandr
xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Marien Zwart (RETIRED) gentoo-dev 2006-01-19 08:46:31 UTC
I just fixed astng-0.14.0 to not install this file and depend on logilab-common (sorry for missing this when I versionbumped astng: I do have collision-protect in FEATURES but I had installed astng 0.13.1 with collision-protect disabled, which caused it to not warn about 0.14.0).

I also revbumped logilab-common to make sure it installs an __init__.py (otherwise people without collision-protect unmerging the previous version of astng will break logilab-common).

Closing, reopen if I missed anything.