-
-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HDF5 1.14.4.2/3 is breaking GDAL build #4527
Comments
Hi, @imincik ! Thank you for testing the latest HDF5 with GDAL. You can also try Line 2136 in 162e7d6
|
Yes, unfortunately it fails with GDAL 3.9.0 as well. |
I confirm that both GDAL 3.8.5 and GDAL 3.9.0 are building successfully when HDF5 1.14.4.3 is built with |
Hi @imincik, it would be interesting to see what it is about the |
GDAL code search for |
I'm on it. The availability of the H5T_NATIVE_FLOAT16 breaks assumption in GDAL when it reads dataset with those types, since previously such types were seen as Float32. |
GDAL fix queued in OSGeo/gdal#10052 By the way, I struggled a lot to manage building HDF5 1.14.4.3 with Float16 support, using CMake, with Alpine edge (using "alpine:edge" Docker image). I had to patch ConfigureChecks.cmake to force and I had to paste the following (extracted from gcc' float.h) on top of H5Tconv.c:
|
Thanks for looking into this @rouault! If you happen to get a chance, could you post the output from the CMake configuration process and also possibly the |
here's the logs logs.zip and here's the recipe to reproduce:
|
Thanks! It looks like CMake didn't even try to run the configuration checks for the type since there aren't any references to "FLOAT16" in the log files. But when I get a chance I'll try to reproduce with your docker commands and see what the issue is. |
Can this issue be closed or are there still things we need to look into on our side? |
I believe that OSGeo/gdal@e2b4f25 has fixed the problem . Thank you very much for support. This issue can be closed now. |
FYI, also in prooted Debian and standard Termux I had to use this: My box: Environment at local 🎋 prooted system: Linux localhost 6.2.1-PRoot-Distro #1 SMP PREEMPT Thu Mar 17 16:28:22 CST 2022 aarch64 GNU/Linux PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/system/bin:/system/xbin:/data/data/com.termux/files/home/.local/bin/:/data/data/com.termux/files/usr/bin/ LD_LIBRARY_PATH: CFLAGS: LDFLAGS: CPPFLAGS: C_INCLUDE_PATH: :/data/data/com.termux/files/usr/include/flang/Evaluate/:/data/data/com.termux/files/usr/include/:/data/data/com.termux/files/usr/opt/libllvm-16/include/llvm/Frontend/OpenMP CPLUS_INCLUDE_PATH: USE_VULKAN: OFF |
Describe the bug
GDAL build has started to fail since HDF5 version 1.14.4.2 and it keeps failing with 1.14.4.3 as well.
See: NixOS/nixpkgs#309595
Expected behavior
I want to see GDAL building successfully.
Platform (please complete the following information)
Additional context
GDAL build log:
The text was updated successfully, but these errors were encountered: