Building the new minetest-5.0.1 with the doc use flag results in this error: Traceback (most recent call last): File "/usr/lib/portage/python3.6/doins.py", line 611, in <module> sys.exit(main(sys.argv[1:])) File "/usr/lib/portage/python3.6/doins.py", line 602, in main os.path.dirname(source)): File "/usr/lib/portage/python3.6/doins.py", line 450, in _doins return install_runner.install_file(source, os.path.dirname(dest)) File "/usr/lib/portage/python3.6/doins.py", line 386, in install_file return self._ins_runner.run(source, dest_dir) File "/usr/lib/portage/python3.6/doins.py", line 195, in run sstat = os.stat(source) FileNotFoundError: [Errno 2] No such file or directory: b'/doc/html/.' Build log attached.
Created attachment 572352 [details] Build log (compressed with xz) Looks like the build log is over 1000 MB and did not send. Here is an xz compressed version.
From the error message I suspect there is a bug in the src_compile section of th ebuild: if use doc ; then cmake-utils_src_compile doc HTML_DOCS=( "${CMAKE_BUILD_DIR}"/doc/html/. ) fi Specifically, the HTML_DOCS definition looks incorrect in the error message; it seems like CMAKE_BUILD_DIR was not set correctly. I'll keep troubleshooting and see if I can recreate the issue on my end.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2ca4dfa12d11ab271c1db88f7739bec77ff1f57 commit b2ca4dfa12d11ab271c1db88f7739bec77ff1f57 Author: David Seifert <soap@gentoo.org> AuthorDate: 2019-04-09 23:56:34 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2019-04-09 23:57:01 +0000 games-action/minetest: Fix USE="doc" Closes: https://bugs.gentoo.org/682988 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: David Seifert <soap@gentoo.org> games-action/minetest/minetest-5.0.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)