We use the "system" target in catalyst to build new stages which essentially just runs "ROOT=/tmp/newroot emerge --newuse system". Recently its been hitting an error with libxml2 thus stopping all new stages for us internally. I've checked and this shouldn't be a catalyst issue. Below is some error/info output: $ USE=build ROOT=/tmp/stage3root/ emerge --newuse system * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items. Calculating dependencies... done! >>> Verifying ebuild manifests >>> Starting parallel fetch >>> Emerging (1 of 22) dev-libs/libxml2-2.7.7 for /tmp/stage3root/ * libxml2-2.7.7.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: dev-libs/libxml2-2.7.7 * REPO: gentoo * USE: amd64 build elibc_glibc ipv6 kernel_linux multilib python readline userland_GNU * ERROR: dev-libs/libxml2-2.7.7 failed: * _python_calculate_PYTHON_ABIS(): 'dev-lang/python' is not installed * * Call stack: * ebuild.sh, line 54: Called pkg_setup * libxml2-2.7.7.ebuild, line 41: Called python_pkg_setup * python.eclass, line 363: Called _python_calculate_PYTHON_ABIS * python.eclass, line 657: Called die * The specific snippet of code: * die "${FUNCNAME}(): 'dev-lang/python' is not installed" # USE=build ROOT=/tmp/stage3root/ emerge --newuse -pv system These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-libs/libxml2-2.7.7 to /tmp/stage3root/ USE="ipv6 python readline -debug -doc -examples -test" 0 kB [ebuild N ] sys-devel/gettext-0.17-r1 to /tmp/stage3root/ USE="acl nls openmp -doc -emacs -nocxx" 0 kB [ebuild N ] sys-apps/coreutils-8.5 to /tmp/stage3root/ USE="acl nls unicode -caps -gmp (-selinux) -static -vanilla -xattr" 0 kB [ebuild N ] sys-apps/file-5.03 to /tmp/stage3root/ USE="python" 0 kB [ebuild N ] app-admin/eselect-1.2.10 to /tmp/stage3root/ USE="-bash-completion -doc" 0 kB [ebuild N ] app-admin/eselect-python-20100321 to /tmp/stage3root/ 0 kB [ebuild N ] dev-lang/python-2.6.5-r3 to /tmp/stage3root/ USE="berkdb build gdbm ipv6 ncurses readline ssl threads (wide-unicode) xml -doc -examples -sqlite -tk -wininst" 0 kB [ebuild N ] sys-apps/portage-2.1.8.3 to /tmp/stage3root/ USE="build -doc -epydoc -python3 (-selinux)" LINGUAS="-pl" 0 kB [ebuild N ] app-admin/python-updater-0.8 to /tmp/stage3root/ 0 kB [ebuild N ] sys-libs/glibc-2.10.1-r1 to /tmp/stage3root/ USE="(multilib) nls -debug -gd -glibc-omitfp (-hardened) -profile (-selinux) -vanilla" 0 kB [ebuild N ] sys-libs/cracklib-2.8.16 to /tmp/stage3root/ USE="nls python" 0 kB [ebuild N ] app-editors/nano-2.2.4 to /tmp/stage3root/ USE="ncurses nls unicode -debug -justify -minimal -slang -spell" 0 kB [ebuild N ] sys-libs/e2fsprogs-libs-1.41.11 to /tmp/stage3root/ USE="nls" 0 kB [ebuild N ] virtual/editor-0 to /tmp/stage3root/ 0 kB [ebuild N ] sys-fs/udev-151-r4 to /tmp/stage3root/ USE="-devfs-compat -extras -old-hd-rules (-selinux) -test" 0 kB [ebuild N ] sys-devel/gcc-4.4.3-r2 to /tmp/stage3root/ USE="build fortran mudflap (multilib) nls nptl openmp (-altivec) -bootstrap -doc (-fixed-point) -gcj -graphite -gtk (-hardened) (-libffi) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 61,486 kB [ebuild N ] sys-fs/e2fsprogs-1.41.11 to /tmp/stage3root/ USE="nls" 4,368 kB [ebuild N ] sys-libs/pam-1.1.1-r2 to /tmp/stage3root/ USE="berkdb cracklib nls -audit -debug (-selinux) -test -vim-syntax" 1,578 kB [ebuild N ] sys-auth/pambase-20100310 to /tmp/stage3root/ USE="cracklib sha512 -consolekit -debug -gnome-keyring -mktemp -passwdqc (-selinux) -ssh" 3 kB [ebuild N ] sys-apps/shadow-4.1.4.2-r4 to /tmp/stage3root/ USE="cracklib nls pam -audit (-selinux) -skey" 1,749 kB [ebuild N ] sys-apps/busybox-1.15.3 to /tmp/stage3root/ USE="pam -debug -make-symlinks -savedconfig (-selinux) -static" 1,942 kB [ebuild N ] net-misc/openssh-5.3_p1-r1 to /tmp/stage3root/ USE="pam tcpd -X -X509 -hpn -kerberos -ldap -libedit -pkcs11 (-selinux) -skey -smartcard -static" 1,004 kB Total: 22 packages (22 new), Size of downloads: 72,126 kB $ USE=build ROOT=/tmp/stage3root/ emerge --newuse --root-deps -pv system These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] sys-devel/gcc-4.4.3-r2 to /tmp/stage3root/ USE="build fortran mudflap (multilib) nls nptl openmp (-altivec) -bootstrap -doc (-fixed-point) -gcj -graphite -gtk (-hardened) (-libffi) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 61,486 kB [ebuild N ] sys-libs/glibc-2.10.1-r1 to /tmp/stage3root/ USE="(multilib) nls -debug -gd -glibc-omitfp (-hardened) -profile (-selinux) -vanilla" 0 kB [nomerge ] sys-apps/shadow-4.1.4.2-r4 to /tmp/stage3root/ USE="cracklib nls pam -audit (-selinux) -skey" [nomerge ] sys-devel/gettext-0.17-r1 to /tmp/stage3root/ USE="acl nls openmp -doc -emacs -nocxx" [ebuild N ] dev-libs/libxml2-2.7.7 to /tmp/stage3root/ USE="ipv6 python readline -debug -doc -examples -test" 0 kB [nomerge ] dev-libs/libxml2-2.7.7 to /tmp/stage3root/ USE="ipv6 python readline -debug -doc -examples -test" [nomerge ] app-admin/eselect-python-20100321 to /tmp/stage3root/ [ebuild N ] app-admin/eselect-1.2.10 to /tmp/stage3root/ USE="-bash-completion -doc" 0 kB [ebuild N ] sys-apps/file-5.03 to /tmp/stage3root/ USE="python" 0 kB [ebuild N ] app-admin/eselect-python-20100321 to /tmp/stage3root/ 0 kB [ebuild N ] dev-lang/python-2.6.5-r3 to /tmp/stage3root/ USE="berkdb build gdbm ipv6 ncurses readline ssl threads (wide-unicode) xml -doc -examples -sqlite -tk -wininst" 0 kB [ebuild N ] sys-apps/coreutils-8.5 to /tmp/stage3root/ USE="acl nls unicode -caps -gmp (-selinux) -static -vanilla -xattr" 0 kB [ebuild N ] sys-devel/gettext-0.17-r1 to /tmp/stage3root/ USE="acl nls openmp -doc -emacs -nocxx" 0 kB Total: 9 packages (9 new), Size of downloads: 61,486 kB * Error: circular dependencies: ('ebuild', '/tmp/stage3root/', 'sys-devel/gettext-0.17-r1', 'merge') depends on ('ebuild', '/tmp/stage3root/', 'dev-libs/libxml2-2.7.7', 'merge') (buildtime) ('ebuild', '/tmp/stage3root/', 'app-admin/eselect-1.2.10', 'merge') depends on ('ebuild', '/tmp/stage3root/', 'sys-apps/file-5.03', 'merge') (runtime) ('ebuild', '/tmp/stage3root/', 'sys-apps/coreutils-8.5', 'merge') (buildtime) ('ebuild', '/tmp/stage3root/', 'sys-devel/gcc-4.4.3-r2', 'merge') depends on ('ebuild', '/tmp/stage3root/', 'sys-libs/glibc-2.10.1-r1', 'merge') (buildtime) ('ebuild', '/tmp/stage3root/', 'sys-apps/file-5.03', 'merge') depends on ('ebuild', '/tmp/stage3root/', 'dev-lang/python-2.6.5-r3', 'merge') (buildtime) ('ebuild', '/tmp/stage3root/', 'app-admin/eselect-python-20100321', 'merge') (buildtime) ('ebuild', '/tmp/stage3root/', 'sys-libs/glibc-2.10.1-r1', 'merge') depends on ('ebuild', '/tmp/stage3root/', 'sys-devel/gettext-0.17-r1', 'merge') (buildtime) ('ebuild', '/tmp/stage3root/', 'sys-devel/gcc-4.4.3-r2', 'merge') (buildtime) ('ebuild', '/tmp/stage3root/', 'sys-apps/coreutils-8.5', 'merge') depends on ('ebuild', '/tmp/stage3root/', 'sys-devel/gettext-0.17-r1', 'merge') (buildtime) ('ebuild', '/tmp/stage3root/', 'dev-libs/libxml2-2.7.7', 'merge') depends on ('ebuild', '/tmp/stage3root/', 'dev-lang/python-2.6.5-r3', 'merge') (buildtime) ('ebuild', '/tmp/stage3root/', 'app-admin/eselect-python-20100321', 'merge') (buildtime) ('ebuild', '/tmp/stage3root/', 'dev-lang/python-2.6.5-r3', 'merge') depends on ('ebuild', '/tmp/stage3root/', 'app-admin/eselect-python-20100321', 'merge') (buildtime) ('ebuild', '/tmp/stage3root/', 'app-admin/eselect-python-20100321', 'merge') depends on ('ebuild', '/tmp/stage3root/', 'sys-devel/gcc-4.4.3-r2', 'merge') (buildtime) ('ebuild', '/tmp/stage3root/', 'app-admin/eselect-1.2.10', 'merge') (buildtime) * Note that circular dependencies can often be avoided by temporarily * disabling USE flags that trigger optional dependencies. Reproducible: Always
most likely the cycle is python[xml] -> libxml2[python]. iirc python used to not require libxml2 when bootstrapping/creating stages. Maybe this is a side effect of making libxml2 multiple python ABI compatible, CCing python so they can have a look.
Why can't Gentoo developers assign their own bug reports? It isn't rocket science, you know.
On an up to date system, the problem seems to be gone. At least checking the ebuild dependencies per my previous comment, it should be. But then we have: # USE=build ROOT=/tmp/stage3root/ emerge --newuse --root-deps -pv system These are the packages that would be merged, in order: Calculating dependencies... done! emerge: there are no ebuilds built with USE flags to satisfy "dev-lang/perl[-build]". !!! One of the following packages is required to complete your request: - dev-lang/perl-5.12.2-r2 (Change USE: -build) (dependency required by "dev-vcs/git-1.7.3.2-r1" [ebuild]) (dependency required by "sys-devel/gettext-0.18.1.1-r1" [ebuild]) (dependency required by "sys-libs/glibc-2.12.1-r3" [ebuild]) (dependency required by "@system" [argument]) Closing for now. Do not hesitate to reopen if this is still a problem