Bug#1095496: java-common: please provide libjvm.so path for reverse build dependencies

Alexandre Rossi niol at zincube.net
Sat Feb 8 13:51:58 GMT 2025


Package: java-common
Version: 0.76
Severity: normal

Dear Maintainer,

When a package builds agains libjvm.so, it is not trivial to know libjvm.so
path. includes are provided but not linking info.

It would be great to have ome variable in /usr/share/java/java_defaults.mk
documenting libjvm.so path.

I found an upstream bug report[1] that tells me it depends on the jvm
variant. For src:uwsgi-plugin-java, I went with a non ideal solution[2].
Some other seem to brute force[3] libjvm.so location.

I think Debian should provide some easier and more determistic way.

Thanks,

Alex

[1] https://bugs.openjdk.org/browse/JDK-8273494
[2] https://salsa.debian.org/uwsgi-team/uwsgi-plugin-java/-/commit/d00bfabf30201ef940b7ff192609b792612463c1
[3] https://github.com/Kitware/CMake/commit/983291669dade10e5225389b07f6a7329d9c2d3a

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.10-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

java-common depends on no packages.

java-common recommends no packages.

Versions of packages java-common suggests:
ii  default-jre  2:1.21-76

-- no debconf information



More information about the pkg-java-maintainers mailing list