Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing provide for LibreOffice on Fedora #1126

Open
thmo opened this issue Feb 6, 2025 · 1 comment
Open

Add missing provide for LibreOffice on Fedora #1126

thmo opened this issue Feb 6, 2025 · 1 comment

Comments

@thmo
Copy link

thmo commented Feb 6, 2025

Trying to replace the Fedora JDK RPMs with the adoptium provided, this requirement is not satisfied:

libjvm.so()(64bit) is needed by (installed) libreoffice-ure-1:24.8.4.2-2.fc41.x86_64

I guess LO should work with temurin-21, and it contains the libjvm.so:

$ rpm -ql temurin-21-jdk  | grep libjvm
/usr/lib/jvm/temurin-21-jdk/lib/server/libjvm.so

but misses the virtual provides that the Fedora LO package expects:

$ rpm -q --provides temurin-21-jdk | grep jvm
# no result

A small test (force-removing java-21-openjdk-headless) shows that LO finds "Eclipse Adoptium" as JRE and extensions still seem to work.

Related to #848.

@judovana
Copy link

The provides of in-jdk libraries is tricky: https://src.fedoraproject.org/rpms/java-21-openjdk/blob/f40/f/java-21-openjdk.spec#_391

#################################################################
# fix for https://bugzilla.redhat.com/show_bug.cgi?id=1111349
#         https://bugzilla.redhat.com/show_bug.cgi?id=1590796#c14
#         https://bugzilla.redhat.com/show_bug.cgi?id=1655938
%global _privatelibs libsplashscreen[.]so.*|libawt_xawt[.]so.*|libjli[.]so.*|libattach[.]so.*|libawt[.]so.*|libextnet[.]so.*|libawt_headless[.]so.*|libdt_socket[.]so.*|libfontmanager[.]so.*|libinstrument[.]so.*|libj2gss[.]so.*|libj2pcsc[.]so.*|libj2pkcs11[.]so.*|libjaas[.]so.*|libjavajpeg[.]so.*|libjdwp[.]so.*|libjimage[.]so.*|libjsound[.]so.*|liblcms[.]so.*|libmanagement[.]so.*|libmanagement_agent[.]so.*|libmanagement_ext[.]so.*|libmlib_image[.]so.*|libnet[.]so.*|libnio[.]so.*|libprefs[.]so.*|librmi[.]so.*|libsaproc[.]so.*|libsctp[.]so.*|libsystemconf[.]so.*|libzip[.]so.*%{freetype_lib}
%global _publiclibs libjawt[.]so.*|libjava[.]so.*|libjvm[.]so.*|libverify[.]so.*|libjsig[.]so.*

And needs maintenance with each jdk major release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants