[Slackbuilds-users] hdf5 version 1.12.2 -vs- version 1.10.6

Konrad J Hambrick kjhambrick at gmail.com
Sat Oct 29 13:34:48 UTC 2022


Thanks marav.

Yes, but I also have netcdf installed which also REQUIRES hdf5 but I failed
to build netcdf so gdal failed to build because netcdf was broken before I
rebuilt that one.

I believe all the real REQUIRES are done and now I am grepping hdf5 in all
the installed Package README Files.

I've found these:  gdal, ossim, octave, Shark and OTB

Those 'optional' REQUIRES bite me occasionally :(

I am now building octave and so far, so good -- all the rebuilt packages
seem to run properly again :)

Thanks again, marav and Greg !

-- kjh



On Sat, Oct 29, 2022 at 7:51 AM marav <marav8 at free.fr> wrote:

> I built it in this order:
>
> libeac / hdf5 / geos / proj / gdal
> Le 29/10/2022 à 14:06, Konrad J Hambrick a écrit :
>
> Well, dang.
>
> I've got some research to do.
>
> Thanks marav !
>
> -- kjh
>
> On Sat, Oct 29, 2022 at 6:48 AM marav <marav8 at free.fr> wrote:
>
>> Hi Konrad,
>>
>> gdal builds fine here, with the latest hdf5 1.12.2
>>
>>
>> *# ls -lhC1 /var/lib/pkgtools/packages | grep hdf5
>> hdf5-1.12.2-x86_64-1_SBo*
>>
>> # ...
>> ...
>> *Slackware package /tmp/gdal-3.5.2-x86_64-1_SBo.tgz created.*
>>
>> Without any addition
>>
>> Cheers
>> Le 29/10/2022 à 13:09, Konrad J Hambrick a écrit :
>>
>> Matteo --
>>
>> Several of my SBo's that REQUIRE HDF5 fail to run this morning.
>>
>> I believe it's because HDF5 Version 1.12.2 introduced incompatible API
>> Changes compared to the previous version HDF5 1.10.6
>>
>> See this link( HDF5 Version 1.12.2 API Compatibility Macros ):
>>
>> Migrating from HDF5 1.10 to HDF5 1.12
>> <https://portal.hdfgroup.org/display/HDF5/Migrating+from+HDF5+1.10+to+HDF5+1.12>
>>
>> One Program is gdal which lists hdf5 as an optional REQUIRE.
>>
>> I found an optional 'compatibility' configure option here:
>>
>> https://portal.hdfgroup.org/display/HDF5/API+Compatibility+Macros
>>
>> So I added:
>>
>>     --with-default-api-version=v110
>>
>> And I rebuilt HDF5.
>>
>> I tried rebuilding gdal ( where hdf5 is an optional REQUIRE ) and it
>> failed to compile.
>>
>> I reverted to hdf5 version 1.10.6 and everything works as expected.
>>
>> I am not sure how to proceed because ultimately, proper fixes for all
>> these SBo Packages will require upstream fixes for the new HDF5 API:
>>
>> # hoorex -m hdf5
>> hdf5 h5utils matio FreeFem openimageio med mpb gmsh netcdf GMT ITK OTB
>> meep cdo ncview nco paraview Blender grace
>>
>> Thanks for all your work !
>>
>> -- kjh
>>
>> _______________________________________________
>> SlackBuilds-users mailing listSlackBuilds-users at slackbuilds.orghttps://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
>> FAQ - https://slackbuilds.org/faq/
>>
>> _______________________________________________
>> SlackBuilds-users mailing list
>> SlackBuilds-users at slackbuilds.org
>> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
>> FAQ - https://slackbuilds.org/faq/
>>
>>
> _______________________________________________
> SlackBuilds-users mailing listSlackBuilds-users at slackbuilds.orghttps://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20221029/fc557dca/attachment-0001.htm>


More information about the SlackBuilds-users mailing list