Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719324 - dev-python/django-2.2.12[doc] distutils_enable_sphinx: sphinx.ext.autodoc not found in docs/conf.py, pass --no-autodoc
Summary: dev-python/django-2.2.12[doc] distutils_enable_sphinx: sphinx.ext.autodoc not...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-24 23:46 UTC by Alessandro Barbieri
Modified: 2020-05-14 11:57 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2020-04-24 23:46:27 UTC
BTW easy fixable

running build_scripts
creating /var/tmp/portage/dev-python/django-2.2.12/work/Django-2.2.12-python3_6/scripts
copying and adjusting django/bin/django-admin.py -> /var/tmp/portage/dev-python/django-2.2.12/work/Django-2.2.12-python3_6/scripts
changing mode of /var/tmp/portage/dev-python/django-2.2.12/work/Django-2.2.12-python3_6/scripts/django-admin.py from 644 to 755
 * Using python3.6 in global scope
 * python3_6: running distutils-r1_run_phase python_compile_all
 * ERROR: dev-python/django-2.2.12::gentoo failed (compile phase):
 *   distutils_enable_sphinx: sphinx.ext.autodoc not found in docs/conf.py, pass --no-autodoc
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 4324:  Called distutils-r1_src_compile
 *   environment, line 2441:  Called _distutils-r1_run_common_phase 'python_compile_all'
 *   environment, line 1663:  Called multibuild_foreach_variant 'distutils-r1_run_phase' 'python_compile_all'
 *   environment, line 3365:  Called _multibuild_run 'distutils-r1_run_phase' 'python_compile_all'
 *   environment, line 3363:  Called distutils-r1_run_phase 'python_compile_all'
 *   environment, line 2429:  Called python_compile_all
 *   environment, line 3676:  Called sphinx_compile_all
 *   environment, line 4316:  Called die
 * The specific snippet of code:
 *                   die "distutils_enable_sphinx: sphinx.ext.autodoc not found in ${confpy}, pass --no-autodoc";
 *
 * If you need support, post the output of `emerge --info '=dev-python/django-2.2.12::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/django-2.2.12::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/dev-python/django-2.2.12:20200424-234053.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/django-2.2.12/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/django-2.2.12/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/django-2.2.12/work/Django-2.2.12'
 * S: '/var/tmp/portage/dev-python/django-2.2.12/work/Django-2.2.12'
Comment 1 Yarda 2020-05-13 09:43:35 UTC
The same problem encountered with dev-python/django-2.2.11, it builds OK with USE=-doc.
Comment 2 Larry the Git Cow gentoo-dev 2020-05-14 11:57:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42c202b531e1aba72c40bd781bdab9ed0b6bc630

commit 42c202b531e1aba72c40bd781bdab9ed0b6bc630
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-05-14 11:46:42 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-05-14 11:57:15 +0000

    dev-python/django: Fix assertion in distutils_enable_sphinx
    
    Closes: https://bugs.gentoo.org/719324
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/django/django-2.2.12.ebuild | 2 +-
 dev-python/django/django-3.0.6.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)