When doing an emerge system there is a dependency to perl missing. So you get something like this. emerge system >>> emerge (1 of 65) sys-apps/help2man-1.29 to / >>> 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. creating cache ./config.cache checking for perl... no configure: error: perl required !!! ERROR: sys-apps/help2man-1.29 failed. !!! Function econf, Line 365, Exitcode 1 !!! econf failed Reproducible: Always Steps to Reproduce: 1.unmerge perl 2.emerge help2man Actual Results: After this steps you get the above error. Expected Results: First get the missing perl 5.005 Portage 2.0.50-r5 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.4.26) ================================================================= System uname: 2.4.26 i686 Gentoo Base System version 1.4.3.13 Autoconf: Automake: ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium2 -mcpu=pentium2 -mmmx -Os -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium2 -mcpu=pentium2 -mmmx -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j10" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dfx X aalib alsa apm avi berkdb bzlib cdr crypt cups db dvd dvdr encode f77 foomatic foomaticdb gdbm gif gimp gimpprint gmp gnome gpm gtk2 imlib java jpeg lame lesstif libg++ libwww lirc mad mbox mikmod mmx mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdf pdflib png ppds ps python quicktime readline ruby samba sane sdl slang spell ssl svcd svga tcpd tiff truetype vcd vim wmf x86 xml2 xmms xv zlib"
Same problem today during an installation with "emerge system" "emerge help2man" asks for perl, but "emerge perl" asks help2man ...
Confirmed. On a 2004.2, using a stage2 tarball, during "emerge system", Portage attempts to merge help2man before perl, in spite of its depedency upon perl. Repeated "emerge system", and "emerge perl" and "emerge help2man" attempts finally resolved this problem. This would appear to be a dependency issue of some sort, that oddly enough, only manifests itself during a system merge. The dependency info in the help2man ebuild is correct, AFAIK.
This bug also occurs on the amd64 platform. I checked the ebuild and perl was already in the ebuild, but emerge wasn't catching it. Chris Hotchkiss
Exactly the same problem on the sparc
ive had this one too, repeating emerge of help2man and perl and system solved the problem!
This is absurd: How can a bug that prevents the installation of an O/S be "normal"? What's the ETA for a repair? Eric P., Sunnyvale, CA
I'm absurd. I apologize: I just realized that I'm using the stage2-i686-20030910.tar.bz2. I've downloaded the current stage (stage2-pentium3-2004.2.tar.bz2) instead of using the one contained on my LiveCD and everything seems to be going very nicely. I apologize for being so abrupt.
I'm using stage2-x86-2004.2, and I get the same problem. I remember this problem from a while back, though - perl "needs" help2man, and help2man definitely needs perl... AFAICR, it's only a problem with stage2, though.
You might want to look at bug 58176 and bug 48687, too. My emerge system (stage 2 -> stage 3) broke on help2man, and I did it again, and help2man was four packages down the proposed install list, but still above perl, and so still broke. I then did an 'emerge system' again, and this time perl and libperl were at the top of the install list, and installed fine. My machine is now compiling openssl, so everything seems dandy. There is definitely some sort of circular dependency problem here, though. 'qpkg -q' and 'equery depends' are not awfully helpful, and I suspect I may have to resort to some form of grep -r to find out exactly what the dependency tree (no, it'd be a dependency graph if it's got a circular path, eh?) is that's causing the problem.
broke on sparc emerge system RDEPEND is now having perl, maybe we should add DEPEND ??
Same error. Gentoo 2004.3, stage1.
Workaround: USE="-berkdb" Otherwise, perl and help2man have circular deps, as noted in comment 1. 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 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 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" 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/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo ftp://gd.tuwien.ac.at/opsys/linux/gentoo http://194.149.10.102/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://192.168.0.26/portage" USE="X alsa apm arts avi bitmap-fonts crypt cups doc dvd encode f77 faad flac foomaticdb fortran gdbm gif gimpprint gpm gtk gtk2 guile imagemagick imlib java javascript jpeg kde libg++ libwww mad mikmod mpeg ncurses nls nptl objc oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby scanner sdl spell ssl tcltk tcpd theora tiff truetype unicode usb wmf x86 xml2 xmms xv zlib"
This shows up on PowerPC as well. What's wrong is the configure stage requires perl to be present, even though it really is only needed to run the program. So, until the configure stage is fixed, this should really have perl in DEPEND and not just RDEPEND.
I just hit this bug yesterday (2004-12-08) using gentoo 2004.3-r1 universal livecd and doing a stage2 install. Can it be avoided (it's a showstopper for me right now)?
this bug was triggered by diffutils' requirement of help2man i've removed it from the ebuild and tweaked diffutils to not require help2man anymore