On 2020/12/01 21:01, Martin Reindl wrote:
> The attached diff updates math/hdf5 to the latest version 1.12.0.
> 
> - enable fortran
> - API changes require major bump to all shlib
> - use configure argument for example dir instead of post-install mv(1)
> - pull patches from upstream to respect DESTDIR for examples
>   
> (https://github.com/HDFGroup/hdf5/commit/4cebd8aa6c965fe2e5dde6dbff36b2be3ca58bf1)
> - patch h5repack_plugin.sh test to work with our cp(1)
> 
> The extensive hdf5 test-suite passes on amd64. My arm64 is too slow so it 
> runs into
> the test timeout. Checking currently if raising HDF5_ALARM_SECONDS helps.
> Also tested on sparc64, but fheap tests fail there.
> 
> Also compile and partially run-time tested where especially relevant to me:
> math/armadillo

This breaks for me:

===>  Building for armadillo-9.800.1
[1/4] /pobj/armadillo-9.800.1/bin/c++  -Darmadillo_EXPORTS -Itmp/include 
-I/usr/local/include -O2 -pipe -DNDEBUG -fPIC
 -MD -MT CMakeFiles/armadillo.dir/src/wrapper1.cpp.o -MF 
CMakeFiles/armadillo.dir/src/wrapper1.cpp.o.d -o CMakeFiles/a
rmadillo.dir/src/wrapper1.cpp.o -c 
/pobj/armadillo-9.800.1/armadillo-9.800.1/src/wrapper1.cpp
FAILED: CMakeFiles/armadillo.dir/src/wrapper1.cpp.o 
/pobj/armadillo-9.800.1/bin/c++  -Darmadillo_EXPORTS -Itmp/include 
-I/usr/local/include -O2 -pipe -DNDEBUG -fPIC -MD -
MT CMakeFiles/armadillo.dir/src/wrapper1.cpp.o -MF 
CMakeFiles/armadillo.dir/src/wrapper1.cpp.o.d -o CMakeFiles/armadil
lo.dir/src/wrapper1.cpp.o -c 
/pobj/armadillo-9.800.1/armadillo-9.800.1/src/wrapper1.cpp
/pobj/armadillo-9.800.1/armadillo-9.800.1/src/wrapper1.cpp:1697:14: error: no 
matching function for call to 'H5Ovisit3
'
      return H5Ovisit(object_id, index_type, order, op, op_data);
             ^~~~~~~~
/usr/local/include/H5version.h:785:20: note: expanded from macro 'H5Ovisit'
  #define H5Ovisit H5Ovisit3
                   ^~~~~~~~~
/usr/local/include/H5Opublic.h:211:15: note: candidate function not viable: 
requires 6 arguments, but 5 were provided
H5_DLL herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t 
order,
              ^
1 error generated.
ninja: build stopped: subcommand failed.


Reply via email to