Bug#544309: gnome-doc-utils: FTBFS: ImportError: No module named libxml2

Daniel Schepler dschepler at gmail.com
Sun Aug 30 14:39:20 UTC 2009


Package: gnome-doc-utils
Version: 0.17.4-1
Severity: serious

From my pbuilder build log:

...
if [ -f "C/gnome-doc-xslt.xml" ]; then d="../"; else d="/tmp/buildd/gnome-doc-utils-0.17.4/doc/xslt/"; fi; \
        po="de/de.po"; \
        if [ -f "${po}" ]; then po="../${po}"; else po="/tmp/buildd/gnome-doc-utils-0.17.4/doc/xslt/${po}"; fi; \
        (cd de/ && \
          PYTHONPATH="/tmp/buildd/gnome-doc-utils-0.17.4/doc/xslt/../../xml2po:/tmp/buildd/gnome-doc-utils-0.17.4/doc/xslt/../../xml2po:" "/tmp/buildd/gnome-doc-utils-0.17.4/doc/xslt/../../xml2po/xml2po/xml2po" -m docbook -e -p "${po}" \
            "${d}C/gnome-doc-xslt.xml" > gnome-doc-xslt.xml.tmp && \
            cp gnome-doc-xslt.xml.tmp gnome-doc-xslt.xml && rm -f gnome-doc-xslt.xml.tmp)
Traceback (most recent call last):
  File "/tmp/buildd/gnome-doc-utils-0.17.4/doc/xslt/../../xml2po/xml2po/xml2po", line 185, in <module>
    main(sys.argv[1:])
  File "/tmp/buildd/gnome-doc-utils-0.17.4/doc/xslt/../../xml2po/xml2po/xml2po", line 88, in main
    from xml2po import Main
  File "/tmp/buildd/gnome-doc-utils-0.17.4/xml2po/xml2po/__init__.py", line 27, in <module>
    import libxml2
ImportError: No module named libxml2
make[3]: *** [de/gnome-doc-xslt.xml] Error 1
make[3]: Leaving directory `/tmp/buildd/gnome-doc-utils-0.17.4/doc/xslt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/gnome-doc-utils-0.17.4/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/buildd/gnome-doc-utils-0.17.4'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Looks like a missing Build-Depends on python-libxml2.
-- 
Daniel Schepler






More information about the pkg-gnome-maintainers mailing list