Due to the slight API changes in HDF5, mathgl no longer compiles. Reproducible: Always Steps to Reproduce:
Created attachment 189590 [details, diff] added check for HDF5 version
Created attachment 189591 [details, diff] Fixing API
I cannot test this because hdf5-1.8 is not in portage (and not in science overlay). Maybe, it's better to wait?
something like "use hdf5 && append-flags -DH5_USE_16_API" should be enough.
(In reply to comment #4) > something like "use hdf5 && append-flags -DH5_USE_16_API" should be enough. > I've added that as the first line in src_configure, but it didn't help.
(In reply to comment #2) > Created an attachment (id=189591) [edit] > Fixing API > Unfortunately it fails again with sci-libs/hdf5-1.8.3 e.g. /usr/include/H5Epublic.h:174: error: too few arguments to function 'herr_t H5Eset_auto2(hid_t, herr_t (*)(hid_t, void*), void*)'
(In reply to comment #6) > Unfortunately it fails again with sci-libs/hdf5-1.8.3 Have you tried the patches??
(In reply to comment #7) > (In reply to comment #6) > > > Unfortunately it fails again with sci-libs/hdf5-1.8.3 > > Have you tried the patches?? > Yes, but they seem to be included already, thus patch fails.
(In reply to comment #8) > > Yes, but they seem to be included already, thus patch fails. > Patches are not included neither in portage, nor in original library and If you get error: too few arguments to function H5Eset_auto there were definitely _NOT_ applied. Since there is new version of mathgl (1.9.0.1) I've also created a bump (#282821) with slightly less invasive HDF5 patches. Maybe give it another try.
1.9.0.1 is in the tree, and compiles with hdf5-1.8. Closing.