Bug#1053341: h5py FTBFS on 32-bit archs: OverflowError: Python int too large to convert to C ssize_t
Nilesh Patra
nilesh at debian.org
Mon Oct 2 07:39:42 BST 2023
Source: h5py
Version: 3.9.0-2
Severity: serious
X-Debbugs-Cc: dparsons at debian.org
Hi,
The new release of h5py FTBFS on all 32-bit archs.
In particular, it fails its test-suite with:
=================================== FAILURES ===================================
_____________________________ test_register_filter _____________________________
def test_register_filter():
filter_id = 256 # Test ID
@H5ZFuncT
def failing_filter_callback(flags, cd_nelemts, cd_values, nbytes, buf_size, buf):
return 0
dummy_filter_class = H5ZClass2T(
version=h5z.CLASS_T_VERS,
id_=filter_id,
encoder_present=1,
decoder_present=1,
name=b"dummy filter",
can_apply=None,
set_local=None,
filter_=failing_filter_callback,
)
> h5z.register_filter(addressof(dummy_filter_class))
build/h5py/_debian_h5py_serial/tests/test_h5z.py:65:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
h5py/_debian_h5py_serial/_objects.pyx:54: in h5py._debian_h5py_serial._objects.with_phil.wrapper
???
h5py/_debian_h5py_serial/_objects.pyx:55: in h5py._debian_h5py_serial._objects.with_phil.wrapper
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E OverflowError: Python int too large to convert to C ssize_t
h5py/_debian_h5py_serial/h5z.pyx:102: OverflowError
Full log: https://buildd.debian.org/status/fetch.php?pkg=h5py&arch=armel&ver=3.9.0-2&stamp=1696051380&raw=0
-- System Information:
Debian Release: 12.0
APT prefers testing
APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-9-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
More information about the debian-science-maintainers
mailing list