Created attachment 516556 [details] build.log NetCDF 4.3.2 fails to compile with sci-libs/hdf5-1.10.1 due to conflicting declarations of 'nc4_rec_find_nc_type': /tmp/portage/sci-libs/netcdf-4.3.2-r1/work/netcdf-4.3.2/libsrc4/nc4internal.c:417:1: error: conflicting types for 'nc4_rec_find_nc_type' nc4_rec_find_nc_type(const NC_GRP_INFO_T *start_grp, nc_type target_nc_typeid) ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/portage/sci-libs/netcdf-4.3.2-r1/work/netcdf-4.3.2/libsrc4/nc4internal.c:16:0: /tmp/portage/sci-libs/netcdf-4.3.2-r1/work/netcdf-4.3.2/include/nc4internal.h:351:17: note: previous declaration of 'nc4_rec_find_nc_type' was here NC_TYPE_INFO_T *nc4_rec_find_nc_type(const NC_GRP_INFO_T *start_grp, hid_t target_nc_typeid); ^~~~~~~~~~~~~~~~~~~~ Before version 1.10 of HDF5, both `hid_t` and NetCDF's `nc_type` have been aliases for `int`. In newer HDF5 versions, `hid_t` has been changed to `int64_t` instead.
Created attachment 516558 [details] emerge --info netcdf hdf5
I saw the same error today when portage failed to remerge sci-libs/netcdf-4.6.1-r1::gentoo. It's possible that my last sync occurred in the midst of today's commits. After syncing again, "emerge -uaDvN @world" no longer wants to remerge netcdf and "emerge -1av sci-libs/netcdf" succeeds.
(In reply to Peter Bleszynski from comment #2) > I saw the same error today when portage failed to remerge > sci-libs/netcdf-4.6.1-r1::gentoo. > > It's possible that my last sync occurred in the midst of today's commits. > > After syncing again, "emerge -uaDvN @world" no longer wants to remerge > netcdf and "emerge -1av sci-libs/netcdf" succeeds. is 4.7.4 working for you?