tag 1039906 - moreinfo
thanks
Hi,
Am 29.06.23 um 17:29 schrieb Rene Engelhard:
It seems that the exception only throws in current Debian package. If
I build LibreOffice (both 7.6 and 7.5 version) with external tarballs
and upstream compiler flags, see below
(that means, I pass parameters to autogen.sh as less as possible),
this bug disappears. Therefore maybe some system-internal component
are not configured correctly.
> [...]
It occurred to me that dpkg-buildflags forces -O2 whereas LO does
rene@frodo:~/LibreOffice/git/libreoffice-7-6$ cat
solenv/gbuild/platform/LINUX_RISCV64_GCC.mk
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
#please make generic modifications to unxgcc.mk or linux.mk
gb_COMPILEROPTFLAGS := -Os
include $(GBUILDDIR)/platform/linux.mk
# vim: set noet sw=4:
rene@frodo:~/LibreOffice/git/libreoffice-7-6$
which probably was cargo-culted over when porting from other
solenv/platform/*.mk, but anyways :)
So I had the idea to try a export DEB_BUILD_OPTIONS="noopt" build
(resulting into -O0) and it looks better:
rene@debian-riscv64-porterbox-01 ~/libreoffice-7.5.5~rc1/cui
% make UITest_cui_tabpages
[build UIT] cui_tabpages
S=/home/rene/libreoffice-7.5.5~rc1 && I=$S/instdir && W=$S/workdir &&
rm -rf $W/UITest/cui_tabpages/ && mkdir -p
$W/UITest/cui_tabpages//user/user && cp
$S/qadevOOo/qa/registrymodifications.xcu
$W/UITest/cui_tabpages//user/user/ && rm -fr
$W/UITest/cui_tabpages/done.core && mkdir -p
$W/UITest/cui_tabpages/user/ && mkdir $W/UITest/cui_tabpages/done.core
&& cd $W/UITest/cui_tabpages/done.core && (
TEST_LIB=$W/LinkTarget/Library/libtest.so
URE_BOOTSTRAP=vnd.sun.star.pathname:$I/program/fundamentalrc
PYTHONPATH="$S/uitest:$S/unotest/source/python:$I/program:$S/cui/qa/uitest/tabpages/"
TestUserDir="file://$W/UITest/cui_tabpages/" PYTHONDONTWRITEBYTECODE=0
MAX_CONCURRENCY=4 MOZILLA_CERTIFICATE_FOLDER=dbm:
SAL_DISABLE_SYNCHRONOUS_PRINTER_DETECTION=1 SAL_USE_VCLPLUGIN=svp
LIBO_LANG=C /usr/bin/python3 $S/uitest/test_main.py
--soffice="path:$I/program/soffice"
--userdir=file://$W/UITest/cui_tabpages/user
--dir=$S/cui/qa/uitest/tabpages/ 2>&1)
testThemePage (themepage.Test.testThemePage) ... OfficeConnection:
connecting to:
uno:pipe,name=pyteste5c58cc0-1f61-11ee-8c20-70b3d592f466;urp;StarOffice.ComponentContext
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
['OnNew']
OnCreate
['OnNew']
OnTitleChanged
['OnNew']
OnModifyChanged
['OnNew']
OnTitleChanged
['OnNew']
OnModifyChanged
['OnNew']
OnTitleChanged
['OnNew']
OnModifyChanged
['OnNew']
OnTitleChanged
['OnNew']
OnModifyChanged
['OnNew']
OnTitleChanged
['OnNew']
OnFocus
['OnNew']
OnViewCreated
['OnNew']
OnModeChanged
['OnNew']
DialogExecute
['DialogClosed']
OnModeChanged
['OnNew']
OnModeChanged
['OnNew']
DialogClosed
['OnNew']
OnTitleChanged
['OnNew']
OnModifyChanged
['DialogExecute']
OnModeChanged
['OnNew']
OnModeChanged
['OnNew']
DialogExecute
['DialogClosed']
OnModeChanged
['DialogExecute']
OnModeChanged
['OnNew']
OnModeChanged
['DialogExecute']
DialogClosed
['OnNew']
DialogClosed
['OnNew']
OnTitleChanged
['OnNew']
OnViewClosed
['OnNew']
OnUnload
['OnNew']
OnUnfocus
Execution time for themepage.Test.testThemePage: 20.341
at ./framework/source/helper/ocomponentenumeration.cxx:83
tearDown: calling terminate()...
...done
ok
testSvxColorTabPageTheme (tpcolor.Test.testSvxColorTabPageTheme) ...
OfficeConnection: connecting to:
uno:pipe,name=pytestfe6faaa8-1f61-11ee-8c20-70b3d592f466;urp;StarOffice.ComponentContext
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
NoConnectException: sleeping...
['OnNew']
OnCreate
['OnNew']
OnTitleChanged
['OnNew']
OnModifyChanged
['OnNew']
OnTitleChanged
['OnNew']
OnModifyChanged
['OnNew']
OnTitleChanged
['OnNew']
OnModifyChanged
['OnNew']
OnTitleChanged
['OnNew']
OnModifyChanged
['OnNew']
OnTitleChanged
['OnNew']
OnFocus
['OnNew']
OnViewCreated
['OnNew']
OnModeChanged
['OnNew']
DialogExecute
['DialogClosed']
OnModeChanged
['OnNew']
OnModeChanged
['OnNew']
DialogClosed
['OnNew']
OnTitleChanged
['OnNew']
OnModifyChanged
['DialogExecute']
OnModeChanged
['OnNew']
OnModeChanged
['OnNew']
DialogExecute
['DialogClosed']
OnModeChanged
['DialogExecute']
OnModeChanged
['OnNew']
OnModeChanged
['DialogExecute']
DialogClosed
['OnNew']
DialogClosed
['OnNew']
OnTitleChanged
['OnNew']
OnViewClosed
['OnNew']
OnUnload
['OnNew']
OnUnfocus
Execution time for tpcolor.Test.testSvxColorTabPageTheme: 17.743
at ./framework/source/helper/ocomponentenumeration.cxx:83
tearDown: calling terminate()...
...done
ok
----------------------------------------------------------------------
Ran 2 tests in 65.998s
OK
Tests run: 2
Tests failed: 0
Tests errors: 0
Tests skipped: 0
Regards,
Rene