Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 83520

Summary: dcopperl clobbers perllocal.pod
Product: Gentoo Linux Reporter: Yaakov S <yselkowitz>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: danarmak
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: revised dcopperl-3.3.1-r2.ebuild
dcopperl-3.3.1-r3.ebuild

Description Yaakov S 2005-02-27 22:08:36 UTC
As dcopperl's Makefile is MakeMaker generated, it makes an update to ${D}/$(INSTALLARCHLIB)/perllocal.pod.  This file, if merged into the system, clobbers the existing perllocal.pod, which I know happens with 3.3.1-r2, and seemingly by all other versions.  By other perl modules, perl-module_src_install includes a hack to workaround this, then updates the system perllocal.pod through perl-module_updatepod.

The solution I found is to use kde-meta for src_unpack and configure, and perl-module for the rest.  I'm attaching below a revised ebuild based on 3.3.1-r2; I would imagine the problem and solution would be similar in 3.4.0_beta*.
Comment 1 Yaakov S 2005-02-27 22:09:44 UTC
Created attachment 52287 [details]
revised dcopperl-3.3.1-r2.ebuild
Comment 2 Yaakov S 2005-03-13 16:10:07 UTC
See also bug 83622, where I've proposed a different solution, involving a new function in perl-module.eclass.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2005-03-14 07:25:51 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). Included in the bug is modified dcopperl ebuild :)
Comment 4 Yaakov S 2005-03-14 14:23:17 UTC
Created attachment 53458 [details]
dcopperl-3.3.1-r3.ebuild

Here's the new ebuild again, based on bug 83622.
Comment 5 Dan Armak (RETIRED) gentoo-dev 2005-03-19 11:00:46 UTC
Committed dcopperl-3.4.0-r1.ebuild with your patch. Thanks!