I have been suffering the DeploymentException discussed below for a long time. Good news is that, this seems now have been fixed by:
commit
8c6467a785037309d2a2cec56c8e38cf52da0aee
Author: Mike Kaganski <mike.kaganski@xxxxxxxxxxxxx>
Date: Sat Oct 29 23:38:12 2022 +0300
MSI: fix handling empty directories
Thanks
Mike Kaganski! Your fix is not only limited to MSI, but also DEB
and RPM packages on Linux! And I see you submitted some other
fixes to the solenv/bin/modules/ installer codes.
I am
wondering whether you can backport this commit to
libreoffice-7-4 as well, since the problem below also exists on
7.4 branch.
Kevin
Suo
Sent: Monday, September 12, 2022 09:35 PM +08
To: libreoffice-dev
Subject: terminate called after throwing an instance of 'com::sun::star::deployment::DeploymentException'
I have compiled from souce code using the following autogen.input parameters:
--without-help
--without-helppack-integration
--with-lang=zh-CN zh-TW
--disable-online-update
--disable-breakpad
--disable-odk
--without-doxygen
--enable-epm
--with-package-format=rpm
--with-external-tar=/mnt/data/suokunlong/lo/external_tarballs
--without-java
--enable-firebird-sdbc
--without-system-firebird
--enable-python=internal
The build succeeded. I can run the application from within the <build-source>/instdir without any problem:
$ ./instdir/program/soffice
However, if I install the RPMs:
$ sudo dnf install ./workdir/installation/LibreOfficeDev/rpm/install/LibreOfficeDev_7.3.7.0.0_Linux_x86-64_rpm/RPMS/*.rpm
and then run the installed application, I got the following error:
$ /opt/libreofficedev7.3/program/soffice.bin
terminate called after throwing an instance of 'com::sun::star::deployment::DeploymentException'
Unspecified Application Error
The same happens on both Ubuntu 22.04 and Fedora 36, also on the 7.4 branch. I remember I did install the rpms from my own build years ago and this issue did not happen. Not sure why it fails now. Am I missing something?
Thank you in advance.
Kevin Suo