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

Bug 39319

Summary: circular dependency between perl and autoconf
Product: Gentoo Linux Reporter: Cory Visi (RETIRED) <merlin>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: critical CC: vhata-gentoo
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 39074    
Bug Blocks: 62425    

Description Cory Visi (RETIRED) gentoo-dev 2004-01-25 01:21:26 UTC
This must have happened last week as well:

autoconf-2.58.ebuild:
DEPEND=">=sys-apps/texinfo-4.3
        =sys-devel/m4-1.4*
        dev-lang/perl"

# emerge -epv perl
[ebuild  N    ] sys-devel/autoconf-2.58  
[ebuild  N    ] sys-devel/automake-1.7.7  
[ebuild  N    ] sys-apps/help2man-1.29  
[ebuild  N    ] sys-apps/attr-2.4.12  +nls -debug 
[ebuild  N    ] sys-apps/acl-2.2.21  
[ebuild  N    ] sys-apps/coreutils-5.0.91-r4  +nls -build +acl -selinux -static 
[ebuild  N    ] sys-apps/debianutils-1.16.7-r4  -static -build 
[ebuild  N    ] app-shells/bash-2.05b-r7  +nls -build 
[ebuild  N    ] sys-libs/readline-4.3-r4  
[ebuild  N    ] dev-libs/openssl-0.9.7c-r1  
[ebuild  N    ] dev-lang/tcl-8.3.4  
[ebuild  N    ] media-libs/libpng-1.2.5-r4  
[ebuild  N    ] sys-devel/flex-2.5.4a-r5  
[ebuild  N    ] x11-base/opengl-update-1.5  
[ebuild  N    ] sys-apps/gawk-3.1.3-r1  +nls -build 
[ebuild  N    ] sys-kernel/linux-headers-2.4.19-r1  
[ebuild  N    ] dev-java/java-config-1.2.4  
[ebuild  N    ] sys-libs/lib-compat-1.3  
[ebuild  N F  ] dev-java/sun-jdk-1.4.2.03  -doc -gnome -kde -mozilla 
[ebuild  N    ] sys-libs/db-4.0.14-r2  +tcltk +java -doc 
[ebuild  N    ] sys-apps/miscfiles-1.3-r1  
[ebuild  N    ] sys-libs/cracklib-2.7-r7  
[ebuild  N    ] dev-libs/glib-1.2.10-r5  
[ebuild  N    ] sys-libs/pwdb-0.61-r4  -selinux 
[ebuild  N    ] sys-libs/pam-0.75-r11  +berkdb -selinux 
[ebuild  N    ] sys-apps/shadow-4.0.3-r9  +pam -selinux 
[ebuild  N    ] sys-apps/pam-login-3.11  +nls 
[ebuild  N    ] sys-apps/util-linux-2.11z-r8  +crypt +nls -static +pam 
[ebuild  N    ] sys-apps/baselayout-1.8.6.10-r1  -bootstrap -build -static 
[ebuild  N    ] media-libs/freetype-2.1.4  -doc +zlib -bindist 
[ebuild  N    ] x11-misc/ttmkfdir-3.0.9  
[ebuild  N    ] dev-libs/expat-1.95.6-r1  
[ebuild  N    ] sys-apps/ed-0.2-r3  
[ebuild  N    ] media-libs/fontconfig-2.2.1  
[ebuild  N    ] app-arch/unzip-5.50-r2  
[ebuild  N    ] app-arch/cabextract-0.6  
[ebuild  N    ] x11-base/xfree-4.3.0-r3  -3dfx -sse -mmx -3dnow +xml2 +truetype +nls -cjk -doc +ipv6 
-debug -static +pam -sdk -gatos 
[ebuild  N    ] dev-lang/tk-8.3.4-r1  
[ebuild  N    ] sys-libs/db-1.85-r1  
[ebuild  N    ] sys-libs/gdbm-1.8.0-r5  +berkdb -static 
[ebuild  N    ] dev-lang/python-2.3.3  +ncurses +gdbm +ssl +readline +tcltk +berkdb -bootstrap +ipv6 
-build -ucs2 -doc 
[ebuild  N    ] sys-apps/portage-2.0.49-r21  -build 
[ebuild  N    ] sys-devel/gcc-config-1.3.4  
[ebuild  N    ] sys-devel/gcc-3.2.3-r3  -static +nls -bootstrap +java -build 
[ebuild  N    ] sys-libs/glibc-2.3.2-r9  +nls +pic -build 
[ebuild  N    ] sys-devel/patch-2.5.9  -build -static 
[ebuild  N    ] sys-apps/groff-1.18.1-r4  +X -cjk 
[ebuild  N    ] sys-apps/cronbase-0.2.1-r2  
[ebuild  N    ] sys-apps/man-1.5l-r6  +nls 
[ebuild  N    ] sys-devel/libperl-5.8.0  +berkdb +gdbm 
[ebuild  N    ] dev-lang/perl-5.8.0-r12  +berkdb -doc +gdbm -threads 

This, of course, breaks a stage1 compile.
Comment 1 Cory Visi (RETIRED) gentoo-dev 2004-01-25 01:26:55 UTC
This occured using:
stage1-x86-20030910.tar.bz2
Comment 2 SpanKY gentoo-dev 2004-01-25 01:37:43 UTC
i replaced all the calls to 'perl -pi' with 'sed -i' and removed perl from DEPEND ... this is fixed unless i missed something az
Comment 3 Cory Visi (RETIRED) gentoo-dev 2004-01-25 08:01:09 UTC
nice!

Also, I noticed that perl is included in many of the experimental stage1 tarballs. This would also fix it, but as long as the releases are still around, it's an issue. Is perl going to be included in stage1 going forward?
Comment 4 Cory Visi (RETIRED) gentoo-dev 2004-01-26 05:59:10 UTC
I was able to get perl to emerge with:
USE="-ssl -X -java" emerge perl
Comment 5 Jonathan Hitchcock 2004-02-15 08:31:00 UTC
This circular dependency still exists.
I have emptied my USE flags completely (-everything), as you can see:

# emerge -epv perl

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-devel/gnuconfig-20030708   0 kB 
[ebuild  N    ] sys-devel/patch-2.5.9  -build -static  197 kB 
[ebuild  N    ] sys-devel/libtool-1.5.2-r3   0 kB 
[ebuild  N    ] sys-libs/ncurses-5.3-r5  -debug  0 kB 
[ebuild  N    ] sys-devel/m4-1.4-r1  -nls  0 kB 
[ebuild  N    ] sys-devel/bison-1.875  -nls -static  0 kB 
[ebuild  N    ] sys-apps/sed-4.0.9  -build -nls -static  0 kB 
[ebuild  N    ] sys-apps/texinfo-4.6  -build -nls  0 kB 
[ebuild  N    ] sys-libs/zlib-1.2.1-r2   0 kB 
[ebuild  N    ] dev-python/python-fchksum-1.7.1   0 kB 
[ebuild  N    ] app-arch/bzip2-1.0.2-r3  -build -debug -static  0 kB 
[ebuild  N    ] sys-devel/autoconf-2.59   0 kB 
[ebuild  N    ] sys-devel/automake-1.8.2   0 kB 
[ebuild  N    ] sys-apps/help2man-1.33.1  -nls  0 kB 
[ebuild  N    ] sys-apps/coreutils-5.0.91-r4  -acl -build -nls -(selinux) -static  83 kB 
[ebuild  N    ] sys-apps/debianutils-1.16.7-r4  -build -static  0 kB 
[ebuild  N    ] app-shells/bash-2.05b-r9  -build -nls  0 kB 
[ebuild  N    ] dev-libs/expat-1.95.7   0 kB 
[ebuild  N    ] dev-lang/python-2.3.3  -berkdb -bootstrap -build -doc -gdbm -ipv6 -ncurses -readline -ssl -tcltk -ucs2  7,026 kB 
[ebuild  N    ] sys-apps/portage-2.0.50-r1  -build  0 kB 
*** Please update portage to the above version before proceeding.
    Failure to do so may result in failed or improper merges.
    A simple 'emerge -u portage' is sufficient.

[ebuild  N    ] sys-devel/gcc-config-1.3.5   [empty/missing/bad digest] 
[ebuild  N    ] sys-devel/binutils-2.14.90.0.8  -bootstrap -build -nls  0 kB 
[ebuild  N    ] sys-devel/gcc-3.3.2-r7  -X -bootstrap -build -java -multilib -nls -static  0 kB 
[ebuild  N    ] sys-kernel/linux-headers-2.4.22  -build  0 kB 
[ebuild  N    ] sys-apps/gawk-3.1.3-r1  -build -nls  0 kB 
[ebuild  N    ] sys-apps/util-linux-2.12-r4  -crypt -nls -pam -(selinux) -static  0 kB 
[ebuild  N    ] sys-apps/baselayout-1.8.6.13  -bootstrap -build -livecd -(selinux) -static  0 kB 
[ebuild  N    ] sys-libs/glibc-2.3.3_pre20040207  -build -nls -nptl -pic  18 kB [ebuild  N    ] sys-apps/groff-1.18.1-r4  -X -cjk  112 kB 
[ebuild  N    ] sys-apps/cronbase-0.2.1-r3   [empty/missing/bad digest] 
[ebuild  N    ] sys-apps/man-1.5m  -nls  0 kB 
[ebuild  N    ] sys-devel/libperl-5.8.3  -berkdb -gdbm  0 kB 
[ebuild  N    ] dev-lang/perl-5.8.3  -berkdb -doc -gdbm -threads  0 kB 

Total size of downloads: 7,438 kB


# emerge -epv autoconf

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-devel/gnuconfig-20030708   0 kB 
[ebuild  N    ] sys-devel/patch-2.5.9  -build -static  197 kB 
[ebuild  N    ] sys-devel/libtool-1.5.2-r3   0 kB 
[ebuild  N    ] sys-libs/ncurses-5.3-r5  -debug  0 kB 
[ebuild  N    ] sys-devel/m4-1.4-r1  -nls  0 kB 
[ebuild  N    ] sys-devel/bison-1.875  -nls -static  0 kB 
[ebuild  N    ] sys-libs/zlib-1.2.1-r2   0 kB 
[ebuild  N    ] sys-apps/sed-4.0.9  -build -nls -static  0 kB 
[ebuild  N    ] dev-python/python-fchksum-1.7.1   0 kB 
[ebuild  N    ] app-arch/bzip2-1.0.2-r3  -build -debug -static  0 kB 
[ebuild  N    ] sys-apps/groff-1.18.1-r4  -X -cjk  112 kB 
[ebuild  N    ] sys-apps/cronbase-0.2.1-r3   [empty/missing/bad digest] 
[ebuild  N    ] sys-apps/man-1.5m  -nls  0 kB 
[ebuild  N    ] sys-devel/libperl-5.8.3  -berkdb -gdbm  0 kB 
[ebuild  N    ] dev-lang/perl-5.8.3  -berkdb -doc -gdbm -threads  0 kB 
[ebuild  N    ] sys-devel/automake-1.8.2   0 kB 
[ebuild  N    ] sys-apps/help2man-1.33.1  -nls  0 kB 
[ebuild  N    ] sys-apps/coreutils-5.0.91-r4  -acl -build -nls -(selinux) -static  83 kB 
[ebuild  N    ] sys-apps/debianutils-1.16.7-r4  -build -static  0 kB 
[ebuild  N    ] app-shells/bash-2.05b-r9  -build -nls  0 kB 
[ebuild  N    ] dev-libs/expat-1.95.7   0 kB 
[ebuild  N    ] dev-lang/python-2.3.3  -berkdb -bootstrap -build -doc -gdbm -ipv6 -ncurses -readline -ssl -tcltk -ucs2  7,026 kB 
[ebuild  N    ] sys-apps/portage-2.0.50-r1  -build  0 kB 
*** Please update portage to the above version before proceeding.
    Failure to do so may result in failed or improper merges.
    A simple 'emerge -u portage' is sufficient.

[ebuild  N    ] sys-devel/gcc-config-1.3.5   [empty/missing/bad digest] 
[ebuild  N    ] sys-devel/binutils-2.14.90.0.8  -bootstrap -build -nls  0 kB 
[ebuild  N    ] sys-devel/gcc-3.3.2-r7  -X -bootstrap -build -java -multilib -nls -static  0 kB 
[ebuild  N    ] sys-kernel/linux-headers-2.4.22  -build  0 kB 
[ebuild  N    ] sys-apps/gawk-3.1.3-r1  -build -nls  0 kB 
[ebuild  N    ] sys-apps/util-linux-2.12-r4  -crypt -nls -pam -(selinux) -static  0 kB 
[ebuild  N    ] sys-apps/baselayout-1.8.6.13  -bootstrap -build -livecd -(selinux) -static  0 kB 
[ebuild  N    ] sys-libs/glibc-2.3.3_pre20040207  -build -nls -nptl -pic  18 kB [ebuild  N    ] sys-apps/texinfo-4.6  -build -nls  0 kB 
[ebuild  N    ] sys-devel/autoconf-2.59   0 kB 

Total size of downloads: 7,438 kB


# emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="ftp://ftp.rucus.ru.ac.za/pub/linux/gentoo http://nihil.ict.ru.ac.za http://zion.ru.ac.za ftp://ftp.is.co.za/linux/distributions/gentoo ftp://trumpetti.atm.tut.fi/gentoo/ ftp://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.rucus.ru.ac.za/gentoo-portage"
USE="x86"


I just had a problem with this in a stage 2 install, which I solved by installing a perl package built on another system.  It seems to have worked so far.