Opened 19 years ago

Closed 19 years ago

Last modified 13 years ago

#2695 closed defect (fixed)

xmlto does not install

Reported by: elena.valhalla@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port: xmlto

Description (last modified by jmroot (Joshua Root))

This is the error given (all deps were already installed) (of course I've checked that the external entities could be opened with a browser)

$ sudo port install xmlto
Password:
--->  Building xmlto with target all
Error: Target com.apple.build returned: shell command "cd "/Users/elenagrandi/darwinports/dports/
textproc/xmlto/work/xmlto-0.0.18" && make all XML_CATALOG_FILES=/Users/elenagrandi/
darwinports/dports/textproc/xmlto/work/catalog.xml" returned error 2
Command output: make  all-am
for xml in xmlif.xml xmlto.xml; do \
  FORMAT_DIR=./format XSL_DIR=./xsl \
   bash ./xmlto -o man/man1 man ./doc/$xml ; \
done || ( RC=$?; cat ./FAQ; exit $RC )
xmlto: input does not validate (status 3)
/Users/elenagrandi/darwinports/dports/textproc/xmlto/work/xmlto-0.0.18/./doc/xmlif.xml:4: 
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
                                                            ^
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.2/
docbookx.dtd"
Document /Users/elenagrandi/darwinports/dports/textproc/xmlto/work/xmlto-0.0.18/./doc/
xmlif.xml does not validate
xmlto: input does not validate (status 3)
/Users/elenagrandi/darwinports/dports/textproc/xmlto/work/xmlto-0.0.18/./doc/xmlto.xml:3: 
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
                                                          ^
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.2/
docbookx.dtd"
Document /Users/elenagrandi/darwinports/dports/textproc/xmlto/work/xmlto-0.0.18/./doc/
xmlto.xml does not validate

Q: I'm trying to build xmlto on my Debian box, but it doesn't work.

A: If you get `Attempt to load network entity' errors when building
   xmlto, your system does not have the required support for XML
   Catalogs
   (http://www.oasis-open.org/committees/entity/spec-2001-08-06.html).
   In particular, Debian has no support for these.  Try the Fedora
   Project <http://fedora.redhat.com>.
make[1]: *** [man/man1/xmlto.1] Error 3
make: *** [all] Error 2

Change History (2)

comment:1 Changed 19 years ago by blb@…

Resolution: fixed
Status: newclosed

This should now be fixed. xmlto was trying to use a 4.2 version of docbook, but DP now has 4.3, hence the failure. xmlto is now patched to use 4.3.

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Description: modified (diff)
Port: xmlto added
Note: See TracTickets for help on using tickets.