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'. *
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.
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.
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.
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).
whatever fix Robin put in for openldap will probably be needed here ... i imagine he can enlighten you
Perl team: You'd need to convert perl-module to work with EAPI=2, and then you have use: DEPEND="dev-lang/perl[!build]"
Fixed.