[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

help needed with LibreOffice Java bridge on s390x/ppc64el



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



Reply to: