Summary: | distutils eclass causes dev-python/dbus-python-0.80.2 file collision | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pietro Franchi <tinaught> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | denilsonsa, gentopia, levertond, marat.buharov, rane, thecoop |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 174810 | ||
Attachments: | dbus-python-0.80.2.ebuild.diff |
Description
Pietro Franchi
2007-04-30 18:22:09 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* Got this one too. From the mtimes of these files they were in fact installed by dbus-python... 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 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. 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.
The fix is in CVS. Thanks for reporting ;) |