Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590596 - app-office/libreoffice-5.2.0.4 version bump
Summary: app-office/libreoffice-5.2.0.4 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Office Team
URL: https://github.com/gentoo/gentoo/pull...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-05 22:34 UTC by Yanestra
Modified: 2016-09-20 09:23 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Jouni Kosonen 2016-08-14 22:15:29 UTC
As far as I can tell, the hack in lines 543-546 of the libreoffice-5.2.0.4.ebuild in PR1907 should be removed:

543:	# FIXME: Hack add missing file
544:	exeinto /usr/$(get_libdir)/${PN}/program
545:	doexe "${S}"/instdir/program/libsaxlo.so
546:

The library is only used during buildtime, and the objects of that library are linked in the libmergedlo.so for the runtime. 

The installed copy of the library is broken anyway, because it links against another library that is itself not installed anymore.

$ ldd /usr/lib64/libreoffice/program/libsaxlo.so         
        linux-vdso.so.1 (0x00007ffc36fa8000)
        libcomphelper.so => not found
        libuno_cppu.so.3 => /usr/lib64/libreoffice/program/libuno_cppu.so.3 (0x00007f2cc70e3000)
        ...

This makes revdep-rebuild unhappy.
Comment 2 Andreas Sturmlechner gentoo-dev 2016-08-15 07:39:02 UTC
Could you give it a try?
Comment 3 Jouni Kosonen 2016-08-15 08:19:02 UTC
(In reply to Andreas Sturmlechner from comment #2)
> Could you give it a try?

I've been using the 5.2.0.4 in production for five days now, and apart from a slight redraw problem with the calc tab bar under KDE Plasma 5 everything seems to work just fine. The libsaxlo.so problem came up with a routine revdep-rebuild run. 

For context see http://nabble.documentfoundation.org/Myssing-link-to-libcomphelper-so-on-5-2-0alpha1-td4183924.html

I removed the installed library manually and revdep-rebuild{,.sh} says nothing is broken.

Rebuilding with a modified ebuild will take a couple of hours, so it'll have to wait until the machine is done with the day's work, eight hours or so.
Comment 4 Jouni Kosonen 2016-08-15 16:09:54 UTC
Now built with those four lines removed.

libsaxlo.so no longer gets installed, no other files are removed from installation, revdep-rebuild reports no error, most files that don't include timestamps in content have the same hash they did in the earlier installation in /var/db/pkg/app-office/libreoffice-5.2.0.4/CONTENTS.

Also still works.
Comment 5 Andreas Sturmlechner gentoo-dev 2016-08-29 20:45:51 UTC
Bumped PR in anticipation of a 5.2.1.2 release, with mergelibs hack dropped.
Comment 6 Andrea Bartoli 2016-09-08 13:41:32 UTC
Preparing to update directly to 5.2.1 :-)
Comment 7 Andreas Sturmlechner gentoo-dev 2016-09-20 09:23:03 UTC
CommitDate: Sat Sep 17 21:32:12 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c5f3456

app-office/libreoffice: Version bump to 5.2.1.2