Debian Bug report logs - #1058653
libreoffice-writer-nogui: fails to convert ODT to PDF without libreoffice-core (libcuilo.so): Error: source file could not be loaded

version graph

Package: libreoffice-writer-nogui; Maintainer for libreoffice-writer-nogui is Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>; Source for libreoffice-writer-nogui is src:libreoffice (PTS, buildd, popcon).

Reported by: tony mancill <tmancill@debian.org>

Date: Thu, 14 Dec 2023 05:03:01 UTC

Severity: grave

Found in versions libreoffice/4:7.6.4~rc1-1, libreoffice/4:7.6.0~beta1-1

Fixed in version libreoffice/4:24.2.0-2

Done: Rene Engelhard <rene@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://bugs.documentfoundation.org/show_bug.cgi?id=158695

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>:
Bug#1058653; Package libreoffice-writer-nogui. (Thu, 14 Dec 2023 05:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to tony mancill <tmancill@debian.org>:
New Bug report received and forwarded. Copy sent to Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>. (Thu, 14 Dec 2023 05:03:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: tony mancill <tmancill@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libreoffice-writer-nogui: fails to convert ODT to PDF "Error: source file could not be loaded"
Date: Wed, 13 Dec 2023 21:01:05 -0800
Package: libreoffice-writer-nogui
Version: 4:7.6.4~rc1-1
Severity: normal

Dear Maintainer,

A FTBFS bug [1] cropped up in gpredict recently that appears to be to a
change in libreoffice-writer-nogui.  The build step that fails is:

$ soffice --strace --writer --headless --convert-to pdf gpredict-user-manual.odt 
Warning: failed to launch javaldx - java may not function correctly
Error: source file could not be loaded

strace output shows a failed attempt to find libcuilo.so (shipped with
libreoffice-core) just before "Error: source file could not be loaded"
is output.  Should libcuilo.so be included in libreoffice-core-nogui?

For the time-being, we are working around this by using
libreoffice-writer as the build-dep, but the -nogui package should be
sufficient and has worked in the past.

Thank you,
tony

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058273



Information forwarded to debian-bugs-dist@lists.debian.org, Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>:
Bug#1058653; Package libreoffice-writer-nogui. (Thu, 14 Dec 2023 07:00:03 GMT) (full text, mbox, link).


Acknowledgement sent to Rene Engelhard <rene@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>. (Thu, 14 Dec 2023 07:00:03 GMT) (full text, mbox, link).


Message #10 received at 1058653@bugs.debian.org (full text, mbox, reply):

From: Rene Engelhard <rene@debian.org>
To: tony mancill <tmancill@debian.org>, 1058653@bugs.debian.org
Subject: Re: Bug#1058653: libreoffice-writer-nogui: fails to convert ODT to PDF "Error: source file could not be loaded"
Date: Thu, 14 Dec 2023 07:57:46 +0100
[Message part 1 (text/plain, inline)]
Hi,

Am 14.12.23 um 06:01 schrieb tony mancill:
> A FTBFS bug [1] cropped up in gpredict recently that appears to be to a
> change in libreoffice-writer-nogui.  The build step that fails is:
>
> $ soffice --strace --writer --headless --convert-to pdf gpredict-user-manual.odt
> Warning: failed to launch javaldx - java may not function correctly
> Error: source file could not be loaded
>
> strace output shows a failed attempt to find libcuilo.so (shipped with
> libreoffice-core) just before "Error: source file could not be loaded"
> is output.  Should libcuilo.so be included in libreoffice-core-nogui?

No it should not because it is *common UI*.


That LibreOffice upstream adds options and then let it bit-rot to the 
point that that they don't work as intended without adding totally 
unrelated stuff unfortunately is a fact. :(

Here it is adding a dependency on UI stuff for something not needing UI.

In the meanwhile  I actually reget having added -nogui for this reason.


> For the time-being, we are working around this by using
> libreoffice-writer as the build-dep,
That is wrong imho.
> but the -nogui package should be
> sufficient and has worked in the past.

Yeah. Or just adding libreoffice-core (since you *can* mix them.) See also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052052


Regards,


Rene
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>:
Bug#1058653; Package libreoffice-writer-nogui. (Thu, 14 Dec 2023 07:21:02 GMT) (full text, mbox, link).


Acknowledgement sent to Rene Engelhard <rene@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>. (Thu, 14 Dec 2023 07:21:02 GMT) (full text, mbox, link).


Message #15 received at 1058653@bugs.debian.org (full text, mbox, reply):

From: Rene Engelhard <rene@debian.org>
To: tony mancill <tmancill@debian.org>, 1058653@bugs.debian.org
Subject: Re: Bug#1058653: libreoffice-writer-nogui: fails to convert ODT to PDF "Error: source file could not be loaded"
Date: Thu, 14 Dec 2023 08:16:09 +0100
Hi,

Am 14.12.23 um 07:57 schrieb Rene Engelhard:
> Hi,
> 
> Am 14.12.23 um 06:01 schrieb tony mancill:
>> A FTBFS bug [1] cropped up in gpredict recently that appears to be to a
>> change in libreoffice-writer-nogui.  The build step that fails is:
>>
>> $ soffice --strace --writer --headless --convert-to pdf gpredict-user-manual.odt
>> Warning: failed to launch javaldx - java may not function correctly
>> Error: source file could not be loaded
>>
>> strace output shows a failed attempt to find libcuilo.so (shipped with
>> libreoffice-core) just before "Error: source file could not be loaded"
>> is output.  Should libcuilo.so be included in libreoffice-core-nogui?
> 
> No it should not because it is *common UI*.
> 
> 
> That LibreOffice upstream adds options and then let it bit-rot to the 
> point that that they don't work as intended without adding totally 
> unrelated stuff unfortunately is a fact. :(
> 
> Here it is adding a dependency on UI stuff for something not needing UI.

Quickly filed https://bugs.documentfoundation.org/show_bug.cgi?id=158695 now

Regards,

Rene



Information forwarded to debian-bugs-dist@lists.debian.org, Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>:
Bug#1058653; Package libreoffice-writer-nogui. (Thu, 14 Dec 2023 07:39:03 GMT) (full text, mbox, link).


Acknowledgement sent to tony mancill <tmancill@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>. (Thu, 14 Dec 2023 07:39:04 GMT) (full text, mbox, link).


Message #20 received at 1058653@bugs.debian.org (full text, mbox, reply):

From: tony mancill <tmancill@debian.org>
To: Rene Engelhard <rene@debian.org>
Cc: 1058653@bugs.debian.org
Subject: Re: Bug#1058653: libreoffice-writer-nogui: fails to convert ODT to PDF "Error: source file could not be loaded"
Date: Wed, 13 Dec 2023 23:34:52 -0800
Hi Rene,

On Thu, Dec 14, 2023 at 07:57:46AM +0100, Rene Engelhard wrote:
> Am 14.12.23 um 06:01 schrieb tony mancill:
> > A FTBFS bug [1] cropped up in gpredict recently that appears to be to a
> > change in libreoffice-writer-nogui.  The build step that fails is:
> > 
> > $ soffice --strace --writer --headless --convert-to pdf gpredict-user-manual.odt
> > Warning: failed to launch javaldx - java may not function correctly
> > Error: source file could not be loaded
> > 
> > strace output shows a failed attempt to find libcuilo.so (shipped with
> > libreoffice-core) just before "Error: source file could not be loaded"
> > is output.  Should libcuilo.so be included in libreoffice-core-nogui?
> 
> No it should not because it is *common UI*.
> 
> That LibreOffice upstream adds options and then let it bit-rot to the point
> that that they don't work as intended without adding totally unrelated stuff
> unfortunately is a fact. :(
> 
> Here it is adding a dependency on UI stuff for something not needing UI.

Thank you for the explanation.  (I didn't spend enough time digging into
whether the library *should* be there, I only noted that it was missing.)

> In the meanwhile  I actually reget having added -nogui for this reason.

Yeah, I can appreciate that it leads to confusion and potentially more
work for you as a maintainer.

> > For the time-being, we are working around this by using
> > libreoffice-writer as the build-dep,
> That is wrong imho.
> > but the -nogui package should be
> > sufficient and has worked in the past.
> 
> Yeah. Or just adding libreoffice-core (since you *can* mix them.) See also
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052052

Yes, that works.  I had opted for libreoffice-writer because its
transitive dependency set is only marginally larger (70MB) than
libreoffice-core, and it allows me to specify a single build-dep related
to libreoffice, but mixing them does result is fewer overall build-deps.

(unstable-amd64-sbuild) apt-get install libreoffice-writer
...
0 upgraded, 560 newly installed, 0 to remove and 0 not upgraded.
Need to get 372 MB of archives.
After this operation, 1320 MB of additional disk space will be used.

(unstable-amd64-sbuild) apt-get install libreoffice-core
...
0 upgraded, 545 newly installed, 0 to remove and 0 not upgraded.
Need to get 355 MB of archives.
After this operation, 1253 MB of additional disk space will be used.

(unstable-amd64-sbuild) apt-get install libreoffice-writer-nogui
...
0 upgraded, 263 newly installed, 0 to remove and 0 not upgraded.
Need to get 185 MB of archives.
After this operation, 642 MB of additional disk space will be used.


Thank you for the response and filing the bug upstream.

Cheers,
tony



Changed Bug title to 'libreoffice-writer-nogui: fails to convert ODT to PDF without libreoffice-core: Error: source file could not be loaded' from 'libreoffice-writer-nogui: fails to convert ODT to PDF "Error: source file could not be loaded"'. Request was from Rene Engelhard <rene@debian.org> to control@bugs.debian.org. (Thu, 14 Dec 2023 16:39:04 GMT) (full text, mbox, link).


Set Bug forwarded-to-address to 'https://bugs.documentfoundation.org/show_bug.cgi?id=158695'. Request was from Rene Engelhard <rene@debian.org> to control@bugs.debian.org. (Thu, 14 Dec 2023 16:39:04 GMT) (full text, mbox, link).


Changed Bug title to 'libreoffice-writer-nogui: fails to convert ODT to PDF without libreoffice-core (libcuilo.so): Error: source file could not be loaded' from 'libreoffice-writer-nogui: fails to convert ODT to PDF without libreoffice-core: Error: source file could not be loaded'. Request was from Rene Engelhard <rene@debian.org> to control@bugs.debian.org. (Sun, 28 Jan 2024 11:39:03 GMT) (full text, mbox, link).


Message sent on to tony mancill <tmancill@debian.org>:
Bug#1058653. (Thu, 01 Feb 2024 18:27:10 GMT) (full text, mbox, link).


Message #29 received at 1058653-submitter@bugs.debian.org (full text, mbox, reply):

From: Rene Engelhard <rene@debian.org>
To: 1058653-submitter@bugs.debian.org
Subject: Bug#1058653 marked as pending in libreoffice
Date: Thu, 01 Feb 2024 18:25:23 +0000
Control: tag -1 pending

Hello,

Bug #1058653 in libreoffice reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice/-/commit/aa2c965b48503198c9bc4e59ad77f1bd0503621e

------------------------------------------------------------------------
debian/patches/sw-do-not-require-cui.diff: do not require cui in sw (closes: #1058653)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1058653



Added tag(s) pending. Request was from Rene Engelhard <rene@debian.org> to 1058653-submitter@bugs.debian.org. (Thu, 01 Feb 2024 18:27:10 GMT) (full text, mbox, link).


Message sent on to tony mancill <tmancill@debian.org>:
Bug#1058653. (Thu, 01 Feb 2024 18:30:07 GMT) (full text, mbox, link).


Message #34 received at 1058653-submitter@bugs.debian.org (full text, mbox, reply):

From: Rene Engelhard <rene@debian.org>
To: 1058653-submitter@bugs.debian.org
Subject: Bug#1058653 marked as pending in libreoffice
Date: Thu, 01 Feb 2024 18:27:16 +0000
Control: tag -1 pending

Hello,

Bug #1058653 in libreoffice reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice/-/commit/aa2c965b48503198c9bc4e59ad77f1bd0503621e

------------------------------------------------------------------------
debian/patches/sw-do-not-require-cui.diff: do not require cui in sw (closes: #1058653)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1058653



Severity set to 'important' from 'normal' Request was from René Engelhard <rene@rene-engelhard.de> to control@bugs.debian.org. (Fri, 02 Feb 2024 09:39:03 GMT) (full text, mbox, link).


Reply sent to Rene Engelhard <rene@debian.org>:
You have taken responsibility. (Fri, 02 Feb 2024 22:54:08 GMT) (full text, mbox, link).


Notification sent to tony mancill <tmancill@debian.org>:
Bug acknowledged by developer. (Fri, 02 Feb 2024 22:54:08 GMT) (full text, mbox, link).


Message #41 received at 1058653-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1058653-close@bugs.debian.org
Subject: Bug#1058653: fixed in libreoffice 4:24.2.0-2
Date: Fri, 02 Feb 2024 22:51:27 +0000
Source: libreoffice
Source-Version: 4:24.2.0-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 1058653@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: Tue, 30 Jan 2024 21:04:30 +0000
Source: libreoffice
Architecture: source
Version: 4:24.2.0-2
Distribution: experimental
Urgency: medium
Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Changed-By: Rene Engelhard <rene@debian.org>
Closes: 1058653
Changes:
 libreoffice (4:24.2.0-2) experimental; urgency=medium
 .
   * debian/patches/sw-do-not-require-cui.diff: do not require cui in sw, from
     upstream (closes: #1058653)
 .
   * debian/rules:
     - don't create debian/control and debian/test/control but an intermediate
       control.new
     - run debian/rules control in the clean target again but don't directly
       overwrite debian/control - diff -u against control.new and warn instead
   * debian/libuno*, debian/control.ure.in, debian/rules:
     Rename libraries for 64-bit time_t transition.
Checksums-Sha1:
 f8de6c1064fb1f7b5a45733bc5bd9515ba341ba3 36107 libreoffice_24.2.0-2.dsc
 5deddb6c20f8878a6d6dc00b75363d5cf30edbc2 24868020 libreoffice_24.2.0-2.debian.tar.xz
 13a2a2f355d92f4d71432be525345ee5b93ca328 36363 libreoffice_24.2.0-2_source.buildinfo
Checksums-Sha256:
 0523eb81cd17d94fb2304880ab1f775c767e483fb185ac49f7609131458bb01a 36107 libreoffice_24.2.0-2.dsc
 8af4ae7656f08e4e579d418d1887af50e298e08d1adcdb9e68f044bfa9056593 24868020 libreoffice_24.2.0-2.debian.tar.xz
 269ee577836759092bb8b372906c7059b2aef2e061dd2311981e1104b8c9d396 36363 libreoffice_24.2.0-2_source.buildinfo
Files:
 eaa68acdc8ee34e0226c374ed3df773c 36107 editors optional libreoffice_24.2.0-2.dsc
 c1c4e6a5118bde093aed211dcada9b1e 24868020 editors optional libreoffice_24.2.0-2.debian.tar.xz
 0943a6ffd20b3c568e7d722080fd4673 36363 editors optional libreoffice_24.2.0-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE4S3qRnUGcM+pYIAdCqBFcdA+PnAFAmW9VAUQHHJlbmVAZGVi
aWFuLm9yZwAKCRAKoEVx0D4+cOeGD/9Dzm1PfWWhSiYqDmR354yheVx6P7dggJsk
0mxyl9PW/Tj95i/U3Z3/O+heIfQmlNT5XwvGzfFiUFdAzhRopErIh7FUoSp+a3xH
kyimyzihyCKvOl867Q8ppPSzHcMYwGBT7A7NZlyWbtVpXDjDjdwQYsPWaPxpwA7F
TJUm3ehUpHeQm43/7sm2si3dCehbpD0PnsRV0LJr9xY7gKPxLbWTxiYgC8P/xhQR
rrhL96n/j+OktcCgbXcUUa7LA+/tyknUqU6IExv0w3ZWtGeIthJ+ntkrJidV1L4a
/K1JiZWpVtKuLlNaskdR+tys7Be913ReCFwtQC2oJYBvlnoM+bOn06Ts9g8kxMoC
glEfl2NWK7a0hAf2teabYyPAWrpCfBglALlZqrKXkxGO6JRaseaDLhasR2j5XCvh
muVcAfKY95i4ZxtlIqwUJqodiEluHOeDj47I38vslj+k7nPY/Gzb90+4ZRX2U6gb
79WbKyz9QKLKkq6pdYmpf7tuQ0nvMRrA8+S10uVYknRlcR4zsVTESD0t6Nuf6afa
ZSHP30aAXyFi4LBMrV56ZF11kwO0/rvAFM2kT6uyLTWR0agxGmtM21sDHf0MxRkw
s6DLOPvpCs29AczMjZTr0E8SkpaSdQZ0uOwoxyoOT0StbRvNNOx5a5HDHXoeDZKA
qHVjmRqwTA==
=3Xa+
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 02 Mar 2024 07:28:29 GMT) (full text, mbox, link).


Bug unarchived. Request was from Rene Engelhard <rene@debian.org> to control@bugs.debian.org. (Sat, 16 Mar 2024 10:15:12 GMT) (full text, mbox, link).


Marked as found in versions libreoffice/4:7.6.0~beta1-1. Request was from Rene Engelhard <rene@debian.org> to control@bugs.debian.org. (Sat, 16 Mar 2024 10:15:12 GMT) (full text, mbox, link).


Added indication that bug 1058653 blocks 1058545 Request was from Rene Engelhard <rene@debian.org> to control@bugs.debian.org. (Sat, 16 Mar 2024 10:15:13 GMT) (full text, mbox, link).


Severity set to 'grave' from 'important' Request was from Rene Engelhard <rene@rene-engelhard.de> to control@bugs.debian.org. (Sat, 06 Apr 2024 12:51:03 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 07 May 2024 07:28:54 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jul 3 23:52:45 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.