Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150840 - perl in stage1 for amd64 has damaged ExtUtils/MakeMaker
Summary: perl in stage1 for amd64 has damaged ExtUtils/MakeMaker
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Stages (show other bugs)
Hardware: AMD64 Linux
: High critical
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-10 18:25 UTC by Corvus Corax
Modified: 2007-01-10 14:30 UTC (History)
1 user (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 Corvus Corax 2006-10-10 18:25:16 UTC
the perl that comes with in the 2006.1 stage1 tar.bz2 for amd64 is missing /usr/lib/perl5/5.8.8/ExtUtils/MakeMaker/Config.pm

when emerge -e system is being done with useflag USE="berkdb" set,
package "dev-perl/Locale-gettext" is being tried to emerge prior to the perl remerge, which results in an error like:

> ExtUtils/MakeMaker/Config.pm not found in %INC (<perl include path with all sort of dirs here>) in /usr/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm line 7

Checking said Config.pm on a second system in /var/db/pkg/.../CONTENTS - showed that it is supposed to come with perl itself

after manually re-emerging perl (with USE="-berkdb" to restrict dependencies) on the affected system it was there as well, but it is missing in the stage 1 archive.

affected version of perl: perl-5.8.8-r2
stage 1 image: stage1-amd64-2006.1.tar.bz2

work around:
install perl without berkdb useflag prior to emerge -e system

fixes:
- force perl compilation with minimal USE-flags during bootstrap
or
- fix perl in stage1 archive
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2006-10-11 04:15:14 UTC
To begin with, stage1 installs are no longer supported, so you're pretty much on your own. Now that that's out of the way...

The perl in the stage1 tarball is a minimal perl. ExtUtils/MakeMaker.pm isn't missing...it's not *supposed* to be there. What *should* happen is that perl will will be re-emerged without the 'build' (or is it 'minimal'?) USE flag, which will build a full perl that has the file.

Instead, something in perl's dependency tree ends up pulling in Locale-gettext (this is a deficiency in portage), which causes it to get emerged before perl is rebuilt. We ran into a similar dependency loop when building the release.
Comment 2 Alan Hourihane 2006-12-18 09:47:06 UTC
Can I ask where it says stage1 installs are no longer supported ??

I ask, because, I find it strange that stage1 tarballs are even made available, if they're not supported.
Comment 3 Alan Hourihane 2006-12-18 09:50:10 UTC
Oh, I'm asking because the build also fails for me, but during Test-Simple being pulled in and trying to use MakeMaker::Config on an i686 build.
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2006-12-18 09:54:36 UTC
From the current handbook:

"Make sure you download a stage3 tarball - installations using a stage1 or stage2 tarball are not supported anymore."

You can find this text at <http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=5#doc_chap2> immediately following Code Listing 5.

Comment 5 Alan Hourihane 2006-12-18 11:22:05 UTC
o.k. I guess this can be closed then.