I'm trying to update Fedora to hdf5 1.12.1 but bes is failing to compile
with it:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I gctp/include -I.
-I../../dispatch -I../../dap -I/usr/include/libdap
-I/usr/include/libxml2 -DMODULE_NAME=\"hdf5_handler\"
-DMODULE_VERSION=\"1.16.4\" -I/usr/include/cfitsio -I/usr/include/tirpc
-I/include -g -O2 --pedantic --std=c++11 -c HDF5Array.cc -fPIC -DPIC -o
.libs/HDF5Array.o
HDF5Array.cc: In member function 'bool
HDF5Array::m_array_of_reference(hid_t, hid_t)':
HDF5Array.cc:619:50: error: no match for 'operator[]' (operand types are
'hdset_reg_ref_t' and 'int')
619 | if (rbuf[offset[0] + i * step[0]][0] != '\0') {
| ^
In file included from h5get.h:38,
from HDF5Array.h:34,
from HDF5Array.cc:47:
HDF5Array.cc:622:109: error: cannot convert 'hdset_reg_ref_t' to 'const
void*'
622 | hid_t did_r = H5RDEREFERENCE(d_dset_id,
H5R_DATASET_REGION, rbuf[offset[0] + i * step[0]]);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
|
|
hdset_reg_ref_t
h5apicompatible.h:25:89: note: in definition of macro 'H5RDEREFERENCE'
25 | #define H5RDEREFERENCE(obj_id,ref_type,ref)
H5Rdereference2(obj_id,H5P_DEFAULT,ref_type,ref)
|
^~~
In file included from HDF5Array.h:31,
from HDF5Array.cc:47:
/usr/include/H5Rpublic.h:791:92: note: initializing argument 4 of
'hid_t H5Rdereference2(hid_t, hid_t, H5R_type_t, const void*)'
791 | H5_DLL hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id,
H5R_type_t ref_type, const void *ref);
|
~~~~~~~~~~~~^~~
HDF5Array.cc:635:107: error: cannot convert 'hdset_reg_ref_t' to 'const
void*'
635 | hid_t space_id = H5Rget_region(did_r,
H5R_DATASET_REGION, rbuf[offset[0] + i * step[0]]);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
|
|
hdset_reg_ref_t
In file included from HDF5Array.h:31,
from HDF5Array.cc:47:
/usr/include/H5Rpublic.h:822:76: note: initializing argument 3 of
'hid_t H5Rget_region(hid_t, H5R_type_t, const void*)'
822 | H5_DLL hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type,
const void *ref);
|
~~~~~~~~~~~~^~~
make[5]: *** [Makefile:849: HDF5Array.lo] Error 1
make[5]: Leaving directory
'/builddir/build/BUILD/bes-3.20.9/modules/hdf5_handler'
make[5]: *** Waiting for unfinished jobs....
make[5]: Entering directory
'/builddir/build/BUILD/bes-3.20.9/modules/hdf5_handler'
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I. -I../.. -I gctp/include -I. -I../../dispatch -I../../dap
-I/usr/include/libdap -I/usr/include/libxml2
-DMODULE_NAME=\"hdf5_handler\" -DMODULE_VERSION=\"1.16.4\"
-I/usr/include/cfitsio -I/usr/include/tirpc -I/include -g -O2
--pedantic --std=c++11 -c -o HDF5Int8.lo HDF5Int8.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I gctp/include -I.
-I../../dispatch -I../../dap -I/usr/include/libdap
-I/usr/include/libxml2 -DMODULE_NAME=\"hdf5_handler\"
-DMODULE_VERSION=\"1.16.4\" -I/usr/include/cfitsio -I/usr/include/tirpc
-I/include -g -O2 --pedantic --std=c++11 -c HDF5Int8.cc -fPIC -DPIC -o
.libs/HDF5Int8.o
make[5]: Leaving directory
'/builddir/build/BUILD/bes-3.20.9/modules/hdf5_handler'
make[4]: *** [Makefile:906: all-recursive] Error 1
make[3]: *** [Makefile:679: all] Error 2
make[2]: *** [Makefile:507: all-recursive] Error 1
make[1]: *** [Makefile:780: all-recursive] Error 1
make: *** [Makefile:556: all] Error 2
Full build log:
https://download.copr.fedorainfracloud.org/results/orion/hdf5-1.12.1/fedora-rawhide-x86_64/02980932-bes/builder-live.log.gz
Adding -DH5_USE_110_API did not help.
--
Orion Poplawski
he/him/his - surely the least important thing about me
Manager of NWRA Technical Systems
720-772-5637
NWRA, Boulder/CoRA Office FAX:
303-415-9702
3380 Mitchell Lane
or...@nwra.com
Boulder, CO 80301
https://www.nwra.com/