Bug#846541: h5py: FTBFS against hdf5 1.10 - Fail to detect HDF5 install dir

Gilles Filippini pini at debian.org
Thu Dec 1 23:38:22 UTC 2016


Source: h5py
Version: 2.6.0-1
Severity: serious
Justification: FTBFS

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

h5py FTBFS against hdf5-1.10 with:
======================================================================
ERROR: test_force_swmr_mode_off_raises (h5py.tests.hl.test_dataset_swmr.TestDatasetSwmrRead)
Switching SWMR write mode off is only possible by closing the file.
- ----------------------------------------------------------------------
Traceback (most recent call last):
  File "h5py/tests/hl/test_dataset_swmr.py", line 58, in setUp
    self.f = h5py.File(fname, 'r', swmr=True)
  File "h5py/_hl/files.py", line 272, in __init__
    fid = make_fid(name, mode, userblock_size, fapl, swmr=swmr)
  File "h5py/_hl/files.py", line 91, in make_fid
    flags |= h5f.ACC_SWMR_READ
AttributeError: 'module' object has no attribute 'ACC_SWMR_READ'
...
- ----------------------------------------------------------------------
Ran 423 tests in 1.568s

FAILED (errors=9, skipped=10, expected failures=7)

Previously in the buildlog there is:
********************************************************************************
                       Summary of the h5py configuration

    Path to HDF5: None
    HDF5 Version: '1.8.4'
     MPI Enabled: False
Rebuild Required: False

********************************************************************************

Then I tried with HDF5_DIR=/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial and this time the build was successful.

Thanks,

_g.


- -- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCAAGBQJYQLRjAAoJEO/obGx//s+DVjYH/i4LAEgv81YkUIXzuL3o4nkY
Szkv9beTJ/05HUPDvetXDNztTP3ECAZ8n9I0OzNEVm1jolVQpAiG9sMXkNag0vXi
/M+RTV0thtYh5nKkcF0tPXVKGnRsEikmgErc9LsVDFfW6HFaW83TK+QMXZQd3sXN
yO20C5editQa/LhFAeFNy+4MS5NEY9vTICTUr4KN6rGF9MQUZ8Gygz4UXZ1jBfhJ
73OFn0TobitVgLtIrc78V674COjhWyQaNL88vYkoV0RkdtQatd60eHSuKwurS9P0
oG6qY+lfBGE1iHQyAmb6Hja98RIhd/nCG6vbQlRKIBY8/NDzMwhJZjMjqWigyyU=
=Z5CO
-----END PGP SIGNATURE-----



More information about the debian-science-maintainers mailing list