Package app-text/asciidoc-8.6.10 fails during build: a2x: ERROR: "xmllint" --nonet --noout --valid "/var/tmp/portage/app-text/asciidoc-8.6.10/work/asciidoc-8.6.10/doc/asciidoc.1.xml" returned non-zero exit status 4 make: *** [Makefile:110: doc/asciidoc.1] Error 1 8.6.9-r2 compiles without error
I have not yet been able to reproduce this. Please attach the output of "emerge --info asciidoc" and the complete build log.
There may not be a xmllint present, as there is no libxml2:2 dependency in the ebuild. I'm not sure if the call to xmllint is correct, but it should be ensured that it's not called (--no-xmllint somehow passed to a2x calls) or libxml2:2 should be in DEPEND.
Actually xmllint-ing seems to be a feature that asciidoc provides to all consumers of it, so maybe it should even be in RDEPEND.
But you already have a libxslt RDEPEND, which implicitly pulls in libxml2:2 too. So I take it back, this can't be the problem. That said, I'd still express the dep directly as well.
https://forums.gentoo.org/viewtopic-t-1090676.html
(In reply to Mart Raudsepp from comment #4) > But you already have a libxslt RDEPEND, which implicitly pulls in libxml2:2 > too. So I take it back, this can't be the problem. That said, I'd still > express the dep directly as well. That's a good idea, I'll make a note to do that next time I (rev)bump asciidoc. (In reply to Marco Genasci from comment #5) > https://forums.gentoo.org/viewtopic-t-1090676.html Ah, nice! To avoid others having to read this: forum user necktwi fixed this issue by re-emerging
(In reply to Marc Joliet from comment #6) > (In reply to Mart Raudsepp from comment #4) > > But you already have a libxslt RDEPEND, which implicitly pulls in libxml2:2 > > too. So I take it back, this can't be the problem. That said, I'd still > > express the dep directly as well. > > That's a good idea, I'll make a note to do that next time I (rev)bump > asciidoc. > > (In reply to Marco Genasci from comment #5) > > https://forums.gentoo.org/viewtopic-t-1090676.html > > Ah, nice! To avoid others having to read this: forum user necktwi fixed > this issue by re-emerging WTF, pressing CTRL-V somehow triggered posting this prematurely. Anyway: .. by re-emerging app-text/docbook-xml-dtd. I don't undestand why, since the ebuild hasn't changed substantially since the git migration, but if anybody hitting this bug could try that, that would be great!
No feedback from anybody in over three months, closing.