On 2011-04-27, David Coppa <[email protected]> wrote: > On Wed, 27 Apr 2011, David Coppa wrote: > >> Hi, >> >> Just found that asciidoc is broken on a clean box. >> >> Here's what I get trying to build x11/i3bar: >> >> gmake -C doc >> gmake[1]: Entering directory `/usr/ports/pobj/i3bar-0.6.21/i3bar-0.6.21/doc' >> /usr/local/bin/a2x.py -f manpage i3bar.man >> a2x: ERROR: xmllint --nonet --noout --valid >> /usr/ports/pobj/i3bar-0.6.21/i3bar-0.6.21/doc/i3bar.xml returned non-zero >> exit status 4 >> gmake[1]: *** [i3bar.1] Error 1 >> >> This is because: >> >> $ xmllint --nonet --noout --valid >> /usr/ports/pobj/i3bar-0.6.21/i3bar-0.6.21/doc/i3bar.xml >> I/O error : Attempt to load network entity >> http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd >> /usr/ports/pobj/i3bar-0.6.21/i3bar-0.6.21/doc/i3bar.xml:2: warning: failed >> to load external entity >> "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" >> D DocBook XML V4.5//EN" >> "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" >> >> ^ >> /usr/ports/pobj/i3bar-0.6.21/i3bar-0.6.21/doc/i3bar.xml:5: validity error : >> Validation failed: no DTD found ! >> <refentry lang="en"> >> >> ^ >> >> >> The following diff fixes it for me. > > Or is it every single port that depends on asciidoc (in this case > x11/i3bar) that should also depend on docbook? > > -dav > >
If that's the case then just add the dep in asciidoc.
