/usr/lib/python3.7/site-packages/pbr/packaging.py:409: EasyInstallDeprecationWarning: Use get_header header = easy_install.get_script_header("", executable, is_wininst) * python3_7: running distutils-r1_run_phase python_install_all Traceback (most recent call last): File "/usr/lib/portage/pypy/doins.py", line 611, in <module> sys.exit(main(sys.argv[1:])) File "/usr/lib/portage/pypy/doins.py", line 602, in main os.path.dirname(source)): File "/usr/lib/portage/pypy/doins.py", line 450, in _doins return install_runner.install_file(source, os.path.dirname(dest)) File "/usr/lib/portage/pypy/doins.py", line 386, in install_file return self._ins_runner.run(source, dest_dir) File "/usr/lib/portage/pypy/doins.py", line 195, in run sstat = os.stat(source) OSError: [Errno 2] No such file or directory: 'doc/build/html/.' * ERROR: app-admin/glance-2019.1.9999::gentoo failed (install phase): * dodoc failed
Please attach the entire build log to this bug report.
Sorry, I'm trying to attach the log now (408 request timeout)
Created attachment 591196 [details] glance-2019.1.9999:20190928-080652.log.xz buildlog
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5509b98d17a202b7afca820fc9c8c6b768b34753 commit 5509b98d17a202b7afca820fc9c8c6b768b34753 Author: Matthew Thode <prometheanfire@gentoo.org> AuthorDate: 2019-09-28 17:55:31 +0000 Commit: Matthew Thode <prometheanfire@gentoo.org> CommitDate: 2019-09-28 17:55:58 +0000 app-admin/glance: git sources cannot build docs (missing files) Fixes: https://bugs.gentoo.org/695686 Package-Manager: Portage-2.3.69, Repoman-2.3.17 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org> app-admin/glance/glance-2019.1.9999.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Still fails with * python3_7: running distutils-r1_run_phase python_compile_all running build_sphinx [pbr] Writing ChangeLog [pbr] Generating ChangeLog [pbr] ChangeLog complete (0.4s) [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.6s) Running Sphinx v2.0.1 Configuration error: There is a programmable error in your configuration file: Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/sphinx/config.py", line 361, in eval_config_file execfile_(filename, namespace) File "/usr/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 86, in execfile_ exec(code, _globals) File "/var/tmp/portage/app-admin/glance-2019.1.9999/work/glance-2019.1.9999/doc/source/conf.py", line 33, in <module> import openstackdocstheme ModuleNotFoundError: No module named 'openstackdocstheme' >>> Source compiled. and /usr/lib/python3.7/site-packages/pbr/packaging.py:409: EasyInstallDeprecationWarning: Use get_header header = easy_install.get_script_header("", executable, is_wininst) * python3_7: running distutils-r1_run_phase python_install_all Traceback (most recent call last): File "/usr/lib/portage/pypy/doins.py", line 611, in <module> sys.exit(main(sys.argv[1:])) File "/usr/lib/portage/pypy/doins.py", line 602, in main os.path.dirname(source)): File "/usr/lib/portage/pypy/doins.py", line 450, in _doins return install_runner.install_file(source, os.path.dirname(dest)) File "/usr/lib/portage/pypy/doins.py", line 386, in install_file return self._ins_runner.run(source, dest_dir) File "/usr/lib/portage/pypy/doins.py", line 195, in run sstat = os.stat(source) OSError: [Errno 2] No such file or directory: 'doc/build/html/.' * ERROR: app-admin/glance-2019.1.9999::gentoo failed (install phase): * dodoc failed
Created attachment 591242 [details] glance-2019.1.9999:20190929-145731.log.xz buildlog
Created attachment 591244 [details] glance-2019.1.9999:20190929-145731.log.xz buildlog
can yo confirm that you are using the ebuild version that includes the following? if [ ! -z ${EGIT_BRANCH+x} ]; then
yes, contains this python_compile_all() { if [ ! -z ${EGIT_BRANCH+x} ]; then use doc && "${PYTHON}" setup.py build_sphinx fi } I tried installing it with ebuild /usr/portage/app-admin/glance/glance-2019.1.9999.ebuild clean install
might be better to just remove doc support going forward, it has it's own build process (and a ton of extra deps now) anyway.