LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-19-2019, 09:44 AM   #1
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,570
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
SBo build of Libreoffice-6.2 fails, apparently due to incomplete source archive


The Slackbuild for Libreoffice uses the rpm package as source. This package appears to be incomplete. The last few lines of output are:
Code:
./opt/libreoffice6.2/share/calc/styles.xml
./opt/libreoffice6.2/share/registry
./opt/libreoffice6.2/share/registry/calc.xcd
59673 blocks
cpio: premature end of archive
Failures:
  libreoffice: libreoffice.SlackBuild return non-zero
I thought at first that it was maybe just a bad download, so I removed all trace of LO from the local SBo cache (/usr/sbo/repo), then ran sbocheck again, followed by sboupgrade. It downloaded a new file as I had hoped, then failed again in precisely the same place.

What should I try next?
 
Old 07-19-2019, 09:46 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
If you are installing pre-compiled binaries anyway (compiled on Ubuntu btw)... why not install my package for LibreOffice which I compiled on Slackware?
See http://slackware.uk/people/alien/sla...s/libreoffice/
 
5 members found this post helpful.
Old 07-19-2019, 10:43 AM   #3
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Libre Office is one of those packages I would never compile [along with things like qt5, Chromium, openjdk]. Eric does a great job with the binaries and they work perfectly.
 
Old 07-19-2019, 11:42 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,570

Original Poster
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
Thanks, Eric. I just installed your LO together with the EN_GB internationalisation pack and the English dictionary, but I haven't got it to run yet. I get the splash screen and then a crash:
Code:
 lowriter
terminate called after throwing an instance of 'com::sun::star::uno::DeploymentException'


Fatal exception: Signal 6
Stack:
/usr/lib64/libreoffice/program/libuno_sal.so.3(+0x570d0)[0x7f16ff4920d0]
/usr/lib64/libreoffice/program/libuno_sal.so.3(+0x572f8)[0x7f16ff4922f8]
/usr/lib64/libreoffice/program/libuno_sal.so.3(+0x57496)[0x7f16ff492496]
/lib64/libc.so.6(+0x35480)[0x7f16fed4b480]
/lib64/libc.so.6(gsignal+0x38)[0x7f16fed4b3f8]
/lib64/libc.so.6(abort+0x16a)[0x7f16fed4cffa]
/usr/lib64/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x15d)[0x7f16fe3ff58d]
/usr/lib64/libstdc++.so.6(+0x8c5f6)[0x7f16fe3fd5f6]
/usr/lib64/libstdc++.so.6(+0x8c641)[0x7f16fe3fd641]
/usr/lib64/libstdc++.so.6(+0x8c858)[0x7f16fe3fd858]
/usr/lib64/libreoffice/program/libutllo.so(+0x7e15c)[0x7f16f6a5415c]
/usr/lib64/libreoffice/program/libutllo.so(+0x7bcf4)[0x7f16f6a51cf4]
/usr/lib64/libreoffice/program/libutllo.so(+0x7c950)[0x7f16f6a52950]
/usr/lib64/libreoffice/program/libutllo.so(+0x7cb9a)[0x7f16f6a52b9a]
/usr/lib64/libreoffice/program/libutllo.so(_ZN3utl10ConfigItemC1ERKN3rtl8OUStringE14ConfigItemMode+0x112)[0x7f16f6a461ac]
/usr/lib64/libreoffice/program/libutllo.so(+0xe1017)[0x7f16f6ab7017]
/usr/lib64/libreoffice/program/libutllo.so(+0xe46aa)[0x7f16f6aba6aa]
/usr/lib64/libreoffice/program/libutllo.so(+0xe45bd)[0x7f16f6aba5bd]
/usr/lib64/libreoffice/program/libutllo.so(+0xe4400)[0x7f16f6aba400]
/usr/lib64/libreoffice/program/libutllo.so(+0xe418d)[0x7f16f6aba18d]
/usr/lib64/libreoffice/program/libutllo.so(+0xe407a)[0x7f16f6aba07a]
/usr/lib64/libreoffice/program/libutllo.so(+0xe3fb4)[0x7f16f6ab9fb4]
/usr/lib64/libreoffice/program/libutllo.so(+0xe3df8)[0x7f16f6ab9df8]
/usr/lib64/libreoffice/program/libutllo.so(+0xe3bba)[0x7f16f6ab9bba]
/usr/lib64/libreoffice/program/libutllo.so(_ZN19SvtSysLocaleOptionsC1Ev+0xcd)[0x7f16f6ab8ae1]
/usr/lib64/libreoffice/program/libvcllo.so(+0xaa3083)[0x7f16f6093083]
/usr/lib64/libreoffice/program/libvcllo.so(_ZN11AllSettings12GetLayoutRTLEv+0x1e)[0x7f16f6093196]
/usr/lib64/libreoffice/program/libvclplug_gtk3lo.so(+0xcac8b)[0x7f16e2d58c8b]
/usr/lib64/libreoffice/program/libvclplug_gtk3lo.so(+0xcd3b7)[0x7f16e2d5b3b7]
/usr/lib64/libreoffice/program/libvclplug_gtk3lo.so(+0xceda3)[0x7f16e2d5cda3]
/usr/lib64/libreoffice/program/libvclplug_gtk3lo.so(+0xced58)[0x7f16e2d5cd58]
/usr/lib64/libreoffice/program/libvcllo.so(_Z10ImplSVMainv+0x4a)[0x7f16f60afbb5
/usr/lib64/libreoffice/program/libvcllo.so(_Z6SVMainv+0x9)[0x7f16f60afd9b]
/usr/lib64/libreoffice/program/libsofficeapp.so(soffice_main+0x13f)[0x7f16ff1627d7]
/usr/lib64/libreoffice/program/soffice.bin[0x4008cf]
/usr/lib64/libreoffice/program/soffice.bin[0x4008b5]
/lib64/libc.so.6(__libc_start_main+0xf0)[0x7f16fed367d0]
/usr/lib64/libreoffice/program/soffice.bin[0x400759]
/usr/lib64/libreoffice/program/libvcllo.so(_Z7InitVCLv+0x279)[0x7f16f60b015b]
I found a report of a similar Arch bug from 2016 which was due to not having gtk2 installed, but I have both gtk2 and gtk3 on my system. Also found one in Debian from last year that suggested launching with the --safe-mode option. I tried that and it didn't work, so there seem to be several glitches that can cause this sort of behaviour.

I'll search a bit more but in the mean time any suggestions are welcome.
 
Old 07-19-2019, 11:56 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,570

Original Poster
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
I found a dump file in ~/.config/libreoffice/4 which might give a clue to this:
Code:
ProductName=LibreOffice
Version=6.1.4.2
BuildID=9d0f32d1f0b509096fd65e0d4bec26ddd1938fd3
URL=https://crashreport.libreoffice.org/submit/
AdapterDeviceId=Gallium 0.4 on llvmpipe (LLVM 3.8, 128 bits)
AdapterVendorId=VMware, Inc.
UseOpenGL=false
Language=en-GB
ShutDown=true
 
Old 07-19-2019, 12:14 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by hazel View Post
I found a dump file in ~/.config/libreoffice/4 which might give a clue to this:
Code:
ProductName=LibreOffice
Version=6.1.4.2
BuildID=9d0f32d1f0b509096fd65e0d4bec26ddd1938fd3
URL=https://crashreport.libreoffice.org/submit/
AdapterDeviceId=Gallium 0.4 on llvmpipe (LLVM 3.8, 128 bits)
AdapterVendorId=VMware, Inc.
UseOpenGL=false
Language=en-GB
ShutDown=true
What version of Slackware are you running? Where (exact URL) did you download my packages?
The dumpfile mentions 6.1.4.2 which is a version that I do not host. What is the timestamp on that file?
Do you share your homedirectory on the same computer with all these other distros you mention in your profile?
 
Old 07-19-2019, 01:06 PM   #7
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,570

Original Poster
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
OK. It's Slackware 14.2. The url was http://slackware.uk/people/alien/sla...ce/pkg64/14.2/
The packages are all labelled 6.2.5. 6.1.4.2 was the old version. Here's the report from upgradepkg:
Code:
Installing package libreoffice-6.2.5-x86_64-1alien.txz:
PACKAGE DESCRIPTION:
# libreoffice (free office suite)
#
# LibreOffice is an Open Source, community-developed, office
# productivity suite.  It includes key desktop applications,
# such as a word processor, spreadsheet, presentation manager,
# formula editor and drawing program, with a user interface and
# feature set similar to other office suites.  LibreOffice also
# works transparently with a variety of file formats, including
# Microsoft Office File Formats.  
#
# libreoffice home: http://www.documentfoundation.org/
Executing install script for libreoffice-6.2.5-x86_64-1alien.txz.
Package libreoffice-6.2.5-x86_64-1alien.txz installed.

Package libreoffice-6.1.4-x86_64-1_SBo upgraded with new package ./libreoffice-6.2.5-x86_64-1alien.txz.
So that report must have been from an earlier problem with the old version (which I can't remember btw). Anyway, I removed the entire ~/.config/libreoffice directory and tried again. It still crashes but I don't have any dump report now, so please write that off as a red herring.

My distros have a common data partition (similar to Windows MyDocuments) mounted on /home/data, but separate home directories, so no cross-contamination there!
 
Old 07-19-2019, 01:14 PM   #8
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,534

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Did you try installing via rpm and rpm2tgz or a slackbuild? I'd check to see if you've got any other versions lying around, uninstall everything related to Libre Office, then install Alien Bob's version. (Because his always work.)
 
Old 07-19-2019, 02:09 PM   #9
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,570

Original Poster
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
The old LO was a slackbuild and was based on an rpm. I wonder if that caused any problems. OK, I'll uninstall and then clear up any LO files I find anywhere. It can't do any harm to have a clean reinstall.

PS: it didn't do any good either!

Last edited by hazel; 07-19-2019 at 02:28 PM.
 
Old 07-19-2019, 03:18 PM   #10
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by hazel View Post
OK. It's Slackware 14.2.
Is this a Slackware 14.2 which you kept up-to-date with the updates that get released regularly (in ./patches), or is this still a Slackware 14.2 with all the original packages? My packages will usually not work on out-of-date Slackware 14.2 installations.
 
Old 07-19-2019, 03:27 PM   #11
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,570

Original Poster
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
I do a Slackpkg update and upgrade once a month. That covers patches, doesn't it?
 
Old 07-19-2019, 03:35 PM   #12
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,534

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
You might want to run it again. Also, be sure to do "slackpkg install new" after "slackpkg update," because there might be dependencies added from time to time. I'm on current, so I update every day. When I was on 14.2, I would update once a week, at a minimum, and if there were security patches, I'd update immediately.
 
Old 07-19-2019, 03:36 PM   #13
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
yes you should be up to date then.
So try the following: open /etc/profile.d/libreoffice.sh in an editor and un-comment the line "export SAL_USE_VCLPLUGIN=gtk3". Then logout, login again, see if LibreOffice still crashes.
What desktop environment are you using by the way? KDE4, XFCE, ...?
 
Old 07-20-2019, 08:04 AM   #14
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,570

Original Poster
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
Sorry I'm leading you such a dance, gentlemen! All right, I set that variable in /etc/profile.d/libreoffice.sh, logged out, logged in again, checked with printenv that it was actually set, then started X and tried again. Same result. Actually I half expected that because, like I said before, I do have both gtk libraries installed, unlike that person who posted a similar bug in the Arch forum.

The desktop is Fluxbox, my favourite WM. I don't use desktop environments because I can't understand how they work and I hate that feeling.

Now, I am going to admit something which will probably annoy you both but it may be relevant. I do not have a full Slackware install. I depend on a low-cost broadband package which has a 3GB monthly limit on downloads, so I was never able to install Slackware in the approved fashion, i.e. from a downloaded DVD image. But I think that by now I know enough about how Linux works to be able to track down most dependencies for myself and in fact it only took me a couple of weeks to get everything on my Slackware system working (including LibreOffice until now).

It is for that reason, Garpu, that I do not do an install-new when I update. It would trigger the download of huge amounts of stuff (including the whole of KDE!) and I'd end up getting fined for exceeding my quota.

But I'm aware that there are dependencies that don't show up in an ldd run for missing libraries. For example, the Slackbuild of LO expects avahi, which I do not have and do not want. It's overkill if you don't have a functioning home network. Fortunately the previous LO only required a couple of avahi libraries, not the whole package. So are there any other packages that I ought to check for? This question is particularly aimed at Eric because it's his build.

Last edited by hazel; 07-20-2019 at 08:25 AM.
 
Old 07-20-2019, 08:58 AM   #15
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Quote:
Originally Posted by hazel View Post
... I do not have a full Slackware install. I depend on a low-cost broadband package which has a 3GB monthly limit on downloads, so I was never able to install Slackware in the approved fashion, i.e. from a downloaded DVD image.
If it's of any help, I would gladly ship you a complete set of DVDs.

Live just across the North Sea to you, so no problem.


Just give me a call jan .reg (at) youmail .dk (remove spaces. Sorry, too new to be allowed to use pm)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suitesparse /Cuda SBo, complains about too advanced GCC, although being built with GCC 5 from the same SBo. Lockywolf Slackware 5 04-28-2019 10:17 PM
nvidia-driver SBo The symbolic link '/usr/lib/libGL.so.1' does not point to 'tmp/SBo/package-nvidia-driver/usr/lib64/libGL.so.1' Gerardo Zamudio Slackware 5 07-30-2017 10:44 PM
Questions for Robby, ponce, or anyone from SBo about SBo submission requirements. ReaperX7 Slackware 4 06-07-2015 11:30 AM
Nvidia-driver.SlackBuild from SBo (or: I am a bad and sloppy SBo maintainer) kingbeowulf Slackware 8 08-31-2012 02:41 AM
Fedora 5 pirut fails, apparently due to xwindows speter98 Linux - Newbie 2 05-24-2006 05:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration