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

Bug 281948

Summary: g-cpan creates invalid ebuilds under perl-5.10
Product: Gentoo Linux Reporter: RB <aoz.syn>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: VERIFIED TEST-REQUEST    
Severity: normal CC: about.gentoobugs, info, kfm, mephinet
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 280724    

Description RB 2009-08-18 18:17:31 UTC
Using app-portage/g-cpan-0.15.0-r1 from the core tree and dev-lang/perl-5.10.0-r2 from perl-experimental, ebuilds that do not install any content are now created.

The problem is that Gentoo::CPAN assigns to ${S} using  $CPAN::Distribution::build_dir, which under the split CPAN package in 5.10 uses File::Temp::tempdir and includes additional unique '-XXXX' data after the package's name.  The results are thus:

S=${WORKDIR}/JE-0.033-LujY1a

as opposed to the expected:

S=${WORKDIR}/JE-0.033

This causes the perl-module eclass to fail, since extraction doesn't replicate the same directory naming structure.
Comment 1 RB 2009-08-19 12:24:18 UTC
Initially added this to the 5.10 tracker, but somehow that got lost in the original save.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-02-12 20:07:29 UTC
Should be fixed in g-cpan r226, will be released soon.
Comment 3 RB 2010-02-16 22:11:17 UTC
Confirmed.  Thanks for taking up maintenance of g-cpan and fixing these several bugs!