Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

help needed with LibreOffice Java bridge on s390x/ppc64el

1 view
Skip to first unread message

Rene Engelhard

unread,
Oct 29, 2023, 6:20:04 AM10/29/23
to
Hi,

since LibreOffice 7.6 (which added some more tests which were manual
before to the automatic set) the testtools' bridge test fails:

https://buildd.debian.org/status/fetch.php?pkg=libreoffice&arch=s390x&ver=4%3A7.6.2-3&stamp=1698170938&raw=0


See the discussion upstream in
https://lists.freedesktop.org/archives/libreoffice/2023-September/thread.html:
"new bridgetest failures in 7.6 on ppc64le "

(while mentioning ppc64el initially s390x is affected, too)

and continued in October


https://lists.freedesktop.org/archives/libreoffice/2023-October/thread.html

especially
https://lists.freedesktop.org/archives/libreoffice/2023-October/091058.html
and

https://lists.freedesktop.org/archives/libreoffice/2023-October/091059.html


after which unfortunately noting important happened. (And I don't see a
patch either at Fedora git nor submitted upstream to fix this.)

This is probably architecture-specific since the other architectures
*do* work (except ppc64el and (probably) armhf).


Before gcc 13.2.0-6 this failed even without Java, but after this it's 
the same situation as for ppc64el [1].


Can you have a look at it, too?

(The workaround would be --without-java which I verified to work on
zelenka (see aboe), but this opens a can of worms. Not only disabling
some (built-in) features like the Report Builder but especially since
there is Java-based extensions (_all!) which then get into trouble
dependency-wise/LO will be blocked from migrating to testing maybe...)

Regards,

Rene


[1] I'll do

@@ -795,6 +795,17 @@ ifeq "$(DEB_HOST_ARCH)" "s390x"
   ifneq (noopt,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        DEB_BUILD_OPTIONS += noopt
   endif
+  ifeq (,$(shell gcc -v 2>&1 | grep disable-s390-excess-float-precision))
+       $(error gcc isn't built with
disable-s390-excess-float-precision, bridgetest will fail.)
+  endif
+  ifeq "$(SYSTEM_GCC_VERSION)" "13"
+       BUILD_DEPS += , gcc-13 (>= 13.2.0-6) [s390x], g++-13 (>=
13.2.0-6) [s390x]
+  endif
+  ifneq "$(BOOKWORM_BACKPORT)" "y"
+    ifeq "$(SYSTEM_GCC_VERSION)" "12"
+       BUILD_DEPS += , gcc-12 (>= 12.3.0-11) [s390x], g++-12 (>=
12.3.0-11) [s390x]
+    endif
+  endif
 endif
 # bridgetest fails when built with gcc 13, works with 12

Rene Engelhard

unread,
Dec 2, 2023, 1:40:05 PM12/2/23
to
Hi,

Am 29.10.23 um 11:13 schrieb Rene Engelhard:
> (The workaround would be --without-java which I verified to work on
> zelenka (see aboe), but this opens a can of worms. Not only disabling
> some (built-in) features like the Report Builder but especially since
> there is Java-based extensions (_all!) which then get into trouble
> dependency-wise/LO will be blocked from migrating to testing maybe...)

Since I didn't get *ANY* answer I needed to do that now. It's live now
in sid.

It now also makes natbrailles autopkgtest fail[1] since that one of
course wants ure-java which is Out-of-sync and probably should be
decrufted somewhen:

$ rmadison -s unstable ure-java
ure-java | 4:7.5.9~rc1-1 | unstable | armhf, ppc64el, s390x
ure-java | 4:7.6.4~rc1-1 | unstable | amd64, arm64, armel, i386


Regards,

Rene

[1]
https://qa.debian.org/excuses.php?package=libreoffice

P.S:
> [1] I'll do
>
> @@ -795,6 +795,17 @@ ifeq "$(DEB_HOST_ARCH)" "s390x"
>    ifneq (noopt,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
>         DEB_BUILD_OPTIONS += noopt
>    endif
> +  ifeq (,$(shell gcc -v 2>&1 | grep disable-s390-excess-float-precision))
> +       $(error gcc isn't built with
> disable-s390-excess-float-precision, bridgetest will fail.)
> +  endif
> +  ifeq "$(SYSTEM_GCC_VERSION)" "13"
> +       BUILD_DEPS += , gcc-13 (>= 13.2.0-6) [s390x], g++-13 (>=
> 13.2.0-6) [s390x]
> +  endif
> +  ifneq "$(BOOKWORM_BACKPORT)" "y"
> +    ifeq "$(SYSTEM_GCC_VERSION)" "12"
> +       BUILD_DEPS += , gcc-12 (>= 12.3.0-11) [s390x], g++-12 (>=
> 12.3.0-11) [s390x]
> +    endif
> +  endif
>  endif
>  # bridgetest fails when built with gcc 13, works with 12

Actually I did
https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice/-/commit/a9c59cd61dc89a77e933503d47919bef4e9691fc
later
0 new messages