Hi there, media-libs/mesa failing if there is no libxml2 in system, as it running some python code inside. (Found it on new, clean install). Reproducible: Always Steps to Reproduce: 1. emerge mesa when there is no libxml2.
dev-libs/libxml2[python] is among RDEPEND. Your system must be messed up somehow, if it doesn't work.
It is 100% clean gentoo install, fresh, I will reopen it and reproduce in chroot tomorrow.
Ah, you see, you are wrong, RDEPEND is RUNETIME DEPEND, it should be in DEPEND variable then.
Please add your emerge --info as a comment and the complete build log as an attachment to this bug report.
(In reply to comment #3) > Ah, you see, you are wrong, RDEPEND is RUNETIME DEPEND, it should be in DEPEND > variable then. Honestly, even though it does seem as if DEPEND would be a better place for the dep, it seems unlikely it will change anything in your case.
(In reply to comment #3) > Ah, you see, you are wrong, RDEPEND is RUNETIME DEPEND, it should be in DEPEND > variable then. You missed the following in the media-libs/mesa/mesa-7.9.2.ebuild DEPEND="${RDEPEND}
It should all be correct. All media-libs/mesa ebuilds in the official tree correctly DEPEND on dev-libs/libxml2[python]. With no build log (the entire thing, if you are going to attach it to this bug report) showing an actual build error and no `emerge --info' as requested earlier, it's hard to see a bug here.
Created attachment 269579 [details] build.log I had the same problem with mesa-7.10.1 in a hardened amd64 machine. dev-libs/libxml2[python] is indeed in DEPEND="${RDEPEND}" so lets search further.. $ python >>> import libxml2 Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named libxml2 $ qlist -o libxml (...) /usr/lib64/python2.6/site-packages/libxml2.py $ eselect python list Available Python interpreters: [1] python2.6 [2] python2.7 * [3] python3.1 $ emerge -1 avq libxml2 [ebuild R ] dev-libs/libxml2-2.7.8 USE="icu python readline -debug -doc -examples -ipv6 -test" Would you like to merge these packages? [Yes/No] Y >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-libs/libxml2-2.7.8 >>> Installing (1 of 1) dev-libs/libxml2-2.7.8 >>> Jobs: 1 of 1 complete $ qlist -o libxml /usr/lib64/python2.7/site-packages/libxml2.py