Created attachment 441194 [details] build log validity error : Could not load the external subset "https://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" Document /var/tmp/portage/sys-apps/portage-9999/work/portage-9999/doc/portage.docbook does not validate Building docs in xhtml format... Traceback (most recent call last): File "setup.py", line 670, in <module> 'Topic :: System :: Installation/Setup' File "/usr/lib64/python3.5/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.5/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/usr/lib64/python3.5/distutils/dist.py", line 974, in run_command cmd_obj.run() File "setup.py", line 114, in run '-m', 'doc/custom.xsl', f, 'doc/portage.docbook']) File "/usr/lib64/python3.5/subprocess.py", line 584, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['xmlto', '-o', 'doc', '-m', 'doc/custom.xsl', 'xhtml', 'doc/portage.docbook']' returned non-zero exit status 13 * ERROR: sys-apps/portage-9999::gentoo failed (compile phase): * (no error message)
Please try reinstalling app-text/docbook-xml-dtd:4.4.
(In reply to Mike Gilbert from comment #1) > Please try reinstalling app-text/docbook-xml-dtd:4.4. Thanks for the hint, but this didn't change anything. I have versions 4.1.2-r6 4.2-r2 4.3-r1 4.4-r2 4.5-r1 installed here.
Interesting. I can reproduce this with portage-9999. It works fine with portage-2.3.0.
This was obviously an unintentional update in b5365341dad167e314023df95d2c5e0f955962f0. diff --git a/doc/portage.docbook b/doc/portage.docbook index 811544f..f7d539a 100644 --- a/doc/portage.docbook +++ b/doc/portage.docbook @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ + "https://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!ENTITY date SYSTEM "fragment/date"> <!ENTITY version SYSTEM "fragment/version"> This chunk should be reverted.
Created attachment 441224 [details, diff] Revert URI changes related to docbook schema Here's a patch.
sys-apps/portage-2.3.1, which just made it onto my ~x86 system, seems to be affected by this issue as well, i.e. it doesn't yet seem to contain the patch provided as part of this bug. As a result, my emerge of sys-apps/portage-2.3.1 failed with the exact same error as quoted by Helmut in his original report. Applying the patch provided by Mike fixed the issue and made everything emerge properly. I'm not entirely sure if I should have opened a new issue for my report regarding sys-apps/portage-2.3.1 - but since it's the same issue that this bug deals with, I thought I'd rather add my report as a comment here.
In the master branch now: https://gitweb.gentoo.org/proj/portage.git/commit/?id=35863a80b915939aac3ce6bf017d942cac879df8
I applied the patch in the 2.3.1 ebuild. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42c16a429662b3ddab73139603798748d43f2068
*** Bug 594344 has been marked as a duplicate of this bug. ***
Fixed in portage-2.3.3.