${summary} USE="python" emerge -1 dev-libs/libxml2 gnome2-user-docs ends fine USE="-python" emerge -1 dev-libs/libxml2 gnome2-user-docs ends with: Making all in gnome2-user-guide make[1]: Entering directory `/var/tmp/portage/gnome-extra/gnome2-user-docs-2.22.0/work/gnome-user-docs-2.22.0/gnome2-user-guide' if ! test -d sv/; then mkdir sv/; fi if [ -f "C/user-guide.xml" ]; then d="../"; else d="/var/tmp/portage/gnome-extra/gnome2-user-docs-2.22.0/work/gnome-user-docs-2.22.0/gnome2-user-guide/"; fi; \ (cd sv/ && \ `which xml2po` -e -p \ "${d}sv/sv.po" \ "${d}C/user-guide.xml" > user-guide.xml.tmp && \ cp user-guide.xml.tmp user-guide.xml && rm -f user-guide.xml.tmp) Traceback (most recent call last): File "/usr/bin/xml2po", line 35, in <module> import libxml2 File "/usr/lib/python2.5/site-packages/libxml2.py", line 1, in <module> ImportError: No module named libxml2mod make[1]: *** [sv/user-guide.xml] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-extra/gnome2-user-docs-2.22.0/work/gnome-user-docs-2.22.0/gnome2-user-guide' make: *** [all-recursive] Error 1 * * ERROR: gnome-extra/gnome2-user-docs-2.22.0 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 640: Called gnome2_src_compile * environment, line 570: Called die * The specific snippet of code: * emake || die "compile failure" * The die message: * compile failure * * If you need support, post the topmost build error, and the call stack if relevant.
this is invalid, gnome2-doc-utils which provides xmlpo already does such check.