Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176612 - distutils eclass causes dev-python/dbus-python-0.80.2 file collision
Summary: distutils eclass causes dev-python/dbus-python-0.80.2 file collision
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 174810
  Show dependency tree
 
Reported: 2007-04-30 18:22 UTC by Pietro Franchi
Modified: 2007-07-06 17:36 UTC (History)
6 users (show)

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


Attachments
dbus-python-0.80.2.ebuild.diff (dbus-python-0.80.2.ebuild.diff,1.51 KB, patch)
2007-07-05 01:00 UTC, Ali Polatel (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pietro Franchi 2007-04-30 18:22:09 UTC
Emergin dbus-python-0.80.2 today, I run into this collision:

[...]
>>> Completed installing dbus-python-0.80.2 into /var/tmp/portage/dev-python/dbus-python-0.80.2/image/

strip: i686-pc-linux-gnu-strip --strip-unneeded
   usr/lib/python2.4/site-packages/_dbus_glib_bindings.so
   usr/lib/python2.4/site-packages/_dbus_bindings.so
* checking 59 files for package collisions
existing file /usr/lib/python2.4/site-packages/dbus/proxies.pyc is not owned by this package
existing file /usr/lib/python2.4/site-packages/dbus/proxies.pyo is not owned by this package
existing file /usr/lib/python2.4/site-packages/dbus/types.pyc is not owned by this package
existing file /usr/lib/python2.4/site-packages/dbus/types.pyo is not owned by this package
existing file /usr/lib/python2.4/site-packages/dbus/glib.pyc is not owned by this package
existing file /usr/lib/python2.4/site-packages/dbus/glib.pyo is not owned by this package
existing file /usr/lib/python2.4/site-packages/dbus/exceptions.pyc is not owned by this package
existing file /usr/lib/python2.4/site-packages/dbus/exceptions.pyo is not owned by this package
existing file /usr/lib/python2.4/site-packages/dbus/__init__.pyc is not owned by this package
existing file /usr/lib/python2.4/site-packages/dbus/__init__.pyo is not owned by this package
existing file /usr/lib/python2.4/site-packages/dbus/_dbus.pyc is not owned by this package
existing file /usr/lib/python2.4/site-packages/dbus/_dbus.pyo is not owned by this package
existing file /usr/lib/python2.4/site-packages/dbus/service.pyc is not owned by this package
existing file /usr/lib/python2.4/site-packages/dbus/service.pyo is not owned by this package
existing file /usr/lib/python2.4/site-packages/dbus/decorators.pyc is not owned by this package
existing file /usr/lib/python2.4/site-packages/dbus/decorators.pyo 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 dev-python/dbus-python-0.80.2 NOT merged


Searching all installed packages for file collisions...
Press Ctrl-C to Stop

None of the installed packages claim the above file(s).


This is my emerge --info:

Portage 2.1.2.2 (default-linux/x86/2007.0/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-suspend2-r3 i686)
=================================================================
System uname: 2.6.19-suspend2-r3 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 30 Apr 2007 09:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
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.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -fomit-frame-pointer -pipe"
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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /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="-Os -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks metadata-transfer notitles parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en it en_GB"
MAKEOPTS="-j2"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa apache2 audiofile bash-completion berkdb bindist bitmap-fonts bzip2 cairo cdr cli cracklib crypt css cups dbus dga dhcp directfb divx4linux dri dts dvd dvdr dvdread eds emboss encode evo fam fbcon fbsplash ffmpeg firefox flac fortran gcj gdbm gif gnutls gpgme gpm gstreamer gtk hal iconv imagemagick imap isdnlog jack java jingle jpeg jpeg2k kdgraphics kerberos ldap libg++ live logrotate mad matroska mbox midi mikmod mmap mmx mmxext mozcalendar mozdevelop mozsvg mp3 mpeg mppe-mppc musepack ncurses nls no-old-linux nptl nptlonly nsl nsplugin nvidia offensive ogg opengl pango pcre pda pdf perl plotutils plugin png pop pppd python qt3 qt3support qt4 quicktime readline real reflection rtc samba sdl session smime speex spell spl sse sse2 ssl stream svg tcl tcpd tetex tiff tk truetype truetype-fonts type1-fonts udev unicode vcd vorbis win32codecs wmf x86 xgetdefault xinerama xml xml2 xorg xosd xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en it en_GB" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-04-30 20:16:30 UTC
(In reply to comment #0)
> Searching all installed packages for file collisions...
> Press Ctrl-C to Stop
> 
> None of the installed packages claim the above file(s).

If these files aren't owned by any installed packages, delete these files:
 rm -f /usr/lib/python2.4/site-packages/dbus/{proxies,types,glib,exceptions,__init__,_dbus,service,decorators}.py*
Comment 2 Anders Hellgren gentoo-dev 2007-05-01 15:19:38 UTC
Got this one too. From the mtimes of these files they were in fact installed by dbus-python...
Comment 3 MaratIK 2007-05-07 21:05:31 UTC
The same bug (amd64 arch)

Portage 2.1.2.2 (default-linux/amd64/2007.0/desktop, gcc-4.1.1, glibc-2.5-r2, 2.6.20-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r7 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 07 May 2007 20:30:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
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.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=""
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS=""
DISTDIR="/usr/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.chg.ru/pub/Linux/gentoo/"
LANG="ru_RU.utf8"
LDFLAGS=""
LINGUAS="ru en"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/armagetron /usr/portage/local/layman/sunrise /usr/portage/local/layman/kvm /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip S3TC X a52 aac acpi akode alsa amd64 amr ao aoss aotuv arj arts artworkextra asf atm audacious audiofile avahi bash-completion bcp berkdb bitmap-fonts bjam bl blas bluetooth boehm-gc buttons bzip2 cairo cdda cddb cdparanoia cdr cg cli clock-screen corba cpudetection cracklib crypt css cups curl cvs daap dbus dhcp dia divx djvu doc dts dv dvb dvd dvdnav dvdr dvdread editor eds emboss emerald enca encode esd evo exif expat extrafilters fam fame ffmpeg fftw firefox flac fontconfig foomaticdb fortran fpx ftp fuse gd gdbm gif gimp gimpprint ginac glade glgd glibc-omitfp glitz glut glw gmedia gmp gnome gnome-print gnomecanvas gnuplot gnutls gphoto2 gpm graphviz gs gsf gstreamer gtalk gtk gtkhtml gtkspell guile gzip h323 hal haskell hddtemp hdf hdf5 hfs hlapi html icecast iconv icq id3 ieee1394 imagemagick imlib inkjar isdnlog ithreads jabber jack java javascript jbig jpeg jpeg2k jython kde kdeenablefinal kdehiddenvisibility kdexdeltas key-screen kqemu lame latex lcms libg++ libnotify libsamplerate live lm_sensors logrotate lua lzo lzw mad matroska midi mikmod mjpeg mmap mmx mmxext mng mod modplug motif mouse moviepack moviesounds mozilla mp2 mp3 mp4 mp4live mpd mpeg mpeg2 mplayer musepack musicbrainz nas ncurses netjack network nls no-old-linux nptl nptlonly nsplugin nvidia ocaml offensive ogg openal openexr opengl oscar pam pango patented pch pcre pdf perl player plotutils png pnm portaudio postscript ppds pppd ps pulseaudio pyste python qhull qt3 qt3support qt4 quicktime quotes rar rdesktop readline realmedia reflection reiserfs rle rtsp ruby samba scanner scenarios sdl sdl-image sdl-sound sdlaudio session sid skins slang smp sndfile speex spell spl sql sqlite sqlite3 srt sse sse2 ssl stream submenu subtitles subversion svg svgz sysfs syslog szip tcl tcpd tetex tga themes theora threads tidy tiff timidity tk trayicon truetype truetype-fonts tta type1-fonts unicode upnp usb v4l v4l2 vcd visualization vlm vorbis wav wavpack wma wmf wmp wxwindows x264 xanim xchatdccserver xchattext xcomposite xhtml xine xinerama xml xorg xosd xpm xprint xscreensaver xsl xslt xv xvid xvmc zero-penalty-hit zip zlib" 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 mulaw multi null plug rate route share shm softvol" CAMERAS="all" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="vga nvidia nv vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2007-05-07 22:23:49 UTC
The issue is those are the byte code compiled files for their respective .py files that get installed by dbus-python. Someone in the python herd must have changed something with regard to their generation. We're just using the basic eclasses behind all this. i.e. talk to them.
Comment 5 Ali Polatel (RETIRED) gentoo-dev 2007-07-05 01:00:57 UTC
Created attachment 123909 [details, diff]
dbus-python-0.80.2.ebuild.diff

  This ebuild should use python eclass, not the distutils eclass. If packages byte-compiles its .py files this should be disabled. The attached patch does that.
Comment 6 Ali Polatel (RETIRED) gentoo-dev 2007-07-06 17:36:41 UTC
  The fix is in CVS. Thanks for reporting ;)