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

John Paul Adrian Glaubitz <[email protected]> Wed, 10 Dec 2025 08:40:54 +0100
Newsgroups gmane.linux.debian.ports.68k
Message-ID <176535245413.2832647.8344888636248766298.reportbug__8101.77856344438$1765353946$gmane$org@login1.physik.fu-berlin.de>
Source:=20libreoffice
Version:=204:26.2.0~beta1-1
Severity:=20normal
User:[email protected]
Usertags:=20m68k,hppa,powerpc
X-Debbugs-Cc:[email protected],[email protected],de=
[email protected]

Hello,

on=20hppa=20and=20powerpc,=20the=20libreoffice=20package=20fails=20due=20to=
=20a=20failing=20smoketest=20[1]:

[_RUN_____]=20(anonymous=20namespace)::Test::test
./unotest/source/cpp/officeconnection.cxx:77:(anonymous=20namespace)::Test:=
:test
setUp()=20failed
-=20equality=20assertion=20failed
-=20Expected:=200
-=20Actual=20=20:=204

(anonymous=20namespace)::Test::test=20finished=20in:=206ms
officeconnection.cxx:77:Assertion
Test=20name:=20(anonymous=20namespace)::Test::test
setUp()=20failed
-=20equality=20assertion=20failed
-=20Expected:=200
-=20Actual=20=20:=204

Failures=20!!!
Run:=201=20=20=20Failure=20total:=201=20=20=20Failures:=201=20=20=20Errors:=
=200

After=20some=20investigation=20and=20discussions=20with=20upstream=20[2],=
=20I=20figured=20out=20that=20the=20problem
is=20the=20missing=20wrapper=20script=20instdir/program/soffice=20for=20the=
=20soffice.bin=20binary.=20This=20script
is=20normally=20generated=20from=20"desktop/scripts/soffice.sh=20via=20make=
file=20targets=20in=20desktop/
CustomTarget_sofice.mk=20and=20desktop/Package_soffice_sh.mk"=20(quoting=20=
Stephan=20Bergmann=20from=20[3]).

I=20therefore=20copied=20the=20script=20manually=20and=20rerun=20the=20smok=
etest=20which=20immediately=20succeeded:

glaubitz@perotto:~/loffice/libreoffice-26.2.0~beta1$=20cp=20-av=20desktop/s=
cripts/soffice.sh=20instdir/program/soffice
'desktop/scripts/soffice.sh'=20->=20'instdir/program/soffice'
glaubitz@perotto:~/loffice/libreoffice-26.2.0~beta1$

(sid_powerpc-dchroot)glaubitz@perotto:~/loffice/libreoffice-26.2.0~beta1/sm=
oketest$=20make=20subsequentcheck=20V=3D1
rm=20-rf=20/home/glaubitz/loffice/libreoffice-26.2.0~beta1/workdir/CustomTa=
rget/smoketest
mkdir=20-p=20/home/glaubitz/loffice/libreoffice-26.2.0~beta1/workdir/Custom=
Target/smoketest/user
cp=20/home/glaubitz/loffice/libreoffice-26.2.0~beta1/qadevOOo/qa/registrymo=
difications.xcu=20/home/glaubitz/loffice/libreoffice-26.2.0~beta1/workdir/C=
ustomTarget/smoketest/user
[CUT]=20smoketest
S=3D/home/glaubitz/loffice/libreoffice-26.2.0~beta1=20&&=20I=3D$S/instdir=
=20&&=20W=3D$S/workdir=20&&=20=20mkdir=20-p=20$W/CppunitTest/=20&&=20rm=20-=
fr=20$W/CppunitTest/smoketest.test.user=20&&=20cp=20-r=20$W/unittest=20$W/C=
ppunitTest/smoketest.test.user=20&&=20=20=20=20rm=20-fr=20$W/CppunitTest/sm=
oketest.test.core=20&&=20mkdir=20$W/CppunitTest/smoketest.test.core=20&&=20=
cd=20$W/CppunitTest/smoketest.test.core=20&&=20=20=20(=20=20=20MAX_CONCURRE=
NCY=3D4=20MOZILLA_CERTIFICATE_FOLDER=3Ddbm:=20SAL_DISABLE_SYNCHRONOUS_PRINT=
ER_DETECTION=3D1=20SAL_USE_VCLPLUGIN=3Dsvp=20LIBO_LANG=3DC=20=20=20=20=20=
=20LO_RUNNING_UNIT_TEST=3D1=20=20=20=20=20env=20LD_LIBRARY_PATH=3D${LD_LIBR=
ARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program":$W/UnpackedTarball/cppu=
nit/src/cppunit/.libs=20=20=20=20$W/LinkTarget/Executable/cppunittester=20$=
W/LinkTarget/CppunitTest/libtest_smoketest.so=20--headless=20"-env:BRAND_BA=
SE_DIR=3Dfile://$S/instdir"=20"-env:BRAND_SHARE_SUBDIR=3Dshare"=20"-env:BRA=
ND_SHARE_RESOURCE_SUBDIR=3Dprogram/resource"=20"-env:UserInstallation=3Dfil=
e://$W/CppunitTest/smoketest.test.user"=20=20=20=20"-env:UNO_TYPES=3Dfile:/=
/$I/program/types.rdb=20file://$I/program/types/offapi.rdb"=20=20"-env:UNO_=
SERVICES=3Dfile://$W/Rdb/ure/services.rdb"=20-env:URE_BIN_DIR=3Dfile://$I/p=
rogram=20-env:URE_INTERNAL_LIB_DIR=3Dfile://$I/program=20-env:LO_LIB_DIR=3D=
file://$I/program=20-env:LO_JAVA_DIR=3Dfile://$I/program/classes=20--protec=
tor=20$W/LinkTarget/Library/unoexceptionprotector.so=20unoexceptionprotecto=
r=20--protector=20$W/LinkTarget/Library/unobootstrapprotector.so=20unoboots=
trapprotector=20=20=20-env:arg-soffice=3Dpath:$I/program/soffice=20-env:arg=
-user=3D$W/CustomTarget/smoketest=20-env:arg-env=3DLD_LIBRARY_PATH"${LD_LIB=
RARY_PATH+=3D$LD_LIBRARY_PATH}"=20-env:arg-testarg.smoketest.doc=3D$W/Zip/s=
moketestdoc.sxw=20=20"-env:CPPUNITTESTTARGET=3D$W/CppunitTest/smoketest.tes=
t"=20)=20=202>&1
[_RUN_____]=20(anonymous=20namespace)::Test::test
(anonymous=20namespace)::Test::test=20finished=20in:=2013398ms
OK=20(1)
[SCK]=20smoketest
S=3D/home/glaubitz/loffice/libreoffice-26.2.0~beta1=20&&=20I=3D$S/instdir=
=20&&=20W=3D$S/workdir=20&&=20=20mkdir=20-p=20$W/Module/subsequentcheck/=20=
&&=20touch=20$W/Module/subsequentcheck/smoketest
(sid_powerpc-dchroot)glaubitz@perotto:~/loffice/libreoffice-26.2.0~beta1/sm=
oketest$

Thus,=20we=20need=20to=20figure=20out=20why=20the=20build=20doesn't=20actua=
lly=20generated=20the=20wrapper=20script
for=20hppa,=20powerpc=20(and=20probably=20m68k)=20in=20order=20to=20fix=20t=
he=20smokeest=20on=20these=20targets.

Adrian

>=20[1]=20https://buildd.debian.org/status/fetch.php?pkg=3Dlibreoffice&arch=
=3Dpowerpc&ver=3D4%3A26.2.0%7Ebeta1-1&stamp=3D1765108295&raw=3D0
>=20[2]=20https://lists.freedesktop.org/archives/libreoffice/2025-December/=
094089.html
>=20[3]=20https://lists.freedesktop.org/archives/libreoffice/2025-December/=
094090.html

--
=20.''`.=20=20John=20Paul=20Adrian=20Glaubitz
:=20:'=20:=20=20Debian=20Developer
`.=20`'=20=20=20Physicist
=20=20`-=20=20=20=20GPG:=2062FF=208A75=2084E0=202956=209546=20=200006=20742=
6=203B37=20F5B5=20F913