checking whether x86_64-pc-linux-gnu-gfortran understands -c and -o together... yes checking size of int*... 8 configure: error: --enable-hdf4-xdr is not supported for 64 bit mode. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sci-libs/hdf-4.2.13/work/hdf-4.2.13/config.log ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 13.0-desktop_20170905-225247 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.4.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python3.6 (fallback) [3] python2.7 (fallback) [4] jython2.7 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.5.1 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv sci-libs/hdf [ebuild N ] sci-libs/hdf-4.2.13 USE="fortran -examples -static-libs -szip {-test}"
Created attachment 494326 [details] emerge-info.txt
Created attachment 494328 [details] emerge-history.txt
Created attachment 494330 [details] environment
Created attachment 494332 [details] etc.portage.tbz2
Created attachment 494334 [details] logs.tbz2
Created attachment 494336 [details] sci-libs:hdf-4.2.13:20170913-061600.log
Created attachment 494338 [details] temp.tbz2
Created attachment 515836 [details, diff] Patch to fix BUILD_XDR handling in configure.ac There seem to be two general problems, here the first one with patch: - A comparison is != "Xyes" where it should be = "Xyes". This leads to the configuration default of "no" for --enable-hdf4-xdr leading to BUILD_XDR="no" to be overridden with a AC_TRY_LINK test, leading to BUILD_XDR="yes" and configure throwing the error "--enable-hdf4-xdr is not supported for 64 bit mode." It seems that only the opposite can be intended - --enable-hdf4-xdr was requested but the library not found should override BUILD_XDR to "no".
Created attachment 515838 [details, diff] Use tirpc in configure.ac for linux just as for cygwin Second: - rpc/xdr.h is no longer present in /usr/include but provided by different packages such as tirpc. Actually configure.ac already had a provision to use that for cygwin, so just use it for linux as well.
Thanks for the patches, Bernd! Looks like they are both worth raising upstream. May I ask you to do us a favor to do that, please? In addition, is RPC a indispensible features of hdf4? If so, we should let the sci-libs/hdf ebuild depend on net-libs/libtirpc.
(In reply to Benda Xu from comment #10) > Thanks for the patches, Bernd! > > Looks like they are both worth raising upstream. May I ask you to do us a > favor to do that, please? I found some old copies on github, but the hdfgroup web site only carries a link to the Forum, not to an official repository. Do you know of an official channel for bug reports other than the Forum? > In addition, is RPC a indispensible features of hdf4? If so, we should let > the sci-libs/hdf ebuild depend on net-libs/libtirpc. Yes, rpc/xdr.h is unconditionally included in common include files in the hdf4 sources. It contains definitions for data serialization. It seems necessary to depend upon net-libs/libtirpc (both compile and runtime).
(In reply to Bernd Feige from comment #11) > (In reply to Benda Xu from comment #10) > > Thanks for the patches, Bernd! > > > > Looks like they are both worth raising upstream. May I ask you to do us a > > favor to do that, please? > > I found some old copies on github, but the hdfgroup web site only carries a > link to the Forum, not to an official repository. Do you know of an official > channel for bug reports other than the Forum? > > > In addition, is RPC a indispensible features of hdf4? If so, we should let > > the sci-libs/hdf ebuild depend on net-libs/libtirpc. > > Yes, rpc/xdr.h is unconditionally included in common include files in the > hdf4 sources. It contains definitions for data serialization. It seems > necessary to depend upon net-libs/libtirpc (both compile and runtime). I see. Thanks for the debug Bernd. Well done. Could you please post your patch to the forum, so that we can put a link to your forum post in the patch file? Then we will carry the patch in the Gentoo repo and people who come around can know where to go to follow the upstream treatments.
I notified upstream through help@hdfgroup.org now, as outlined in the FAQ, and was assigned bug HDFFR-1567. The bug tracker does not yet have an address on public internet.
Any news here?
(In reply to Andreas K. Hüttel from comment #14) > Any news here? Nope. No further E-Mail and also the HDF4 git repo is silent: https://bitbucket.hdfgroup.org/projects/HDFFR/repos/hdf4/commits
(In reply to Bernd Feige from comment #15) > (In reply to Andreas K. Hüttel from comment #14) > > Any news here? > > Nope. No further E-Mail and also the HDF4 git repo is silent: > https://bitbucket.hdfgroup.org/projects/HDFFR/repos/hdf4/commits So how about adding the patches locally in Gentoo?
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddb167f03450fcc9869a3a230894a700a19812b1 commit ddb167f03450fcc9869a3a230894a700a19812b1 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2018-04-22 14:28:07 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2018-04-22 14:28:07 +0000 sci-libs/hdf: Revbump that uses libtirpc, bug 630868 Patches by Bernd Feige. This still needs to be stabilized. Bug: https://bugs.gentoo.org/630868 Package-Manager: Portage-2.3.31, Repoman-2.3.9 .../hdf/files/hdf-4.2.13-fix-xdr-configure.patch | 13 ++++ sci-libs/hdf/files/hdf-4.2.13-linux-tirpc.patch | 29 +++++++++ sci-libs/hdf/hdf-4.2.13-r1.ebuild | 72 ++++++++++++++++++++++ 3 files changed, 114 insertions(+)}
Arches please do
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb77d8be1f457e09fdc842febb98addc53949ee0 commit fb77d8be1f457e09fdc842febb98addc53949ee0 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2018-05-05 17:50:34 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2018-05-05 17:50:42 +0000 sci-libs/hdf: stable 4.2.13-r1 for ia64, bug #630868 Bug: https://bugs.gentoo.org/630868 Package-Manager: Portage-2.3.36, Repoman-2.3.9 RepoMan-Options: --include-arches="ia64" sci-libs/hdf/hdf-4.2.13-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
*** Bug 652826 has been marked as a duplicate of this bug. ***
amd64 stable
x86 stable
@ppc: ping pretty please!!!
ppc stable
*** Bug 650686 has been marked as a duplicate of this bug. ***