Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682988 - =games-action/minetest-5.0.1 USE=doc build failure
Summary: =games-action/minetest-5.0.1 USE=doc build failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-09 23:29 UTC by Red
Modified: 2019-04-09 23:57 UTC (History)
1 user (show)

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


Attachments
Build log (compressed with xz) (build.log.xz,56.35 KB, application/x-xz)
2019-04-09 23:36 UTC, Red
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Red 2019-04-09 23:29:44 UTC
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.
Comment 1 Red 2019-04-09 23:36:08 UTC
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.
Comment 2 William Breathitt Gray 2019-04-09 23:44:00 UTC
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.
Comment 3 Larry the Git Cow gentoo-dev 2019-04-09 23:57:17 UTC
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(-)