-
-
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
Version 1.14.5 fortran lib fails to build on arch i386 - Error: There is no specific subroutine for the generic ‘verify’ at (1) #5036
Comments
@pini-gh , thank you for your report! |
Any fix available? |
May I suggest a higher priority? This issue is a blocker for transitioning HDF5 1.14 into the next Debian stable release (trixie). |
Hi @pini-gh ! We've been slowly moving away from supporting i386 since, well, nobody really supports it anymore. We are planning to get some i386 CI up, though, if only to see if we're making bad type size assumptions that we'll see in the warning output. Since we do want Debian to deploy recent versions of HDF5, I'll have our Fortran people look at this ASAP (they say it's not going to be that hard to fix). As for a fix, we are retiring the 1.14 maintenance line, though we might have a 1.14.6 release next year (probably in the late spring, after 2.0 goes out). Can Debian work with a source patch until then? I think the fix will be fairly small. |
Sure. Thanks! |
@pini-gh, can you try it with a cmake build? For our Alpine i386 CI testing, I could not reproduce the error about an invalid KIND. The only Fortran test that fails is with h5rget_obj_name_f with optional parameters and a blank string (or a smaller string) being passed in, which is strange because, with the optional parameters, it does not use the string. It seg faults when returning from the Fortran call; the C call is successful. If I specify a specific string length to pass to the API, I can get it to pass. It is probably a compiler issue; the gfortran version was 13. |
@brtnfld |
Yes, a docker image would be helpful. |
First, create this Dockerfile:
Then build the image:
Run the image:
Finally configure and build into the container:
The build should end with:
|
First bad commit after git bisect: 9b5d968
|
Describe the bug
While building on current Debian unstable i386 with gfortran 14.2.0 the build fails with:
Full build log: https://buildd.debian.org/status/fetch.php?pkg=hdf5&arch=i386&ver=1.14.5%2Brepack-1%7Eexp1&stamp=1730037856&raw=0
Expected behavior
Successful build.
Platform (please complete the following information)
cd debian/build-serial && ../../configure --build=i686-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/i386-linux-gnu --libexecdir=\${prefix}/lib/i386-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --host=i686-linux-gnu --build=i686-linux-gnu --libdir=\${prefix}/lib/i386-linux-gnu --mandir=\${prefix}/share/man --with-pthread --enable-linux-lfs --enable-shared --enable-build-mode=production --disable-sharedlib-rpath --with-zlib --with-default-api-version=v114 --with-szlib --enable-fortran --enable-fortran2003 --enable-hltools --enable-ros3-vfd --includedir=\${prefix}/include/hdf5/serial --with-flavor=serial --with-default-plugindir=/usr/lib/i386-linux-gnu/hdf5/serial/plugins --enable-unsupported --enable-threadsafe --enable-cxx --enable-java
Additional context
This error doesn't occur when building for arch amd64 (x86_64).
The text was updated successfully, but these errors were encountered: