Bug#1052570: jlapack: FTBFS with OpenJDK 21 due to unsupported javac source/target level 7
Emmanuel Bourg
ebourg at apache.org
Sun Sep 24 22:13:30 BST 2023
Source: jlapack
Version: 0.8~dfsg-5
Severity: important
Tags: ftbfs sid trixie
User: debian-java at lists.debian.org
Usertags: default-java21
jlapack 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.
mkdir -p simple/org/netlib/blas
cp `find obj/org/netlib/blas -name "[A-Z][A-Z]*.java"` simple/org/netlib/blas
javac -source 1.7 -target 1.7 -classpath .:blas.jar:simple:../../src/util/f2jutil.jar:../../src/error_reporting/xerbla.jar simple/org/netlib/blas/*.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[4]: [Makefile:13: blas.jar] Error 2 (ignored)
cd simple; jar cvf ../blas_simple.jar `find . -name "*.class"`
'c' flag requires manifest or input files to be specified!
Try `jar --help' for more information.
More information about the pkg-java-maintainers
mailing list