[Pkg-opencl-devel] Bug#1149461: pyopencl: FTBFS: FAILED test_array.py::test_xdg_cache_home[<context factory for <pyopencl.Device 'cpu-skylake-avx512-AMD EPYC 9R14' on 'Portable Computing Language'>>] - FileNotFoundError: [Errno 2] No such file or directory: 'tmpdir_pyopencl_xdg_test'

Santiago Vila sanvila at debian.org
Wed Sep 30 00:06:10 BST 2026


Package: src:pyopencl
Version: 2025.1-2
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/202609/

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:pyopencl, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/test/test_wrapper.py:1513: DeprecationWarning: Non-descriptor Image constructor called. This will stop working in 2026. Use create_image instead (with the same arguments).
    image2_array_cl = cl.Image(ctx, cl.mem_flags.WRITE_ONLY,

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED test_array.py::test_xdg_cache_home[<context factory for <pyopencl.Device 'cpu-skylake-avx512-AMD EPYC 9R14' on 'Portable Computing Language'>>] - FileNotFoundError: [Errno 2] No such file or directory: 'tmpdir_pyopencl_xdg_test'
= 1 failed, 297 passed, 6 skipped, 1 deselected, 2 xfailed, 223 warnings in 209.39s (0:03:29) =
E: pybuild pybuild:485: test: plugin custom failed with: exit code=1: PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build cp -r /<<PKGBUILDDIR>>/test /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build && cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/test && python3.14 -m pytest --verbosity=2 -k 'not test_event_set_callback' && rm -rf /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/test
Traceback (most recent call last):
  File "/usr/bin/pybuild", line 483, in main
    run(func, i, version, c)
    ~~~^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/pybuild", line 407, in run
    func(context, args)
    ~~~~^^^^^^^^^^^^^^^
  File "/usr/share/dh-python/dhpython/build/base.py", line 123, in __copy_test_files
    return func(self, context, args, *oargs, **kwargs)
  File "/usr/share/dh-python/dhpython/build/base.py", line 446, in wrapped_func
    raise Exception(msg)
Exception: exit code=1: PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build cp -r /<<PKGBUILDDIR>>/test /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build && cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/test && python3.14 -m pytest --verbosity=2 -k 'not test_event_set_callback' && rm -rf /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/test
	rm -fr -- /tmp/dh-xdg-rundir-pHFgrbIl
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 -s custom --test-args="PYTHONPATH={build_dir} cp -r {dir}/test {build_dir} && cd {build_dir}/test && {interpreter} -m pytest --verbosity=2 -k 'not test_event_set_callback' && rm -rf {build_dir}/test" --parallel=1 returned exit code 13
make[1]: *** [debian/rules:38: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:24: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-opencl-devel mailing list