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.
Yeah, we've got several packages that install already installed files. We probably need to sort them out somehow.
The following packages also install this file: media-gfx/imagemagick net-analyzer/net-snmp
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
same problem while installing imagemagick, but perllocal.pod doesn't seem to be owned by any package (`qpkg -f`, `equery belongs`)...
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).
Can this be closed now?
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!