clj-yaml-clojure: FTBFS with OpenJDK 21 due to unsupported javac source/target level 7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
clj-yaml-clojure (Debian) |
New
|
Unknown
|
|||
clj-yaml-clojure (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
clj-yaml-clojure 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.
dpkg-buildpackage
-----------------
Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot
dpkg-
dpkg-
dpkg-
dpkg-
dpkg-source --before-build .
dpkg-
debian/rules clean
dh clean --with javahelper --with maven_repo_helper
jh_clean
debian/rules execute_
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f debian/maven-repo
rm -f debian/pom.xml
rm -Rf target
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules binary
dh binary --with javahelper --with maven_repo_helper
dh_
dh_autoreconf
debian/rules override_
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd debian && ln -sf /usr/share/
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
jh_linkjars
debian/rules override_
make[1]: Entering directory '/<<PKGBUILDDIR>>'
lein pom debian/pom.xml
Wrote /<<PKGBUILDDIR>
lein jar
Compiling 1 source files to /<<PKGBUILDDIR>
error: Source option 7 is no longer supported. Use 8 or later.
error: Target option 7 is no longer supported. Use 8 or later.
Compilation of Java sources(lein javac) failed.
make[1]: *** [debian/rules:18: override_
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary] Error 2
dpkg-
-----
Build finished at 2023-09-
Related branches
- Matthias Klose: Pending requested
- git-ubuntu import: Pending requested
-
Diff: 61 lines (+29/-1)4 files modifieddebian/changelog (+7/-0)
debian/control (+2/-1)
debian/patches/0002-javac-options.patch (+19/-0)
debian/patches/series (+1/-0)
Changed in clj-yaml-clojure (Debian): | |
status: | Unknown → New |
piuparts install/ upgrade/ purge tests (OK)