🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.rc
2 messages
2 total messages Started by Sebastian Ramacher Mon, 23 Nov 2026 20:10
Bug#1155051: pyopencl: FTBFS on riscv64: ERROR test_algorithm.py - pyopencl._cl.LogicError: clGetPlatformIDs failed: PLATFORM_NO...
#3998
Author: Sebastian Ramacher
Date: Mon, 23 Nov 2026 20:10
47 lines
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
Bug#1155051: marked as done (pyopencl: FTBFS on riscv64: ERROR test_algorithm.py - pyopencl._cl.LogicError: clGetPlatformIDs fa...
#4145
Author: Debian Bug Tracking System
Date: Tue, 24 Nov 2026 23:10
240 lines
13807 bytes
This is a multi-part message in MIME format...

------------=_1795561623-2677880-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Wed, 25 Nov 2026 00:04:01 +0100
with message-id <awYX4afBRlK0Azpn@aurel32.net>
and subject line Re: Bug#1155051: pyopencl: FTBFS on riscv64: ERROR test_al=
gorithm.py - pyopencl._cl.LogicError: clGetPlatformIDs failed: PLATFORM_NOT=
_FOUND_KHR
has caused the Debian Bug report #1155051,
regarding pyopencl: FTBFS on riscv64: ERROR test_algorithm.py - pyopencl._c=
l.LogicError: clGetPlatformIDs failed: PLATFORM_NOT_FOUND_KHR
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


--=20
1155051: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1155051
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1795561623-2677880-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 23 Nov 2026 20:01:10 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-107.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
	FROMDEVELOPER,SPF_HELO_NONE,SPF_PASS,USER_IN_DKIM_WELCOMELIST
	autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 24; hammy, 150; neutral, 94; spammy,
	0. spammytokens:
	hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
	0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
	0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <sramacher@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:57292)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <sramacher@debian.org>)
	id 1xVaDv-0070zC-2S
	for submit@bugs.debian.org;
	Mon, 23 Nov 2026 20:01:10 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.stravinsky; h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
	Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
	Content-Description:In-Reply-To:References;
	bh=ZGNdSMgsWwc4J6WhKEjtD6t+S0PB+STy7+foYTaljTQ=; b=tinefarlxbg+RukH0AtjaelHba
	xrFjfAlJcMNNxBxkgpdsOknKI1LinCvMu+1TH3HJH8Ln3Aly3GdUVNZTHXjdMN/Lf1CXCS0Q4uGyP
	qPzU4TFuDL/a/3yN5L5epBE2SOniFpgk4klzNQPirxe/LvscUpt/TsnWapFHD/THlX1rzhpykU774
	6qGsv5sHMlqPjkYVqSuZ2+FS+nEp++UwEJ5ESuBvhSjVAaeNdsmDxiJOI3j6GVVxSeE6IDpnrkE2L
	cYGxjDz5CRPd+pVJjUYbfiVFKCMjRV+FM46b1RPLhHrNwaZxhpv/x6Es8Shob5+P+Qen8woV2jWGX
	9NvI441w==;
Received: from authenticated-user
	by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <sramacher@debian.org>)
	id 1xVaDt-005S6K-1I
	for submit@bugs.debian.org;
	Mon, 23 Nov 2026 20:01:09 +0000
Received: by jupiter.ramacher.at (Postfix, from userid 1000)
	id 20FB110001FFB; Mon, 23 Nov 2026 21:01:09 +0100 (CET)
Date: Mon, 23 Nov 2026 21:01:09 +0100
From: Sebastian Ramacher <sramacher@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: pyopencl: FTBFS on riscv64: ERROR test_algorithm.py -
 pyopencl._cl.LogicError: clGetPlatformIDs failed: PLATFORM_NOT_FOUND_KHR
Message-ID: <awSbhbjbHur5w6IY@ramacher.at>
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
Delivered-To: submit@bugs.debian.org

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

------------=_1795561623-2677880-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1155051-done) by bugs.debian.org; 24 Nov 2026 23:04:05 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-108.2 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
	HAS_BUG_NUMBER,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,
	USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 12; hammy, 150; neutral, 60; spammy,
	0. spammytokens:
	hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
	0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
	0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <aurel32@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:38828)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <aurel32@debian.org>)
	id 1xVzYU-00BEKs-1m
	for 1155051-done@bugs.debian.org;
	Tue, 24 Nov 2026 23:04:05 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.stravinsky; h=X-Debian-User:In-Reply-To:Content-Type:MIME-Version:
	References:Message-ID:Subject:To:From:Date:Reply-To:Cc:
	Content-Transfer-Encoding:Content-ID:Content-Description;
	bh=imMamXY9XFS5N+aJyB4qMrgbUiRz7CCm3ESKSsglpu4=; b=dKuAAOsLuXylzkw9hLDGw0ZdIL
	HoPdCTsqTbWPDl44nFHMw39mJwP9mVrmNf/ryX+E9FC4gGeFv5HpkwshhKyt2eq0ybNxNpGuWowJv
	zG/ln3smM7hSl4E/MAEEynXZXZlE3PdSolUixrBsqRvF9YXtDcXQpzgpz7kgSCqg5Ygs0DEdevI9C
	9/P7y1HLaQhO4w7j3W3JIwyifp1Ib9H6+/BJoxjtlt2YSKzxcSBcr0yqi4+TNE8hxfokNkXHPemNf
	fL3CwpWGuFdXPmRVW+XjHyD1gXBZtam8Zbej05shpJgGHbwVD+9zvvMt21AWpJsT08WPa9kVlNzAc
	pSW/Ga6Q==;
Received: from authenticated-user
	by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <aurel32@debian.org>)
	id 1xVzYS-006KwV-02
	for 1155051-done@bugs.debian.org;
	Tue, 24 Nov 2026 23:04:04 +0000
Received: from authenticated user
	by hall.aurel32.net with esmtpsa  (TLS1.3)  tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
	(Exim 4.98.2)
	(envelope-from <aurel32@debian.org>)
	id 1xVzYQ-000000093jC-0LkL;
	Wed, 25 Nov 2026 00:04:02 +0100
Date: Wed, 25 Nov 2026 00:04:01 +0100
From: Aurelien Jarno <aurel32@debian.org>
To: Sebastian Ramacher <sramacher@debian.org>, 1155051-done@bugs.debian.org
Subject: Re: Bug#1155051: pyopencl: FTBFS on riscv64: ERROR test_algorithm.py
 - pyopencl._cl.LogicError: clGetPlatformIDs failed: PLATFORM_NOT_FOUND_KHR
Message-ID: <awYX4afBRlK0Azpn@aurel32.net>
References: <awSbhbjbHur5w6IY@ramacher.at>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <awSbhbjbHur5w6IY@ramacher.at>
User-Agent: Mutt/2.4.1 (2026-07-04)
X-Debian-User: aurel32

Hi,

On 2026-11-23 21:01, Sebastian Ramacher wrote:
> 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 ==============================

This was due to mesa not being functional, i.e. bug#1153522. It builds 
fine now, closing the bug.

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                     http://aurel32.net
------------=_1795561623-2677880-0--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads