Bug#931736: h5py: FTBFS against HDF5 1.10.5

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#931736: h5py: FTBFS against HDF5 1.10.5

Gilles Filippini-2
Source: h5py
Version: 2.9.0-1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

During a rebuild against HDF5 1.10.5 currently in experimental, h5py FTBFS with:

set -e; for DIR in $(find .pybuild -name build | grep -v _dbg_); do \
        cd $DIR; PYTHONPATH=. python$(echo $DIR | sed -e 's@.*cpython._\(.*\)_h5py.*@\1@g') \
        -c "from sys import exit; import h5py; exit(0) if h5py.run_tests().wasSuccessful() else exit(1)"; \                                                                                                      
        cd ../../..; done
...........E...........................................x........................................................................x....................................s/build/h5py-V5ZcPx/h5py-2.9.0/.pybuild/cpython3_3.7_h5py/build/h5py/_hl/files.py:258: H5pyDeprecationWarning: File.fid has been deprecated. Use File.id instead.                                                                                              
  "Use File.id instead.", H5pyDeprecationWarning)
...s......ss.......................................................................................................ssssss.....................................................................x....x.........................x......x..................................................ssss............................................................                                                                              
======================================================================
ERROR: test_track_order (h5py.tests.old.test_attrs.TestTrackOrder)
- ----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/h5py-V5ZcPx/h5py-2.9.0/.pybuild/cpython3_3.7_h5py/build/h5py/tests/old/test_attrs.py", line 180, in test_track_order                                                                              
    attrs = self.fill_attrs(track_order=True)  # creation order
  File "/build/h5py-V5ZcPx/h5py-2.9.0/.pybuild/cpython3_3.7_h5py/build/h5py/tests/old/test_attrs.py", line 174, in fill_attrs                                                                                    
    attrs[str(i)] = i
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "/build/h5py-V5ZcPx/h5py-2.9.0/.pybuild/cpython3_3.7_h5py/build/h5py/_hl/attrs.py", line 95, in __setitem__                                                                                                
    self.create(name, data=value, dtype=base.guess_dtype(value))
  File "/build/h5py-V5ZcPx/h5py-2.9.0/.pybuild/cpython3_3.7_h5py/build/h5py/_hl/attrs.py", line 210, in create                                                                                                    
    h5a.rename(self._id, self._e(tempname), self._e(name))
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py/h5a.pyx", line 118, in h5py.h5a.rename
RuntimeError: Can't rename attribute (record is already in B-tree)

- ----------------------------------------------------------------------
Ran 509 tests in 1.117s

FAILED (errors=1, skipped=14, expected failures=6)

Thanks,

_g.


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

iQEzBAEBCgAdFiEEoJObzArDE05WtIyR7+hsbH/+z4MFAl0k7QoACgkQ7+hsbH/+
z4PPRAf6A5KCbfbFgHQK0+9WVbl1RX0Kb0xk0LLlfWVzV66vKOZ0Sq9q0hnci9Wv
hFPAfA0IMfKVYyzUJfcXyXEEruR+mKRCvgs1UQKLlfVsvlWPt3lOZW9k51GY0x7+
9a6DN+6JxJznSf+wTBz9dtIetlTarbG6D817xqQlcVMVRYMN5KID0MTDtfsDo2V4
E2mUX7enp1CbZsgkU0nVjtKGltxBal5sShYyszlIO3yNC34hwVT4wxQiMDDvppY8
rLRsUUd+fOxgkzqJEflAFdtqVxL65SVXbH6wMwY/Tu6jahwy4ipVXV1M6rB9Ko6i
pC6k59uTMXrfAA2rbvn/scX7oMnVqw==
=M+OC
-----END PGP SIGNATURE-----

Reply | Threaded
Open this post in threaded view
|

Bug#931736: h5py: FTBFS against HDF5 1.10.5

Gilles Filippini-2
Control: tags -1 + patch
Control: forwarded -1 https://github.com/h5py/h5py/issues/1180

Hi,

On Tue, 09 Jul 2019 21:37:56 +0200 Gilles Filippini <[hidden email]> wrote:

> Source: h5py
> Version: 2.9.0-1
> Severity: normal
>
> Hi,
>
> During a rebuild against HDF5 1.10.5 currently in experimental, h5py FTBFS with:
>
> set -e; for DIR in $(find .pybuild -name build | grep -v _dbg_); do \
>         cd $DIR; PYTHONPATH=. python$(echo $DIR | sed -e 's@.*cpython._\(.*\)_h5py.*@\1@g') \
>         -c "from sys import exit; import h5py; exit(0) if h5py.run_tests().wasSuccessful() else exit(1)"; \
>         cd ../../..; done
> ...........E...........................................x........................................................................x....................................s/build/h5py-V5ZcPx/h5py-2.9.0/.pybuild/cpython3_3.7_h5py/build/h5py/_hl/files.py:258: H5pyDeprecationWarning: File.fid has been deprecated. Use File.id instead.
>   "Use File.id instead.", H5pyDeprecationWarning)
> ...s......ss.......................................................................................................ssssss.....................................................................x....x.........................x......x..................................................ssss............................................................
> ======================================================================
> ERROR: test_track_order (h5py.tests.old.test_attrs.TestTrackOrder)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/build/h5py-V5ZcPx/h5py-2.9.0/.pybuild/cpython3_3.7_h5py/build/h5py/tests/old/test_attrs.py", line 180, in test_track_order
>     attrs = self.fill_attrs(track_order=True)  # creation order
>   File "/build/h5py-V5ZcPx/h5py-2.9.0/.pybuild/cpython3_3.7_h5py/build/h5py/tests/old/test_attrs.py", line 174, in fill_attrs
>     attrs[str(i)] = i
>   File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
>   File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
>   File "/build/h5py-V5ZcPx/h5py-2.9.0/.pybuild/cpython3_3.7_h5py/build/h5py/_hl/attrs.py", line 95, in __setitem__
>     self.create(name, data=value, dtype=base.guess_dtype(value))
>   File "/build/h5py-V5ZcPx/h5py-2.9.0/.pybuild/cpython3_3.7_h5py/build/h5py/_hl/attrs.py", line 210, in create
>     h5a.rename(self._id, self._e(tempname), self._e(name))
>   File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
>   File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
>   File "h5py/h5a.pyx", line 118, in h5py.h5a.rename
> RuntimeError: Can't rename attribute (record is already in B-tree)
>
> ----------------------------------------------------------------------
> Ran 509 tests in 1.117s
>
> FAILED (errors=1, skipped=14, expected failures=6)
This is upstream bug #1180 [1], related to HDF5 bug HDFFV-10579.
A patch is available [2].

|1] https://github.com/h5py/h5py/issues/1180
[2] https://github.com/h5py/h5py/pull/1186

Thanks,

_g.


signature.asc (499 bytes) Download Attachment