Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 38927

Summary: on install, 'emerge system' with USE="ssl" breaks due to openssl-perl interdependency
Product: Gentoo Linux Reporter: Joseph Pingenot <gentoobugzilla>
Component: [OLD] Core systemAssignee: Gentoo Release Team <releng>
Status: RESOLVED DUPLICATE    
Severity: normal CC: pferde-ludi
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joseph Pingenot 2004-01-21 08:53:30 UTC
While this wouldn't be an issue on a running system, in stage 2 there is no perl installed.  It is emerged in 'emerge system', but if the USE flags include "ssl", emerge will try to build perl with openssl.  Unfortunately, the openssl build stops, requiring a working perl 5 binary.

So there's a dependency loop.  Perl (with USE="ssl") requires openssl, which requires some form of a perl binary to be existing.

This is on a system that was sync'ed this morning which I'm trying to install.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




A workaround is to emerge perl with 'USE="-ssl" emerge perl".  That does skip
openssl, however it now breaks on autoconf (apparenly also requires perl).

I think the simple solution is to include a simple, working perl from stage 1,
or better, to build a simple perl in the bootstrap phase.
Comment 1 Joseph Pingenot 2004-01-21 09:31:28 UTC
well, I managed to emerge a basic perl by using
'USE="-*" emerge perl'

It seems to be working fine so far, but I had to emerge -e perl again before running 'emerge system' so that it would re-emerge a perl with the expected stuff in place.
Comment 2 John Davis (zhen) (RETIRED) gentoo-dev 2004-01-26 14:20:52 UTC
What version of the stages are you using? The new experimental ones, or the old 1.4 release ones?
Comment 3 Joseph Pingenot 2004-01-28 09:47:44 UTC
Hmm.  I'm not certain; the tarball I used is
  stage1-x86-20030910.tar.bz2

For what it's worth, I used the Pentium-4 Gentoo CDs I ordered off the Gentoo site, and perl and openssl were in the right order, with similar USE flags.  So it may be fixed already.
Comment 4 John Davis (zhen) (RETIRED) gentoo-dev 2004-03-05 11:45:43 UTC
I haven't seen any recent bugs about this with the 2004.0 stages, closing.
Comment 5 Benjamin Judas (RETIRED) gentoo-dev 2004-04-02 09:49:50 UTC
*** Bug 46523 has been marked as a duplicate of this bug. ***
Comment 6 Benjamin Judas (RETIRED) gentoo-dev 2004-04-02 09:50:45 UTC
Reopening this one, since a new bug describing the same bug arised.
Comment 7 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-04 10:43:03 UTC
John: I have this issue with 2004.0 on sparc. Verify it with:

emerge -epvt openssl
emerge -epvt perl

It's not a  livecd issue but a portage problem.

*** This bug has been marked as a duplicate of 39318 ***