Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#60546 - [python-h5py] Rebuild with HDF5 1.10.4

Attached to Project: Community Packages
Opened by Tim Teichmann (tauly) - Tuesday, 23 October 2018, 08:19 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Tuesday, 23 October 2018, 18:09 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
python-h5py is built against an older (< 1.10.4) version of hdf5.

python
Python 3.7.1 (default, Oct 22 2018, 10:41:28)
[GCC 8.2.1 20180831] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import h5py
Warning! ***HDF5 library version mismatched error***
The HDF5 header files used to compile this application do not match
the version used by the HDF5 library to which this application is linked.
Data corruption or segmentation faults may occur if the application continues.
This can happen when an application was compiled by one version of HDF5 but
linked with a different version of static or shared HDF5 library.
You should recompile the application or check your shared library related
settings such as 'LD_LIBRARY_PATH'.
You can, at your own risk, disable this warning by setting the environment
variable 'HDF5_DISABLE_VERSION_CHECK' to a value of '1'.
Setting it to 2 or higher will suppress the warning messages totally.
Headers are 1.10.3, library is 1.10.4

Additional info:
* package version(s): hdf5: 1.10.4-1; python-h5py: 2.8.0-3

Steps to reproduce:
in a Terminal:
python
>>> import h5py
This task depends upon

Closed by  Bruno Pagani (ArchangeGabriel)
Tuesday, 23 October 2018, 18:09 GMT
Reason for closing:  Fixed
Comment by Filip Matzner (floop) - Tuesday, 23 October 2018, 12:04 GMT
I am able to reproduce the issue. A simple rebuild should probably fix the issue.
Comment by klaus (famfop) - Tuesday, 23 October 2018, 15:05 GMT
Having the same issue (after full system upgrade). I am using python3. The full log I have is appended.
Comment by Eli Schwartz (eschwartz) - Tuesday, 23 October 2018, 16:05 GMT
So, the reason we sometimes get these bug reports is because hdf5 includes macros which call an abort for every single public function the library provides. Ouch.

I guess there's no choice but to do strange patches to hdf5, or rebuild the entire hdf5 ecosystem on every single niggling patchlevel release.

(I'm secretly voting for the strange patch. They're already using sonames properly, but checking patchlevel versions here which don't actually map to that: https://github.com/live-clones/hdf5/blob/47f30b474bdc498c20bd6d2a0ba7e8947ab389f0/src/H5.c#L758 )

Loading...