icedtea-web: FTBFS with OpenJDK 21: jdk.internal.util.jar.JarIndex not found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
icedtea-web (Debian) |
New
|
Unknown
|
|||
icedtea-web (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
icedtea-web fails to build with OpenJDK 21 during the configure phase:
checking for a JDK home directory... /usr/lib/
checking for javac... /usr/lib/
checking for ecj... no
checking for ecj-3.1... no
checking for ecj-3.2... no
checking for ecj-3.3... no
checking if we are using ecj as javac... no
checking for jar... /usr/lib/
checking whether jar supports @<file> argument... yes
checking whether jar supports stdin file arguments... no
checking whether jar supports -J options at the end... yes
checking for an ecj JAR file... no
checking for a JRE home directory... /usr/lib/
checking for a Java virtual machine... /usr/bin/java
checking JDK version... 21
checking for javadoc... /usr/lib/
checking whether javadoc supports -J options... yes
checking for keytool... /usr/lib/
checking for jarsigner... /usr/lib/
checking for hg... no
checking for distribution package version... 1.8.8
checking what version string to use... 1.8.8 (1.8.8)
checking whether to build the browser plugin... no
checking whether make supports the include directive... yes (GNU style)
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to build plugin jar for javaws -html... no
checking if java.net.
checking if java.net.HttpCookie is available from some.pkg (module "")... yes
checking if java.net.
checking if sun.security.
checking if sun.security.
checking if sun.security.
checking if sun.security.
checking if sun.security.
checking if jdk.internal.
configure: error: jdk.internal.
make[1]: *** [debian/rules:12: override_
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: build] Error 2
dpkg-
After fixing configure issue, the following occurs in default Java 21 vm:
$/usr/share/
WARNING: package sun.applet not in java.desktop
WARNING: package com.sun.
WARNING: package jdk.internal.
WARNING: A command line option has enabled the Security Manager
WARNING: The Security Manager is deprecated and will be removed in a future release
Gtk-Message: 04:11:03.826: Failed to load module "canberra-
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System:
WARNING: Please consider reporting this to the maintainers of net.sourceforge
WARNING: System:
Unable to use Firefox's proxy settings. Using "DIRECT" as proxy type.
Codebase matches codebase manifest attribute, but application is unsigned. Continuing. See: http://
The 'permissions' attribute is 'sandbox' and the applet is signed. Forcing sandbox.
The 'permissions' attribute is 'sandbox' and the applet is signed. Forcing sandbox.
java.lang.
at java.desktop/
at java.desktop/
at java.base/
at java.desktop/
at java.desktop/
at java.desktop/
at java.desktop/
at java.desktop/
at java.desktop/
at java.desktop/
at java.desktop/
at java.desktop/
Caused by: java.lang.
at java.desktop/
... 12 more
Exception in thread "Dynamic Tree Demo" java.lang.
at java.desktop/
Caused by: java.lang.
at java.desktop/
at java.desktop/
at java.base/
at java.desktop/
at java.desktop/
at java.desktop/
at java.desktop/
at java.desktop/
at java.desktop/
at java.desktop/
at java.desktop/
at java.desktop/
Caused by: java.lang.
at java.desktop/
... 12 more
Related branches
- Canonical Foundations Team: Pending requested
- Ubuntu Sponsors: Pending requested
- git-ubuntu import: Pending requested
-
Diff: 162 lines (+122/-1)5 files modifieddebian/changelog (+6/-0)
debian/control (+2/-1)
debian/patches/jdk-21-autoconf.patch (+74/-0)
debian/patches/jdk-21-jarindex.patch (+38/-0)
debian/patches/series (+2/-0)
description: | updated |
Changed in icedtea-web (Debian): | |
status: | Unknown → New |
This bug was fixed in the package icedtea-web - 1.8.8-2ubuntu1
---------------
icedtea-web (1.8.8-2ubuntu1) noble; urgency=medium
* d/p/jdk-21-*: add Java 21 compatibility patches (LP: #2053208).
-- Vladimir Petko <email address hidden> Thu, 15 Feb 2024 20:50:42 +1300