Re: Bug#1122336: libreoffice: Smoketest fails on hppa and powerpc due to missing soffice.sh

John Paul Adrian Glaubitz <[email protected]> Thu, 11 Dec 2025 17:03:14 +0100
Newsgroups gmane.linux.debian.ports.hppa,gmane.linux.debian.ports.68k,gmane.linux.debian.ports.powerpc
Message-ID <245996d729c0b8fbd4a2712d9b75d2ec724fbcb1.camel@physik.fu-berlin.de>
--=-OL96dD+aB78iItBBsx5Y
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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 the=
se targets.

So, it turns out that the wrapper script wasn't copied because hppa, m68k a=
nd 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 :=3D $(filter-out m68k,$(OOO_BASE_ARCHS))
 $(eval $(call gen_no_archs,OOO_FIREBIRD_ARCHS))
-OOO_NOGUI_ARCHS :=3D $(filter amd64 i386 arm64 armhf s390x ppc64 ppc64el,$=
(OOO_ARCHS))
+OOO_NOGUI_ARCHS :=3D $(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 :=3D $(OOO_ARCHS)
 $(eval $(call gen_no_archs,OOO_PDFIUM_ARCHS))

While this change makes sure the script is generated, the script itself sti=
ll 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

--=20
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

--=-OL96dD+aB78iItBBsx5Y
Content-Disposition: attachment; filename="lo_no_gui_archs.diff"
Content-Transfer-Encoding: base64
Content-Type: text/x-patch; name="lo_no_gui_archs.diff"; charset="UTF-8"

LS0tIGRlYmlhbi9ydWxlcy5vcmlnCTIwMjUtMTItMTEgMTU6NTY6MTcuNDI0ODgwMjMzICswMDAw
CisrKyBkZWJpYW4vcnVsZXMJMjAyNS0xMi0xMCAxMToxOToxOS42OTY2MzQyMjEgKzAwMDAKQEAg
LTc3NSw3ICs3NzUsNyBAQAogJChldmFsICQoY2FsbCBnZW5fbm9fYXJjaHMsT09PX1JFUE9SVEJV
SUxERVJfQVJDSFMpKQogT09PX0ZJUkVCSVJEX0FSQ0hTIDo9ICQoZmlsdGVyLW91dCBtNjhrLCQo
T09PX0JBU0VfQVJDSFMpKQogJChldmFsICQoY2FsbCBnZW5fbm9fYXJjaHMsT09PX0ZJUkVCSVJE
X0FSQ0hTKSkKLU9PT19OT0dVSV9BUkNIUyA6PSAkKGZpbHRlciBhbWQ2NCBpMzg2IGFybTY0IGFy
bWhmIHMzOTB4IHBwYzY0IHBwYzY0ZWwsJChPT09fQVJDSFMpKQorT09PX05PR1VJX0FSQ0hTIDo9
ICQoZmlsdGVyIGFscGhhIGFtZDY0IGkzODYgYXJtNjQgYXJtaGYgczM5MHggaHBwYSBtNjhrIHBv
d2VycGMgcHBjNjQgcHBjNjRlbCBzcGFyYzY0LCQoT09PX0FSQ0hTKSkKICQoZXZhbCAkKGNhbGwg
Z2VuX25vX2FyY2hzLE9PT19OT0dVSV9BUkNIUykpCiBPT09fUERGSVVNX0FSQ0hTIDo9ICQoT09P
X0FSQ0hTKQogJChldmFsICQoY2FsbCBnZW5fbm9fYXJjaHMsT09PX1BERklVTV9BUkNIUykpCg==


--=-OL96dD+aB78iItBBsx5Y--