[Debian-pan-maintainers] Bug#1078311: pyvkfft: FTBFS: AttributeError: module 'docutils.nodes' has no attribute 'reprunicode'

Santiago Vila sanvila at debian.org
Fri Aug 9 13:18:06 BST 2024


Package: src:pyvkfft
Version: 2024.1.2+ds1-2
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  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.12 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 "
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 "
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft
copying pyvkfft/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft
copying pyvkfft/tune.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft
copying pyvkfft/benchmark.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft
copying pyvkfft/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft
copying pyvkfft/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft
copying pyvkfft/fft.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft
copying pyvkfft/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft
copying pyvkfft/cuda.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft
copying pyvkfft/accuracy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft
copying pyvkfft/opencl.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft/scripts
copying pyvkfft/scripts/pyvkfft_test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft/scripts
copying pyvkfft/scripts/pyvkfft_test_suite.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft/scripts
copying pyvkfft/scripts/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft/scripts
copying pyvkfft/scripts/pyvkfft_benchmark.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft/scripts
copying pyvkfft/scripts/pyvkfft_info.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft/scripts
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft/test
copying pyvkfft/test/_test_opencl_lib.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft/test
copying pyvkfft/test/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft/test
copying pyvkfft/test/_test_cuda_lib.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft/test
copying pyvkfft/test/test_fft.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft/test
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
creating build/temp.linux-x86_64-cpython-312
creating build/temp.linux-x86_64-cpython-312/src
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -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.12 -c src/vkfft_opencl.cpp -o build/temp.linux-x86_64-cpython-312/src/vkfft_opencl.o -std=c++11 -Wno-format-security -DVKFFT_MAX_FFT_DIMENSIONS=8
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
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)")
       |                                                                                                        ^
In file included from /usr/include/vkFFT/vkFFT_CodeGen/vkFFT_KernelsLevel2/vkFFT_FFT.h:46,
                  from /usr/include/vkFFT/vkFFT_PlanManagement/vkFFT_Plans/vkFFT_Plan_FFT.h:31,
                  from /usr/include/vkFFT/vkFFT_AppManagement/vkFFT_InitializeApp.h:30,
                  from /usr/include/vkFFT.h:106:
In function ‘void appendKernelStart_R2C(VkFFTSpecializationConstantsLayout*, int)’,
     inlined from ‘VkFFTResult shaderGen_R2C_even_decomposition(VkFFTSpecializationConstantsLayout*, int)’ at /usr/include/vkFFT/vkFFT_CodeGen/vkFFT_KernelsLevel2/vkFFT_R2C_even_decomposition.h:71:23:
/usr/include/vkFFT/vkFFT_CodeGen/vkFFT_KernelsLevel0/vkFFT_KernelStartEnd.h:351:38: warning: ‘vecType’ may be used uninitialized [-Wmaybe-uninitialized]
   351 |                 sc->tempLen = sprintf(sc->tempStr, ", __global %s* twiddleLUT", vecType->name);
       |                               ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/vkFFT/vkFFT_CodeGen/vkFFT_KernelsLevel0/vkFFT_KernelStartEnd.h: In function ‘VkFFTResult shaderGen_R2C_even_decomposition(VkFFTSpecializationConstantsLayout*, int)’:
/usr/include/vkFFT/vkFFT_CodeGen/vkFFT_KernelsLevel0/vkFFT_KernelStartEnd.h:260:22: note: ‘vecType’ was declared here
   260 |         PfContainer* vecType;
       |                      ^~~~~~~
In function ‘void appendKernelStart_R2C(VkFFTSpecializationConstantsLayout*, int)’,
     inlined from ‘VkFFTResult shaderGen_R2C_even_decomposition(VkFFTSpecializationConstantsLayout*, int)’ at /usr/include/vkFFT/vkFFT_CodeGen/vkFFT_KernelsLevel2/vkFFT_R2C_even_decomposition.h:71:23:
/usr/include/vkFFT/vkFFT_CodeGen/vkFFT_KernelsLevel0/vkFFT_KernelStartEnd.h:347:30: warning: ‘inputMemoryType’ may be used uninitialized [-Wmaybe-uninitialized]
   347 |         sc->tempLen = sprintf(sc->tempStr, "(__global %s* inputs, __global %s* outputs", inputMemoryType->name, outputMemoryType->name);
       |                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/vkFFT/vkFFT_CodeGen/vkFFT_KernelsLevel0/vkFFT_KernelStartEnd.h: In function ‘VkFFTResult shaderGen_R2C_even_decomposition(VkFFTSpecializationConstantsLayout*, int)’:
/usr/include/vkFFT/vkFFT_CodeGen/vkFFT_KernelsLevel0/vkFFT_KernelStartEnd.h:263:22: note: ‘inputMemoryType’ was declared here
   263 |         PfContainer* inputMemoryType;
       |                      ^~~~~~~~~~~~~~~
In function ‘void appendKernelStart_R2C(VkFFTSpecializationConstantsLayout*, int)’,
     inlined from ‘VkFFTResult shaderGen_R2C_even_decomposition(VkFFTSpecializationConstantsLayout*, int)’ at /usr/include/vkFFT/vkFFT_CodeGen/vkFFT_KernelsLevel2/vkFFT_R2C_even_decomposition.h:71:23:
/usr/include/vkFFT/vkFFT_CodeGen/vkFFT_KernelsLevel0/vkFFT_KernelStartEnd.h:347:30: warning: ‘outputMemoryType’ may be used uninitialized [-Wmaybe-uninitialized]
   347 |         sc->tempLen = sprintf(sc->tempStr, "(__global %s* inputs, __global %s* outputs", inputMemoryType->name, outputMemoryType->name);
       |                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/vkFFT/vkFFT_CodeGen/vkFFT_KernelsLevel0/vkFFT_KernelStartEnd.h: In function ‘VkFFTResult shaderGen_R2C_even_decomposition(VkFFTSpecializationConstantsLayout*, int)’:
/usr/include/vkFFT/vkFFT_CodeGen/vkFFT_KernelsLevel0/vkFFT_KernelStartEnd.h:265:22: note: ‘outputMemoryType’ was declared here
   265 |         PfContainer* outputMemoryType;
       |                      ^~~~~~~~~~~~~~~~
x86_64-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -O2 -Werror=implicit-function-declaration -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-312/src/vkfft_opencl.o -L/usr/lib/x86_64-linux-gnu -lOpenCL -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyvkfft/build/pyvkfft/_vkfft_opencl.cpython-312-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.12_pyvkfft/build
env PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_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 v7.4.7
loading translations [en]... done
making output directory... done
WARNING: html_static_path entry '_static' does not exist
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 21 source files that are out of date
updating environment: [new config] 21 added, 0 changed, 0 removed
reading sources... [  5%] accuracy
reading sources... [ 10%] api/core-fft
reading sources... [ 14%] api/index
reading sources... [ 19%] api/simple-fft
reading sources... [ 24%] api/testing
Matplotlib created a temporary cache directory at /tmp/matplotlib-levkoxzl because the default path (/sbuild-nonexistent/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
reading sources... [ 29%] changelog
reading sources... [ 33%] examples/accuracy
../README.rst:2: CRITICAL: Missing matching underline for section title overline.

--------
See the accuracy notebook, which allows to compare the accuracy for different
FFT libraries (pyvkfft with different options and backend, scikit-cuda (cuFFT),
/<<PKGBUILDDIR>>/pyvkfft/tune.py:docstring of pyvkfft.tune.tune_vkfft:16: ERROR: Unexpected indentation.
/<<PKGBUILDDIR>>/pyvkfft/tune.py:docstring of pyvkfft.tune.tune_vkfft:79: ERROR: Unexpected indentation.
../CHANGELOG.rst:38: WARNING: Title underline too short.

Version 2023.2.post1 (2023-09-21)
-----------------------------
../CHANGELOG.rst:38: WARNING: Title underline too short.

Version 2023.2.post1 (2023-09-21)
-----------------------------

Exception occurred:
   File "/usr/lib/python3/dist-packages/nbsphinx_link/__init__.py", line 192, in parse
     path = nodes.reprunicode(path)
            ^^^^^^^^^^^^^^^^^
AttributeError: module 'docutils.nodes' has no attribute 'reprunicode'
The full traceback has been saved in /tmp/sphinx-err-urbznl1z.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
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
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202408/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.



More information about the Debian-pan-maintainers mailing list