[Pkg-opencl-devel] Bug#1116843: pyopencl: FTBFS with the nocheck build profile
Santiago Vila
sanvila at debian.org
Tue Sep 30 15:52:51 BST 2025
Package: src:pyopencl
Version: 2025.1-1
Severity: important
Tags: forky sid ftbfs
User: debian-qa at lists.debian.org
Usertags: ftbfs-nocheck-profile
Dear maintainer:
During a rebuild of all packages in unstable using the nocheck build profile,
your package failed to build.
Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202509/
A wiki page discussing how to reproduce bugs in this category and
possible solutions is available here:
https://wiki.debian.org/qa.debian.org/FTBFS/Nocheck
(It's a wiki, so you are welcome to contribute)
[ Note: This is RC, but I will wait at least two weeks before raising
the severities, there are a lot of gcc-15 and CMake 4 bugs open now ].
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:pyopencl, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem pybuild
dh_auto_clean -O--buildsystem=pybuild
pybuild --clean -i python{version} -p 3.13
D: pybuild pybuild:602: version: 6.20250414
D: pybuild pybuild:603: ['/usr/bin/pybuild', '--clean', '-i', 'python{version}', '-p', '3.13']
D: pybuild pybuild:39: cfg: Namespace(verbose=True, quiet=Fa [too-long-redacted] sable=None, custom_tests=False)
D: pybuild __init__:37: cannot initialize 'meson' plugin: Missing command 'meson'
D: pybuild tools:232: invoking: /usr/bin/dpkg-architecture
D: pybuild debhelper:166: skipping package python-pyopencl-doc (missing ${python3:Depends} in Depends/Recommends)
D: pybuild debhelper:174: source=pyopencl, binary packages=['python3-pyopencl']
D: pybuild pybuild:151: detected build system: pyproject (certainty: 99%)
D: pybuild debhelper:166: skipping package python-pyopencl-doc (missing ${python3:Depends} in Depends/Recommends)
D: pybuild debhelper:174: source=pyopencl, binary packages=['python3-pyopencl']
D: pybuild plugin_pyproject:94: removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build' (and everything under it)
rm -rf .pybuild/
find . -name \*.pyc -exec rm {} \;
debian/rules execute_after_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f -r doc/_build/
rm -f doc/constants.inc
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
rm -f debian/debhelper-build-stamp
rm -rf debian/.debhelper/
rm -f -- debian/python3-pyopencl.substvars debian/python-pyopencl-doc.substvars debian/files
rm -fr -- debian/python3-pyopencl/ debian/tmp/ debian/python-pyopencl-doc/
find . \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \)
debian/rules binary
dh binary --buildsystem pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
pybuild --configure -i python{version} -p 3.13
D: pybuild pybuild:602: version: 6.20250414
D: pybuild pybuild:603: ['/usr/bin/pybuild', '--configure', '-i', 'python{version}', '-p', '3.13']
D: pybuild pybuild:39: cfg: Namespace(verbose=True, quiet=Fa [too-long-redacted] sable=None, custom_tests=False)
D: pybuild __init__:37: cannot initialize 'meson' plugin: Missing command 'meson'
D: pybuild tools:232: invoking: /usr/bin/dpkg-architecture
D: pybuild debhelper:166: skipping package python-pyopencl-doc (missing ${python3:Depends} in Depends/Recommends)
D: pybuild debhelper:174: source=pyopencl, binary packages=['python3-pyopencl']
D: pybuild pybuild:151: detected build system: pyproject (certainty: 99%)
dh_auto_build -O--buildsystem=pybuild
pybuild --build -i python{version} -p 3.13
D: pybuild pybuild:602: version: 6.20250414
D: pybuild pybuild:603: ['/usr/bin/pybuild', '--build', '-i', 'python{version}', '-p', '3.13']
D: pybuild pybuild:39: cfg: Namespace(verbose=True, quiet=Fa [too-long-redacted] sable=None, custom_tests=False)
D: pybuild __init__:37: cannot initialize 'meson' plugin: Missing command 'meson'
D: pybuild tools:232: invoking: /usr/bin/dpkg-architecture
D: pybuild debhelper:166: skipping package python-pyopencl-doc (missing ${python3:Depends} in Depends/Recommends)
D: pybuild debhelper:174: source=pyopencl, binary packages=['python3-pyopencl']
D: pybuild pybuild:151: detected build system: pyproject (certainty: 99%)
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13
D: pybuild tools:232: invoking: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13
* Building wheel...
*** scikit-build-core 0.11.6 using CMake 3.31.6 (wheel)
*** Configuring CMake...
loading initial cache file /tmp/tmp26t9gfup/build/CMakeInit.txt
Re-run cmake no build system arguments
-- The CXX compiler identification is GNU 15.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CL_INC_DIR not set, trying to guess it from environment variables.
-- CL_INC_DIR not set, trying to guess it from conda environment.
-- CL_INC_DIR
-- CL_LIB_DIR
-- CL_LIBNAME
CMake Error at /usr/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
Could NOT find Python (missing: Python_NumPy_INCLUDE_DIRS Interpreter
Development.Module NumPy) (found version "3.13.7")
Call Stack (most recent call first):
/usr/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.31/Modules/FindPython.cmake:673 (find_package_handle_standard_args)
CMakeLists.txt:133 (find_package)
-- Configuring incomplete, errors occurred!
*** CMake configuration failed
ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13
Traceback (most recent call last):
File "/usr/bin/pybuild", line 387, in main
run(func, i, version, c)
~~~^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/pybuild", line 325, in run
result = func(context, args)
File "/usr/share/dh-python/dhpython/build/plugin_pyproject.py", line 108, in build
self.build_wheel(context, args)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/share/dh-python/dhpython/build/base.py", line 365, in wrapped_func
raise Exception(msg)
Exception: exit code=1: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13
dh_auto_build: error: pybuild --build -i python{version} -p 3.13 returned exit code 13
make: *** [debian/rules:24: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-opencl-devel
mailing list