Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215326 - gnome2-user-docs-2.22.0 need that libxml2 has been compiled with USE="python"
Summary: gnome2-user-docs-2.22.0 need that libxml2 has been compiled with USE="python"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-29 15:02 UTC by Xake
Modified: 2008-03-29 20:48 UTC (History)
0 users

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 Xake 2008-03-29 15:02:50 UTC
${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.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-03-29 20:48:44 UTC
this is invalid, gnome2-doc-utils which provides xmlpo already does such check.