Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281948 - g-cpan creates invalid ebuilds under perl-5.10
Summary: g-cpan creates invalid ebuilds under perl-5.10
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: perl-5.10.1
  Show dependency tree
 
Reported: 2009-08-18 18:17 UTC by RB
Modified: 2010-02-16 22:11 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 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!