Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be unavailable on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 1812318 - Fails to build with hdf5 1.12.0
Summary: Fails to build with hdf5 1.12.0
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: Field3D
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Shaw
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-11 01:39 UTC by Orion Poplawski
Modified: 2020-08-11 13:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github imageworks Field3D issues 99 0 None open Fails to build with hdf5 1.12.0 2020-11-01 23:34:52 UTC

Description Orion Poplawski 2020-03-11 01:39:32 UTC
Description of problem:

I'm starting to test builds of dependent packages with hdf5 1.12.0:

/builddir/build/BUILD/Field3D-1.7.2/src/Field3DFileHDF5.cpp: In function 'herr_t Field3D::v1_7::InputFileHDF5::parsePartitions(hid_t, const char*, const H5L_info2_t*, void*)':
/builddir/build/BUILD/Field3D-1.7.2/src/Field3DFileHDF5.cpp:1138:71: error: too few arguments to function 'herr_t H5Oget_info_by_name3(hid_t, const char*, H5O_info2_t*, unsigned int, hid_t)'
 1138 |   status = H5Oget_info_by_name(loc_id, itemName, &infobuf, H5P_DEFAULT);
      |                                                                       ^
In file included from /usr/include/H5Apublic.h:22,
                 from /usr/include/hdf5.h:23,
                 from /builddir/build/BUILD/Field3D-1.7.2/src/Field3DFileHDF5.cpp:50:
/usr/include/H5Opublic.h:188:15: note: declared here
  188 | H5_DLL herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo,
      |               ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/Field3D-1.7.2/src/Field3DFileHDF5.cpp: In function 'herr_t Field3D::v1_7::InputFileHDF5::parseLayers(hid_t, const char*, const H5L_info2_t*, void*)':
/builddir/build/BUILD/Field3D-1.7.2/src/Field3DFileHDF5.cpp:1178:72: error: too few arguments to function 'herr_t H5Oget_info_by_name3(hid_t, const char*, H5O_info2_t*, unsigned int, hid_t)'
 1178 |   status = H5Oget_info_by_name (loc_id, itemName, &infobuf, H5P_DEFAULT);
      |                                                                        ^
In file included from /usr/include/H5Apublic.h:22,
                 from /usr/include/hdf5.h:23,
                 from /builddir/build/BUILD/Field3D-1.7.2/src/Field3DFileHDF5.cpp:50:
/usr/include/H5Opublic.h:188:15: note: declared here
  188 | H5_DLL herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo,
      |               ^~~~~~~~~~~~~~~~~~~~

See https://www.hdfgroup.org/2020/03/release-of-hdf5-1-12-0-newsletter-172 for some details

I suspect setting -DH5_USE_110_API would be the easiest workaround for now.

Version-Release number of selected component (if applicable):
1.7.2-18.fc32

Comment 1 Richard Shaw 2020-03-12 13:42:33 UTC
I went ahead and built 1.7.3 but I'm pretty sure that doesn't address the problem. I have also subscribed to the issue you submitted so I'll get notified. The workaround is probably the best option for now.

Comment 2 Ben Cotton 2020-08-11 13:13:31 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.


Note You need to log in before you can comment on or make changes to this bug.