FS#49156 - [python2-h5py] 2.6.0-2 links to wrong version of libhdf5.so

Attached to Project: Community Packages
Opened by Sigurd Næss (amaurea) - Saturday, 30 April 2016, 20:07 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 18 May 2017, 15:12 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ronald van Haren (pressh)
Felix Yan (felixonmars)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

python2-h5py 2.6.0-2 provides the file /usr/lib/python2.7/site-packages/h5py/_errors.so. According to ldd, this file links to libhdf5.so.100. However, the current version of hdf5-cpp-fortran (1.8.15_patch1-2) does not provide that file. Instead, it provides libhdf5.so.10 and libhdf5.so.10.0.1. This results in it being impossible to import h5py in python.

According to MrElendig on the IRC channel, libhdf5.so.100 is from testing, which I don't use. He writes "oh wait it got moved. aparently someone moved python2-h5py before h5py. bugreport it".

Additional info:
* Packages involved: python2-h5py 2.6.0-2 and hdf5-cpp-fortran 1.8.15_patch1-2
* Core, extra, community and multilib enabled in /etc/pacman.conf. Testing not enabled.

Steps to reproduce:
* Make sure testing is not enabled
* pacman -Syu h5py-cpp-fortran python2-hdf5
* python -c "import h5py"

This should produce the output

>Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File "/usr/lib/python2.7/site-packages/h5py/__init__.py", line 24, >in <module>
> from . import _errors
>ImportError: libhdf5.so.100: cannot open shared object file: No such file or directory
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 18 May 2017, 15:12 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Sunday, 01 May 2016, 14:06 GMT
Correct version of libhdf5.so is in [testing].
Comment by Ronald van Haren (pressh) - Sunday, 01 May 2016, 18:09 GMT
Yes, shouldn't have been moved. I'll take a look at it tomorrow.

Loading...