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

Bug 71322

Summary: Portage has dependency on Perl errors during Stage 1 install with 2004.3 tarball
Product: Gentoo Linux Reporter: Bob <custom_basses>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dev-portage, gentoo-bugs2
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic.php?p=1766755#1766755
Whiteboard:
Package list:
Runtime testing required: ---

Description Bob 2004-11-15 13:27:13 UTC
I'm performing a Stage 1 install using the new 2004.3 tarball.  I am following the Stage 1/NPTL Developers method thread at the Documentation Tips and Tricks Gentoo forum.

the scripts/bootstrap.sh runs without a problem.  when i begin to emerge system, i receive a fatal error after only a few of the 72 apps to be emerged are completed.  the error reported is a dependency on unmerged perl.  unfortunately, i did not write down the app name, i just proceeded to emerge perl before restarting the emerge system.

Reproducible: Always
Steps to Reproduce:
1. Stage 1 install
2.  bootstrap
3.  emerge system

Actual Results:  
fatal error due to dependency on unmerged perl

Expected Results:  
emerge system

sorry... don't have this info available as i am currently emerging libperl.  
emerge system --pretend should provide the necessary info.
Comment 1 Bob 2004-11-16 13:30:33 UTC
I repeated the Stage 1 install procedure.  Bootstrapping works fine.  when its time to "emerge system", there are 72 packages to be emerged.  emerge system craps out on package number 14, gettext-1.03.  gettext compilation is dependent upon perl, and perl is not yet installed.  to get around this, i have tried "emerge libperl && emerge libperl".  after emerging perl, when performing "emerge system", there are now 54 packages to be emerged.

this problem in portage remains unfixed from version 2004.2.  the only difference is that instead of occurring during the performance of the bootstrap.sh script, this error now occurs during emerge system.
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-11-16 13:57:49 UTC
I don't see a portage issue here.
Comment 3 Bob 2004-11-16 14:27:20 UTC
if this is not a portage problem, i guess i am mistaken in my understanding that portage is responsible for the order in which packages and their dependencies are emerged.  

if portage is not responsible in this case, can you tell me where should i be looking for a rectification of this error?
Comment 4 Sean Kennedy 2004-11-16 15:27:21 UTC
I have the same problem.  I bootstrap with x86 and emerge system with ~x86 and "emerge system" fails on the Locale-gettext package.  It tries to use perl when it perl isn't yet installed.  For me, it seems to only do this when you emerge system with ~x86.
Comment 5 sfp-a7x 2004-11-17 19:33:09 UTC
I too am having this same problem.  I'm installing from scratch, from the 2004.3 LiveCD, and using NPTL.  Here's what I did after setting up my hard drives:

1.  extract stage 1 tarball (from the 2004.3 LiveCD)
2.  set /mnt/gentoo/etc/make.conf and etc/portage/* how I want them (see below)
3.  copy /etc/resolv.conf and mount proc
4.  chroot
5.  'emerge sync'
6.  'cd /usr/portage'
7.  'scripts/bootstrap.sh'

After glibc puked saying that linux-headers wasn't greater than 2.6.5 (it was 2.4-somthing), I did:

8.  'emerge -C linux-headers'
9.  'USE="-* build bootstrap" emerge linux26-headers'
10.  'scripts/bootstrap.sh' (this time it bootstrapped flawlessly)
11.  'emerge system'

After it successfully chewed through a few packages, it failed:

>>> md5 src_uri ;-) help2man-1.29.tar.gz
>>> Unpacking source...
>>> Unpacking help2man-1.29.tar.gz to /var/tmp/portage/help2man-1.29/work
>>> Source unpacked.
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
checking for perl... no
configure: error: perl 5.005 required

!!! ERROR: sys-apps/help2man-1.29 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed


emerge info:

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
Autoconf:
Automake:
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers: sys-kernel/linux26-headers-2.6.8.1
Libtools:
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=pentium3 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/qconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=pentium3 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/ http://mirror.datapipe.net/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.mirror.sdv.fr/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl apm arts avi berkdb bindist bitmap-fonts crypt cups doc emacs encode f77 foomaticdb fortran gdbm gif gnome gpm gtk gtk2 hardened imlib ipv6 java jpeg kde kerberos ldap libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pcre pdflib pic pie png python qt quicktime readline sdl spell sse ssl svga tcltk tcpd truetype unicode x86 xml2 xmms xprint xv zlib"


/etc/portage/package.keywords:
dev-java/blackdown-jdk -x86 -~x86
dev-java/blackdown-jre -x86 -~x86


/etc/portage/package.use:
net-misc/openssh X509 chroot
sys-apps/module-init-tools no-old-linux
sys-libs/glibc erandom userlocales
sys-devel/gcc gcj objc
dev-lang/tk threads
dev-lang/tcl threads
dev-java/sun-jdk jce


/etc/portage/profile/virtuals:
virtual/jdk   dev-java/sun-jdk
virtual/jre   dev-java/sun-jdk
Comment 6 Jason Stubbs (RETIRED) gentoo-dev 2004-11-18 05:11:06 UTC
Circular dependency issue. All the ebuilds are correct but portage can't handle it (yet). If base system people can offer a temporary solution (again) that would be helpful, but about all we can do for this bug is mark it as a duplicate for the moment.
Comment 7 SpanKY gentoo-dev 2005-01-19 06:25:16 UTC

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