Bug#981973: libapache-poi-java: FTBFS with OpenJDK 17 due to Nashorn removal

Emmanuel Bourg ebourg at apache.org
Fri Feb 5 13:34:41 GMT 2021


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

libapache-poi-java fails to build with OpenJDK 17 due to the removal of Nashorn:


  Command: dpkg-buildpackage --sanitize-env -us -uc -rfakeroot
  dpkg-buildpackage: info: source package libapache-poi-java
  dpkg-buildpackage: info: source version 4.0.1-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 --with maven-repo-helper --with javahelper
     dh_auto_clean
          ant -propertyfile ./debian/ant.properties clean
  Buildfile: /<<PKGBUILDDIR>>/build.xml
  Java 15 has removed Nashorn, you must provide an engine for running JavaScript yourself. GraalVM JavaScript currently is the preferred option.
  
  BUILD FAILED
  /<<PKGBUILDDIR>>/build.xml:87: Unable to create javax script engine for javascript



More information about the pkg-java-maintainers mailing list