Hi Stephan,
On Wed, 2025-12-10 at 08:18 +0100, John Paul Adrian Glaubitz wrote:
> Thanks for the quick feedback!
>
> So, the question probably is why the script is missing before the smoketest
> is run.
>
> I will try generating the script manually from the template and re-run the
> test.
OK, so I just copied desktop/scripts/soffice.sh to instdir/program/soffice
which seems
to fix the smoketest:
(sid_powerpc-dchroot)glaubitz@perotto:~/loffice/libreoffice-26.2.0~beta1/smoketest$
make subsequentcheck V=1
rm -rf
/home/glaubitz/loffice/libreoffice-26.2.0~beta1/workdir/CustomTarget/smoketest
mkdir -p
/home/glaubitz/loffice/libreoffice-26.2.0~beta1/workdir/CustomTarget/smoketest/user
cp
/home/glaubitz/loffice/libreoffice-26.2.0~beta1/qadevOOo/qa/registrymodifications.xcu
/home/glaubitz/loffice/libreoffice-26.2.0~beta1/workdir/CustomTarget/smoketest/user
[CUT] smoketest
S=/home/glaubitz/loffice/libreoffice-26.2.0~beta1 && I=$S/instdir &&
W=$S/workdir && mkdir -p $W/CppunitTest/ && rm -fr
$W/CppunitTest/smoketest.test.user && cp -r $W/unittest
$W/CppunitTest/smoketest.test.user && rm -fr
$W/CppunitTest/smoketest.test.core && mkdir $W/CppunitTest/smoketest.test.core
&& cd $W/CppunitTest/smoketest.test.core && ( MAX_CONCURRENCY=4
MOZILLA_CERTIFICATE_FOLDER=dbm: SAL_DISABLE_SYNCHRONOUS_PRINTER_DETECTION=1
SAL_USE_VCLPLUGIN=svp LIBO_LANG=C LO_RUNNING_UNIT_TEST=1 env
LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program":$W/UnpackedTarball/cppunit/src/cppunit/.libs
$W/LinkTarget/Executable/cppunittester
$W/LinkTarget/CppunitTest/libtest_smoketest.so --headless
"-env:BRAND_BASE_DIR=file://$S/instdir" "-env:BRAND_SHARE_SUBDIR=share"
"-env:BRAND_SHARE_RESOURCE_SUBDIR=program/resource" "-
env:UserInstallation=file://$W/CppunitTest/smoketest.test.user"
"-env:UNO_TYPES=file://$I/program/types.rdb file://$I/program/types/offapi.rdb"
"-env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb" -
env:URE_BIN_DIR=file://$I/program -env:URE_INTERNAL_LIB_DIR=file://$I/program
-env:LO_LIB_DIR=file://$I/program -env:LO_JAVA_DIR=file://$I/program/classes
--protector
$W/LinkTarget/Library/unoexceptionprotector.so unoexceptionprotector
--protector $W/LinkTarget/Library/unobootstrapprotector.so
unobootstrapprotector -env:arg-soffice=path:$I/program/soffice -
env:arg-user=$W/CustomTarget/smoketest
-env:arg-env=LD_LIBRARY_PATH"${LD_LIBRARY_PATH+=$LD_LIBRARY_PATH}"
-env:arg-testarg.smoketest.doc=$W/Zip/smoketestdoc.sxw "-
env:CPPUNITTESTTARGET=$W/CppunitTest/smoketest.test" ) 2>&1
[_RUN_____] (anonymous namespace)::Test::test
Using std::cout:
file:///home/glaubitz/loffice/libreoffice-26.2.0~beta1/instdir/program/soffice
(anonymous namespace)::Test::test finished in: 13398ms
OK (1)
[SCK] smoketest
S=/home/glaubitz/loffice/libreoffice-26.2.0~beta1 && I=$S/instdir &&
W=$S/workdir && mkdir -p $W/Module/subsequentcheck/ && touch
$W/Module/subsequentcheck/smoketest
(sid_powerpc-dchroot)glaubitz@perotto:~/loffice/libreoffice-26.2.0~beta1/smoketest$
Now the question is: Why is the script not being copied during build on 32-bit
PowerPC (and HPPA)?
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913