Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68367 - collision-protect prevents irssi from being installed, blocks perllocal.pod
Summary: collision-protect prevents irssi from being installed, blocks perllocal.pod
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-21 03:06 UTC by Fredirk
Modified: 2005-05-19 13:57 UTC (History)
4 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 Fredirk 2004-10-21 03:06:26 UTC
Saw the new cool collision-protect feature in portage. So added it to FEATURES in /etc/make.conf and then emerged irssi.

The installation fails. It tries to update perllocal.pod which it should be able to do (so the ebuild is not wrong) but collision-protect stops it.

Error message:

* checking 174 files for package collisions
existing file /usr/lib/perl5/5.8.4/i686-linux/perllocal.pod is not owned by this package
* spend 0.0138680934906 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


Removing collision-protect from FEATURES fixes the problem.

Reproducible: Always
Steps to Reproduce:
1. set FEATURES="collision-protect" in /etc/make.conf
2. emerge irssi


Actual Results:  
irssi isnt installed due to it trying to overwrite a file owned by another
package (but its a file it should update so its doing the right thing).

Expected Results:  
Should have been allowed to update the file so the emerge could complete.

FEATURES="autoaddcvs ccache collision-protect distlocks fixpackages sandbox"

No other interesting information id say.
Comment 1 Sven Wegener gentoo-dev 2004-10-21 04:49:28 UTC
Yeah, we've got several packages that install already installed files. We probably need to sort them out somehow.
Comment 2 Maurice van der Pot (RETIRED) gentoo-dev 2004-11-27 15:04:28 UTC
The following packages also install this file:

media-gfx/imagemagick
net-analyzer/net-snmp
Comment 3 Kalin KOZHUHAROV 2004-12-06 11:47:13 UTC
Yes, just tried to install subversion and got the same error...
The CLAGS:
dev-util/subversion-1.1.1-r3  +apache2 -bash-completion +berkdb -emacs +java +perl -python +ssl
Removing collision-protect fixed it for me.

The diff after the emerge:
================================
--- /usr/lib/perl5/5.8.4/i686-linux/perllocal.pod       2004-12-07 04:43:48.000000000 +0900
+++ /usr/lib/perl5/5.8.4/i686-linux/perllocal.pod.ORIG     2004-12-07 04:42:38.494645383 +0900
@@ -1,4 +1,4 @@
-=head2 Tue Dec  7 04:43:25 2004: C<Module> L<SVN::_Core|SVN::_Core>
+=head2 Thu Dec  2 02:05:58 2004: C<Module> L<Gaim|Gaim>
 
 =over 4
 
@@ -12,7 +12,7 @@
 
 =item *
 
-C<VERSION: >
+C<VERSION: 0.01>
 
 =item *
 
=============================

Packages that own /usr/lib/perl5/5.8.4/i686-linux/perllocal.pod so far
(last 2 as reported in previous comments):

dev-util/subversion-1.1.1-r3
media-gfx/imagemagick-6.1.3.4
net-im/gaim-1.0.3-r2

net-analyzer/net-snmp
net-irc/irssi
Comment 4 Jan Kundrát (RETIRED) gentoo-dev 2005-01-09 04:24:53 UTC
same problem while installing imagemagick, but perllocal.pod doesn't seem to be owned by any package (`qpkg -f`, `equery belongs`)...
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2005-03-14 07:25:44 UTC
The eclass for perl-modules was updated today to include a specific function just for perllocal.pod. See bug 83622 for more information. I think with the suggested modifications this bug should be fix(able/ed).
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2005-05-19 08:04:00 UTC
Can this be closed now? 
Comment 7 Sven Wegener gentoo-dev 2005-05-19 13:57:19 UTC
Sorry Michael, your last comment from March must have been slipped through my
mails as last time I looked it was not possible to call the pod fix manually.
I've updated all irssi ebuilds to call fixlocalpod after installing so this
bug should be fixed now. Thanks for reminding me!