Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172607 - perl-core/Scalar-List-Utils-1.19 emerge fails - Can't locate FindBin.pm
Summary: perl-core/Scalar-List-Utils-1.19 emerge fails - Can't locate FindBin.pm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-28 22:02 UTC by Andrey Antipov
Modified: 2007-04-16 15:51 UTC (History)
0 users

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 Andrey Antipov 2007-03-28 22:02:39 UTC
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.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-28 22:16:55 UTC
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)
Comment 2 Andrey Antipov 2007-03-29 07:04:03 UTC
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)
Comment 3 Yuval Yaari (RETIRED) gentoo-dev 2007-04-05 09:32:50 UTC
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"?
Comment 4 Andrey Antipov 2007-04-11 11:14:30 UTC
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.
Comment 5 Andrey Antipov 2007-04-11 11:31:48 UTC
I meant I used to compile it in both ways with USE="minimal" and without and the result is the same error.
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2007-04-14 19:32:03 UTC
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.
Comment 7 Andrey Antipov 2007-04-16 15:51:10 UTC
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!