Summary: | net-analyzer/wireshark-1.10.0_rc1 USE=doc - a2x: ERROR: "lynx" -dump "..." returned non-zero exit status 127 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | ansla80, kripton, Martin.vGagern |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 366763 | ||
Bug Blocks: | |||
Attachments: | build.log.bz2 |
Description
Juergen Rose
2013-05-03 06:24:40 UTC
Created attachment 347202 [details]
build.log.bz2
Why oh why should it use lynx for that. :-\ I ran into this too. If you install lynx to get past this problem you get: mv release-notes.text release-notes.txt a2x: ERROR: "xmllint" --nonet --noout --valid "/tmp/portage/net-analyzer/wireshark-1.10.0_rc1/work/wireshark-1.10.0rc1/docbook/release-notes.xml" returned non-zero exit status 1 make: *** [release-notes.html] Error 1 make: *** Waiting for unfinished jobs.... I haven't looked really hard but it isn't clear to me that xmllint is available in the portage tree. For now I just merged without documentation. xmllint is provided by libxml2 and after you install that too it wants xlstproc that I couldn't yet figure what package belongs to. Oups, it was a typo, it actualy wants xsltproc that is also provided by libxml2 so it is installed a2x: ERROR: "xsltproc" --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0 --stringparam html.stylesheet "ws.css" --output "/var/tmp/portage/net-analyzer/wireshark-1.10.0_rc1/work/wireshark-1.10.0rc1/docbook/release-notes.html" "/usr/share/asciidoc/docbook-xsl/xhtml.xsl" "/var/tmp/portage/net-analyzer/wireshark-1.10.0_rc1/work/wireshark-1.10.0rc1/docbook/release-notes.xml" returned non-zero exit status 6 Running that command manually: warning: failed to load external entity "/var/tmp/portage/net-analyzer/wireshark-1.10.0_rc1/work/wireshark-1.10.0rc1/docbook/release-notes.xml" unable to parse /var/tmp/portage/net-analyzer/wireshark-1.10.0_rc1/work/wireshark-1.10.0rc1/docbook/release-notes.xml But running the calling wrapper manually, with verbose output, works all right: # /usr/bin/a2x -v --format=xhtml "--stylesheet=ws.css" release-notes.asciidoc […] asciidoc: writing: /var/tmp/portage/net-analyzer/wireshark-1.10.0_rc1/work/wireshark-1.10.0rc1/docbook/release-notes.xml […] a2x: executing: "xmllint" --nonet --noout --valid "/var/tmp/portage/net-analyzer/wireshark-1.10.0_rc1/work/wireshark-1.10.0rc1/docbook/release-notes.xml" […] a2x: executing: "xsltproc" --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0 --stringparam html.stylesheet "ws.css" --output "/var/tmp/portage/net-analyzer/wireshark-1.10.0_rc1/work/wireshark-1.10.0rc1/docbook/release-notes.html" "/usr/share/asciidoc/docbook-xsl/xhtml.xsl" "/var/tmp/portage/net-analyzer/wireshark-1.10.0_rc1/work/wireshark-1.10.0rc1/docbook/release-notes.xml" […] a2x: deleting /var/tmp/portage/net-analyzer/wireshark-1.10.0_rc1/work/wireshark-1.10.0rc1/docbook/release-notes.xml So to me this looks like a parallel build issue, and more particularly like a conflict between release-notes.html and release-notes.txt, which probably both generate the same release-notes.xml from release-notes.asciidoc, and delete that file once they are done. No surprise that parallel execution of these tasks is bound to fail. Fixing this seems difficult, without changes to the overall build concept and/or a2x. So the simplest solution would be replacing the "emake -C docbook" in the ebuild with "emake -j1 -C docbook". Until this is fixed in portage, end users can use the common workaround for parallel build issues, by simply disabling parallelity for one invocation: MAKEOPTS=-j1 emerge -1 wireshark Note that this will probably not help the original issue from comment #0, where lynx has to be installed. An added dependency could ensure that, or omission of the txt file, or some other solution like this. I have reluctantly added emake -j1 -C docbook as that indeed does fix the issue. No revision bump. Forgot to add the www-client/* deps... I added asciidoc and lynx (note that this is just for the release-notes.txt. Now take cover. :) This version of wireshark is no longer in the tree. Should we close this bug as invalid or resolved? I see it's still waiting on #366763 as well which is also open. If I don't hear anything by Sept 13, I'll assume that this is invalid due to this ebuild no longer being in the tree. (In reply to Alex Brandt from comment #10) > This version of wireshark is no longer in the tree. Should we close this > bug as invalid or resolved? I see it's still waiting on #366763 as well > which is also open. asciidoc should depend on something to render HTML as text. > If I don't hear anything by Sept 13, I'll assume that this is invalid due to > this ebuild no longer being in the tree. You will do no such thing. This bug stays open until someone fixes asciidoc. Fixed starting from =net-analyzer/wireshark-2.5.1, where upstream switched to dev-ruby/asciidoctor. |