--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: libreoffice: FTBFS on riscv64: uitest throws "index out of range"
- From: Sakura286 <chenxuan@iscas.ac.cn>
- Date: Thu, 29 Jun 2023 19:14:11 +0800
- Message-id: <4dd3af90-2a24-d0a1-4183-49e804500b93@iscas.ac.cn>
Source: libreoffice
Version: 4:7.5.4-3
Severity: normal
Tags: ftbfs
User: debian-riscv@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv@lists.debian.org
Greetings,
Almost all the uitest cases throws such exception:
ERROR: testThemePage (themepage.Test.testThemePage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/cui/qa/uitest/tabpages/themepage.py", line
19, in testThemePage
with self.ui_test.create_doc_in_start_center("impress") as component:
File "/usr/lib/python3.11/contextlib.py", line 144, in __exit__
next(self.gen)
File "/<<PKGBUILDDIR>>/uitest/uitest/test.py", line 195, in
create_doc_in_start_center
self.close_doc()
File "/<<PKGBUILDDIR>>/uitest/uitest/test.py", line 221, in close_doc
frames[0].activate()
~~~~~~^^^
IndexError: index out of range
This exception is always throwed when closing the doc window. As I
described in bugzilla[1], the bug should be located between c++ and
python environment.
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
(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.
I am building a debug version of LibreOffice with sbuild to debug uitest.
From,
Sakura286.
[1] https://bugs.documentfoundation.org/show_bug.cgi?id=155937
--- End Message ---
--- Begin Message ---
Source: libreoffice
Source-Version: 4:7.6.0~rc1-2
Done: Rene Engelhard <rene@debian.org>
We believe that the bug you reported is fixed in the latest version of
libreoffice, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1039906@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Rene Engelhard <rene@debian.org> (supplier of updated libreoffice package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 24 Jul 2023 20:33:16 +0000
Source: libreoffice
Architecture: source
Version: 4:7.6.0~rc1-2
Distribution: experimental
Urgency: medium
Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Changed-By: Rene Engelhard <rene@debian.org>
Closes: 1039906
Changes:
libreoffice (4:7.6.0~rc1-2) experimental; urgency=medium
.
[ merge from Ubuntu ]
* debian/rules:
+ Use gcc-12 on s390x
+ Build-dep on fonts-* regardless to provide a more complete testbed
.
[ Rene Engelhard ]
* debian/patches/dp_platform-riscv64-and-loongarch64.diff: actually make
riscv64 and loongarch64 known to "the deployment"
* debian/tests/patches/smoketest-disable-extension-tests.diff: run the smoketest
also when extensions are disabled; we patch that out of the smoketest then
anyway
.
* debian/rules:
- add more "no-make-check checks". sal, cppu(helper), comphelper, unoidl
- build with noopt (aka -O0) on riscv64 (closes: #1039906)
- force clang-14 | clang (<< 1:15~) on ppc64el for now
- introduce new OOO_AUTOPKGTEST_ARCHS ("archs where autopkgtest
theoretically are ran") and restrict the fonts-* build-deps to those
(so that fonts-* needed in the uitests are there)
- rm -f libdeploymentgui.so unconditionally for core-nogui; also remove when the
arch is not in OOO_EXTENSIONS_ARCHS; also remove unoppkg.bin and libunopkgapp.so
from core if we built without extension support
- also force gcc-12 for i386
Checksums-Sha1:
d99a24cf220d07d505fcf9b1203c37def6aae6f2 34159 libreoffice_7.6.0~rc1-2.dsc
d2fa4965629b32b668d637d06f6cb4151e603cc6 24119256 libreoffice_7.6.0~rc1-2.debian.tar.xz
f24a338043518bc79bdb8897f19099a20745ff3a 35674 libreoffice_7.6.0~rc1-2_source.buildinfo
Checksums-Sha256:
c046260a49d73c93a48e062e16719b9931aa66ada7b2f9b79707eaf90d090bc9 34159 libreoffice_7.6.0~rc1-2.dsc
2acb65978342931fd7af83ddd339609fc356af6cd557cdaeb73b2a4a262d3835 24119256 libreoffice_7.6.0~rc1-2.debian.tar.xz
12193fae617a1c23f955ff0d1bf7287314962abb39991436bf9762134f8fe192 35674 libreoffice_7.6.0~rc1-2_source.buildinfo
Files:
2621e1358b3b53c5b6c920702db5c58a 34159 editors optional libreoffice_7.6.0~rc1-2.dsc
0d2c0eeabc542fcb4836ed49f092a1a7 24119256 editors optional libreoffice_7.6.0~rc1-2.debian.tar.xz
281894578125e1bf39a394b67ad2abf6 35674 editors optional libreoffice_7.6.0~rc1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCgAuFiEE4S3qRnUGcM+pYIAdCqBFcdA+PnAFAmS+4QsQHHJlbmVAZGVi
aWFuLm9yZwAKCRAKoEVx0D4+cFf2D/92R8jQVm2KUvFwTf63S3OFQQpLLzGlUR6Y
RrfYh3nFXBzI2+K0STeWL+XK5ACwnXDCaiHSjbldo+QtiW+NH+7tL0Quvs5/aBGB
6E7nzHfvHTFMLCgp2arFm7xoDTS/s7J9mmkoXT+FCcsC6vqlO2ZSpRtsEKEelHU5
hLi4x4saO8N+Gwnoxl5zCHVAOBbvICJr/4uRUaL6FyWCs9twQVMUwfU7BkkzLmeT
wJclbpqvEtuWNgIjjui5WmlkJXwD9IINQ0BTs5/ZasTV8cE+kNCmoItUki8tA8sy
owtGFosqVw8jFs999kdJikgbgg579jUqJdHw7w7LC2ysyIzY79ucEu+EWuj8YTfi
PoFuvGqcmk4zG68gwfBH+DN/F74Bt3gVc/iwt0VmCWpnyepNDYmoEC2ZoE+4WeUD
UvOVWKKXoqO2TtHwEsFy+Yc4tXd48WO6PHlEnUIciZqLRihOxrpVJPrzz2i/2kwS
SK2QO/Px/+kOaZzp2l9vEViMQDobzqpu6BIlGJk+u+pgL1A9lUEPZR/ScTl01Hu7
JKltWuTcTROlZeczIOqndaxBzx4MppssrVMKRZNbF89ZGX16XWAmD9+x0MpiKmFI
bUU7R9Bly3P7mQ2RICAe+rSUJ8G23SP78hDpPNuudaGiy8eJwqAF3WGsCCcsvqxF
mM7Bfqkdmg==
=TnBs
-----END PGP SIGNATURE-----
--- End Message ---