Source: pyopencl
Version: 2025.1-2.1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: [email protected], [email protected], 
[email protected]
User: [email protected]
Usertags: riscv64

Dear maintainer,

pyopencl FTBFS on riscv64:

=========================== short test summary info ============================
ERROR test_algorithm.py - pyopencl._cl.LogicError: clGetPlatformIDs failed: 
PLATFORM_NOT_FOUND_KHR
ERROR test_array.py - pyopencl._cl.LogicError: clGetPlatformIDs failed: 
PLATFORM_NOT_FOUND_KHR
ERROR test_arrays_in_structs.py - pyopencl._cl.LogicError: clGetPlatformIDs 
failed: PLATFORM_NOT_FOUND_KHR
ERROR test_clmath.py - pyopencl._cl.LogicError: clGetPlatformIDs failed: 
PLATFORM_NOT_FOUND_KHR
ERROR test_clrandom.py - pyopencl._cl.LogicError: clGetPlatformIDs failed: 
PLATFORM_NOT_FOUND_KHR
ERROR test_enqueue_copy.py - pyopencl._cl.LogicError: clGetPlatformIDs failed: 
PLATFORM_NOT_FOUND_KHR
ERROR test_wrapper.py - pyopencl._cl.LogicError: clGetPlatformIDs failed: 
PLATFORM_NOT_FOUND_KHR
!!!!!!!!!!!!!!!!!!! Interrupted: 7 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 7 errors in 10.25s ==============================
E: pybuild pybuild:485: test: plugin custom failed with: exit code=2: 
PYTHONPATH=/build/reproducible-path/pyopencl-2025.1/.pybuild/cpython3_3.14/build
 cp -r /build/reproducible-path/pyopencl-2025.1/test 
/build/reproducible-path/pyopencl-2025.1/.pybuild/cpython3_3.14/build && cd 
/build/reproducible-path/pyopencl-2025.1/.pybuild/cpython3_3.14/build/test && 
python3.14 -m pytest --verbosity=2 -k 'not test_event_set_callback' && rm -rf 
/build/reproducible-path/pyopencl-2025.1/.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 444, in wrapped_func
    raise Exception(msg)
Exception: exit code=2: 
PYTHONPATH=/build/reproducible-path/pyopencl-2025.1/.pybuild/cpython3_3.14/build
 cp -r /build/reproducible-path/pyopencl-2025.1/test 
/build/reproducible-path/pyopencl-2025.1/.pybuild/cpython3_3.14/build && cd 
/build/reproducible-path/pyopencl-2025.1/.pybuild/cpython3_3.14/build/test && 
python3.14 -m pytest --verbosity=2 -k 'not test_event_set_callback' && rm -rf 
/build/reproducible-path/pyopencl-2025.1/.pybuild/cpython3_3.14/build/test
        rm -fr -- /tmp/dh-xdg-rundir-_oeVhnmk
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.15 
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=8 returned 
exit code 13
make[1]: *** [debian/rules:38: override_dh_auto_test] Error 25

See
https://buildd.debian.org/status/fetch.php?pkg=pyopencl&arch=riscv64&ver=2025.1-2.1&stamp=1794974801&raw=0
for the full build log.

Cheers
-- 
Sebastian Ramacher

Reply via email to