Bug 730661

Summary: h5py won't build on ppc64.
Product: [Fedora] Fedora EPEL Reporter: Steve Traylen <steve.traylen>
Component: h5pyAssignee: Steve Traylen <steve.traylen>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: el6CC: steve.traylen
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-24 08:48:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 238953    

Description Steve Traylen 2011-08-15 09:43:41 UTC
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)

Comment 1 Steve Traylen 2017-03-24 08:48:02 UTC
Never going to fix el5 problems now.