Bug#1122336: libreoffice: Smoketest fails on hppa and powerpc due to missing soffice.sh
On Wed, 2025-12-10 at 08:40 +0100, John Paul Adrian Glaubitz wrote:
> Thus, we need to figure out why the build doesn't actually generated the wrapper script
> for hppa, powerpc (and probably m68k) in order to fix the smokeest on these targets.
So, it turns out that the wrapper script wasn't copied because hppa, m68k and powerpc
are listed in OOO_NOGUI_ARCHS which the following patch fixes:
--- debian/rules.orig 2025-12-11 15:56:17.424880233 +0000
+++ debian/rules 2025-12-10 11:19:19.696634221 +0000
@@ -775,7 +775,7 @@
$(eval $(call gen_no_archs,OOO_REPORTBUILDER_ARCHS))
OOO_FIREBIRD_ARCHS := $(filter-out m68k,$(OOO_BASE_ARCHS))
$(eval $(call gen_no_archs,OOO_FIREBIRD_ARCHS))
-OOO_NOGUI_ARCHS := $(filter amd64 i386 arm64 armhf s390x ppc64 ppc64el,$(OOO_ARCHS))
+OOO_NOGUI_ARCHS := $(filter alpha amd64 i386 arm64 armhf s390x hppa m68k powerpc ppc64 ppc64el sparc64,$(OOO_ARCHS))
$(eval $(call gen_no_archs,OOO_NOGUI_ARCHS))
OOO_PDFIUM_ARCHS := $(OOO_ARCHS)
$(eval $(call gen_no_archs,OOO_PDFIUM_ARCHS))
While this change makes sure the script is generated, the script itself still missing the
executable flag meaning that the smoketest will still fail.
Running
chmod 755 instdir/program/soffice
manually allows the smoketest to pass.
So, while this is fixed halfway, more investigation is necessary.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
--- debian/rules.orig 2025-12-11 15:56:17.424880233 +0000
+++ debian/rules 2025-12-10 11:19:19.696634221 +0000
@@ -775,7 +775,7 @@
$(eval $(call gen_no_archs,OOO_REPORTBUILDER_ARCHS))
OOO_FIREBIRD_ARCHS := $(filter-out m68k,$(OOO_BASE_ARCHS))
$(eval $(call gen_no_archs,OOO_FIREBIRD_ARCHS))
-OOO_NOGUI_ARCHS := $(filter amd64 i386 arm64 armhf s390x ppc64 ppc64el,$(OOO_ARCHS))
+OOO_NOGUI_ARCHS := $(filter alpha amd64 i386 arm64 armhf s390x hppa m68k powerpc ppc64 ppc64el sparc64,$(OOO_ARCHS))
$(eval $(call gen_no_archs,OOO_NOGUI_ARCHS))
OOO_PDFIUM_ARCHS := $(OOO_ARCHS)
$(eval $(call gen_no_archs,OOO_PDFIUM_ARCHS))
Reply to: