[Nix-dev] SVN commit r32596

Corey O'Connor coreyoconnor at gmail.com
Tue Mar 13 21:17:22 CET 2012


This commit moved the libxml2 python module.
See: http://www.mail-archive.com/nix-dev@lists.science.uu.nl/msg04755.html

This appears to break the build of evince. Which uses python libxml2
to build the documentation. See the error at the end of this message.

I am not sure how to resolve this.

(Oddly I never received this email even though I'm subscribed to the list?)

-Corey O'Connor
coreyoconnor at gmail.com
http://corebotllc.com/

Error:

building bg/evince.xml
if ! test -d bg/; then mkdir bg/; fii
if [ -f "C/evince.xml" ]; then d="../"; else
d="/tmp/nix-build-vaz65x3iymjvrsh3xdmcaykrmml31693-evince-2.32.0.drv-0/evince-2.32.0/help/";
fi; \
mo="bg/bg.mo"; \
if [ -f "${mo}" ]; then mo="../${mo}"; else
mo="/tmp/nix-build-vaz65x3iymjvrsh3xdmcaykrmml31693-evince-2.32.0.drv-0/evince-2.32.0/help/${mo}";
fi; \
(cd bg/ && \
  `which xml2po` -m docbook -e -t "${mo}" \
    "${d}C/evince.xml" > evince.xml.tmp && \
    cp evince.xml.tmp evince.xml && rm -f evince.xml.tmp))
Traceback (most recent call last):
  File "/nix/store/hf2qzh6mr59vsfn30qbi8gh33fplp9d2-gnome-doc-utils-0.18.1/bin/.xml2po-wrapped",
line 185, in <module>
    main(sys.argv[1:])
  File "/nix/store/hf2qzh6mr59vsfn30qbi8gh33fplp9d2-gnome-doc-utils-0.18.1/bin/.xml2po-wrapped",
line 88, in main
    from xml2po import Main
  File "/nix/store/hf2qzh6mr59vsfn30qbi8gh33fplp9d2-gnome-doc-utils-0.18.1/lib/python2.7/site-packages/xml2po/__init__.py",
line 27, in <module>
    import libxml2
ImportError: No module named libxml2


More information about the nix-dev mailing list