HDFview Build Error on linux

Hi

Building HDFview 3.2.0 with Hdf5 1.12.0.
I get this error:

Buildfile: /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build.xml
     [echo] 
     [echo]      Application:      HDFView 3.2.0
     [echo]      Build File:       /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build.xml
     [echo]      
     [echo]      Run by:           root
     [echo]      Build Dir:        build
     [echo]      Base Dir:         /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0
     [echo]      Dist Dir:         build/dist
     [echo]      Java Home:        /usr/lib/jvm/java-11-openjdk-11.0.13.0.8-2.1.mga8.x86_64
     [echo]      HDF libpath:      /usr/local/lib,/usr/local/lib
     [echo]      HDF4 version:     4.2.15
     [echo]      HDF5 version:     1.12.0
     [echo]      Operating System: Linux 5.17.9-desktop-1.mga8 amd64
     [echo]      Debug Build:      true
     [echo]     
     [echo] running on Unix

clean:
   [delete] Deleting directory /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes
   [delete] Deleting directory /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build
    [mkdir] Created dir: /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes/org.hdfgroup.object
    [mkdir] Created dir: /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes/org.hdfgroup.hdfview
    [mkdir] Created dir: /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes/hdf

create-property-file:
[propertyfile] Creating new property file: /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes/hdf/versions.properties

compileobj:
     [copy] Copied 2 empty directories to 2 empty directories under /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes/org.hdfgroup.object

compilehdf4:
     [copy] Copied 1 empty directory to 1 empty directory under /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes/org.hdfgroup.object

compilefits:
     [copy] Copied 1 empty directory to 1 empty directory under /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes/org.hdfgroup.object

compilenc2:
     [copy] Copied 1 empty directory to 1 empty directory under /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes/org.hdfgroup.object

compilehdf5:
     [copy] Copied 1 empty directory to 1 empty directory under /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes/org.hdfgroup.object

compile:
    [javac] Compiling 105 source files to /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes
    [javac] /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/src/org.hdfgroup.object/hdf/object/h5/H5File.java:2919: error: incompatible types: long cannot be converted to String
    [javac]         H5.H5export_dataset(file_export_name, did, object.getFullName(), binary_order);
    [javac]                                               ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
    [javac] 1 error

BUILD FAILED
/home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build.xml:344: Compile failed; see the compiler error output for details.

Any Idea?

Regards

hdfview 3.2.0 requires the latest 1.12.2 release.

Thanks a lot for your help.
But the error remain:

[root@localhost hdfview-3.2.0]# ant run 
Buildfile: /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build.xml
     [echo] 
     [echo]      Application:      HDFView 3.2.0
     [echo]      Build File:       /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build.xml
     [echo]      
     [echo]      Run by:           root
     [echo]      Build Dir:        build
     [echo]      Base Dir:         /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0
     [echo]      Dist Dir:         build/dist
     [echo]      Java Home:        /usr/lib/jvm/java-16-openjdk-16.0.0.0.36-0.rolling.1.mga8.x86_64
     [echo]      HDF libpath:      /usr/local/lib,/usr/local/lib
     [echo]      HDF4 version:     4.2.15
     [echo]      HDF5 version:     1.12.2
     [echo]      Operating System: Linux 5.17.9-desktop-1.mga8 amd64
     [echo]      Debug Build:      true
     [echo]     
     [echo] running on Unix

clean:
   [delete] Deleting directory /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes
   [delete] Deleting directory /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build
    [mkdir] Created dir: /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes/org.hdfgroup.object
    [mkdir] Created dir: /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes/org.hdfgroup.hdfview
    [mkdir] Created dir: /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes/hdf

create-property-file:
[propertyfile] Creating new property file: /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes/hdf/versions.properties

compileobj:
     [copy] Copied 2 empty directories to 2 empty directories under /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes/org.hdfgroup.object

compilehdf4:
     [copy] Copied 1 empty directory to 1 empty directory under /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes/org.hdfgroup.object

compilefits:
     [copy] Copied 1 empty directory to 1 empty directory under /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes/org.hdfgroup.object

compilenc2:
     [copy] Copied 1 empty directory to 1 empty directory under /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes/org.hdfgroup.object

compilehdf5:
     [copy] Copied 1 empty directory to 1 empty directory under /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes/org.hdfgroup.object

compile:
    [javac] Compiling 105 source files to /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build/classes
    [javac] /home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/src/org.hdfgroup.object/hdf/object/h5/H5File.java:2919: error: incompatible types: long cannot be converted to String
    [javac]         H5.H5export_dataset(file_export_name, did, object.getFullName(), binary_order);
    [javac]                                               ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
    [javac] 1 error

BUILD FAILED
/home/baptiste/Code_Info/PLPLP4/hdfview-3.2.0/build.xml:344: Compile failed; see the compiler error output for details.

I will investigate. Strange because all our binaries were built with the source tar.gz.
Only other idea is maybe the file on the website is not the latest.

Is the 1.12.2 built from the release tar.gz file?

In the java/src/hdf/hdf5lib/H5.java file about line 528:
public synchronized static native void H5export_dataset(String file_export_name, long file_id,
String object_path, int binary_order) throws HDF5LibraryException;
The old 1.10 version was:
public static void H5export_dataset(String file_export_name, String file_name, String object_path,
int binary_order) throws HDF5LibraryException