Dear Santiago,

On Sat, 11 May 2024 21:46:59 +0200 Santiago Vila <sanv...@debian.org> wrote:
Package: src:compyle
Version: 0.7-2
Severity: serious
Control: close -1 0.8.1-4
Tags: ftbfs bullseye

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary --with python3 --buildsystem=pybuild
    dh_update_autotools_config -O--buildsystem=pybuild
    dh_autoreconf -O--buildsystem=pybuild
    dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:232: python3.9 setup.py config
running config
    dh_auto_build -O--buildsystem=pybuild
I: pybuild base:232: /usr/bin/python3 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_compyle/build/compyle
copying compyle/ast_utils.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_compyle/build/compyle

[... snipped ...]

E       pyopencl._cl.RuntimeError: clBuildProgram failed: BUILD_PROGRAM_FAILURE 
- clBuildProgram failed: BUILD_PROGRAM_FAILURE - clBuildProgram failed: 
BUILD_PROGRAM_FAILURE
E
E       Build on <pyopencl.Device 'pthread-AMD EPYC 7R13 Processor' on 'Portable 
Computing Language' at 0x1794d00>:
E
E       error: unknown target CPU 'generic'
E
E       (options: -I /usr/lib/python3/dist-packages/pyopencl/cl)
E       (source saved as /tmp/tmp_oyjksbc.cl)

/usr/lib/python3/dist-packages/pyopencl/__init__.py:579: RuntimeError
________ TestParallelUtilsJIT.test_scan_works_with_external_func_opencl ________

func = <function ScanJIT._generate_kernel at 0x7f958eda5280>
args = (<compyle.jit.ScanJIT object at 0x7f9584ac46d0>,)
kwargs = {'ary': <compyle.array.Array object at 0x7f9584ac4610>}
key = ('gintp', <function TestParallelUtilsJIT._test_scan_with_external_func.<locals>.input_f 
at 0x7f95841ecb80>, <function 
TestParallelUtilsJIT._test_scan_with_external_func.<locals>.output_f at 0x7f957f8b1dc0>, 
'a+b', 'opencl', False, ...)

     @my_decorator
     def _deco(func, *args, **kwargs):
         # by Michele Simionato
         # http://www.phyast.pitt.edu/~micheles/python/
         key = key_func(*args, **kwargs)
         try:
>           return func._memoize_dic[key]  # pylint: disable=protected-access
E           KeyError: ('gintp', <function 
TestParallelUtilsJIT._test_scan_with_external_func.<locals>.input_f at 0x7f95841ecb80>, 
<function TestParallelUtilsJIT._test_scan_with_external_func.<locals>.output_f at 
0x7f957f8b1dc0>, 'a+b', 'opencl', False, True)

/usr/lib/python3/dist-packages/pytools/__init__.py:621: KeyError

During handling of the above exception, another exception occurred:

self = <compyle.tests.test_parallel.TestParallelUtilsJIT 
testMethod=test_scan_works_with_external_func_opencl>



I'm sorry but I have no clue about this issue.
Looking at the log It seems that the CPU is not recognized.
Not sure, however if the issue is in compyle or in pyopencl.

Do you have an idea if the updated versions of the package (e.g. the ones currently in stable or in unstable) build properly on the same platform?


kind regards
--
Antonio Valentino

Reply via email to