Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715060 - dev-python/cairocffi-1.1.0[doc] error in 'source_dir' option: 'docs' does not exist or is not a directory
Summary: dev-python/cairocffi-1.1.0[doc] error in 'source_dir' option: 'docs' does no...
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:
Depends on:
Blocks:
 
Reported: 2020-03-27 15:43 UTC by Alessandro Barbieri
Modified: 2020-06-05 16:24 UTC (History)
1 user (show)

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


Attachments
cairocffi-1.1.0:20200327-082105.log (cairocffi-1.1.0:20200327-082105.log,8.70 KB, text/plain)
2020-03-27 15:44 UTC, Alessandro Barbieri
Details
info (info,16.29 KB, text/plain)
2020-03-27 15:45 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2020-03-27 15:43:05 UTC
python3.6 setup.py build -j 4
running build
running build_py
package init file 'cairocffi/_generated/__init__.py' not found (or not a regular file)
file cairocffi/_generated/ffi.py (for module cairocffi._generated.ffi) not found
file cairocffi/_generated/ffi_pixbuf.py (for module cairocffi._generated.ffi_pixbuf) not found
creating /var/tmp/portage/dev-python/cairocffi-1.1.0/work/cairocffi-1.1.0-python3_6/lib/cairocffi
copying cairocffi/test_xcb.py -> /var/tmp/portage/dev-python/cairocffi-1.1.0/work/cairocffi-1.1.0-python3_6/lib/cairocffi
copying cairocffi/xcb.py -> /var/tmp/portage/dev-python/cairocffi-1.1.0/work/cairocffi-1.1.0-python3_6/lib/cairocffi
copying cairocffi/test_pixbuf.py -> /var/tmp/portage/dev-python/cairocffi-1.1.0/work/cairocffi-1.1.0-python3_6/lib/cairocffi
copying cairocffi/test_cairo.py -> /var/tmp/portage/dev-python/cairocffi-1.1.0/work/cairocffi-1.1.0-python3_6/lib/cairocfficopying cairocffi/surfaces.py -> /var/tmp/portage/dev-python/cairocffi-1.1.0/work/cairocffi-1.1.0-python3_6/lib/cairocffi
copying cairocffi/pixbuf.py -> /var/tmp/portage/dev-python/cairocffi-1.1.0/work/cairocffi-1.1.0-python3_6/lib/cairocffi
copying cairocffi/patterns.py -> /var/tmp/portage/dev-python/cairocffi-1.1.0/work/cairocffi-1.1.0-python3_6/lib/cairocffi
copying cairocffi/matrix.py -> /var/tmp/portage/dev-python/cairocffi-1.1.0/work/cairocffi-1.1.0-python3_6/lib/cairocffi
copying cairocffi/fonts.py -> /var/tmp/portage/dev-python/cairocffi-1.1.0/work/cairocffi-1.1.0-python3_6/lib/cairocffi
copying cairocffi/ffi_build.py -> /var/tmp/portage/dev-python/cairocffi-1.1.0/work/cairocffi-1.1.0-python3_6/lib/cairocffi
copying cairocffi/context.py -> /var/tmp/portage/dev-python/cairocffi-1.1.0/work/cairocffi-1.1.0-python3_6/lib/cairocffi
copying cairocffi/constants.py -> /var/tmp/portage/dev-python/cairocffi-1.1.0/work/cairocffi-1.1.0-python3_6/lib/cairocffi
copying cairocffi/__init__.py -> /var/tmp/portage/dev-python/cairocffi-1.1.0/work/cairocffi-1.1.0-python3_6/lib/cairocffi
copying cairocffi/VERSION -> /var/tmp/portage/dev-python/cairocffi-1.1.0/work/cairocffi-1.1.0-python3_6/lib/cairocffi
file cairocffi/_generated/ffi.py (for module cairocffi._generated.ffi) not found
file cairocffi/_generated/ffi_pixbuf.py (for module cairocffi._generated.ffi_pixbuf) not found
warning: build_py_make_mod: byte-compiling is disabled, skipping.

generating cffi module '/var/tmp/portage/dev-python/cairocffi-1.1.0/work/cairocffi-1.1.0-python3_6/lib/cairocffi/_generated/ffi.py'
creating /var/tmp/portage/dev-python/cairocffi-1.1.0/work/cairocffi-1.1.0-python3_6/lib/cairocffi/_generated
generating cffi module '/var/tmp/portage/dev-python/cairocffi-1.1.0/work/cairocffi-1.1.0-python3_6/lib/cairocffi/_generated/ffi_pixbuf.py'
 * Using python3.6 in global scope
 * python3_6: running distutils-r1_run_phase python_compile_all
python3.6 setup.py build_sphinx
running build_sphinx
error: error in 'source_dir' option: 'docs' does not exist or is not a directory
 * ERROR: dev-python/cairocffi-1.1.0::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 4307:  Called distutils-r1_src_compile
 *   environment, line 2483:  Called _distutils-r1_run_common_phase 'python_compile_all'
 *   environment, line 1710:  Called multibuild_foreach_variant 'distutils-r1_run_phase' 'python_compile_all'
 *   environment, line 3336:  Called _multibuild_run 'distutils-r1_run_phase' 'python_compile_all'
 *   environment, line 3334:  Called distutils-r1_run_phase 'python_compile_all'
 *   environment, line 2471:  Called python_compile_all
 *   environment, line 3665:  Called esetup.py 'build_sphinx'
 *   environment, line 2872:  Called die
 * The specific snippet of code:
 *       "${@}" || die "${die_args[@]}";
 *
 * If you need support, post the output of `emerge --info '=dev-python/cairocffi-1.1.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/cairocffi-1.1.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/dev-python/cairocffi-1.1.0:20200327-082105.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/cairocffi-1.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/cairocffi-1.1.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/cairocffi-1.1.0/work/cairocffi-1.1.0'
 * S: '/var/tmp/portage/dev-python/cairocffi-1.1.0/work/cairocffi-1.1.0'
Comment 1 Alessandro Barbieri 2020-03-27 15:44:07 UTC
Created attachment 626416 [details]
cairocffi-1.1.0:20200327-082105.log

buildlog
Comment 2 Alessandro Barbieri 2020-03-27 15:45:17 UTC
Created attachment 626418 [details]
info

emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2020-06-05 16:24:39 UTC
The bug has been closed via the following commit(s):

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

commit b1196d549dabf334b4e1476a59870ec3ba258a37
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-06-05 16:17:06 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-06-05 16:24:32 +0000

    dev-python/cairocffi: Port to py39, remove docs
    
    Closes: https://bugs.gentoo.org/715060
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/cairocffi/cairocffi-1.1.0.ebuild | 34 ++++++-----------------------
 1 file changed, 7 insertions(+), 27 deletions(-)