H5 Compat macros nonfunctional with -DH5_NO_DEPRECATED_SYMBOLS

Bug #734889 reported by mycae
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
hdf5 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi,

I am just switching to Kubuntu Lucid after a almost-leave from Linux administration – and generally I like it a lot. However, I am having trouble installing some home-written software using HDF5. Our code requires HDF5 1.8, and so I happily installed the hfd5-serial-dev packages and such. However, when I try to compile our code using H5_NO_DEPRECATED_SYMBOLS I get errors that H5Eset_auto1 (and many more) are not defined... (If I leave the DEFINE away, it finds the functions, but it tries to use the 1.6 compatibiliy macros for our 1.8 code...)

How can I get a fully functioning HDF5-1.8 install?

I am sorry if this was answered before, I could not find it here or using Google. However, any pointers to more information are welcome! Thank you very much in advance.

/Jochen

Revision history for this message
mycae (mycae) wrote :
affects: ubuntu → hdf5 (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in hdf5 (Ubuntu):
status: New → Confirmed
Revision history for this message
Thomas Orgis (thomas-orgis-deactivatedaccount) wrote :

Well, package maintainers should just remove --with-default-api-version=v16 from the build script. Perhaps some dependent packages need -DH5_USE_16_API following that change, but that is a small price to pay for having a proper build, eh?

But looking at the time line of this bug, I fear that there is nobody at ubuntu concerned with HDF5 ... so let's see if poking the debian maintainers of the package brings something. In any case, the broken build is in 12.04 LTS, and probably there to stay. Off I am to building a local HDf5 library install ... this sucks.

What also sucks is that the HDF5 lib lacks a sane way to undo the enforced default API, except fixing every individual function mapping macro. This is FAIL* on several levels.

*Yeah, sorry for using that childish term.

Revision history for this message
Thomas Orgis (thomas-orgis-deactivatedaccount) wrote :

OK, over at debian I see that the package in the next release (HDF 1.8.8) has enforced 1.8 API in the build. I guess this one is WONTFIX for ubuntu 12.04 and will be resolved via an update from the debian package in a newer ubuntu release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.