nescc: FTBFS with OpenJDK 21 due to unsupported javac source/target level 7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nescc (Debian) |
Fix Released
|
Unknown
|
|||
nescc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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 '/<<PKGBUILDDIR
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/<<PKGBUILDDIR
Making all in tools
make[2]: Entering directory '/<<PKGBUILDDIR
Making all in java
make[3]: Entering directory '/<<PKGBUILDDIR
Making all in net
make[4]: Entering directory '/<<PKGBUILDDIR
Making all in tinyos
make[5]: Entering directory '/<<PKGBUILDDIR
Making all in nesc
make[6]: Entering directory '/<<PKGBUILDDIR
Making all in wiring
make[7]: Entering directory '/<<PKGBUILDDIR
CLASSPATH=
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
Related branches
- Matthias Klose: Pending requested
- git-ubuntu import: Pending requested
-
Diff: 103 lines (+21/-8)4 files modifieddebian/changelog (+8/-0)
debian/control (+2/-1)
debian/patches/compile-for-old-java.patch (+7/-7)
debian/rules (+4/-0)
Changed in nescc (Debian): | |
status: | Unknown → New |
Changed in nescc (Debian): | |
status: | New → Fix Released |
This bug was fixed in the package nescc - 1.3.5-1.1ubuntu1
---------------
nescc (1.3.5-1.1ubuntu1) noble; urgency=medium
* d/p/compile- for-old- java.patch, d/rules: use JAVA_COMPAT_LEVEL
environment variable provided by java-common to adjust -source/-target
level to the minimum required by the default Java (LP: #2052574).
-- Vladimir Petko <email address hidden> Wed, 07 Feb 2024 14:35:09 +1300