BlackCapCoder / compton

A compositor for X11.
Other
98 stars 3 forks source link

Error with AsciiDoc when building on ubuntu #12

Open StarrKiss opened 5 years ago

StarrKiss commented 5 years ago

a2x --format manpage man/compton.1.asciidoc a2x: ERROR: "xmllint" --nonet --noout --valid "/home/gregorystarr/Downloads/srcs/compton/man/compton.1.xml" returned non-zero exit status 4 make: *** [Makefile:146: man/compton.1] Error 1

This is the error I get whenever I try to build make docs on ubuntu 19.04. What is the problem?

BlackCapCoder commented 5 years ago

I am not familiar with asciidoc, but it looks like it is using xmllint (which is like grep for xml), and this is failing on your system for some reason.

From man a2x:

       -L, --no-xmllint
           Do not check asciidoc output with xmllint(1).

So you could try a2x -L --format manpage man/compton.1.asciidoc. Note that I have not actually touched this file, so flags for my changes are not listed.

On Arch Linux, xmllint is not listed as a dependency of asciidoc, so you might not have it.