Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421179 - stage3-i686-20120612.tar.bz2: missing Perl
Summary: stage3-i686-20120612.tar.bz2: missing Perl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Stages (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-14 23:15 UTC by Stefan Kuhn
Modified: 2012-07-18 13:54 UTC (History)
2 users (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 Stefan Kuhn 2012-06-14 23:15:22 UTC
This is the pastebin of "find . -name 'perl'" in /mnt/gentoo right after unpacking the stage3 and portage tar.bz2
http://pastebin.com/0hgDtpcL

In chrooted environment, these 2 commands:
ls -la /usr/bin/perl 
cat /var/db/pkg/dev-lang/perl*/USE
both return " No such file or directory"
Comment 1 Jory A. Pratt gentoo-dev 2012-06-14 23:17:37 UTC
This is expected behavior as perl useflag has been removed from base profile.
Comment 2 AlexTAI 2012-06-14 23:23:34 UTC
kernel (3.2.12) compilation fails during installation due to perl missing in stage3
Comment 3 Stefan Kuhn 2012-06-14 23:28:16 UTC
Anyway, here's my pastebin of "make && make modules_install".
http://pastebin.com/zFuUesuV
It's ok for me know that I know it.
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-06-15 15:00:49 UTC
In my opinion, the kernel maintainers should modify their ebuilds to fix this for them.

Remember folks, the stages are built as a PURE reflection of the tree. If the tree says "perl is not needed" then that is what is built. Nothing for the release team to fix.
Comment 5 sorin 2012-06-15 17:39:42 UTC
Hello all!
After unpaking the latest stage3 and emerge --sync, emerge -uDN world fails at rsync (~amd64):

[...]
config.status: creating config.h

    rsync 3.0.9 configuration successful

>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-misc/rsync-3.0.9-r2/work/rsync-3.0.9 ...
make -j9
perl ./mkproto.pl ./*.c ./lib/compat.c
/bin/sh: perl: command not found
make: *** [proto.h-tstamp] Error 127
make: *** Waiting for unfinished jobs....
 * ERROR: net-misc/rsync-3.0.9-r2 failed (compile phase):
 *   emake failed
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-06-17 23:10:38 UTC
(In reply to comment #5)
> Hello all!
> After unpaking the latest stage3 and emerge --sync, emerge -uDN world fails
> at rsync (~amd64):
> 
> [...]
> config.status: creating config.h
> 
>     rsync 3.0.9 configuration successful
> 
> >>> Source configured.
> >>> Compiling source in /var/tmp/portage/net-misc/rsync-3.0.9-r2/work/rsync-3.0.9 ...
> make -j9
> perl ./mkproto.pl ./*.c ./lib/compat.c
> /bin/sh: perl: command not found
> make: *** [proto.h-tstamp] Error 127
> make: *** Waiting for unfinished jobs....
>  * ERROR: net-misc/rsync-3.0.9-r2 failed (compile phase):
>  *   emake failed

That should be a separate bug report. net-misc/rsync needs perl as a DEPEND (build dep)
Comment 7 Dave Kemper 2012-06-20 22:42:41 UTC
I just hit this bug as well, also when trying to build the kernel in the chroot'ed environment.  The problem occurs when arch/x86/kernel/cpu/Makefile tries to execute the mkcapflags.pl Perl script in that directory.

(In reply to comment #4)
> In my opinion, the kernel maintainers should modify their ebuilds to fix
> this for them.

If not via this Bugzilla, then what is the correct avenue to notify the gentoo kernel team of the problem?
Comment 8 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2012-07-18 03:35:43 UTC
@kernel:

opinions?
Comment 9 Richard Yao (RETIRED) gentoo-dev 2012-07-18 03:44:14 UTC
(In reply to comment #8)
> @kernel:
> 
> opinions?

dev-lang/perl should be in DEPEND unless people have USE=build enabled. That USE flag is for internal use only. The correct solution would be for them to disable it.
Comment 10 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2012-07-18 03:47:04 UTC
I need to check the latest CDs from poseidon, but my latest CDs have PERL again.
Comment 11 Anthony Basile gentoo-dev 2012-07-18 10:52:48 UTC
(In reply to comment #8)
> @kernel:
> 
> opinions?

We went through this in bug #421483 and added dev-lang/perl to kernel-2.eclass RDEPEND.  See:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/kernel-2.eclass?r1=1.276&r2=1.277
Comment 12 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-07-18 13:54:40 UTC
Thanks Anthony, comment #4 stands "nothing for the release team to fix" and I'll close this bug.