Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 267628

Summary: sci-libs/mathgl-1.8.1: does not compile with >=sci-libs/hdf5-1.8.2
Product: Gentoo Linux Reporter: Kacper Kowalik (Xarthisius) (RETIRED) <xarthisius>
Component: [OLD] LibraryAssignee: Andrey Grozin <grozin>
Status: RESOLVED FIXED    
Severity: normal CC: jarausch, sci
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: added check for HDF5 version
Fixing API

Description Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-04-27 08:09:05 UTC
Due to the slight API changes in HDF5, mathgl no longer compiles.

Reproducible: Always

Steps to Reproduce:
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-04-27 08:10:31 UTC
Created attachment 189590 [details, diff]
added check for HDF5 version
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-04-27 08:11:04 UTC
Created attachment 189591 [details, diff]
Fixing API
Comment 3 Andrey Grozin gentoo-dev 2009-05-02 16:05:17 UTC
I cannot test this because hdf5-1.8 is not in portage (and not in science overlay). Maybe, it's better to wait?
Comment 4 Sébastien Fabbro (RETIRED) gentoo-dev 2009-08-26 07:00:04 UTC
something like "use hdf5 && append-flags -DH5_USE_16_API" should be enough.
Comment 5 Helmut Jarausch 2009-08-26 07:47:51 UTC
(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.

Comment 6 Helmut Jarausch 2009-08-26 08:03:17 UTC
(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*)'
Comment 7 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-08-26 09:14:02 UTC
(In reply to comment #6)

> Unfortunately it fails again with sci-libs/hdf5-1.8.3

Have you tried the patches??

Comment 8 Helmut Jarausch 2009-08-26 09:19:48 UTC
(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.
Comment 9 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-08-26 18:01:56 UTC
(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.
Comment 10 Andrey Grozin gentoo-dev 2009-09-15 04:24:31 UTC
1.9.0.1 is in the tree, and compiles with hdf5-1.8. Closing.