Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671668 - app-text/asciidoc-8.6.10 - a2x: ERROR: "xmllint" --nonet --noout --valid ".../work/asciidoc-8.6.10/doc/asciidoc.1.xml" returned non-zero exit status 4
Summary: app-text/asciidoc-8.6.10 - a2x: ERROR: "xmllint" --nonet --noout --valid "......
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marc Joliet
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-22 03:09 UTC by lumbrius
Modified: 2019-04-06 10:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lumbrius 2018-11-22 03:09:04 UTC
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
Comment 1 Marc Joliet 2018-12-07 14:33:59 UTC
I have not yet been able to reproduce this.  Please attach the output of "emerge --info asciidoc" and the complete build log.
Comment 2 Mart Raudsepp gentoo-dev 2018-12-19 11:37:02 UTC
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.
Comment 3 Mart Raudsepp gentoo-dev 2018-12-19 11:38:23 UTC
Actually xmllint-ing seems to be a feature that asciidoc provides to all consumers of it, so maybe it should even be in RDEPEND.
Comment 4 Mart Raudsepp gentoo-dev 2018-12-19 11:55:46 UTC
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.
Comment 5 Marco Genasci 2018-12-19 13:44:43 UTC
https://forums.gentoo.org/viewtopic-t-1090676.html
Comment 6 Marc Joliet 2018-12-19 20:57:35 UTC
(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
Comment 7 Marc Joliet 2018-12-19 21:03:08 UTC
(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!
Comment 8 Marc Joliet 2019-04-06 10:22:30 UTC
No feedback from anybody in over three months, closing.