Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254980 - Add EAPI=2 support to perl-module.eclass -- building stage3 fails on dev-perl/TermReadKey-2.30
Summary: Add EAPI=2 support to perl-module.eclass -- building stage3 fails on dev-perl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: perl-eclass
  Show dependency tree
 
Reported: 2009-01-14 19:26 UTC by SpanKY
Modified: 2009-03-06 11:58 UTC (History)
3 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 SpanKY gentoo-dev 2009-01-14 19:26:45 UTC
guessing this package needs a USE dep as well ...

>>> Emerging (87 of 104) dev-perl/TermReadKey-2.30
>>> Failed to emerge dev-perl/TermReadKey-2.30, Log file:
>>>  '/var/tmp/portage/dev-perl/TermReadKey-2.30/temp/build.log'
 * Using ExtUtils::MakeMaker
Can't locate ExtUtils/MakeMaker/Config.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/s390x-linux /usr/lib/perl5/vendor_perl/5.8.8 /us
r/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/s390x-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/s390x-linux /
usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at /usr/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm line 7.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm line 7.
Compilation failed in require at Makefile.PL line 4.
BEGIN failed--compilation aborted at Makefile.PL line 4.
 *
 * ERROR: dev-perl/TermReadKey-2.30 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2399:  Called perl-module_src_compile
 *             environment, line 2139:  Called perl-module_src_prep
 *             environment, line 2192:  Called die
 * The specific snippet of code:
 *               echo "$pm_echovar" | perl Makefile.PL ${myconf} INSTALLMAN3DIR='none' PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D} || die "Unable to build! (
are you using USE="build"?)";
 *  The die message:
 *   Unable to build! (are you using USE="build"?)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-perl/TermReadKey-2.30/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-perl/TermReadKey-2.30/temp/environment'.
 *
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2009-01-14 20:31:41 UTC
Sounds like another case of the stage2 perl not being rebuilt before this package like bug 253964. Perhaps the USE dep needs to be added here, too.
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2009-01-17 14:33:42 UTC
1) What other perl modules do you need for stage 3? Do we need to fix more?

2) Why can't you install with --newuse option before?

This looks so random as is.
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2009-01-17 14:37:38 UTC
BTW: Feel free to fix it yourself if you need it. I probably won't do the next days.
But please don't close the bug because I want to understand the issue.
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2009-01-17 15:14:51 UTC
We (releng) see circular deps like this with perl all the time. When doing 'emerge -e system' from a stage2 (normal procedure for building a stage3), perl is in the depgraph to get rebuilt, but it usually ends up *after* a few random perl modules that expect a more "complete" perl to be present (the one in stage2 is built with USE=build).
Comment 5 SpanKY gentoo-dev 2009-01-17 16:28:16 UTC
whatever fix Robin put in for openldap will probably be needed here ... i imagine he can enlighten you
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-01-17 22:16:36 UTC
Perl team:
You'd need to convert perl-module to work with EAPI=2, and then you have use:
DEPEND="dev-lang/perl[!build]"
Comment 7 Torsten Veller (RETIRED) gentoo-dev 2009-03-06 11:58:38 UTC
Fixed.