Bug#981998: icu4j: FTBFS with OpenJDK 17 due to JDK detection error

Emmanuel Bourg ebourg at apache.org
Fri Feb 5 15:30:22 GMT 2021


Source: icu4j
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17

icu4j fails to build with OpenJDK 17 because the JDK version isn't properly detected
(this might be related to the use of a -ea release)


  Command: dpkg-buildpackage --sanitize-env -us -uc -rfakeroot
  dpkg-buildpackage: info: source package icu4j
  dpkg-buildpackage: info: source version 68.2-1
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Emmanuel Bourg <ebourg at apache.org>
   dpkg-source --before-build .
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  dh clean --buildsystem=ant --with=maven-repo-helper
     dh_auto_clean -O--buildsystem=ant
          ant -propertyfile ./debian/ant.properties clean
  Buildfile: /<<PKGBUILDDIR>>/build.xml
  
  BUILD FAILED
  /<<PKGBUILDDIR>>/build.xml:130: The JDK version is too old or unknown.
  
  Total time: 0 seconds
  dh_auto_clean: error: ant -propertyfile ./debian/ant.properties clean returned exit code 1
  make: *** [debian/rules:4: clean] Error 25



More information about the pkg-java-maintainers mailing list