Source: clj-yaml-clojure
Version: 0.7.2-1
Severity: important
Tags: ftbfs sid trixie
User: debian-j...@lists.debian.org
Usertags: default-java21


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-buildpackage: info: source package clj-yaml-clojure
  dpkg-buildpackage: info: source version 0.7.2-1
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Jérôme Charaoui <jer...@riseup.net>
   dpkg-source --before-build .
  dpkg-buildpackage: info: host architecture amd64
   debian/rules clean
  dh clean --with javahelper --with maven_repo_helper
     jh_clean
     debian/rules execute_before_dh_clean
  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_update_autotools_config
     dh_autoreconf
     debian/rules override_dh_auto_configure
  make[1]: Entering directory '/<<PKGBUILDDIR>>'
  cd debian && ln -sf /usr/share/maven-repo .
  make[1]: Leaving directory '/<<PKGBUILDDIR>>'
     jh_linkjars
     debian/rules override_dh_auto_build
  make[1]: Entering directory '/<<PKGBUILDDIR>>'
  lein pom debian/pom.xml
  Wrote /<<PKGBUILDDIR>>/debian/pom.xml
  lein jar
  Compiling 1 source files to /<<PKGBUILDDIR>>/target/classes
  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_dh_auto_build] Error 1
  make[1]: Leaving directory '/<<PKGBUILDDIR>>'
  make: *** [debian/rules:11: binary] Error 2
  dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 
2
  
--------------------------------------------------------------------------------
  Build finished at 2023-09-22T21:44:04Z

Reply via email to