Bug 140126

Summary: Cannot launch on Slackware
Product: LibreOffice Reporter: Murdo Maclachlan <murdo>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: eprimi, murdo, serval2412
Priority: medium    
Version: 7.1.0.3 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description Murdo Maclachlan 2021-02-03 14:58:00 UTC
I can't launch LibreOffice 7.1.0 on Slackware 14.2. The program briefly shows the loading window before crashing, with the following error in console:

(soffice:679): Gtk-WARNING **: Theme parsing error: <data>:1:107: 'min-height' is not a valid property name

(soffice:679): Gtk-WARNING **: Theme parsing error: <data>:1:123: 'min-width' is not a valid property name
/home/murdo/libreoffice/opt/libreoffice7.1/program/soffice.bin: symbol lookup error: /home/murdo/libreoffice/opt/libreoffice7.1/program/libvclplug_gtk3lo.so: undefined symbol: gtk_widget_path_iter_set_object_name

I downloaded from the libreoffice.org download page, and installed the RPM version using ./install . -U ~/libreoffice. This is the way I normally install new versions; the only problem I've had in the past is a missing dependency that was easily resolved by installing the missing library.

Some system information is:
OS - Slackware 14.2
Kernel Version - Linux 4.4.217

If any more information is required, I'm happy to provide.
Comment 1 Julien Nabet 2021-02-03 20:31:18 UTC
Taking a look at https://slackware.pkgs.org/14.2/slackware-x86_64/, it seems Slackware uses gtk+3-3.18.9-x86_64-1.txz so 3.18
and according to https://www.libreoffice.org/get-help/system-requirements/, you need gtk3 3.18
=> so it should be ok at least for 7.0 branch.


In the error you quote, we see the use of gtk_widget_path_iter_set_object_name()

According to https://developer.gnome.org/gtk3/stable/gtk3-GtkWidgetPath.html#gtk-widget-path-iter-set-object-name, gtk_widget_path_iter_set_object_name () is from gtk3 3.20

Digging a bit more LO 7.1 needs gtk3 3.20 min: see http://document-foundation-mail-archive.969070.n3.nabble.com/raise-min-version-of-gtk-gt-3-20-tt4288742.html


If you can upgrade gtk3 version, you can try to workaround this by using:
"export SAL_USE_VCLPLUGIN=gen && soffice" (for generic rendering)
or
"export SAL_USE_VCLPLUGIN=kf5 && soffice" (for Kde Framework 5 rendering)

Meanwhile, let's put this one as NOTABUG
Comment 2 Murdo Maclachlan 2021-02-03 21:12:44 UTC
I see. Thanks for the information. I think I'll stick with 7.0.4 for the time being, since I think Slackware Current is going into beta relatively soon, and I'll be doing a system update then, so it's probably not worth my time to fiddle with it now, since I think Current has gtk3 3.20 in it.
Comment 3 Julien Nabet 2021-03-20 19:22:43 UTC
*** Bug 141130 has been marked as a duplicate of this bug. ***