Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135396 - Locale-gettext ebuild does not fail even through the build failed
Summary: Locale-gettext ebuild does not fail even through the build failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-03 08:39 UTC by Andrew Gaffney (RETIRED)
Modified: 2006-06-07 13:56 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 Andrew Gaffney (RETIRED) gentoo-dev 2006-06-03 08:39:08 UTC
The Locale-gettext ebuild will "complete" successfully even though it could not build the module. The missing ExtUtils/MakeMaker/Config.pm below is due to a dependency loop when building a stage3 with catalyst, so ignore that :P This bug is present for other types of build failures such as the missing gettext() in libintl in bug 130248.

>>> Emerging (33 of 99) dev-perl/Locale-gettext-1.05 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking gettext-1.05.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking gettext-1.05.tar.gz to /var/tmp/portage/Locale-gettext-1.05/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/Locale-gettext-1.05/work/gettext-1.05 ...
 * Using ExtUtils::MakeMaker
Can't locate ExtUtils/MakeMaker/Config.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.7/i386-linux /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i386-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i386-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 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
>>> Source compiled.
>>> Test phase [not enabled]: dev-perl/Locale-gettext-1.05
 
>>> Install Locale-gettext-1.05 into /var/tmp/portage/Locale-gettext-1.05/image/ category dev-perl
>>> Completed installing Locale-gettext-1.05 into /var/tmp/portage/Locale-gettext-1.05/image/
 
man:
./
./usr/
./usr/share/
./usr/share/doc/
./usr/share/doc/Locale-gettext-1.05/
./usr/share/doc/Locale-gettext-1.05/README.gz
./usr/share/perl/
./usr/share/perl/gentoo-pods/
./usr/share/perl/gentoo-pods/5.8.8/
>>> Done.
>>> Extracting info
>>> Extracting Locale-gettext-1.05
>>> Merging dev-perl/Locale-gettext-1.05 to /
--- /usr/
--- /usr/share/
--- /usr/share/perl/
--- /usr/share/perl/gentoo-pods/
>>> /usr/share/perl/gentoo-pods/5.8.8/
--- /usr/share/doc/
>>> /usr/share/doc/Locale-gettext-1.05/
>>> /usr/share/doc/Locale-gettext-1.05/README.gz
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
>>> Original instance of package unmerged safely.
 * Man pages are not installed for most modules now.
 * Please use perldoc instead.
>>> Regenerating /etc/ld.so.cache...
>>> dev-perl/Locale-gettext-1.05 merged.
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2006-06-05 17:23:02 UTC
i'm just guessing, but i think this is because the die in the eclass is being ignored

you know you can't build this with USE=build, though, right? USE=build strips perl down to the bare executable, no ability to compile modules...
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2006-06-05 18:24:23 UTC
I'm aware of that. What *should* happen is that perl gets rebuild without USE=build before this package is emerged, but due to a dependency loop, perl doesn't come in until after. Regardless, this is still an issue.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2006-06-05 18:42:45 UTC
2 different bugs here.

first bug is probably for the portage folks, not perl, and that's why do explicit die's in the eclass get ignored (we attempt to die if test fail and if make fails)

second bug is that you aren't getting perl rebuilt - not sure how to answer that. can eclasses support IUSE="-build"? Not trying to be glib, just trying to think of ways of forcing you to build a proper perl after you've gotten past the point where you have used the 'build' perl (which should only be in pre-stage1 according to the catalyst folks that had me add this feature). a full perl at the pre-stage1 introduces other bugs btw.
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2006-06-07 13:56:40 UTC
'die' statements added to perl-module.eclass, hurray!