Source: geotranz
Version: 3.7-3
Severity: important
Tags: ftbfs sid trixie
Usertags: default-java21

geotranz fails to build with OpenJDK 21 because it invokes javac with
the source/target options set to 7. Since OpenJDK 20 the minimum version
supported is 8.

  make makefile-build-indep-target
  make[1]: Entering directory '/<<PKGBUILDDIR>>'
  make -C GEOTRANS3/java_gui all
  make[2]: Entering directory '/<<PKGBUILDDIR>>/GEOTRANS3/java_gui'
  chmod 644 geotrans3/gui/icons/*.gif
  test -f Geotrans_orig.gif || { \
          cp geotrans3/gui/icons/Geotrans.gif Geotrans_orig.gif; \
          giftrans -t '#ced0ce' -o geotrans3/gui/icons/Geotrans.gif 
Geotrans_orig.gif; \
  test -f Icon_orig.gif || { \
          cp geotrans3/gui/icons/Icon.gif Icon_orig.gif; \
          convert -shave 2x2 -scale 16x16 geotrans3/gui/icons/Geotrans.gif 
geotrans3/gui/icons/Icon.gif; \
  test -f NGA_orig.gif || { \
          cp geotrans3/gui/icons/NGA.gif NGA_orig.gif; \
          giftrans -t '#ffffff' -o geotrans3/gui/icons/NGA.gif NGA_orig.gif; \
  find geotrans3 -type f -name '*.java' > files
  /usr/lib/jvm/default-java/bin/javac -source 1.7 -target 1.7 @files
  warning: [options] bootstrap class path not set in conjunction with -source 7
  error: Source option 7 is no longer supported. Use 8 or later.
  error: Target option 7 is no longer supported. Use 8 or later.
  make[2]: *** [Makefile:11: compile] Error 2
  make[2]: Leaving directory '/<<PKGBUILDDIR>>/GEOTRANS3/java_gui'
  make[1]: *** [Makefile:7: makefile-build-indep-target] Error 2
  make[1]: Leaving directory '/<<PKGBUILDDIR>>'
  make: *** [debian/rules:10: build-indep] Error 2
  dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Reply via email to