Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 927078

Summary: dev-python/numpy-1.26.4 build failure due to insufficent meson-python dep
Product: Gentoo Linux Reporter: Robin Johnson <robbat2>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: CONFIRMED ---    
Severity: normal CC: heroxbd, python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 925380    

Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2024-03-15 16:33:41 UTC
TL;DR: increase min version of meson-python dep for numpy, either in the ebuild, or in the eclass.

Build of numpy failed w/ dev-python/meson-python-0.14.0; portage had scheduled the upgrade of meson-python after numpy. Manually upgrading meson-python before numpy let it proceed fine.


 * Package:    dev-python/numpy-1.26.4:0
 * Repository: gentoo
 * Maintainer: sci@gentoo.org python@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux lapack python_targets_python3_11
 * FEATURES:   ccache network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
 * Using following Fortran compiler:
 *   F77: x86_64-pc-linux-gnu-gfortran
 *   FC:  x86_64-pc-linux-gnu-gfortran
>>> Unpacking source...
>>> Unpacking numpy-1.26.4.tar.gz to /dev/shm/portage/dev-python/numpy-1.26.4/work
>>> Source unpacked in /dev/shm/portage/dev-python/numpy-1.26.4/work
>>> Preparing source in /dev/shm/portage/dev-python/numpy-1.26.4/work/numpy-1.26.4 ...
 * Build system packages:
 *   dev-python/gpep517            : 15
 *   dev-python/installer          : 0.7.0
 *   dev-python/cython             : 3.0.8-r1
 *   dev-python/meson-python       : 0.14.0
>>> Source prepared.
>>> Configuring source in /dev/shm/portage/dev-python/numpy-1.26.4/work/numpy-1.26.4 ...
 * Using python3.11 in global scope
 * python3_11: running distutils-r1_run_phase python_configure_all
>>> Source configured.
>>> Compiling source in /dev/shm/portage/dev-python/numpy-1.26.4/work/numpy-1.26.4 ...
 * python3_11: running distutils-r1_run_phase distutils-r1_python_compile
 *   Building the wheel for numpy-1.26.4 via mesonpy
python3.11 -m gpep517 build-wheel --prefix=/usr --backend mesonpy --output-fd 3 --wheel-dir /dev/shm/portage/dev-python/numpy-1.26.4/work/numpy-1.26.4-python3_11/wheel --config-json {"builddir": "/dev/shm/portage/dev-python/numpy-1.26.4/work/numpy-1.26.4-python3_11", "setup-args": ["-Dallow-noblas=false", "-Dblas=cblas", "-Dlapack=lapack"], "compile-args": ["-v", "-j24", "-l22"]}
2024-03-14 21:45:35,917 gpep517 INFO Building wheel via backend mesonpy

meson-python: error: Unknown configuration entry "tool.meson-python.meson"
 * ERROR: dev-python/numpy-1.26.4::gentoo failed (compile phase):
 *   Wheel build failed
 *