My thoughts on Slackware, life and everything

LibreOffice 6 packaged for Slackware

The new major release ‘6’ of LibreOffice was made available almost two weeks ago but I have been struggling with the 32bit build. Despite the fact that my 64bit -current packages for libreoffice-6.0.0 were online for a short while (almost nobody noticed), I did not have anything good to share so I removed those again.
And in the meantime, faster than scheduled because of some serious regressions and a security report, I noticed the release of version 6.0.1 two days ago. I had been busy with new Plasma5, VLC and GCC packages but with those out of the way I set myself again to the task of fixing the 32bit build. And I nailed it, so now I can finally announce packages for Slackware 14.2 and -current.

There’s a lot to write about what has been improved or added to LibreOffice 6, the release page names quite a few already and here is a selection of features that I found striking:

  • modernized look & feel of the user interface
  • gpg-based document signing & encryption, yay!
  • export to epub
  • better unicode font coverage by including a selection of noto fonts
  • improved spell-checker and custom dictionaries
  • improved help system
  • interactive form creation through a new ‘form’ menu in writer
  • impress templates are re-designed into 16:9 format
  • etc…

The Document Foundation has also recorded a video summarizing the best new features of LibreOffice 6. i invite you to take a look at it.

You can get the new libreoffice-6.0.1 packages from my repository or any mirror, like:

I have also added this release of LibreOffice to my just-uploaded PLASMA5 Live ISO which is based on Plasma 5.12 LTS.

56 Comments

  1. CWizard

    Wow, have you been busy!!!!!
    Many thanks. Works as advertised.
    🙂

  2. kjhambrick

    Thank you Eric !

    Upgraded libreoffice-5.4.4 with version 6.0.1 on my Slackware64 14.2 + Multilib Laptop.

    Works very well for my use-cases.

    Thanks again.

    — kjh

  3. gauchao

    I know it is never enough, Eric, but thank you again!

  4. Victor

    Thank you Eric !

  5. Lysander

    Great to see you’ve been working on the 32bit since that’s what I use. Thank you so much, Eric. I’m so pleased there are people like you out there working hard to support 32bit archs.

  6. alienbob

    Well enjoy the packages y’all 🙂

  7. nik

    Thanks for all the great job alienbob!

    After upgrading libreoffice I get this error:

    /usr/lib64/libreoffice/program/soffice.bin: symbol lookup error: /usr/lib64/libreoffice/program/libi18nutil.so: undefined symbol: _ZTVN6icu_6013UnicodeStringE

    Any thoughts on that?

  8. alienbob

    nik what version of Slackware are you running (14.2 or -current) and what is the URL of the package you downloaded and installed?

  9. nik

    I’m sorry for not mentioning that info…

    I use 14.2 (multilib) and I downloaded everything from here:
    http://slackware.uk/people/alien/slackbuilds/libreoffice/pkg64/current/

    The libreoffice packages I installed were:
    libreoffice-6.0.1-x86_64-1alien.txz
    libreoffice-dict-en-6.0.1-x86_64-1alien.txz
    libreoffice-kde-integration-6.0.1-x86_64-1alien.txz
    libreoffice-l10n-en_GB-6.0.1-x86_64-1alien.txz

    I also had to update some packages with the following versions:

    zlib-1.2.11-x86_64-1.txz
    gpgme-1.9.0-x86_64-1alien.txz
    cxxlibs-6.0.18-x86_64-1.txz
    glibc-2.27_multilib-x86_64-1alien.txz
    glibc-i18n-2.27_multilib-x86_64-1alien.txz
    glibc-profile-2.27_multilib-x86_64-1alien.txz
    glibc-solibs-2.27_multilib-x86_64-1alien.txz
    gcc-7.3.0_multilib-x86_64-1alien.txz
    gcc-g++-7.3.0_multilib-x86_64-1alien.txz
    gcc-gfortran-7.3.0_multilib-x86_64-1alien.txz
    gcc-gnat-7.3.0_multilib-x86_64-1alien.txz
    gcc-go-7.3.0_multilib-x86_64-1alien.txz
    gcc-objc-7.3.0_multilib-x86_64-1alien.txz

    and make some symbolic links in /usr/lib64/, due to related messages:
    ln -s libboost_system.so.1.59.0 libboost_system.so.1.66.0
    ln -s libboost_iostreams.so.1.59.0 libboost_iostreams.so.1.66.0
    ln -s libboost_filesystem.so.1.59.0 libboost_filesystem.so.1.66.0
    ln -s libboost_locale.so.1.59.0 libboost_locale.so.1.66.0
    ln -s libicuio.so.56.1 libicui18n.so.60
    ln -s libicuuc.so.56.1 libicuuc.so.60

    This is the message I get when I try to load LO:
    bash-4.3$ libreoffice
    /usr/lib64/libreoffice/program/soffice.bin: symbol lookup error: /usr/lib64/libreoffice/program/libi18nutil.so: undefined symbol: _ZTVN6icu_6013UnicodeStringE

    I also checked it with strings:
    root@darkstar:~# strings /usr/lib64/libreoffice/program/libi18nutil.so |grep _ZTVN6icu_6013UnicodeStringE
    _ZTVN6icu_6013UnicodeStringE

    I hope this info is helpfull.
    Thanks.

  10. peebee

    Hi Eric
    Many thanks…..
    Using the 32-bit current version with the quickstarter in the systray…..
    Only problem is that after a period (unquantified) it starts to consume 100% of 1 core
    Can be “cured” by restarting the desktop (LXDE).
    Similar to, but not the same as previous LO/glib2 problems.
    Cheers
    peebee

  11. alienbob

    nik if you are running Slackware 14.2 you should *never* use packages in the “current” directory of my repository… there’s a “14.2” directory to which contains the package that works with Slackware 14.2.
    The libreoffice I compile on Slackware-current simply won’t work on 14.2 because of all the incompatible library updates that occurred between the release of 14.2 and today’s state of development in -current.

  12. nik

    Thanks for clarifying that alienbob!

    Occasionally I have used packages from -current to my system without problems.
    I’ll get back to a 14.2 package…

    Have a good day!

  13. alienbob

    nik, you have already upgraded several other packages to “current”,like glibc and gcc. It may be wise to review your installed packages and revert *everything* to Slackware 14.2 packages. Else you will keep running into missing library issues and/or application crashes.

  14. nik

    I am now aware of that (thanks again for noting) and will do so!
    Keep up the great work and many thanks again for your overall efforts.

  15. Eduardo

    Hi Eric. Thanks again! Works like a charm!

  16. BrianA_MN

    Hi Erik, thank you for making packages of the latest LOO. On Slackware64-14.2+multilib, LOO 6.0.1 (for 14.2) installed with slackpkg+. However, when attempting to verify java set to openjdk8 LOO is crashing when clicking on Tools>Options. Tested with multiple odb files. Crash doesn’t happen with LOO 5, but with LOO 5 the automatic filters is so slow I can’t use it. Don’t have the crash in AOO 4.1.5. Any suggestions on how to investigate this crash? Thanks.

  17. Cesarion76

    Hi Eric.
    When clicking tools>preferences the app crashes.

    Running in console shows this:

    bash-4.3$ libreoffice
    LibreOffice(19580) KSambaSharePrivate::testparmParamValue: We got some errors while running testparm “Load smb config files from /etc/samba/smb.conf
    Error loading services.

    LibreOffice(19580) KSambaSharePrivate::findSmbConf: KSambaShare: Could not find smb.conf!
    LibreOffice(19580) KSambaSharePrivate::getNetUserShareInfo: We got some errors while running ‘net usershare info’
    LibreOffice(19580) KSambaSharePrivate::getNetUserShareInfo: “Can’t load /etc/samba/smb.conf – run testparm to debug it

    X Error: BadMatch (invalid parameter attributes) 8
    Major opcode: 42 (X_SetInputFocus)
    Resource id: 0x620267a

    I’ m running stock x86_64 14.2 + multilib with slackpkg+ for pkg managment.

    Thanks for all the work!

  18. alienbob

    Cesarion76 – I would guess that there’s something wrong with your X installation. The only real error is the “X Error: BadMatch (invalid parameter attributes) 8
    Major opcode: 42 (X_SetInputFocus)”.
    What happens if you open the file /etc/profile.d/libreoffice.sh and un-comment (remove the #) in the line:

    #export SAL_USE_VCLPLUGIN=gtk3

    Make sure all the other lines start with a ‘#’.
    Then logoff, login again and see if that makes libreoffice work.

  19. Cesarion76

    Hello. The error message is not showing after un-commenting

    #export SAL_USE_VCLPLUGIN=gtk3

    Still when clicking tools>preferences the app crashes and restarts.

  20. alienbob

    What is the name of the openjdk (or openjre) package you have installed?

  21. Cesarion76

    Hi Eric, I have openjdk-8u151_b12-x86_64-1alien installed.

  22. alienbob

    Well, same here. Take an alternative approach: create a new user account on your computer, login as that new user, start libreoffice and go to tools>preferences. If it does not crash you’ll know the issue is in your own user’s profile. If it crashes, it is a systemic issue. In that case, try another desktop environment (XFCE instead of KDE for instance) to see if that makes a difference. Et cetera, keep trying a single parameter time after time until you find the cause.

  23. Cesarion76

    Eric, login in to another user did the trick.

    No crashes in KDE and XFCE. So there’s a problem in my own profile.

    Also tried XFCE but also crashes.

    I ‘ve deleted ./config/libreoffice/* but still same problem

    Should I delete ./kde , etc?

    thanks for all the help

  24. Ricardson

    Thank you!!! work pretty good here.

  25. thim

    Hello. Same problem here (tools>options and crash), Slackware 64 full install (but with a newer kernel 4.14).
    Problem remains regardless of desktop (Xfce, KDE, Wmaker, FVWM).
    Tried /etc/profile.d/libreoffice.sh (uncomment each time and a different option). No luck either.
    Removepkg libreoffice* and all user’s setings (rm -r ./config/libreoffice). Did not fix it.
    Login as a different user. Works.
    Tried it in a different computer, fresh installed slack 14.2 64. LO was the only additional package. Worked.
    Starting LO in Safe Mode, tried some options there, did not help.
    Just wondering, if there is a fix, or something for else to try -apart from creating a new user.

  26. thim

    (ps: my first post here though i using slackware from 2013 with the “help’ of alienbob’s packages. So, thank you for a great work!)

  27. alienbob

    LibreOffice does a lot more than just reading and writing in ~/.config/libreoffice/ – like, accessing the files in your “recent documents” list, accessing desktop theming configuration etc. That is a lot of files in your homedirectory which a freshly created account does not (yet) have.

    Try starting LibreOffice from a terminal like this, work for a bit and let it crash. Then examine the file “strace.log” in your current directory (it will be *huge*) and try to find out what it was accessing in your homedirectory when it crashed:

    $ lowriter –strace

  28. Mats

    Do you plan to build LibreOffice 6.0.2?

  29. alienbob

    No idea. No time now. There’s lots of other stuff too that needs an update. Real life takes precedence at the moment since package building does not pay the bills.

  30. thim

    Following the advice, i tried with — strace and i found that the crash occurred when lo was accessing /home/thym/.gnupg folder.
    After i removed that folder, lo seems to working flawlessly! (of course i ll keep an eye on it for the next couple of days).

  31. alienbob

    thim – I too have a ~/.gnupg folder containing my private and public keyring… but LO does not crash accessing the tools>options menu. Is there someting amiss with the directory access rights and ownerships? Does that directory actually contain a GPG private/public key pair?

    But I am glad it works at least, without the need to create a whole new user account.

  32. thim

    After try and error, i found that the file causing the crash was the secring.gpg (inside the initial .gnupg folder). And i am not using a gpg key pair -yet. Anyway, lo works and i am more than happy with this. (btw, 6.0 version looks very nice)

  33. Cesarion76

    Can confirm removing .gnupg did the trick. LO is working great now.

    When running “$ lowriter -strace ” no log is generated in my case.

    Here is a list of the file/dir ownership in my folder before I deleted it

    $ ls -la
    total 108
    drwx—— 4 cesar users 4096 mar 6 19:00 .
    drwx–x–x 76 cesar users 12288 mar 6 18:58 ..
    -rw——- 1 cesar users 128 mar 6 19:00 .directory
    drwx—— 2 cesar users 4096 sep 12 19:09 dirmngr-cache.d
    -rw-r–r– 1 cesar users 0 sep 21 20:44 gpa.conf
    -rw——- 1 cesar users 7680 feb 22 2017 gpg.conf
    drwx—— 2 cesar users 4096 mar 21 2017 private-keys-v1.d
    -rw——- 1 cesar users 1203 feb 19 20:49 pubring.gpg
    -rw——- 1 cesar users 1203 sep 22 13:50 pubring.gpg~
    -rw-r–r– 1 cesar users 22093 sep 12 19:09 pubring.kbx
    -rw-r–r– 1 cesar users 22061 sep 12 19:09 pubring.kbx~
    -rw——- 1 cesar users 600 sep 22 13:50 random_seed
    -rw——- 1 cesar users 2581 sep 22 13:50 secring.gpg
    srwxr-xr-x 1 cesar users 0 sep 21 20:44 S.uiserver
    -rw——- 1 cesar users 1280 feb 19 20:49 trustdb.gpg
    -rw——- 1 cesar users 858 sep 12 19:09 trustlist.txt

    thanks

  34. thim

    you can try libreoffice –strace instead of lowriter -strace

  35. Hugok

    Hi eric, i just did a fresh slackware current installation… qbittorrent 4.0.4 and libreoffice 6.0.3 from your current repos does not work even with all the dependencies installed of qbittorrent…
    I’m using KDE.

  36. alienbob

    They are broken after latest boost update in -current. That what happens regularly if you decide to install -current instead of a stable release… either you wait for me to compile new packages or you recompile them yourselves.

  37. aikempshall

    From time to time I chase regressions in LibreOffice and sometimes submit very small patches.

    For a long time I have had a working clone of the source code sitting on my 14.2 production machine.

    Always compiled with –enable-kde4 because I use, on my production machine, kde4.

    Trying to compile libreoffice, with –enable-kde5 on a development machine with current and your ktown installed, but I getting errors.

    I’ve looked at you libreoffice.SlackBuild and it looks to me that you chosen to compile with either –enable-kde4 or –diasable-kde4.

    Have you attempted to compile with –enable-kde5 and found that it doesn’t work or have you another reason not to use –enable-kde5?

  38. alienbob

    I think the Qt5 / KDE Frameworks5 support was added to Libre Office 6.0.0. However: since there’s no such thing as “KDE5” in Slackware-current I saw no point to enable this feature.
    I will consider it on the next package build though.

  39. bl0tt0

    Just to chime in here, I was also running into issues with libreoffice crashing when accessing ‘Tools > Options’ on 14.2 multilib, and it seems that the issue may haev to do with conflicting versions of gpgme installed on the system vs. what is used at build time. The pertinent part of the stack trace is:

    Thread 1 “soffice.bin” received signal SIGSEGV, Segmentation fault.
    0x00007fffe20865f7 in ?? () from /usr/lib64/../lib64/libgpgme.so.11
    #0 0x00007fffe20865f7 in () at /usr/lib64/../lib64/libgpgme.so.11
    #1 0x00007fffe207f389 in () at /usr/lib64/../lib64/libgpgme.so.11
    #2 0x00007fffe207f8a3 in gpgme_op_export () at /usr/lib64/../lib64/libgpgme.so.11
    #3 0x00007fffea50cec9 in GpgME::Context::exportPublicKeys(char const*, GpgME::Data&, bool) () at /usr/lib64/libreoffice/program/libgpgmepp.so.6

    Further, looking at the libreoffice.Slackbuild, the source files are pulling in gpgme-1.9.0:

    SOURCE[52]=”$SRCDIR/${LOSRC_DIR}/gpgme-1.9.0.tar.bz2″
    SRCURL[52]=”https://dev-www.libreoffice.org/src/gpgme-1.9.0.tar.bz2″
    GITURI[52]=””

    However Slackware 14.2 is only on gpgme-1.6.0:

    # slackpkg info gpgme

    PACKAGE NAME: gpgme-1.6.0-x86_64-1.txz

    If I remove the gpgme system package, then the crash in libreoffice goes away, however course this breaks other things.

    I’m not sure if the recent versions of libreoffice will build with gpgme-1.6.0 for the sake of compatibility with 14.2, but perhaps an environment variable can force libreoffice to prefer the included libgpgme?

  40. alienbob

    bl0tt0 if you find a way to compile LO against gpgme 1.6.0 send me the patch. Otherwise you’re out of luck.
    It has already cost me many long nights without any success to find a solution. I won’t spend any more time on it.

  41. bl0tt0

    I just did a little further digging on this, and it\’s apparently already been reported as a bug to documentfoundation.org:

    https://bugs.documentfoundation.org/show_bug.cgi?id=117105

    Appears to be dubious RPATHS for libgpgme and libassuan. They\’ve fixed it in 6.0.5, but there\’s also a patch here:

    https://cgit.freedesktop.org/libreoffice/core/commit/?id=4f7028dd292e22f09cd505b529d93713747ebd6b&h=libreoffice-6-0

  42. alienbob

    bl0tt0 – nice find. I had not ran into that bug report before.
    I guess I will have to compile LO 6.0.5 then.

  43. Pete Christy

    Hi Eric, I guess you are probably aware that the latest Slackware updates have broken your LibreOffice package again. Libboost seems to be the villain of the piece this time. I’ve worked around it with an awful kludge, but the real answer is to recompile.

    Looking at your slackbuilds on slackware.uk, the latest seems to be for 5.4. You’ve implied in the past that there are issues with building Libreoffice for Slackware, so will this older slackbuild work if updated to reflect the current version 6.1, at the time of writing, I think)?

    Or do you have an update in the works?

    Cheers,


    Pete

  44. alienbob

    Pete, the latest libreoffice.SlackBuild is for 6.0.5, not for 5.4.
    I have just finished compiling a whole new ‘ktown’ release for Plasma5 which I am not allowed to release before thursday (Applications 18.08 release day). With that finished I am now working on a package for LibreOffice 6.1.0 for slackware-current to fix those boost library issues and bump the package to the latest release at the same time.
    as with every bump in the LibreOffice release I am running into trouble and it may take a bit to get to a working package.

  45. Peter Christy

    Hi Eric, and thanks for the update! Yes, I know the latest release of LibreOffice you have published is 6.0.5, but I couldn’t find a slackbuild for anything after 5.4 on the UK mirror, but your link above took me straight to it. I think I need to get some new glasses! 😉

    Cheers,


    Pete

  46. Nicola

    Hi, I`ve a problem with LO 6.1 for both slackware & slackware-64 : if I use calc and want to change a column width .. it shows completely crazy values. I tried to delete the libreoffice settis folder in my home directory, tried to remove and to reinstall the package … nothing, the problem is present. I`checked using other linux distro and there that problem is not present.

    Nicola

  47. Nicola

    Just finished to download LO 6.1 Appimage file. Executing it on my slackware64-current the problem I`ve reported is not present.

    Nicola

  48. Patrick B

    Hi Eric
    I tried to install Libreoffice today (not a techie) as follows:

    bash-4.3# lftp -c “open http://www.slackware.com/~alien/slackbuilds/libreoffice/; mirror build”
    bash-4.3# cd build
    bash-4.3# sh libreoffice.SlackBuild

    I got this message

    Source ‘libreoffice-6.1.2.1.tar.xz’ not available yet…
    Will download file to /root/build/sources61

    and a whole bundle of files were downloaded

    Then after a great deal of text, I got the following:

    libreoffice.SlackBuild: line 1283: JAVA_HOME: unbound variable
    sed: can’t read Makefile: No such file or directory
    libreoffice.SlackBuild FAILED at line 1352
    and that was the end of the process.

    Do you have any idea what the problem might be?

    Many thanks

  49. alienbob

    Patrick, why do you want to compile LibreOffice from source instead of just installing the package from my repository?

    If you want to compile from source you need to install the build dependencies first. They are: JDK version 8, Apache Ant and perl-archive-zip. Obviously you do not have a Java installed, hence the error.
    My advice: use pre-compiled packages and do not try to compile from source if you do not know what you are doing.

  50. Patrick B

    Foolish me, I thought I was just installing it.

    Is there a simple step-by-step available somewhere?

  51. alienbob

    Patrick, that information is available in the README in the toplevel of my package repository. This URL will display it straight away: http://www.slackware.com/~alien/slackbuilds/

    I also suggest you take some time to get acquainted with Slackware documentation, as obviously you are pretty inexperienced. Start here and read at least the articles linked to in the top part of the start page:

    https://docs.slackware.com/

  52. Patrick B

    Many thanks Eric. I’ll do that!

  53. Patrick B

    Hi Eric,
    I made a further attempt, using the package this time.
    Unfortunately it installed but doesn’t work.

    Here’s the reason why:
    /usr/lib64/libreoffice/program/oosplash: /lib64/libz.so.1: version `ZLIB_1.2.9′ not found (required by /usr/lib64/libreoffice/program/oosplash)

    It seems that I have version 1.2.8

    What’s the best way round this?

  54. Patrick B

    Sorry if this is all dealt with in one of those documents you mentioned, but I thought I might say that I’m probably better suited to a more enduser-friendly distribution!

    I also tried to install vlc, and had no luck either ….

  55. alienbob

    Patrick, I assume you are running Slackware 14.2 which contains zlib-1.2.8.
    But…
    Every Slackware stable release receives security patches over time, and those end up in the “patches” subdirectory of the repository. You really should apply those security updates on a regular basis.
    For Slackware 14.2, the zlib package got an update and the latest one is in the “patches” directory. At the moment that’s 1.2.11 and I assume that your error will be gone after having upgraded all the packages in slackware64-14.2/patches/packages/

    Also if you have issues getting to grips with the distro, this blog is not the best place to discuss. Try your luck in the Slackware forum where many friendly fellow users are ready and able to answer your questions: https://www.linuxquestions.org/questions/slackware-14/

  56. Patrick B

    Eric,
    Thank you again for your patience and help.
    Patrick B

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2024 Alien Pastures

Theme by Anders NorenUp ↑