Package Details: hdf4-java 2.13-4

Git Clone URL: https://aur.archlinux.org/hdf4-java.git (read-only)
Package Base: hdf4-java
Description: General purpose library and file format for storing scientific data (full version including the Java Native Interfaces - JNI)
Upstream URL: http://www.hdfgroup.org/hdf4.html
Licenses: custom
Conflicts: hdf4
Provides: hdf4
Submitter: eleftg
Maintainer: eleftg
Last Packager: eleftg
Votes: 1
Popularity: 0.007357
First Submitted: 2017-10-19 22:38
Last Updated: 2018-05-31 18:02

Latest Comments

eleftg commented on 2018-05-31 19:30

Thank you very much for your contribution petronny!

I updated the package to include your patch.

petronny commented on 2018-05-20 06:24

I fixed it with

     CFLAGS="${CFLAGS} -fPIC" \
     LDFLAGS="-l:libjpeg.so.8 ${LDFLAGS}" \
     F77=gfortran \
+    JAVADOC='javadoc -Xdoclint:none' \
     --enable-fortran \
     --enable-production \
     --enable-java \

It's a bug with java-enviroment>8. And this patch works with java-enviroment=8. Please fix it.

petronny commented on 2018-05-17 15:14

I get

Generating javadoc/overview-summary.html...
../../java/src/hdf/overview.html:9: error: self-closing element not allowed
<p />There are a large number of functions in the HDF
^
../../java/src/hdf/overview.html:12: error: unknown attribute: COLS
<center><table BORDER=1 COLS=1 WIDTH="71%" BGCOLOR="#dbeaf5" >
                        ^
../../java/src/hdf/overview.html:12: warning: attribute obsolete, use CSS instead: BGCOLOR
<center><table BORDER=1 COLS=1 WIDTH="71%" BGCOLOR="#dbeaf5" >
                                           ^
../../java/src/hdf/overview.html:18: error: no summary or caption for table
</table></center>
^
Generating javadoc/help-doc.html...
[done in 2815 ms]
3 errors
2 warnings
make[3]: *** [Makefile:837: docs] Error 1
make[3]: Leaving directory '/build/hdf4-java/src/hdf-4.2.13/java/src'
make[2]: *** [Makefile:557: all-recursive] Error 1
make[2]: Leaving directory '/build/hdf4-java/src/hdf-4.2.13/java/src'
make[1]: *** [Makefile:661: all-recursive] Error 1
make[1]: Leaving directory '/build/hdf4-java/src/hdf-4.2.13/java'
make: *** [Makefile:528: all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

No idea how to fix it...

eleftg commented on 2018-05-16 21:14

Fixed. It was a configuration issue. The hdf4 autoconf infrastructure is quite dated and on top of that the rpc headers recently passed from glibc to libtirpc, so changes were needed to the configuration script.

See also:

https://bugs.archlinux.org/task/58414

https://lists.opensuse.org/opensuse-factory/2018-03/msg00097.html

nisok commented on 2018-05-16 11:09

This package does not compile. It fails will error --enable-hdf4-xdr does not support 64bit

greyltc commented on 2018-05-08 09:53

I'm having trouble building this package.

Problems with missing: hdf4-java/src/hdf-4.2.13/bin/missing: Unknown '--is-lightweight'

Problems with FORTRAN: gfortran: error: unrecognized command line option '-V'

But then this is what kills it: configure: error: --enable-hdf4-xdr is not supported for 64 bit mode.

Build log here --> log.txt

Also, I have:

$ archlinux-java status
Available Java environments:
  java-10-jdk
  java-7-openjdk
  java-8-openjdk (default)

Does it matter what java I'm using?