[Debian-med-packaging] Bug#981926: neobio: FTBFS with OpenJDK 17 due to unsupported javac source/target level 6
Emmanuel Bourg
ebourg at apache.org
Fri Feb 5 08:01:47 GMT 2021
Source: neobio
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
neobio fails to build with OpenJDK 17 because it invokes javac with
the source/target options set to 6. Since OpenJDK 12 the minimum
version supported is 7.
dh binary --with javahelper
dh_update_autotools_config
dh_autoreconf
jh_linkjars
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p classes
javac -cp src -source 1.6 -target 1.6 -d classes src/neobio/textui/NeoBio.java src/neobio/textui/RandomFactorSequenceGenerator.java [...]
warning: [options] bootstrap class path not set in conjunction with -source 6
error: Source option 6 is no longer supported. Use 7 or later.
error: Target option 6 is no longer supported. Use 7 or later.
More information about the Debian-med-packaging
mailing list