Public bug reported: https://launchpad.net/ubuntu/+source/openjdk-21/21.0.3~6ea-1 locked down openjdk-21 dependencies so that jre-headless no longer depends on libfontmanager.
This causes the build failure[1]: [Xalan2Processor] Applying XSL sheet "sbk:/style/stylesheets/context2label.xsl" Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-21-openjdk-amd64/lib/libfontmanager.so: libharfbuzz.so.0: cannot open shared object file: No such file or directory at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:331) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:197) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:139) at java.base/jdk.internal.loader.NativeLibraries.findFromPaths(NativeLibraries.java:259) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:249) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2427) at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:916) at java.base/java.lang.System.loadLibrary(System.java:2063) at java.desktop/sun.font.FontManagerNativeLibrary$1.run(FontManagerNativeLibrary.java:58) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at java.desktop/sun.font.FontManagerNativeLibrary.<clinit>(FontManagerNativeLibrary.java:33) at java.desktop/sun.font.SunFontManager$1.run(SunFontManager.java:269) at java.desktop/sun.font.SunFontManager$1.run(SunFontManager.java:267) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at java.desktop/sun.font.SunFontManager.initStatic(SunFontManager.java:267) at java.desktop/sun.font.SunFontManager.<clinit>(SunFontManager.java:262) at java.desktop/sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:260) at java.desktop/sun.java2d.SunGraphics2D.getFontMetrics(SunGraphics2D.java:870) at org.apache.stylebook.printers.ImagePrinter.placeText(Unknown Source) at org.apache.stylebook.printers.ImagePrinter.processElement(Unknown Source) at org.apache.stylebook.printers.ImagePrinter.print(Unknown Source) [1] https://launchpad.net/ubuntu/+source/xerces-c/3.2.4+debian-1.2build1/+build/27931542 ** Affects: xerces-c (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2058113 Title: xerces-c ftbfs due to dependency on jre-headless To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xerces-c/+bug/2058113/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs