Article View: linux.debian.bugs.rc
Article #3998Bug#1155051: pyopencl: FTBFS on riscv64: ERROR test_algorithm.py - pyopencl._cl.LogicError: clGetPlatformIDs failed: PLATFORM_NO...
From: Sebastian Ramacher
Date: Mon, 23 Nov 2026 20:10
Date: Mon, 23 Nov 2026 20:10
47 lines
4970 bytes
4970 bytes
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: debian-riscv@lists.debian.org, sramacher@debian.org, themill@debian.org
User: debian-riscv@lists.debian.org
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
Technical Details
Message-ID:
<O2Iwp-dJDa-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Sebastian Ramacher <sramacher@debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1155051: pyopencl: FTBFS on riscv64: ERROR test_algorithm.py - pyopencl._cl.LogicError: clGetPlatformIDs failed: PLATFORM_NOT_FOUND_KHR Date: Mon, 23 Nov 2026 21:10:01 +0100 Message-ID: <O2Iwp-dJDa-7@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Mon Nov 23 20:03:09 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Sebastian Ramacher <sramacher@debian.org>, 1155051@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-riscv@lists.debian.org, sramacher@debian.org, themill@debian.org, pkg-opencl-devel@lists.alioth.debian.org X-Debian-Pr-Message: report 1155051 X-Debian-Pr-Package: src:pyopencl X-Debian-Pr-Keywords: ftbfs X-Debian-Pr-Source: pyopencl MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Reportbug-Version: 13.2.0+nmu1 X-Debian-User: sramacher X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/839358 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 47 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 23 Nov 2026 21:01:09 +0100 X-Original-Message-ID: <awSbhbjbHur5w6IY@ramacher.at>