Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603338 - dev-python/subunit-1.2.0-r1 should not install perllocal.pod
Summary: dev-python/subunit-1.2.0-r1 should not install perllocal.pod
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-21 13:47 UTC by Arkadiusz Franczak
Modified: 2017-08-11 17:09 UTC (History)
5 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 Arkadiusz Franczak 2016-12-21 13:47:39 UTC
At this time at two different virtual machines. Others are still emerging updates.

Can't install mail-filter/spamassassin-3.4.1-r8 when dev-python/subunit-1.2.0-r1 is installed.

 * Messages for package mail-filter/spamassassin-3.4.1-r8:

...
 *
 * Detected file collision(s):
 *
 *      /usr/lib/perl5/5.22.2/i686-linux/perllocal.pod
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * dev-python/subunit-1.2.0-r1:0::gentoo
 *      /usr/lib/perl5/5.22.2/i686-linux/perllocal.pod
 *
 * Package 'mail-filter/spamassassin-3.4.1-r8' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.

And after unmerge dev-python/subunit, emerge mail-filter/spamassassin. Can't emerge dev-python/subunit:

 * Messages for package dev-python/subunit-1.2.0-r1:

 * Detected file collision(s):
 *
 *      /usr/lib/perl5/5.22.2/i686-linux/perllocal.pod
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * mail-filter/spamassassin-3.4.1-r8:0::gentoo
 *      /usr/lib/perl5/5.22.2/i686-linux/perllocal.pod
 *
 * Package 'dev-python/subunit-1.2.0-r1' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.
Comment 1 Philippe Chaintreuil 2016-12-22 14:14:48 UTC
Can you run "equery belongs /usr/lib/perl5/5.22.2/i686-linux/perllocal.pod" - once when spamassassin is installed and once when subunit is?  (equery is part of the app-portage/gentoolkit package if you don't already have it installed.)
Comment 2 Philippe Chaintreuil 2016-12-22 16:33:56 UTC
Created github pull request[1] that adds a call to perl_delete_localpod that I believe will fix this issue.  dev-python/subunit (or whichever ebuild it's pulling in that's installing the file) may also wish to add a call, but I'll wait for Arkadiusz Franczak's equery belongs results before I create a bug about it.

Sidenote: I'm not getting this file on my machine (and no collision).  I have both subunit & spamassassin installed, but I'm running amd64 and may have different use flags.

[1] https://github.com/gentoo/gentoo/pull/3213
Comment 3 Arkadiusz Franczak 2016-12-23 07:17:40 UTC
When dev-python/subunit is installed:

# equery belongs /usr/lib/perl5/5.22.2/i686-linux/perllocal.pod
 * Searching for /usr/lib/perl5/5.22.2/i686-linux/perllocal.pod ...
dev-python/subunit-1.2.0-r1 (/usr/lib/perl5/5.22.2/i686-linux/perllocal.pod)
#

When mail-filter/spamassassin is installed:

# equery belongs /usr/lib/perl5/5.22.2/i686-linux/perllocal.pod
 * Searching for /usr/lib/perl5/5.22.2/i686-linux/perllocal.pod ...
mail-filter/spamassassin-3.4.1-r8 (/usr/lib/perl5/5.22.2/i686-linux/perllocal.pod)
#

After:
FEATURES="-collision-detect -protect-owned" emerge dev-python/subunit

...
 * Detected file collision(s):
 *
 *      /usr/lib/perl5/5.22.2/i686-linux/perllocal.pod
 * Package 'dev-python/subunit-1.2.0-r1' merged despite file collisions.
 * If necessary, refer to your elog messages for the whole content of the
 * above message.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

# equery belongs /usr/lib/perl5/5.22.2/i686-linux/perllocal.pod
 * Searching for /usr/lib/perl5/5.22.2/i686-linux/perllocal.pod ...
dev-python/subunit-1.2.0-r1 (/usr/lib/perl5/5.22.2/i686-linux/perllocal.pod)
mail-filter/spamassassin-3.4.1-r8 (/usr/lib/perl5/5.22.2/i686-linux/perllocal.pod)
#
Comment 4 Arkadiusz Franczak 2016-12-23 07:20:12 UTC
USE="x86 ssl  perl php ftp acpi mmx sse mysql mysqli postgres maildir sasl pam pam-mysql imap libwww vda acl imap cli cgi dba -qt -X -gtk -gnome -kde -gnutls -gtk2 samba  -ipv6 bzip2 -alsa -udev nptl nptlonly authlib ctype pcre session prelude curl logrotate apache2 -firebird -ldap -odbc -oss -xv fbcon -sdl jpg jpeg png -mailwrapper -sqllite tk sguil gd mhash mssql openssl php_targets_php5-4"


# cat /etc/portage/package.use
sys-apps/busybox -static
dev-libs/cyrus-sasl -ldap mysql
dev-lang/php -sasl apache2 session zip xsl xmlreader zip posix nls cjk hash unicode bzip2 curl gmp mhash gd odbc simplexml exif xmlrpc pdo curlwrappers wddx spell soap
www-client/links ssl unicode javascript -svga -directfb -fbcon -gpm -jpeg -livecd -png -sdl -tiff -X
app-misc/mc 7zip slang unicode -X
www-apps/egroupware gd
media-libs/libsdl -arts -X -opengl
media-libs/giflib -X
media-libs/freetype -X
app-editors/vim -vim-with-x
media-libs/libwmf -X gd
sys-libs/slang unicode
dev-db/unixODBC -gnome -qt3
mail-client/squirrelmail -postgres
net-analyzer/snort dynamicplugin
net-analyzer/rrdtool -svg doc
x11-libs/cairo svg -X -cleartype -debug -directfb -doc -glitz -opengl -xcb
dev-lang/tcl -threads
dev-db/sqlite extensions
net-dns/bind    -geoip dlz caps -mysql
app-misc/mc -ncurses
mail-filter/amavisd-new courier spamassassin
mail-filter/maildrop -tools
dev-db/postgresql-server uuid python
sys-fs/ntfs3g udev xattr extras
# move dev-db/postgresql-base dev-db/postgresql
dev-db/postgresql python
dev-libs/ossp-uuid php_targets_php5-3
sys-apps/hwids udev
mail-mta/postfix -vda

# required by sys-libs/ldb-1.1.26::gentoo
# required by net-fs/samba-4.2.9::gentoo
# required by app-misc/mc-4.8.15::gentoo[samba]
# required by @selected
# required by @world (argument)
>=sys-libs/tevent-0.9.28 python
# required by net-fs/samba-4.2.9::gentoo
# required by app-misc/mc-4.8.15::gentoo[samba]
# required by @selected
# required by @world (argument)
>=sys-libs/ntdb-1.0-r1 python
# required by sys-libs/ldb-1.1.26::gentoo
# required by net-fs/samba-4.2.9::gentoo
# required by app-misc/mc-4.8.15::gentoo[samba]
# required by @selected
# required by @world (argument)
>=sys-libs/tdb-1.3.8 python
Comment 5 Michael Orlitzky gentoo-dev 2016-12-23 20:24:37 UTC
This is fixed in SpamAssassin by Philippe's pull request. I accidentally reintroduced the perllocal.pod file when I dropped perl-module.eclass; maybe the same trick can remove it from subunit's install image.