Building h5py on EPEL6 results in: h5py/_proxy.c: At top level: /usr/lib64/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:968: warning: '_import_array' defined but not used h5py/_proxy.c: In function '__pyx_f_4h5py_6_proxy_needs_proxy': h5py/_proxy.c:2096: warning: '__pyx_r' may be used uninitialized in this function ............................................................................EE........................................................................................................................................................................................... ====================================================================== ERROR: (Vlen) Attribute read ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/h5py-1.3.1/h5py/tests/high/test_vlen.py", line 24, in test_read_attr self.assertEqual(f.attrs['test_scalar'], "This is the string for the attribute") File "/builddir/build/BUILD/h5py-1.3.1/h5py/highlevel.py", line 1400, in __getitem__ attr.read(arr) File "h5a.pyx", line 452, in h5py.h5a.AttrID.read (h5py/h5a.c:3663) File "_proxy.pyx", line 53, in h5py._proxy.attr_rw (h5py/_proxy.c:659) File "_proxy.pyx", line 248, in h5py._proxy.needs_bkg_buffer (h5py/_proxy.c:2037) TypeError: No appropriate function for conversion path (Datatype: Unable to initialize object) ====================================================================== ERROR: (Vlen) Dataset read ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/h5py-1.3.1/h5py/tests/high/test_vlen.py", line 45, in test_read_dset self.assert_(np.all(refarr == dset[...]), "Failed:\n%s" % "\n".join(str(x) for x in dset)) File "/builddir/build/BUILD/h5py-1.3.1/h5py/highlevel.py", line 1229, in __getitem__ self.id.read(mspace, fspace, arr, mtype) File "h5d.pyx", line 198, in h5py.h5d.DatasetID.read (h5py/h5d.c:2105) File "_proxy.pyx", line 139, in h5py._proxy.dset_rw (h5py/_proxy.c:1349) File "_proxy.pyx", line 248, in h5py._proxy.needs_bkg_buffer (h5py/_proxy.c:2037) TypeError: No appropriate function for conversion path (Datatype: Unable to initialize object) ************************************************* Build: Building for HDF5 1.8 (located at /usr/lib64) ************************************************* ---------------------------------------------------------------------- Ran 265 tests in 5.338s FAILED (errors=2) RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.jt8q76 (%check) Bad exit status from /var/tmp/rpm-tmp.jt8q76 (%check)
Never going to fix el5 problems now.