Summary: | net-analyzer/net-snmp-5.2 overwrites /usr/lib/perl5/5.8.5/i686-linux/perllocal.pod with USE="perl" flag | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jakub Moc (RETIRED) <jakub> |
Component: | New packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | perl, rumen |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | net-snmp-5.2-r3.ebuild |
Description
Jakub Moc (RETIRED)
2005-01-30 02:41:14 UTC
Netmon, Either append the info or find a way to use the perlmodules eclass (which appends the info ;) ). Let me know if you need help adapting it, mike Well, I'm pretty sure I have the fix but cannot reproduce the collision. Never seen something so odd: $ equery belongs /usr/lib/perl5/5.8.5/i686-linux/perllocal.pod [ Searching for file(s) /usr/lib/perl5/5.8.5/i686-linux/perllocal.pod in *... ] dev-util/subversion-1.1.1-r3 (/usr/lib/perl5/5.8.5/i686-linux/perllocal.pod) net-analyzer/net-snmp-5.2 (/usr/lib/perl5/5.8.5/i686-linux/perllocal.pod) net-im/gaim-1.1.1 (/usr/lib/perl5/5.8.5/i686-linux/perllocal.pod) This is after merging with FEATURES="collision-protect". So because of this, I am unable to test the solution. I am posting the (hopefully) fixed ebuild here in hopes that you'll test it and let me know. To test (I apologize if this is info you know already): 1) mkdir -p ~/overlay/net-analyzer 2) cp -R /usr/portage/net-analyzer/net-snmp ~/overlay/net-analyzer 3) export PORTDIR_OVERYLAY=~/overlay 4) save attached ebuild into ~/overlay/net-analyzer 5) ebuild ~/overlay/net-analyzer/net-snmp/net-snmp-5.2-r3.ebuild digest 6) FEATURES="collision-protect" emerge net-snmp Created attachment 50115 [details]
net-snmp-5.2-r3.ebuild
Thanks Aaron, but I Thanks Aaron, but I´m afraid I cannot test the collision-protect fix either, because now I have: $ equery belongs /usr/lib/perl5/5.8.5/i686-linux/perllocal.pod dev-perl/mod_perl-1.99.11 (/usr/lib/perl5/5.8.5/i686-linux/perllocal.pod) net-analyzer/net-snmp-5.2 (/usr/lib/perl5/5.8.5/i686-linux/perllocal.pod) So if it correctly appends perllocal.pod and does not overwrite it any more, I would mark this bug fixed as this was the main point of this bug. Perl devs have probably given up on getting collision-protect work with perl-related ebuilds - see Bug 71659. Fixed. The ebuild now uses perl-module.eclass which, if the perllocal.pod file exists already, will install the pod into /usr/share/perl/gentoo-pods with a package specific file name. (Realizing this is closed, but wanted to comment) Out (my?) giving up with collision related bugs is related to circumstances where an ebuild of a module (preferably newer :) ) is attempting to replace a module that was provided in the core perl install. A good example of this was the Safe ebuild, which addressed security problems in the Safe module distributed with the old perl <=5.8.0 distributions - a case where you need to overwrite what's already provided. I asked Aaron not to let this one get lumped with that other bug because perllocal.pod overwrites is a different issue (just the same results). |