Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 333323 - dev-libs/libxml2 breaks installing system in a new ROOT
Summary: dev-libs/libxml2 breaks installing system in a new ROOT
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-18 16:52 UTC by Lance Albertson (RETIRED)
Modified: 2010-11-02 20:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lance Albertson (RETIRED) gentoo-dev 2010-08-18 16:52:30 UTC
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
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-08-19 08:02:43 UTC
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.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-08-21 16:06:21 UTC
Why can't Gentoo developers assign their own bug reports? It isn't rocket science, you know.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-11-02 20:35:52 UTC
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