* python3_6: running distutils-r1_run_phase distutils-r1_python_compile python3.6 setup.py build -j 4 running build running build_py creating /var/tmp/portage/dev-python/routes-2.4.1-r1/work/Routes-2.4.1-python3_6/lib/routes copying routes/route.py -> /var/tmp/portage/dev-python/routes-2.4.1-r1/work/Routes-2.4.1-python3_6/lib/routes copying routes/__init__.py -> /var/tmp/portage/dev-python/routes-2.4.1-r1/work/Routes-2.4.1-python3_6/lib/routes copying routes/mapper.py -> /var/tmp/portage/dev-python/routes-2.4.1-r1/work/Routes-2.4.1-python3_6/lib/routes copying routes/middleware.py -> /var/tmp/portage/dev-python/routes-2.4.1-r1/work/Routes-2.4.1-python3_6/lib/routes copying routes/util.py -> /var/tmp/portage/dev-python/routes-2.4.1-r1/work/Routes-2.4.1-python3_6/lib/routes copying routes/base.py -> /var/tmp/portage/dev-python/routes-2.4.1-r1/work/Routes-2.4.1-python3_6/lib/routes running egg_info writing Routes.egg-info/PKG-INFO writing dependency_links to Routes.egg-info/dependency_links.txt writing requirements to Routes.egg-info/requires.txt writing top-level names to Routes.egg-info/top_level.txt reading manifest file 'Routes.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '.DS_Store' found anywhere in distribution warning: no previously-included files matching '*.hgignore' found anywhere in distribution warning: no previously-included files matching '*.hgtags' found anywhere in distribution writing manifest file 'Routes.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. * Using python3.6 in global scope * python3_6: running distutils-r1_run_phase python_compile_all * ERROR: dev-python/routes-2.4.1-r1::gentoo failed (compile phase): * doc/conf.py not found, distutils_enable_sphinx call wrong * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 4292: Called distutils-r1_src_compile * environment, line 2436: Called _distutils-r1_run_common_phase 'python_compile_all' * environment, line 1678: Called multibuild_foreach_variant 'distutils-r1_run_phase' 'python_compile_all' * environment, line 3289: Called _multibuild_run 'distutils-r1_run_phase' 'python_compile_all' * environment, line 3287: Called distutils-r1_run_phase 'python_compile_all' * environment, line 2424: Called python_compile_all * environment, line 3627: Called sphinx_compile_all * environment, line 4276: Called die * The specific snippet of code: * [[ -f ${confpy} ]] || die "${confpy} not found, distutils_enable_sphinx call wrong"; * * If you need support, post the output of `emerge --info '=dev-python/routes-2.4.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/routes-2.4.1-r1::gentoo'`. * The complete build log is located at '/var/log/portage/build/dev-python/routes-2.4.1-r1:20200328-054811.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/routes-2.4.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/routes-2.4.1-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/routes-2.4.1-r1/work/Routes-2.4.1' * S: '/var/tmp/portage/dev-python/routes-2.4.1-r1/work/Routes-2.4.1'
Created attachment 626560 [details] info emerge --info
Created attachment 626562 [details] routes-2.4.1-r1:20200328-054811.log buildlog
Created attachment 680386 [details, diff] Fix for routes 2.5.1 Trivial fix: It is "docs", not "doc". The path to "docs" in the call to distutils_enable_sphinx is missing the s (i.e. it says only "doc"). The path is fine in all other places. This slipped in with commit f37ddbd6a684f933e298df8201510062e91b3bfb "dev-python/routes02.4.1-r1: revbump, add py38, pypy3, refactor"
*** Bug 750095 has been marked as a duplicate of this bug. ***
i still unable to compile it, even with patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d01bd9634a258d665ce272a98eb73c40ebfc70b1 commit d01bd9634a258d665ce272a98eb73c40ebfc70b1 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-01-01 06:11:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-01-01 06:11:13 +0000 dev-python/routes: fix distutils_enable_docs target call Reported-by: Alessandro Barbieri <lssndrbarbieri@gmail.com> Thanks-to: Martin Walch <walch.martin@web.de> Closes: https://bugs.gentoo.org/715168 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org> dev-python/routes/routes-2.5.1.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)