Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905086 - =dev-python/matplotlib-3.7.2 missing dep on pybind11
Summary: =dev-python/matplotlib-3.7.2 missing dep on pybind11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-25 20:14 UTC by Rick Farina (Zero_Chaos)
Modified: 2023-08-21 18:33 UTC (History)
1 user (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 Rick Farina (Zero_Chaos) gentoo-dev 2023-04-25 20:14:56 UTC
* Package:    dev-python/matplotlib-3.7.1:0
 * Repository: gentoo
 * Maintainer: sci@gentoo.org python@gentoo.org
 * USE:        abi_x86_64 amd64 cairo elibc_glibc kernel_linux python_targets_python3_10 python_targets_python3_11 qt5 userland_GNU
 * FEATURES:   compressdebug network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
 * Applying matplotlib-3.3.3-disable-lto.patch ...
 [ ok ]
 * Applying matplotlib-3.7.1-test.patch ...
 [ ok ]
 * Build system packages:
 *   dev-python/gpep517            : 13
 *   dev-python/installer          : 0.7.0
 *   dev-python/setuptools         : 67.6.1
 *   dev-python/setuptools-scm     : 7.1.0
 *   dev-python/wheel              : 0.40.0
 * python3_10: running distutils-r1_run_phase python_configure
 * python3_11: running distutils-r1_run_phase python_configure
 * Using python3.11 in global scope
 * python3_11: running distutils-r1_run_phase python_configure_all
 * python3_10: running distutils-r1_run_phase python_compile
 *   Building the wheel for matplotlib-3.7.1 via setuptools.build_meta
gpep517 build-wheel --backend setuptools.build_meta --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/matplotlib-3.7.1/work/matplotlib-3.7.1-python3_10/wheel
2023-04-25 19:29:34,591 gpep517 INFO Building wheel via backend setuptools.build_meta
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.10/gpep517", line 4, in <module>
    sys.exit(main())
  File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 406, in main
    return func(args)
  File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 202, in build_wheel
    print(build_wheel_impl(args, args.wheel_dir), file=out)
  File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 194, in build_wheel_impl
    wheel_name = backend.build_wheel(str(wheel_dir), args.config_json)
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 413, in build_wheel
    return self._build_with_temp_dir(['bdist_wheel'], '.whl',
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 398, in _build_with_temp_dir
    self.run_setup()
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 335, in run_setup
    exec(code, locals())
  File "<string>", line 40, in <module>
  File "/var/tmp/portage/dev-python/matplotlib-3.7.1/work/matplotlib-3.7.1/setupext.py", line 19, in <module>
    from pybind11.setup_helpers import Pybind11Extension
ModuleNotFoundError: No module named 'pybind11'
 * ERROR: dev-python/matplotlib-3.7.1::gentoo failed (compile phase):
 *   Wheel build failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 4389:  Called distutils-r1_src_compile
 *   environment, line 2165:  Called _distutils-r1_run_foreach_impl 'python_compile'
 *   environment, line 1039:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3983:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3381:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3379:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 1449:  Called distutils-r1_run_phase 'python_compile'
 *   environment, line 2149:  Called python_compile
 *   environment, line 3726:  Called wrap_setup 'distutils-r1_python_compile'
 *   environment, line 5401:  Called distutils-r1_python_compile
 *   environment, line 1971:  Called distutils_pep517_install '/var/tmp/portage/dev-python/matplotlib-3.7.1/work/matplotlib-3.7.1-python3_10/install'
 *   environment, line 2507:  Called die
 * The specific snippet of code:
 *       [[ -n ${wheel} ]] || die "No wheel name returned";
 * 
 * If you need support, post the output of `emerge --info '=dev-python/matplotlib-3.7.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/matplotlib-3.7.1::gentoo'`.
 * The complete build log is located at '/var/log/portage/dev-python:matplotlib-3.7.1:20230425-192851.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/matplotlib-3.7.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/matplotlib-3.7.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/matplotlib-3.7.1/work/matplotlib-3.7.1'
 * S: '/var/tmp/portage/dev-python/matplotlib-3.7.1/work/matplotlib-3.7.1'
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-21 18:16:52 UTC
Please include emerge --info.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-21 18:17:51 UTC
Looks like a straightforward missing dependency, although I'm confused as to how nobody noticed before now.
Comment 3 Larry the Git Cow gentoo-dev 2023-08-21 18:33:06 UTC
The bug has been closed via the following commit(s):

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

commit 443c1209233a256c253068b46289bf9836d0375c
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2023-08-21 18:31:18 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-08-21 18:31:18 +0000

    dev-python/matplotlib: add missing bdep on pybind11
    
    Closes: https://bugs.gentoo.org/905086
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 dev-python/matplotlib/matplotlib-3.7.1.ebuild | 1 +
 dev-python/matplotlib/matplotlib-3.7.2.ebuild | 1 +
 2 files changed, 2 insertions(+)