[Debian-pan-maintainers] Bug#1118325: pyvkfft: FTBFS: sphinx.errors.ExtensionError: Could not import extension nbsphinx_link (exception: No module named 'docutils.utils.error_reporting')
Santiago Vila
sanvila at debian.org
Sat Oct 18 00:09:18 BST 2025
Package: src:pyvkfft
Version: 2024.1.4+ds1-3.1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202510/
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 cannot 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:pyvkfft, 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
I: pybuild base:311: python3.13 setup.py clean
/<<PKGBUILDDIR>>/setup.py:221: UserWarning: CUDA not available ($CUDAHOME/$CUDA_PATH variables missing and nvcc not in path. Skipping pyvkfft.cuda module installation.
warnings.warn("CUDA not available ($CUDAHOME/$CUDA_PATH variables missing "
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
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
I: pybuild base:311: python3.13 setup.py config
/<<PKGBUILDDIR>>/setup.py:221: UserWarning: CUDA not available ($CUDAHOME/$CUDA_PATH variables missing and nvcc not in path. Skipping pyvkfft.cuda module installation.
warnings.warn("CUDA not available ($CUDAHOME/$CUDA_PATH variables missing "
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
running config
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
/<<PKGBUILDDIR>>/setup.py:221: UserWarning: CUDA not available ($CUDAHOME/$CUDA_PATH variables missing and nvcc not in path. Skipping pyvkfft.cuda module installation.
warnings.warn("CUDA not available ($CUDAHOME/$CUDA_PATH variables missing "
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft
copying pyvkfft/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft
copying pyvkfft/cuda.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft
copying pyvkfft/fft.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft
copying pyvkfft/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft
copying pyvkfft/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft
copying pyvkfft/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft
copying pyvkfft/accuracy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft
copying pyvkfft/tune.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft
copying pyvkfft/opencl.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft
copying pyvkfft/benchmark.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft/test
copying pyvkfft/test/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft/test
copying pyvkfft/test/test_fft.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft/test
copying pyvkfft/test/_test_opencl_lib.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft/test
copying pyvkfft/test/_test_cuda_lib.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft/test
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft/scripts
copying pyvkfft/scripts/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft/scripts
copying pyvkfft/scripts/pyvkfft_info.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft/scripts
copying pyvkfft/scripts/pyvkfft_test_suite.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft/scripts
copying pyvkfft/scripts/pyvkfft_test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft/scripts
copying pyvkfft/scripts/pyvkfft_benchmark.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft/scripts
running egg_info
creating pyvkfft.egg-info
writing pyvkfft.egg-info/PKG-INFO
writing dependency_links to pyvkfft.egg-info/dependency_links.txt
writing entry points to pyvkfft.egg-info/entry_points.txt
writing requirements to pyvkfft.egg-info/requires.txt
writing top-level names to pyvkfft.egg-info/top_level.txt
writing manifest file 'pyvkfft.egg-info/SOURCES.txt'
dependency vkFFT.h won't be automatically included in the manifest: the path doesn't exist
reading manifest file 'pyvkfft.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.h' under directory 'src/VkFFT/vkFFT'
warning: no files found matching 'src/VkFFT/README.md'
warning: no files found matching 'src/VkFFT/LICENSE'
adding license file 'LICENSE'
writing manifest file 'pyvkfft.egg-info/SOURCES.txt'
running build_ext
building 'pyvkfft._vkfft_opencl' extension
creating build/temp.linux-x86_64-cpython-313/src
x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Isrc/VkFFT/vkFFT -Isrc -I/usr/include/python3.13 -c src/vkfft_opencl.cpp -o build/temp.linux-x86_64-cpython-313/src/vkfft_opencl.o -std=c++11 -Wno-format-security -DVKFFT_MAX_FFT_DIMENSIONS=8
In file included from /usr/include/CL/cl.h:20,
from /usr/include/vkFFT.h:60,
from src/vkfft_opencl.cpp:15:
/usr/include/CL/cl_version.h:22:104: note: â#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)â
22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
| ^
x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-313/src/vkfft_opencl.o -L/usr/lib/x86_64-linux-gnu -lOpenCL -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build/pyvkfft/_vkfft_opencl.cpython-313-x86_64-linux-gnu.so --shared
debian/rules execute_after_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
I: pybuild base:311: echo /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build
env PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyvkfft/build \
SPHINXBUILD="python3 -m sphinx" \
SPHINXOPTS="-D mathjax_path=MathJax.js" \
/usr/bin/make -C doc html
make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
Running Sphinx v8.2.3
loading translations [en]... done
Extension error!
Versions
========
* Platform: linux; (Linux-6.12.48+deb13-cloud-amd64-x86_64-with-glibc2.41)
* Python version: 3.13.9 (CPython)
* Sphinx version: 8.2.3
* Docutils version: 0.22.2
* Jinja2 version: 3.1.6
* Pygments version: 2.18.0
Last Messages
=============
None.
Loaded Extensions
=================
None.
Traceback
=========
File "/usr/lib/python3/dist-packages/sphinx/registry.py", line 544, in load_extension
raise ExtensionError(
__('Could not import extension %s') % extname, err
) from err
sphinx.errors.ExtensionError: Could not import extension nbsphinx_link (exception: No module named 'docutils.utils.error_reporting')
The full traceback has been saved in:
/tmp/sphinx-err-bexi5ljv.log
To report this error to the developers, please open an issue at <https://github.com/sphinx-doc/sphinx/issues/>. Thanks!
Please also report this if it was a user error, so that a better error message can be provided next time.
make[2]: *** [Makefile:20: html] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
make[1]: *** [debian/rules:11: execute_after_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Debian-pan-maintainers
mailing list