Bug#880205: gmsh: FTBFS w/Java 1.5 (on hurd-i386)

Aaron M. Ucko ucko at debian.org
Mon Oct 30 15:10:00 UTC 2017


Source: gmsh
Version: 3.0.5+dfsg1-1
Severity: important
Tags: upstream
Justification: fails to build from source
User: debian-hurd at lists.debian.org

The build of gmsh for hurd-i386 (admittedly not a release
architecture) has been failing.  The immediate cause of failure at
this point presumably relates to this architecture's continued use of
Java 1.5, since newer versions are unavailable there (or on hppa, also
a non-release architecture, on which gmsh's build dependencies are
currently impossible to satisfy at all due to a freeimage FTBFS I'll
report shortly).

At any rate, per
https://buildd.debian.org/status/fetch.php?pkg=gmsh&arch=hurd-i386&ver=3.0.5%2Bdfsg1-1&stamp=1509336181&raw=0
the errors are

  /<<BUILDDIR>>/gmsh-3.0.5+dfsg1/wrappers/java/WrappingJava/src/main/java/org/geuz/gmsh/utils/NativeSet.java:147: error: The method hasNext() of type NativeSet<T>.NativeSetIterator must override a superclass method
  /<<BUILDDIR>>/gmsh-3.0.5+dfsg1/wrappers/java/WrappingJava/src/main/java/org/geuz/gmsh/utils/NativeSet.java:157: error: The method next() of type NativeSet<T>.NativeSetIterator must override a superclass method
  /<<BUILDDIR>>/gmsh-3.0.5+dfsg1/wrappers/java/WrappingJava/src/main/java/org/geuz/gmsh/utils/NativeSet.java:171: error: The method remove() of type NativeSet<T>.NativeSetIterator must override a superclass method

If making this code compatible with Java 1.5 is infeasible, I suppose
one option might be to skip the Java build and corresponding binary
package here and on hppa, though the Architecture: field alas lacks
support for negative entries.  Another alternative could be to version
the default-jdk build dependency; if you go that route, please bear in
mind that it currently has an epoch of 2, so you'd want to specify
default-jdk (>= 2:1.8~).

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu



More information about the debian-science-maintainers mailing list