Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145241 - dev-python/python-docs violate collision-protect
Summary: dev-python/python-docs violate collision-protect
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 148340 (view as bug list)
Depends on:
Blocks: python-2.5
  Show dependency tree
 
Reported: 2006-08-27 03:12 UTC by Pupeno
Modified: 2007-05-07 12:47 UTC (History)
1 user (show)

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 Pupeno 2006-08-27 03:12:32 UTC
As any other user of Gentoo I have Python 2.4 installed, but for work I need to test my code with Python 2.3. Emerging it causes collision-protect errors, in fact, the collision-protect error occurs at the python-docs packages. I am not sure if this is considered a bug, if it isn't, please let me know and I won't submit them anymore.
The error:

# emerge -van "<dev-lang/python-2.4"
PORTAGE_GPG_DIR is invalid. Removing gpg from FEATURES.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS   ] dev-python/python-docs-2.3.5  0 kB
[ebuild  NS   ] dev-lang/python-2.3.5-r2  USE="berkdb doc gdbm ipv6 ncurses readline ssl tk ucs2 -bootstrap -build -nocxx" 7,068 kB

Total size of downloads: 7,068 kB

Would you like to merge these packages? [Yes/No]
>>> Emerging (1 of 2) dev-python/python-docs-2.3.5 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking html-2.3.5.tar.bz2 ;-)
>>> Unpacking source...
>>> Unpacking html-2.3.5.tar.bz2 to /var/tmp/portage/python-docs-2.3.5/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/python-docs-2.3.5/work ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-python/python-docs-2.3.5

>>> Install python-docs-2.3.5 into /var/tmp/portage/python-docs-2.3.5/image/ category dev-python
>>> Completed installing python-docs-2.3.5 into /var/tmp/portage/python-docs-2.3.5/image/

man:
* checking 1273 files for package collisions
existing file /etc/env.d/50python-docs is not owned by this package
1000 files checked ...
* spent 0.0511739253998 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/python-docs-2.3.5 NOT merged

No package files given... Grabbing a set.
Comment 1 Pupeno 2006-08-27 03:13:07 UTC
# emerge --info
PORTAGE_GPG_DIR is invalid. Removing gpg from FEATURES.
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Genuine Intel(R) CPU           T2400  @ 1.83GHz
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en es de eo jbo"
MAKEOPTS="-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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X X509 Xaw3d a52 aac aalib accessibility acpi akode alsa aotuv apache2 apm arts artswrappersuid asf audiofile automount avahi avantgo avi backtrace bash-completion berkdb bitmap-fonts bl bluetooth bonobo bzip2 cairo catalogs cddb cdparanoia chroot cli cluster cpudetection crypt cscope cups curl cvs dbus dga dlloader dmi dri dts dv dvb dvbplayer dvd dvdr dvdread dxr3 dynamic ecc eds effects elf emacs emboss encode erandom esd examples exif extraengine extrafilters fame fbcon firefox flac fontconfig foomaticdb fortran fpx fusion gdbm ggi gif glep glitz gmp gnokii gnome gnutls gpg2-experimental gpgme gphoto2 gpm graphviz gs gsl gsm gstreamer gtk gtk2 guile hal haskell hbci hpn idea idn ieee1394 imagemagick imlib inkjar innodb ipv6 irc irda irmc isdnlog jabber jack javascript jbig joystick jpeg jpeg2k kcal kde kdeenablefinal kdepim kdexdeltas kig-scripting kipi lame lcms ldap libcaca libg++ libwww lirc live lm_sensors logitech-mouse logrotate lzo mad madwifi matrox md5sum mikmod mjpeg mmx mng modplug motif mp3 mp4 mp4live mpeg mpi musepack musicbrainz mysql mysqli nas ncurses net network nfs nls nntp nptl objc odbc ofx ogg openal openexr opengl oss pam pccts pcmcia pcre pda pdf pdflib perl pg-hier png portaudio postgres pppd python qt3 qt4 quicktime quotes rdesktop readline reflection rtc ruby samba sametime sample sasl scanner sdl session slang slp sms sndfile snmp socks5 speex spell spl sql sqlite sse sse2 ssl subversion svg svga symlink sysfs tcl tcltk tcpd tetex theora threads tidy tiff tk toolbar toolkit-scroll-bars tpctlir truetype truetype-fonts trusted type1-fonts ucs2 udev unicode urandom usb v4l v4l2 vcd vidix vim-with-x vorbis wifi win32codecs x264 xanim xcomposite xforms xine xinerama xinetd xml xorg xpm xprint xscreensaver xv xvid xvmc yv12 zeroconf zlib zvbi elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_en linguas_es linguas_de linguas_eo linguas_jbo lirc_devices_sir userland_GNU video_cards_fglrx video_cards_radeon video_cards_vesa video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2006-08-28 09:33:09 UTC
well, collision bugs should be submitted, except this one is slightly odd because there can only be one pydoc, so maybe python-doc shouldn't be slotted. 

in any case, since it is an /etc/env.d file, it doesn't really matter too much that there is a collision. i'll just wait for someone to agree with me before closing this.
Comment 3 Harald van Dijk (RETIRED) gentoo-dev 2006-09-20 06:02:21 UTC
*** Bug 148340 has been marked as a duplicate of this bug. ***
Comment 4 Harald van Dijk (RETIRED) gentoo-dev 2006-09-20 06:02:52 UTC
Heh. python does violate collision-protect, but this bug is about python-docs, not python. (And because of that, I couldn't find it when searching for duplicates.)
Comment 5 Bryan Østergaard (RETIRED) gentoo-dev 2007-05-07 12:47:50 UTC
I've moved the env.d installation to pkg_preinst() which fixes the collision-protect issue.