-
-
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
Unable to build 1.12.1 when already installed (Error: Symbol ‘h5i_invalid_hid_f’ at (1) has no IMPLICIT type) #1027
Comments
Does setting CMAKE_INCLUDE_DIRECTORIES_BEFORE help? |
Thanks for the tip! It looks like With
And with
|
Thanks to upstream for the helpful suggestion! Bug: HDFGroup/hdf5#1027 Closes: https://bugs.gentoo.org/808633 Signed-off-by: Sam James <[email protected]>
An attempt to build hdf5-1.12.2-r1 with USE='fortran' on a system where an older version of the package has already been installed will fail due to system headers taking precedence over the ones present in the source directory. This exact issue (#808633) has already been fixed in 225b7ee for 1.12.1, though the workaround somehow hadn't made it into the new ebuild. This commit brings it in. Bug: HDFGroup/hdf5#1027 Closes: https://bugs.gentoo.org/808633 Signed-off-by: Roman Beranek <[email protected]> Closes: #25712 Signed-off-by: Sam James <[email protected]>
Everything related to this issue has been resolved, so I will close it. Thanks for your help! |
Hi!
This is a forward of a downstream report of a bug in Gentoo.
When hdf5 1.10.5 is already installed, one gets when building 1.12.1 with fortran support like:
The same exact build configuration works if hdf5 is uninstalled from the system first.
One of the commenters on the bug in gentoo noticed that the include order may be wrong:
The text was updated successfully, but these errors were encountered: