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>

    def test_scan_works_with_external_func_opencl(self):
        importorskip('pyopencl')
      self._test_scan_with_external_func(backend='opencl')

compyle/tests/test_parallel.py:119:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
compyle/tests/test_parallel.py:712: in _test_scan_with_external_func
    scan(ary=a)
compyle/parallel.py:1242: in __call__
    self.scan(**kwargs)
compyle/profile.py:48: in wrapper
    return method(*args, **kwargs)
compyle/jit.py:526: in __call__
    c_func = self._generate_kernel(**kwargs)
<decorator-gen-12>:2: in _generate_kernel
    ???
/usr/lib/python3/dist-packages/pytools/__init__.py:628: in _deco
    result = func(*args, **kwargs)
compyle/jit.py:514: in _generate_kernel
    return self._generate(declarations=declarations)
compyle/parallel.py:902: in _generate
    return self._generate_opencl_kernel(declarations=declarations)
compyle/parallel.py:1095: in _generate_opencl_kernel
    knl = GenericScanKernel(
/usr/lib/python3/dist-packages/pyopencl/scan.py:1130: in __init__
    self.finish_setup()
/usr/lib/python3/dist-packages/pyopencl/scan.py:1187: in finish_setup
    self._finish_setup_impl()
/usr/lib/python3/dist-packages/pyopencl/scan.py:1284: in _finish_setup_impl
    candidate_scan_info = candidate_scan_gen_info.build(
/usr/lib/python3/dist-packages/pyopencl/scan.py:887: in build
    program = cl.Program(context, self.scan_src).build(options)
/usr/lib/python3/dist-packages/pyopencl/__init__.py:531: in build
    self._prg, was_cached = self._build_and_catch_errors(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pyopencl.Program object at 0x7f9584b4c5b0>
build_func = <function Program.build.<locals>.<lambda> at 0x7f958409d0d0>
options_bytes = b'-I /usr/lib/python3/dist-packages/pyopencl/cl'
source = '\n#define local_barrier() barrier(CLK_LOCAL_MEM_FENCE);\n\n#define 
WITHIN_KERNEL /* empty */\n#define KERNEL __kernel...       {\n            
psc_interval_results[psc_GID_0] = psc_partial_scan_buffer[psc_interval_end - 
1];\n        }\n}\n'

    def _build_and_catch_errors(self, build_func, options_bytes, source=None):
        try:
            return build_func()
        except _cl.RuntimeError as e:
            msg = str(e)
            if options_bytes:
                msg = msg + "\n(options: %s)" % options_bytes.decode("utf-8")
if source is not None:
                from tempfile import NamedTemporaryFile
                srcfile = NamedTemporaryFile(mode="wt", delete=False, 
suffix=".cl")
                try:
                    srcfile.write(source)
                finally:
                    srcfile.close()
msg = msg + "\n(source saved as %s)" % srcfile.name code = e.code
            routine = e.routine
err = _cl.RuntimeError(
                    _cl._ErrorRecord(
                        msg=msg,
                        code=code,
                        routine=routine))
# Python 3.2 outputs the whole list of currently active exceptions
        # This serves to remove one (redundant) level from that nesting.
      raise err
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/tmpbhzyyhmw.cl)

/usr/lib/python3/dist-packages/pyopencl/__init__.py:579: RuntimeError
_______________ TestParallelUtilsJIT.test_segmented_scan_opencl ________________

func = <function ScanJIT._generate_kernel at 0x7f958eda5280>
args = (<compyle.jit.ScanJIT object at 0x7f957ff23100>,)
kwargs = {'ary': <compyle.array.Array object at 0x7f957ff23bb0>, 'seg_flag': 
<compyle.array.Array object at 0x7f957ff23370>}
key = ('gintp', 'gintp', <function TestParallelUtilsJIT._test_segmented_scan.<locals>.input_f 
at 0x7f957ce9d550>, <function TestParallelUtilsJIT._test_segmented_scan.<locals>.output_f 
at 0x7f958468d040>, 'a+b', 'opencl', ...)

    @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', 'gintp', <function 
TestParallelUtilsJIT._test_segmented_scan.<locals>.input_f at 0x7f957ce9d550>, <function 
TestParallelUtilsJIT._test_segmented_scan.<locals>.output_f at 0x7f958468d040>, '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_segmented_scan_opencl>

    def test_segmented_scan_opencl(self):
        importorskip('pyopencl')
      self._test_segmented_scan(backend='opencl')

compyle/tests/test_parallel.py:158:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
compyle/tests/test_parallel.py:792: in _test_segmented_scan
    scan(ary=a, seg_flag=seg)
compyle/parallel.py:1242: in __call__
    self.scan(**kwargs)
compyle/profile.py:48: in wrapper
    return method(*args, **kwargs)
compyle/jit.py:526: in __call__
    c_func = self._generate_kernel(**kwargs)
<decorator-gen-12>:2: in _generate_kernel
    ???
/usr/lib/python3/dist-packages/pytools/__init__.py:628: in _deco
    result = func(*args, **kwargs)
compyle/jit.py:514: in _generate_kernel
    return self._generate(declarations=declarations)
compyle/parallel.py:902: in _generate
    return self._generate_opencl_kernel(declarations=declarations)
compyle/parallel.py:1095: in _generate_opencl_kernel
    knl = GenericScanKernel(
/usr/lib/python3/dist-packages/pyopencl/scan.py:1130: in __init__
    self.finish_setup()
/usr/lib/python3/dist-packages/pyopencl/scan.py:1187: in finish_setup
    self._finish_setup_impl()
/usr/lib/python3/dist-packages/pyopencl/scan.py:1284: in _finish_setup_impl
    candidate_scan_info = candidate_scan_gen_info.build(
/usr/lib/python3/dist-packages/pyopencl/scan.py:887: in build
    program = cl.Program(context, self.scan_src).build(options)
/usr/lib/python3/dist-packages/pyopencl/__init__.py:531: in build
    self._prg, was_cached = self._build_and_catch_errors(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pyopencl.Program object at 0x7f9584c0aeb0>
build_func = <function Program.build.<locals>.<lambda> at 0x7f957d108f70>
options_bytes = b'-I /usr/lib/python3/dist-packages/pyopencl/cl'
source = '\n#define local_barrier() barrier(CLK_LOCAL_MEM_FENCE);\n\n#define 
WITHIN_KERNEL /* empty */\n#define KERNEL 
__kernel...first_segment_start_in_interval[psc_GID_0] =\n                    
psc_first_segment_start_in_interval;\n        }\n}\n'

    def _build_and_catch_errors(self, build_func, options_bytes, source=None):
        try:
            return build_func()
        except _cl.RuntimeError as e:
            msg = str(e)
            if options_bytes:
                msg = msg + "\n(options: %s)" % options_bytes.decode("utf-8")
if source is not None:
                from tempfile import NamedTemporaryFile
                srcfile = NamedTemporaryFile(mode="wt", delete=False, 
suffix=".cl")
                try:
                    srcfile.write(source)
                finally:
                    srcfile.close()
msg = msg + "\n(source saved as %s)" % srcfile.name code = e.code
            routine = e.routine
err = _cl.RuntimeError(
                    _cl._ErrorRecord(
                        msg=msg,
                        code=code,
                        routine=routine))
# Python 3.2 outputs the whole list of currently active exceptions
        # This serves to remove one (redundant) level from that nesting.
      raise err
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/tmpo4o9n0tp.cl)

/usr/lib/python3/dist-packages/pyopencl/__init__.py:579: RuntimeError
_________________ TestParallelUtilsJIT.test_unique_scan_opencl _________________

func = <function ScanJIT._generate_kernel at 0x7f958eda5280>
args = (<compyle.jit.ScanJIT object at 0x7f957fbfda00>,)
kwargs = {'ary': <compyle.array.Array object at 0x7f957fbfd2b0>, 'unique': 
<compyle.array.Array object at 0x7f957fbfd070>, 'unique_count': <compyle.array.Array 
object at 0x7f957fbfd5e0>}
key = ('gintp', 'gintp', 'gintp', <function 
TestParallelUtilsJIT._test_unique_scan.<locals>.input_f at 0x7f957fa91f70>, <function 
TestParallelUtilsJIT._test_unique_scan.<locals>.output_f at 0x7f957fa91550>, 'a+b', ...)

    @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', 'gintp', 'gintp', <function 
TestParallelUtilsJIT._test_unique_scan.<locals>.input_f at 0x7f957fa91f70>, <function 
TestParallelUtilsJIT._test_unique_scan.<locals>.output_f at 0x7f957fa91550>, '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_unique_scan_opencl>

    def test_unique_scan_opencl(self):
        importorskip('pyopencl')
      self._test_unique_scan(backend='opencl')

compyle/tests/test_parallel.py:134:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
compyle/tests/test_parallel.py:753: in _test_unique_scan
    scan(ary=a, unique=unique_ary, unique_count=unique_count)
compyle/parallel.py:1242: in __call__
    self.scan(**kwargs)
compyle/profile.py:48: in wrapper
    return method(*args, **kwargs)
compyle/jit.py:526: in __call__
    c_func = self._generate_kernel(**kwargs)
<decorator-gen-12>:2: in _generate_kernel
    ???
/usr/lib/python3/dist-packages/pytools/__init__.py:628: in _deco
    result = func(*args, **kwargs)
compyle/jit.py:514: in _generate_kernel
    return self._generate(declarations=declarations)
compyle/parallel.py:902: in _generate
    return self._generate_opencl_kernel(declarations=declarations)
compyle/parallel.py:1095: in _generate_opencl_kernel
    knl = GenericScanKernel(
/usr/lib/python3/dist-packages/pyopencl/scan.py:1130: in __init__
    self.finish_setup()
/usr/lib/python3/dist-packages/pyopencl/scan.py:1187: in finish_setup
    self._finish_setup_impl()
/usr/lib/python3/dist-packages/pyopencl/scan.py:1284: in _finish_setup_impl
    candidate_scan_info = candidate_scan_gen_info.build(
/usr/lib/python3/dist-packages/pyopencl/scan.py:887: in build
    program = cl.Program(context, self.scan_src).build(options)
/usr/lib/python3/dist-packages/pyopencl/__init__.py:531: in build
    self._prg, was_cached = self._build_and_catch_errors(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pyopencl.Program object at 0x7f957cd77f40>
build_func = <function Program.build.<locals>.<lambda> at 0x7f957cd7cc10>
options_bytes = b'-I /usr/lib/python3/dist-packages/pyopencl/cl'
source = '\n#define local_barrier() barrier(CLK_LOCAL_MEM_FENCE);\n\n#define 
WITHIN_KERNEL /* empty */\n#define KERNEL __kernel...       {\n            
psc_interval_results[psc_GID_0] = psc_partial_scan_buffer[psc_interval_end - 
1];\n        }\n}\n'

    def _build_and_catch_errors(self, build_func, options_bytes, source=None):
        try:
            return build_func()
        except _cl.RuntimeError as e:
            msg = str(e)
            if options_bytes:
                msg = msg + "\n(options: %s)" % options_bytes.decode("utf-8")
if source is not None:
                from tempfile import NamedTemporaryFile
                srcfile = NamedTemporaryFile(mode="wt", delete=False, 
suffix=".cl")
                try:
                    srcfile.write(source)
                finally:
                    srcfile.close()
msg = msg + "\n(source saved as %s)" % srcfile.name code = e.code
            routine = e.routine
err = _cl.RuntimeError(
                    _cl._ErrorRecord(
                        msg=msg,
                        code=code,
                        routine=routine))
# Python 3.2 outputs the whole list of currently active exceptions
        # This serves to remove one (redundant) level from that nesting.
      raise err
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/tmpy99mqxcw.cl)

/usr/lib/python3/dist-packages/pyopencl/__init__.py:579: RuntimeError
______________________________ test_named_profile ______________________________

    def test_named_profile():
        importorskip('pyopencl')
        get_config().profile = True
      knl = get_prefix_sum_knl()

compyle/tests/test_profile.py:54:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
compyle/profile.py:133: in _profiled_kernel_generator
    kernel = f(*args, **kwargs)
compyle/tests/test_profile.py:28: in get_prefix_sum_knl
    return GenericScanKernel(ctx, np.int32,
/usr/lib/python3/dist-packages/pyopencl/scan.py:1130: in __init__
    self.finish_setup()
/usr/lib/python3/dist-packages/pyopencl/scan.py:1187: in finish_setup
    self._finish_setup_impl()
/usr/lib/python3/dist-packages/pyopencl/scan.py:1284: in _finish_setup_impl
    candidate_scan_info = candidate_scan_gen_info.build(
/usr/lib/python3/dist-packages/pyopencl/scan.py:887: in build
    program = cl.Program(context, self.scan_src).build(options)
/usr/lib/python3/dist-packages/pyopencl/__init__.py:531: in build
    self._prg, was_cached = self._build_and_catch_errors(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pyopencl.Program object at 0x7f957f934610>
build_func = <function Program.build.<locals>.<lambda> at 0x7f957d0a7af0>
options_bytes = b'-I /usr/lib/python3/dist-packages/pyopencl/cl'
source = '\n#define local_barrier() barrier(CLK_LOCAL_MEM_FENCE);\n\n#define 
WITHIN_KERNEL /* empty */\n#define KERNEL __kernel...       {\n            
psc_interval_results[psc_GID_0] = psc_partial_scan_buffer[psc_interval_end - 
1];\n        }\n}\n'

    def _build_and_catch_errors(self, build_func, options_bytes, source=None):
        try:
            return build_func()
        except _cl.RuntimeError as e:
            msg = str(e)
            if options_bytes:
                msg = msg + "\n(options: %s)" % options_bytes.decode("utf-8")
if source is not None:
                from tempfile import NamedTemporaryFile
                srcfile = NamedTemporaryFile(mode="wt", delete=False, 
suffix=".cl")
                try:
                    srcfile.write(source)
                finally:
                    srcfile.close()
msg = msg + "\n(source saved as %s)" % srcfile.name code = e.code
            routine = e.routine
err = _cl.RuntimeError(
                    _cl._ErrorRecord(
                        msg=msg,
                        code=code,
                        routine=routine))
# Python 3.2 outputs the whole list of currently active exceptions
        # This serves to remove one (redundant) level from that nesting.
      raise err
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/tmpjal55ubi.cl)

/usr/lib/python3/dist-packages/pyopencl/__init__.py:579: RuntimeError
=============================== warnings summary ===============================
/usr/lib/python3/dist-packages/pyximport/pyximport.py:51
  /usr/lib/python3/dist-packages/pyximport/pyximport.py:51: DeprecationWarning: 
the imp module is deprecated in favour of importlib; see the module's 
documentation for alternative uses
    import imp

.pybuild/cpython3_3.9_compyle/build/compyle/tests/test_array.py: 4 warnings
.pybuild/cpython3_3.9_compyle/build/compyle/tests/test_jit.py: 7 warnings
.pybuild/cpython3_3.9_compyle/build/compyle/tests/test_parallel.py: 48 warnings
.pybuild/cpython3_3.9_compyle/build/compyle/tests/test_translator.py: 91 
warnings
  /usr/lib/python3.9/ast.py:407: DeprecationWarning: visit_Num is deprecated; 
add visit_Constant
    return visitor(node)

.pybuild/cpython3_3.9_compyle/build/compyle/tests/test_jit.py::TestAnnotationHelper::test_non_jit_call_as_call_arg
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_compyle/build/compyle/jit.py:150: 
UserWarning:
  In code in line 5:
return g(sin(a))
               ^
Function called is not marked by the annotate decorator. Argument
  type defaulting to 'double'. If the type is not 'double', store
  the value in a variable of appropriate type and use the variable
warnings.warn(msg)

.pybuild/cpython3_3.9_compyle/build/compyle/tests/test_translator.py::test_calling_printf_with_string
.pybuild/cpython3_3.9_compyle/build/compyle/tests/test_translator.py::test_calling_printf_with_string
  /usr/lib/python3.9/ast.py:407: DeprecationWarning: visit_Str is deprecated; 
add visit_Constant
    return visitor(node)

.pybuild/cpython3_3.9_compyle/build/compyle/tests/test_translator.py::test_bool_true_false_and_none
.pybuild/cpython3_3.9_compyle/build/compyle/tests/test_translator.py::test_bool_true_false_and_none
.pybuild/cpython3_3.9_compyle/build/compyle/tests/test_translator.py::test_bool_true_false_and_none
.pybuild/cpython3_3.9_compyle/build/compyle/tests/test_translator.py::test_bool_true_false_and_none
  /usr/lib/python3.9/ast.py:407: DeprecationWarning: visit_NameConstant is 
deprecated; add visit_Constant
    return visitor(node)

-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
FAILED compyle/tests/test_array.py::test_reserve[opencl] - pyopencl._cl.Runti...
FAILED compyle/tests/test_array.py::test_resize_with_reallocation[opencl] - p...
FAILED compyle/tests/test_array.py::test_resize_without_reallocation[opencl]
FAILED compyle/tests/test_array.py::test_copy[opencl] - pyopencl._cl.RuntimeE...
FAILED compyle/tests/test_array.py::test_append_with_reallocation[opencl] - p...
FAILED compyle/tests/test_array.py::test_append_without_reallocation[opencl]
FAILED compyle/tests/test_array.py::test_extend[opencl] - pyopencl._cl.Runtim...
FAILED compyle/tests/test_array.py::test_remove[opencl] - pyopencl._cl.Runtim...
FAILED compyle/tests/test_array.py::test_align[opencl] - pyopencl._cl.Runtime...
FAILED compyle/tests/test_array.py::test_align_multiple[opencl] - pyopencl._c...
FAILED compyle/tests/test_array.py::test_squeeze[opencl] - pyopencl._cl.Runti...
FAILED compyle/tests/test_array.py::test_copy_values[opencl] - pyopencl._cl.R...
FAILED compyle/tests/test_array.py::test_min_max[opencl] - pyopencl._cl.Runti...
FAILED compyle/tests/test_array.py::test_sort_by_keys[opencl] - pyopencl._cl....
FAILED compyle/tests/test_array.py::test_sort_by_keys_with_output[opencl] - p...
FAILED compyle/tests/test_array.py::test_dot[opencl] - pyopencl._cl.RuntimeEr...
FAILED compyle/tests/test_array.py::test_cumsum[opencl] - pyopencl._cl.Runtim...
FAILED 
compyle/tests/test_low_level.py::TestKernel::test_kernel_with_local_memory_opencl
FAILED compyle/tests/test_low_level.py::TestKernel::test_simple_kernel_opencl
FAILED compyle/tests/test_parallel.py::TestParallelUtils::test_atomic_inc_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtils::test_elementwise_works_with_global_constant_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtils::test_elementwise_works_with_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtils::test_reduction_works_neutral_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtils::test_reduction_works_with_external_func_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtils::test_reduction_works_with_map_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtils::test_reduction_works_without_map_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtils::test_repeated_scans_with_different_settings
FAILED 
compyle/tests/test_parallel.py::TestParallelUtils::test_scan_last_item_opencl
FAILED compyle/tests/test_parallel.py::TestParallelUtils::test_scan_works_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtils::test_scan_works_with_external_func_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtils::test_segmented_scan_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtils::test_unique_scan_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtilsJIT::test_atomic_inc_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtilsJIT::test_elementwise_works_with_global_constant_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtilsJIT::test_elementwise_works_with_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtilsJIT::test_reduction_works_neutral_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtilsJIT::test_reduction_works_with_external_func_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtilsJIT::test_reduction_works_with_map_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtilsJIT::test_reduction_works_without_map_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtilsJIT::test_repeated_scans_with_different_settings
FAILED 
compyle/tests/test_parallel.py::TestParallelUtilsJIT::test_scan_last_item_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtilsJIT::test_scan_works_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtilsJIT::test_scan_works_with_external_func_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtilsJIT::test_segmented_scan_opencl
FAILED 
compyle/tests/test_parallel.py::TestParallelUtilsJIT::test_unique_scan_opencl
FAILED compyle/tests/test_profile.py::test_named_profile - pyopencl._cl.Runti...
= 46 failed, 204 passed, 44 skipped, 1 deselected, 158 warnings in 106.52s 
(0:01:46) =
E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_compyle/build; python3.9 -m pytest 
--ignore=compyle/tests/test_cuda.py -vs -k "not 
test_that_multiple_compiles_do_not_occur_for_same_source"
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 
returned exit code 13
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/bullseye/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to