Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540734 - Random packages colliding on /usr/bin/python-exec2
Summary: Random packages colliding on /usr/bin/python-exec2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 540730 540732 540736 540746 540758 540772 540776 540778 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-02-20 07:49 UTC by Patrick Lauer
Modified: 2015-02-21 09:45 UTC (History)
6 users (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 Patrick Lauer gentoo-dev 2015-02-20 07:49:52 UTC
>>> Completed installing docutils-0.12 into /var/tmp/portage/dev-python/docutils-0.12/image/

ecompressdir: bzip2 -9 /usr/share/doc
>>> Done.

>>> Installing (2 of 2) dev-python/docutils-0.12::gentoo
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). See
 * http://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how to
 * solve the problem. And once again, please do NOT file a bug report
 * unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 *     /usr/bin/python-exec2
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * dev-python/pygobject-2.28.6-r55:2::gentoo
 *     /usr/bin/python-exec2
 * 
 * Package 'dev-python/docutils-0.12' NOT merged due to file collisions.
 * If necessary, refer to your elog messages for the whole content of the
 * above message.

>>> Failed to install dev-python/docutils-0.12, Log file:

>>>  '/var/tmp/portage/dev-python/docutils-0.12/temp/build.log'


Portage 2.2.17 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.2, glibc-2.20-r2, 3.18.3-gentoo x86_64)
=================================================================
System uname: Linux-3.18.3-gentoo-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.2
KiB Mem:    16406672 total,   9679544 free
KiB Swap:    8388604 total,   8388604 free
sh bash 4.3_p33-r1
ld GNU ld (Gentoo 2.25 p1.0) 2.25
app-shells/bash:          4.3_p33-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.2::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.10::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

x-sunrise
    location: /sunrise
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alisp alsa amd64 aria assistant berkdb bluetooth branding bzip2 cairo cdda cdr cgi cli compat consolekit corefonts cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emacs emboss encode examples exif fam firefox flac fontconfig fortran gcj gd gdbm geos gif glamor gpm gtk iconv icu ipv6 ithreads jpeg kde kdrive kipi lcms ldap libav libnotify mad minizip mmx mng modules mp3 mp4 mpeg mssql multilib mysql ncurses nls nptl objc ocaml ogg opengl openmp pam pango pcre pdf perl plasma png policykit ppds pyqt4 python qt3support qt4 readline script sdl semantic-desktop session soundex spell sqlite sse sse2 ssl startup-notification svg tcpd threads tiff tk truetype udev udisks unicode upower usb vorbis x264 xa xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="dummy fbdev glint intel mach64 nouveau nv r128 radeon savage sis tdfx trident v4l vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Patrick Lauer gentoo-dev 2015-02-20 07:51:10 UTC
 image # ls -al usr/bin/python-exec2 
lrwxrwxrwx 1 root root 31 Feb 20 15:46 usr/bin/python-exec2 -> ../lib/python-exec/python-exec2

# ls -al ../lib/python-exec/python-exec2
ls: cannot access ../lib/python-exec/python-exec2: No such file or directory

No idea why these symlinks appear, but they are kinda very very wrong ...
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-20 07:56:57 UTC
*** Bug 540732 has been marked as a duplicate of this bug. ***
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-20 07:56:59 UTC
*** Bug 540730 has been marked as a duplicate of this bug. ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-20 08:35:54 UTC
*** Bug 540736 has been marked as a duplicate of this bug. ***
Comment 5 Uwe Sauter 2015-02-20 09:39:29 UTC
This happend to me while a world update:

 * package dev-python/PyQt4-4.11.1 NOT merged
 * 
 * Detected file collision(s):
 * 
 * 	/usr/bin/python-exec2
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * dev-vcs/git-2.0.5:0::gentoo
 * 	/usr/bin/python-exec2
 * 
 * Package 'dev-python/PyQt4-4.11.1' NOT merged due to file collisions.
 * If necessary, refer to your elog messages for the whole content of the
 * above message.


$ equery b /usr/bin/python-exec2
 * Searching for /usr/bin/python-exec2 ... 
dev-vcs/git-2.0.5 (/usr/bin/python-exec2 -> ../lib/python-exec/python-exec2)

$ ls -la /usr/bin/python-exec2
lrwxrwxrwx 1 root root 31 19. Feb 23:54 /usr/bin/python-exec2 -> ../lib/python-exec/python-exec2
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-02-20 17:58:34 UTC
Fixed now. Please rebuild the package that wrongly installed /usr/bin/python-exec2, e.g.:

  emerge -1v /usr/bin/python-exec2

Sorry for the inconvenience.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-21 09:42:53 UTC
*** Bug 540746 has been marked as a duplicate of this bug. ***
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-21 09:44:06 UTC
*** Bug 540758 has been marked as a duplicate of this bug. ***
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-21 09:44:26 UTC
*** Bug 540772 has been marked as a duplicate of this bug. ***
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-21 09:44:51 UTC
*** Bug 540776 has been marked as a duplicate of this bug. ***
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-21 09:45:06 UTC
*** Bug 540778 has been marked as a duplicate of this bug. ***