After adding compile CPU flags in make.conf and running --deep --update --world portage fails to compile perl-core/Scalar-List-Utils though perl and libperl compiled succesfully Reproducible: Always Steps to Reproduce: 1. make.conf: CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" 2. emerge -av perl-core/Scalar-List-Utils Actual Results: Compiling source in /var/tmp/portage/perl-core/Scalar-List-Utils-1.19/work/Scalar-List-Utils-1.19 ... /var/tmp/portage/perl-core/Scalar-List-Utils-1.19/work/Scalar-List-Utils-1.19 * Using ExtUtils::MakeMaker Can't locate FindBin.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at inc/Module/Install.pm line 72. BEGIN failed--compilation aborted at inc/Module/Install.pm line 72. Compilation failed in require at Makefile.PL line 3. BEGIN failed--compilation aborted at Makefile.PL line 3. !!! ERROR: perl-core/Scalar-List-Utils-1.19 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3231: Called src_compile ebuild.sh, line 1304: Called perl-module_src_compile perl-module.eclass, line 136: Called perl-module_src_prep perl-module.eclass, line 125: Called die Expected Results: Succesfully compiled ))) It seems there's an absence of ExtUtils::MakeMaker which is not in portage anymore.
1/ This has nothing to do with Gentoo Bugzilla product; read the descriptions. 2/ FindBin.pm is part of standard perl install, not EU-MM. # equery b /usr/lib/perl5/5.8.8/FindBin.pm [ Searching for file(s) /usr/lib/perl5/5.8.8/FindBin.pm in *... ] dev-lang/perl-5.8.8-r2 (/usr/lib/perl5/5.8.8/FindBin.pm)
Thanks in advance, and sorry if I used the wrong place. equery b /usr/lib/perl5/5.8.8/FindBin.pm [ Searching for file(s) /usr/lib/perl5/5.8.8/FindBin.pm in *... ] (No matches found)
FindBin has been with us for a while: $ perl5.9.5 -MModule::CoreList -le ' print Module::CoreList->first_release("FindBin");' 5.00307 A wild guess: did you compile perl with USE="minimal"?
Both ways. The result is equal. Actually, if i ask emerge -pv perl, I dob't have any USE="minimal" there. I suppose, this prooves the result in the beginning.
I meant I used to compile it in both ways with USE="minimal" and without and the result is the same error.
emerge --info. it's a requirement for filing a bug and would save us from guessing :) also, attaching /var/db/pkg/dev-lang/perl*/USE would let us see which exact USE flags were (or weren't) present when you built perl. Though I have to concur - FindBin.pm is part of the core perl install, only avoidable these days if you built perl with "build" use-flag enabled, since we strip it out for stage1 build's only.
And actually that was a solution. I found "build" as a global flag in /etc/make.conf and removed it while adding -build to package.use. Now it works perfectly. A little bit silly bug. Thanks a lot!