Followup-For: Bug #996716 Control: forwarded -1 https://github.com/inducer/pyopencl/issues/519 Control: retitle -1 pyopencl: FTBFS on 32-bit arches; autopkgtest regression: test-depends on removed package
> [...] The package > python3-pyopencl-dbg was dropped in the latest upload but the test still > depends on it. Oops, -dbg autopkgtest stanza dropped, too. > On top of that, the package also FTBFS on armel, armhf > and i386 (all 32-bits archs). =================================== FAILURES =================================== __________________________ test_mempool_32bit_issues ___________________________ def test_mempool_32bit_issues(): # https://github.com/inducer/pycuda/issues/282 from pyopencl._cl import _TestMemoryPool pool = _TestMemoryPool() for i in [30, 31, 32, 33, 34]: for offs in range(-5, 5): > pool.allocate(2**i + offs) E TypeError: allocate(): incompatible function arguments. The following argument types are supported: E 1. (self: pyopencl._cl._TestMemoryPool, arg0: int) -> None E E Invoked with: <pyopencl._cl._TestMemoryPool object at 0xd14722c0>, 4294967296 test_wrapper.py:592: TypeError Reported upstream: https://github.com/inducer/pyopencl/issues/519 I don't think it is an error not being able to allocate ~4 GB or more on a platform with 32-bit address space. The fix will come with a new upstream (2021.2.8 or later) now that pytools has been updated, but waiting for upstream's comment on the test failure first. Andreas