Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715168 - dev-python/routes-2.4.1-r1[doc] "${confpy} not found, distutils_enable_sphinx call wrong";
Summary: dev-python/routes-2.4.1-r1[doc] "${confpy} not found, distutils_enable_sphinx...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PATCH
: 750095 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-03-28 15:02 UTC by Alessandro Barbieri
Modified: 2021-01-01 06:11 UTC (History)
4 users (show)

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


Attachments
info (info,14.02 KB, text/plain)
2020-03-28 15:03 UTC, Alessandro Barbieri
Details
routes-2.4.1-r1:20200328-054811.log (routes-2.4.1-r1:20200328-054811.log,7.35 KB, text/plain)
2020-03-28 15:03 UTC, Alessandro Barbieri
Details
Fix for routes 2.5.1 (routes-2.5.1.ebuild.patch,421 bytes, patch)
2020-12-31 08:59 UTC, Martin Walch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2020-03-28 15:02:40 UTC
* 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'
Comment 1 Alessandro Barbieri 2020-03-28 15:03:04 UTC
Created attachment 626560 [details]
info

emerge --info
Comment 2 Alessandro Barbieri 2020-03-28 15:03:29 UTC
Created attachment 626562 [details]
routes-2.4.1-r1:20200328-054811.log

buildlog
Comment 3 Martin Walch 2020-12-31 08:59:13 UTC
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"
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-31 09:05:11 UTC
*** Bug 750095 has been marked as a duplicate of this bug. ***
Comment 5 Leonid Kopylov 2020-12-31 11:20:38 UTC
i still unable to compile it, even with patch
Comment 6 Larry the Git Cow gentoo-dev 2021-01-01 06:11:19 UTC
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(-)