Created attachment 634948 [details] build.log Warning, treated as error: /var/tmp/portage/app-emulation/ganeti-2.15.2-r9/temp/gntbuild.tiR1shJ6/doc/design-impexp2.rst:512:Could not lex literal_block as "python". Highlighting skipped. appears to be https://github.com/sphinx-doc/sphinx/issues/4225
Created attachment 634958 [details, diff] remove set -e from manpage steps This works around it for me.
(In reply to Austin English from comment #1) > Created attachment 634958 [details, diff] [details, diff] > remove set -e from manpage steps > > This works around it for me. Sorry, patch isn't correct; doesn't work in a fresh build, needs more work.
Created attachment 635416 [details, diff] patch 1/2 Remove the problematic doc portion.
Created attachment 635418 [details, diff] patch 2/2 Fix manpage warning checks
I've attached two patches that fix the issue for me. 1/2 removes the problematic section of the docs; a proper fix would be to really fix it for python2/3 and/or newer sphinx, but I don't really have the time to look since I don't use the html docs (and suspect most don't). 2/2 fixes autotools/check-man-warnings script. The script currently discards stdout, then tries to grep and fails when it receives no input. It looks like this depended on sys-apps/man behavior, which didn't support --warnings, so stderr always had something to search. With sys-apps/man-db, --warnings is accepted, though none are produced, so the grep fails, even though the manpages themselves are fine. With that, the package builds again for me.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=835e0c9ecd4e407e6c917f87a09bde8757ae5e72 commit 835e0c9ecd4e407e6c917f87a09bde8757ae5e72 Author: Austin English <austin.m.english@sony.com> AuthorDate: 2020-05-02 05:06:11 +0000 Commit: Patrick McLean <chutzpah@gentoo.org> CommitDate: 2020-05-06 01:02:07 +0000 app-emulation/ganeti: remove old Closes: https://bugs.gentoo.org/719846 Signed-off-by: Austin English <austin.m.english@sony.com> Closes: https://github.com/gentoo/gentoo/pull/15608 Signed-off-by: Patrick McLean <chutzpah@gentoo.org> app-emulation/ganeti/ganeti-2.15.2-r9.ebuild | 383 --------------------------- 1 file changed, 383 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3efea2940080e990146fe378af976cd13fe6885 commit b3efea2940080e990146fe378af976cd13fe6885 Author: Austin English <austin.m.english@sony.com> AuthorDate: 2020-05-02 03:40:32 +0000 Commit: Patrick McLean <chutzpah@gentoo.org> CommitDate: 2020-05-06 01:02:06 +0000 app-emulation/ganeti: add patches to fix building manpages/newer pyopenssl Closes: https://bugs.gentoo.org/719846 Signed-off-by: Austin English <austin.m.english@sony.com> Signed-off-by: Patrick McLean <chutzpah@gentoo.org> .../files/ganeti-2.15.2-check-man-warnings.patch | 13 + .../files/ganeti-2.15.2-ftbfs-sphinx-warning.patch | 41 +++ .../ganeti/files/ganeti-2.15.2-pyopenssl.patch | 33 ++ app-emulation/ganeti/ganeti-2.15.2-r10.ebuild | 386 +++++++++++++++++++++ 4 files changed, 473 insertions(+)