Your message dated Fri, 23 Aug 2024 17:49:12 +0000
with message-id <e1shypq-008eyx...@fasolo.debian.org>
and subject line Bug#1079438: fixed in libreoffice 4:24.8.1~rc1-1
has caused the Debian Bug report #1079438,
regarding libreoffice: FTBFS on armel, mips64el, loong64, powerpc: libjvm.so
location change in openjdk-21 Zero VM
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1079438: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1079438
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libreoffice
Severity: serious
Tags: ftbfs patch upstream
Justification: fails to build from source (but built successfully in the past)
Dear Maintainer,
Recently, the default-jdk was switched to openjdk-21 in unstable.
However in OpenJDK 21+ Zero VM builds, the location of libjvm.so has
changed from $JAVA_HOME/lib/server to $JAVA_HOME/lib/zero, making the
LO plugin loader unable to locate the JVM thus breaking the build.
Example build log message:
> exception occurred: Could not create Java implementation loader at
> ./stoc/source/javaloader/javaloader.cxx:551
Build logs of 24.2.5-3 that show the failure:
-
https://buildd.debian.org/status/fetch.php?pkg=libreoffice&arch=mips64el&ver=4%3A24.2.5-3&stamp=1723467805&raw=0
-
https://buildd.debian.org/status/fetch.php?pkg=libreoffice&arch=loong64&ver=4%3A24.2.5-3&stamp=1724299296&raw=0
-
https://buildd.debian.org/status/fetch.php?pkg=libreoffice&arch=powerpc&ver=4%3A24.2.5-3&stamp=1723338137&raw=0
I have created a fix upstream at
https://gerrit.libreoffice.org/c/core/+/172248 which I tested locally to
fix the Debian build. Before the fix is integrated upstream, the patch
could be individually applied to allow the current version(s) to build.
Thanks!
-- System Information:
Debian Release: trixie/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: loong64 (loongarch64)
Kernel: Linux 6.9.9-gentoo-dist (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
>From 85aecfe4fa9b28baf4b4b44b80f03d14f91c5eb2 Mon Sep 17 00:00:00 2001
From: WANG Xuerui <xe...@gentoo.org>
Date: Thu, 22 Aug 2024 14:22:49 +0800
Subject: [PATCH] sunjre: check all four possible OpenJDK variants for
libjvm.so
Since OpenJDK 21, the "minimal" and "zero" variants of JVM no longer
reside in the "server" directory in $JAVA_HOME/lib, making the loader
unable to find libjvm.so. This regresses LO builds on platforms with
only those variants of JVM (i.e. without a HotSpot port).
Example error message is like this:
> exception occurred: Could not create Java implementation loader at
> ./stoc/source/javaloader/javaloader.cxx:551
Fix it by probing all four possible variant directories for libjvm.so.
This is tested on Debian unstable (loong64 port) to fix the packaging.
Link: https://bugs.openjdk.org/browse/JDK-8273494
Link: https://github.com/openjdk/jdk/pull/5440
Link:
https://github.com/openjdk/jdk/commit/8fbcc8239a3fc04e56ebbd287c7bb5db731977b7
Change-Id: I3545f93054d7a3af0181e4c739c82efaaf8aeaed
---
jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx
b/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx
index a0f8cbee1f3e..926a0e469935 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx
@@ -63,10 +63,15 @@ char const* const* SunInfo::getRuntimePaths(int * size)
"/lib/jli/libjli.dylib"
#elif defined UNX
"/lib/" JFW_PLUGIN_ARCH "/client/libjvm.so",
+ "/lib/" JFW_PLUGIN_ARCH "/minimal/libjvm.so",
"/lib/" JFW_PLUGIN_ARCH "/server/libjvm.so",
+ "/lib/" JFW_PLUGIN_ARCH "/zero/libjvm.so",
"/lib/" JFW_PLUGIN_ARCH "/classic/libjvm.so",
"/lib/" JFW_PLUGIN_ARCH "/jrockit/libjvm.so",
- "/lib/server/libjvm.so"
+ "/lib/client/libjvm.so",
+ "/lib/minimal/libjvm.so",
+ "/lib/server/libjvm.so",
+ "/lib/zero/libjvm.so"
#endif
};
*size = SAL_N_ELEMENTS(ar);
@@ -78,7 +83,9 @@ char const* const* SunInfo::getLibraryPaths(int* size)
#if defined UNX && !defined MACOSX
static char const * ar[] = {
"/lib/" JFW_PLUGIN_ARCH "/client",
+ "/lib/" JFW_PLUGIN_ARCH "/minimal",
"/lib/" JFW_PLUGIN_ARCH "/server",
+ "/lib/" JFW_PLUGIN_ARCH "/zero",
"/lib/" JFW_PLUGIN_ARCH "/native_threads",
("/lib/" JFW_PLUGIN_ARCH)
};
--
2.45.2
--- End Message ---
--- Begin Message ---
Source: libreoffice
Source-Version: 4:24.8.1~rc1-1
Done: Rene Engelhard <r...@debian.org>
We believe that the bug you reported is fixed in the latest version of
libreoffice, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1079...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Rene Engelhard <r...@debian.org> (supplier of updated libreoffice package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 23 Aug 2024 16:44:00 +0200
Source: libreoffice
Architecture: source
Version: 4:24.8.1~rc1-1
Distribution: experimental
Urgency: medium
Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Changed-By: Rene Engelhard <r...@debian.org>
Closes: 1079438
Changes:
libreoffice (4:24.8.1~rc1-1) experimental; urgency=medium
.
* New upstream release candidate
.
* debian/patches/jdk-minimal-and-zero-paths.diff: add new
minimal/zero JDK paths as of OpenJDK 21, thanks
WANG Xuerui <i.sa...@xen0n.name> (closes: #1079438).
Keep Java disabled on armel though for consistency with armhf
* debian/patches/moreIconsDialog-accesses-internet.diff: fix logic
* debian/tests/control.in: go sure and add needs-internet restriction here,
too (it runs a additiondialog UI test)
Checksums-Sha1:
60efe4ff3443c550eca045eecd500935101ed114 37226 libreoffice_24.8.1~rc1-1.dsc
66f94b5aeee7b31d70edaafc6c9568188404ac6d 165170888
libreoffice_24.8.1~rc1.orig-helpcontent2.tar.xz
4d68e96830400db5008d5f6a2a82cbc5e699daec 213130112
libreoffice_24.8.1~rc1.orig-translations.tar.xz
a6589cc06d63c16df84cd190ff7f81db772f587f 280522588
libreoffice_24.8.1~rc1.orig.tar.xz
08f6f1a20c1b2aef6af8d916c74b0a5466d69f65 833
libreoffice_24.8.1~rc1.orig.tar.xz.asc
8ef9d89c9bdbf9f66bb578fe26c4fb1b3c77cb9f 23379168
libreoffice_24.8.1~rc1-1.debian.tar.xz
fdc4e53d3025c00412ada19b0239cc8048b92a36 20906
libreoffice_24.8.1~rc1-1_source.buildinfo
Checksums-Sha256:
77cceb44e1f1678b5037d9c7bd3205314959d3e521b92ad5741c99d4c3eaa871 37226
libreoffice_24.8.1~rc1-1.dsc
8e73e809a3a89f21dc615150167bebd5459e83a4602b8efd10971c4b67620e40 165170888
libreoffice_24.8.1~rc1.orig-helpcontent2.tar.xz
f6414a65c6984a5b4f263ef28c78e8ae56a43f6e4be8854ba2e11fcfbd293777 213130112
libreoffice_24.8.1~rc1.orig-translations.tar.xz
fa760332004575c54e960646b58eae200fee53f1db05abbf61e0f5c4ef485e6b 280522588
libreoffice_24.8.1~rc1.orig.tar.xz
c62eeb24bcde65f1bcf9cda3067799b5f4e8cdafb89312f24b8c7bfa708e6003 833
libreoffice_24.8.1~rc1.orig.tar.xz.asc
b838d0a4400eae94d811d61f26b22e03934131fd416a58abc0d6dcc3ef0ff7fd 23379168
libreoffice_24.8.1~rc1-1.debian.tar.xz
d7914ec51d45a09dc1d018d8e2bcd17e29c1defe419169cb01583708a5b5c9ae 20906
libreoffice_24.8.1~rc1-1_source.buildinfo
Files:
b5b6dfb68505e0768d6df01d0e003379 37226 editors optional
libreoffice_24.8.1~rc1-1.dsc
b644a3b4a4d322ee5bd1a4a9a22c0d55 165170888 editors optional
libreoffice_24.8.1~rc1.orig-helpcontent2.tar.xz
c76e042ad80a9c301459332553b9b69f 213130112 editors optional
libreoffice_24.8.1~rc1.orig-translations.tar.xz
cc104834c2ecc1bccf56551f7e9048a2 280522588 editors optional
libreoffice_24.8.1~rc1.orig.tar.xz
d28d5e5e53e1fc1d4a03b1d4a9cc2358 833 editors optional
libreoffice_24.8.1~rc1.orig.tar.xz.asc
99e4855c1329f6a8c0c9112235d20381 23379168 editors optional
libreoffice_24.8.1~rc1-1.debian.tar.xz
4e3846ef43ea5ecd99a35b8113a16afb 20906 editors optional
libreoffice_24.8.1~rc1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCgAuFiEE4S3qRnUGcM+pYIAdCqBFcdA+PnAFAmbIw0QQHHJlbmVAZGVi
aWFuLm9yZwAKCRAKoEVx0D4+cAvKEACSwqS8+hdER6bp9h5p5EZY0WM/ylWK+xEZ
WhXrFssBoGvapjaIdKGu557bSr9EVuvVT3akU2SyzKf6dGkIARClHLWulFwnTwU9
YfRblfrUrln+HYbf6RMuQdhblesO5OYvjsxXR5Ocz6q/fX9nsxwfkkdv33evtNsx
KXA7D4lgwOMT+h6HlQy24Gji8nKTuEfy1dzOtM/KQge59oLgrX+Vs9GH7Yfi51bO
BuRDs8kfaJBQkTMm583rHPLK+gTcf4USqXwE546Pl4Z89PaIk4rLkwxtUvqyfQBr
CSVNvC9+dKEXJWCTAmHmZKDUEGVf4u6eKSp8mE1m67I9uvidyEQcwU/u3eibBnH+
Bpr2TvokMLba61vXx7xTyyZzPEhCDjXnq9I9vQ06IkxDexti/LpMC+ozWEd2U3Gu
NcfLNfTqLWEO46Y9PEdLB2wGPSScC+jlOCHzpkZ3SW2+m5GyqhD8gFlwKtD++Nu3
SUGW9Rvy40liiklKqwdetPU1LAhBSQ2pvW9kG914O8Ng+2XEFTT9WUgQM6H2uVnU
nurrAtWth4YSZAqFW/1OOa1bbkhnTPGTe4iwjzA8xyMH4DxSgbQaMWJ+Zpi2Vl5w
KDh6tT6v5LAJ9qkQPel04qledW5O6XsUUXiMRX6Z0sznWjg4ZHYUeGswzu0njhud
wLjfuixFZA==
=HjOP
-----END PGP SIGNATURE-----
pgpcGuhiIPRHF.pgp
Description: PGP signature
--- End Message ---