Bug#1052582: nescc: FTBFS with OpenJDK 21 due to unsupported javac source/target level 7

2023-11-19 Thread Vladimir Petko
Dear Maintainers,

 Would it be possible to consider a merge request[1] that addresses this
issue?

Best Regards,
 Vladimir.

[1]
https://salsa.debian.org/debian/nescc/-/merge_requests/1#9c96da0e9f91d7d8937b69b524702c106258f0d1


Bug#1052582: nescc: FTBFS with OpenJDK 21 due to unsupported javac source/target level 7

2023-09-24 Thread Emmanuel Bourg
Source: nescc
Version: 1.3.5-1.1
Severity: important
Tags: ftbfs sid trixie
User: debian-j...@lists.debian.org
Usertags: default-java21


nescc 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.


  Making all in doc
  make[2]: Entering directory '/<>/doc'
  make[2]: Nothing to be done for 'all'.
  make[2]: Leaving directory '/<>/doc'
  Making all in tools
  make[2]: Entering directory '/<>/tools'
  Making all in java
  make[3]: Entering directory '/<>/tools/java'
  Making all in net
  make[4]: Entering directory '/<>/tools/java/net'
  Making all in tinyos
  make[5]: Entering directory '/<>/tools/java/net/tinyos'
  Making all in nesc
  make[6]: Entering directory '/<>/tools/java/net/tinyos/nesc'
  Making all in wiring
  make[7]: Entering directory 
'/<>/tools/java/net/tinyos/nesc/wiring'
  CLASSPATH=`cygpath -w ../../../.. 2>/dev/null || echo ../../../..` javac 
-source 1.7 -target 1.7 WiringCheck.java
  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[7]: *** [Makefile:469: WiringCheck.class] Error 2