Launchpad has imported 7 comments from the remote bug at
https://bugs.documentfoundation.org/show_bug.cgi?id=158695.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2023-12-14T07:14:30+00:00 Rene Engelhard wrote:

Description:
[similar as https://bugs.documentfoundation.org/show_bug.cgi?id=155411 ]

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052052 and 
bugs.debian.org/1058653.
See the strace log in the bug.

Apparently --convert-to for a writer documents now needs libcui present
(which is excluded in Debians libreoffice-core-nogui since it's "common
UI"[1] and thus is definitely not needed - at least by the name).

If you add --disable-gui please keep it working. --convert-to doesn't
need GUI.

[1] https://salsa.debian.org/libreoffice-
team/libreoffice/libreoffice/-/blob/master/rules#L3350

Steps to Reproduce:
1. build LO with --disable-gui
2. rm libcuilo.so 
3. libreoffice --writer --convert-to pdf of a file

Actual Results:
Error: source file could not be loaded

Expected Results:
Converts fine


Reproducible: Always


User Profile Reset: No

Additional Info:
.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/2039021/comments/10

------------------------------------------------------------------------
On 2023-12-21T07:25:22+00:00 Rene Engelhard wrote:

This btw is a regression. 7.5.x didn't need cui for --convert-to

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/2039021/comments/11

------------------------------------------------------------------------
On 2023-12-28T13:44:05+00:00 Stephane-guillou-i wrote:

Thanks Rene. I trust you on this, marking as new although I haven't
tested.

Wondering if this has to do with Tor's
85b9961c93446e7088d3be97b5977f1deaa16daf. What do you think, Tor?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/2039021/comments/12

------------------------------------------------------------------------
On 2023-12-28T15:47:39+00:00 Rene Engelhard wrote:

> Wondering if this has to do with Tor's
85b9961c93446e7088d3be97b5977f1deaa16daf. What do you think, Tor?

Obviously it is not, since it's for the build and the selection of a VCL
plugin in configure.ac.

This bug is already about the built LibreOffice needing libcuilo.so.

Maybe the zxing thingies given libcui is the only component linked
against it? [1]

Probably someone thought "they, let's use that one, it's always there"
instead of handling existing QR code stuff there in writer(?) directly?
At least that one got added in 7.6.

[1]
root@frodo:/usr/lib/libreoffice/program# for i in *.so; do echo $i; objdump -p 
$i | grep NEEDED | grep -i zxing; done
libLanguageToollo.so
libacclo.so
libaffine_uno_uno.so
libavmediagst.so
libbiblo.so
libbinaryurplo.so
libbootstraplo.so
libcached1.so
libcairocanvaslo.so
libchartcontrollerlo.so
libchartcorelo.so
libclewlo.so
libcmdmaillo.so
libcollator_data.so
libcuilo.so
  NEEDED               libZXing.so.3
libdeploymentgui.so
libdesktop_detectorlo.so
libdict_ja.so
libdict_zh.so
libdlgprovlo.so
libembobj.so
libemboleobj.so
libfilelo.so
libgcc3_uno.so
libi18nlangtag.so
libicglo.so
libindex_data.so
libintrospectionlo.so
libinvocadaptlo.so
libinvocationlo.so
libiolo.so
libjavaloaderlo.so
libjavavmlo.so
libjvmaccesslo.so
libjvmfwklo.so
libldapbe2lo.so
liblocaledata_en.so
liblocaledata_es.so
liblocaledata_euro.so
liblocaledata_others.so
liblog_uno_uno.so
libloglo.so
libmergedlo.so
libmigrationoo2lo.so
libmigrationoo3lo.so
libmozbootstraplo.so
libmsformslo.so
libnamingservicelo.so
libooxlo.so
libpcrlo.so
libpdffilterlo.so
libpdfimportlo.so
libpdfiumlo.so
libprotocolhandlerlo.so
libproxyfaclo.so
libreflectionlo.so
libreglo.so
libsal_textenclo.so
libscnlo.so
libscriptframe.so
libsdbtlo.so
libskialo.so
libstocserviceslo.so
libstoragefdlo.so
libstorelo.so
libtextconv_dict.so
libtextconversiondlgslo.so
libucpchelp1.so
libucpcmis1lo.so
libucpdav1.so
libucpftp1.so
libucppkg1.so
libunoidllo.so
libunopkgapp.so
libunsafe_uno_uno.so
libuuresolverlo.so
libvclplug_genlo.so
libwriterperfectlo.so
libxmlreaderlo.so
libxmlsecurity.so
libxsec_xmlsec.so

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/2039021/comments/13

------------------------------------------------------------------------
On 2023-12-28T15:55:43+00:00 Rene Engelhard wrote:

hmm, no, sorry, zxing is older.
(BTW: Those extra dependencies only in *ui is exactly the reason why I exclude 
them in the -nogui packages)

Still, someone apparently thought using "common UI" stuff in non-UI-code
was a good idea. it is not in a --disable-gui build

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/2039021/comments/14

------------------------------------------------------------------------
On 2024-01-02T01:42:10+00:00 Aron-budea wrote:

As I can see this can't be reproduced with the bibisect builds, setting
notBibisectable.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/2039021/comments/15

------------------------------------------------------------------------
On 2024-01-14T13:42:00+00:00 Rene Engelhard wrote:

*** Bug 157424 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/2039021/comments/17


** Changed in: df-libreoffice
       Status: Unknown => Confirmed

** Changed in: df-libreoffice
   Importance: Unknown => Medium

** Bug watch added: Document Foundation Bugzilla #155411
   https://bugs.documentfoundation.org/show_bug.cgi?id=155411

** Bug watch added: Debian Bug tracker #1052052
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052052

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/2039021

Title:
  NO-GUI headless convert-to function error in 7.6.1.2 60(Build:2)

Status in LibreOffice:
  Confirmed
Status in libreoffice package in Ubuntu:
  New

Bug description:
  Original bug report to LibreOffice team:
  https://bugs.documentfoundation.org/show_bug.cgi?id=157424

  7.6.1.2 60(Build:2) no-gui version, Ubuntu Server  20.04 LTS gives
  error.

  soffice --headless --convert-to pdf path/to/file --> Error: source
  file could not be loaded

  Ubuntu 20.04 LTS Desktop version has no error with the same version,
  only on Server. The installation difference is libreoffice vs
  libreoffice-nogui. Previous version doesent produces this error:
  7.5.6.2 50(Build:2) work perfect.

  Lots of no-gui version fails in Ubuntu Server 20.04 LTS with "Error:
  source file could not be loaded" message.

  Specific examples:

  - LibreOffice 6.4.7.2 40(Build:2)  --> Same error with xlsx with --convert-to 
html
  - LibreOffice 7.5.3.2 50(Build:2)  --> Same error with xlsx with --convert-to 
html

  !!! Only LibreOffice 7.5.6.2 50(Build:2) works perfectly in both case.
  !!! Example outputs:

  soffice --headless --convert-to pdf teszt.docx    
  convert /home/zsolt/teszt.docx -> /home/zsolt/teszt.pdf using filter : 
writer_pdf_Export

  soffice --headless --convert-to html teszt.xlsx    
  convert /home/zsolt/teszt.xlsx -> /home/zsolt/teszt.html using filter : HTML 
(StarCalc)

  Fortunately *ppa:libreoffice/libreoffice-still* contains the good
  version so i had to change the repos in all servers

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/2039021/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to