compton icon indicating copy to clipboard operation
compton copied to clipboard

Error with AsciiDoc when building on ubuntu

Open StarrKiss opened this issue 6 years ago • 1 comments

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?

StarrKiss avatar Jul 27 '19 16:07 StarrKiss

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.

BlackCapCoder avatar Aug 01 '19 17:08 BlackCapCoder