[Not reassigning yet to openjdk-17-jre-headless, as the change
was done on purpose, but Cc-ing the OpenJDK Team.]

Hi,

Since no-one looked at this issue in a month and gnucash-docs
has now been removed from testing...

On 2024-03-20 22:03:18 +0100, Lucas Nussbaum wrote:
[...]
> > Exception in thread "main" java.lang.UnsatisfiedLinkError: 
> > /usr/lib/jvm/java-17-openjdk-amd64/lib/libfontmanager.so: libharfbuzz.so.0: 
> > cannot open shared object file: No such file or directory
[...]

Indeed, on my machine

qaa:~> ldd /usr/lib/jvm/java-17-openjdk-amd64/lib/libfontmanager.so | grep 
libharfbuzz
        libharfbuzz.so.0 => /lib/x86_64-linux-gnu/libharfbuzz.so.0 
(0x00007fe984534000)

where /usr/lib/jvm/java-17-openjdk-amd64/lib/libfontmanager.so
comes from openjdk-17-jre-headless, but the build log shows
that libharfbuzz0b is not installed, while being recommended by
openjdk-17-jre-headless. However, I would say that even though
libharfbuzz.so.0 is used by a particular library, this should
be a "Depends:", not a "Recommends:". In any case, I think
that gnucash-docs is not supposed to know the libfontmanager.so
internals, i.e. this cannot be a bug in gnucash-docs.

But also

qaa:~> ldd /usr/lib/jvm/java-17-openjdk-amd64/lib/libfontmanager.so | grep 
freetype
        libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 
(0x00007f835ed1d000)

while libfreetype6 is also only recommended.

openjdk-17 (17.0.10+7-3) unstable; urgency=medium
[...]
  * Make the dependencies for libfontmanager.so and libjsound.so
    recommendations in jre-headless, and dependencies in jre.
[...]
 -- Matthias Klose <d...@ubuntu.com>  Mon, 11 Mar 2024 16:08:33 +0100

which was done in commit

https://salsa.debian.org/openjdk-team/openjdk/-/commit/6f0e4b17a1ff58aaf32da9be9abcf0224c481885

But why?

A warning has been added in

https://salsa.debian.org/openjdk-team/openjdk/-/commit/8010273018af3ada65de8901735ab60bb0dd5c0e

but this is the kind of things that building systems will ignore.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to