Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703344 - app-office/libreoffice-bin-6.2.8.2 - rebuild against dev-libs/icu-65.1
Summary: app-office/libreoffice-bin-6.2.8.2 - rebuild against dev-libs/icu-65.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-19 08:16 UTC by Shiba
Modified: 2020-02-06 01:42 UTC (History)
15 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.
Description Shiba 2019-12-19 08:16:02 UTC
It's again that time of the year when icu and dev-qt/* are stabilized together to avoid pointless rebuilds and libreoffice-bin is not.
Comment 1 Vasilis Lourdas 2019-12-22 07:51:21 UTC
Should we expect a newer 6.3 binary package? The 6.3 branch has reached a .4 release, so it should be pretty stable.
Comment 2 Vasilis Lourdas 2019-12-26 19:55:41 UTC
Would it be safe to manually modify the ebuild so that it requires icu-65.1 and build icu-65.1 with the preserve-libs flag?
Comment 3 Vasilis Lourdas 2019-12-27 14:24:46 UTC
(In reply to Vasilis Lourdas from comment #2)
> Would it be safe to manually modify the ebuild so that it requires icu-65.1
> and build icu-65.1 with the preserve-libs flag?

Apparently, it is. Modified the ebuild to require icu-65.1, and emerged with the preserve-libs flag. Libreoffice-bin runs fine, even with icu-65.1 installed.
Comment 4 Jakub Klawiter 2019-12-30 10:52:12 UTC
maybe something like libreoffice-bin-6.2.8.2-r1 (~x86/~amd64) compiled against icu-65.1 is good workaround?
Comment 5 Vasilis Lourdas 2020-01-07 06:33:50 UTC
(In reply to Jakub Klawiter from comment #4)
> maybe something like libreoffice-bin-6.2.8.2-r1 (~x86/~amd64) compiled
> against icu-65.1 is good workaround?

We should expect a binary stable 6.3.x version maybe soon. See bug #704840.
Comment 6 Ville Oikarinen 2020-01-14 12:50:35 UTC
Could you please publish an unstable ebuild with icu-65.1 support ASAP?

Since I don't use libreoffice very often, I uninstalled it in order to be able to update some other packages that required updating of icu. And now I have been unable to reinstall libreoffice for several weeks already!

I hope in the future there will always be at least an unstable option for keeping things working, or at least the hiccups should last only some hours or days at max.

Thank you :)
Comment 7 Andrew Petelin 2020-01-14 12:59:57 UTC
(In reply to Ville Oikarinen from comment #6)
> Could you please publish an unstable ebuild with icu-65.1 support ASAP?

You may use libreoffice instead of libreoffice-bin currently, it depends on new icu version. Unfortunately, it takes much longer to compile...
Comment 8 Andreas Sturmlechner gentoo-dev 2020-01-15 21:45:33 UTC
Stabilisation of 6.3.4.2 is in progress.
Comment 9 Anton Bolshakov 2020-01-16 01:15:49 UTC
(In reply to Andreas Sturmlechner from comment #8)
> Stabilisation of 6.3.4.2 is in progress.

Is any bug report please? I can't find it.
The stabilization should depend on "boost" as well.

Keywords:
=app-office/libreoffice-bin-6.3.4*
=app-office/libreoffice-l10n-6.3.4*
~dev-libs/boost-1.72.0
~dev-util/boost-build-1.72.
Comment 10 Anton Bolshakov 2020-01-16 01:18:34 UTC
ok, found it:
https://bugs.gentoo.org/704840
Comment 11 Anton Bolshakov 2020-01-16 01:29:39 UTC
Hm... my appologies for the spam.

Correct me if I'm wrong. libreoffice-bin-6.3.4.2 still depends on

dev-libs/icu:0/64.2

This bug is still not fixed.
Comment 12 Andrew Petelin 2020-01-16 09:17:28 UTC
(In reply to Anton Bolshakov from comment #11)
> Hm... my appologies for the spam.
> 
> Correct me if I'm wrong. libreoffice-bin-6.3.4.2 still depends on
> 
> dev-libs/icu:0/64.2


Hello, see https://gitweb.gentoo.org/repo/gentoo.git/tree/app-office/libreoffice-bin/libreoffice-bin-6.3.4.2.ebuild#n61 .
Comment 13 Anton Bolshakov 2020-01-16 16:24:51 UTC
Well there is nothing to see there у except a *new* dep after the change
https://gitweb.gentoo.org/repo/gentoo.git/commit/app-office/libreoffice-bin/libreoffice-bin-6.3.4.2.ebuild?id=fc70a4c39488da28038af154f901eb6a68fdef53

So now, the binary file must be regenerated. Let's hope it won't take another 3 weeks
Comment 14 Shiba 2020-01-16 17:50:36 UTC
The binary is already built on icu-65, you can rest easy :)

shiba ~ > equery list libreoffice-bin
[IP-] [  ] app-office/libreoffice-bin-6.3.4.2:0
shiba ~ > ldd /usr/lib64/libreoffice/program/soffice.bin | grep libicui18n
	libicui18n.so.65 => /usr/lib64/libicui18n.so.65 (0x00007f734c77f000)

The maintainer probably forgot to update the ebuild at the time, after all it's not like the ebuild actually compiles libreoffice-bin.
Comment 15 Giuseppe Vitillaro 2020-01-18 10:26:35 UTC
It is correct for amd64 arch perhaps, but it looks still wrong for the x86 arch to my eyes.

Have a look:

ldd /usr/lib/libreoffice/program/soffice.bin | grep icu
        libicuuc.so.64 => /usr/lib/libicuuc.so.64 (0xb3f18000)
        libicui18n.so.64 => /usr/lib/libicui18n.so.64 (0xb39f5000)
        libharfbuzz-icu.so.0 => /usr/lib/libharfbuzz-icu.so.0 (0xb3052000)
        libicudata.so.64 => /usr/lib/libicudata.so.64 (0xb0d25000)
        libicuuc.so.65 => /usr/lib/libicuuc.so.65 (0xb0765000)
        libicudata.so.65 => /usr/lib/libicudata.so.65 (0xaec1a000)
        libicui18n.so.65 => /usr/lib/libicui18n.so.65 (0xae914000)

it seems libreoffice-bin is linked against BOTH libraries.

I had a look in the orginal binary tar, as download from the repository:

122223412 Jan  9 17:46 /usr/portage/distfiles/x86-bin-libreoffice-6.3.4.2.tar.xz

same result, ldd ask for both icu-64.2 and icu-65.1 libraries.

Guess something is still wrong?
Comment 16 madmaurice 2020-01-20 18:49:17 UTC
(In reply to Giuseppe Vitillaro from comment #15)
> It is correct for amd64 arch perhaps, but it looks still wrong for the x86
> arch to my eyes.
> 
> Have a look:
> 
> ldd /usr/lib/libreoffice/program/soffice.bin | grep icu
>         libicuuc.so.64 => /usr/lib/libicuuc.so.64 (0xb3f18000)
>         libicui18n.so.64 => /usr/lib/libicui18n.so.64 (0xb39f5000)
>         libharfbuzz-icu.so.0 => /usr/lib/libharfbuzz-icu.so.0 (0xb3052000)
>         libicudata.so.64 => /usr/lib/libicudata.so.64 (0xb0d25000)
>         libicuuc.so.65 => /usr/lib/libicuuc.so.65 (0xb0765000)
>         libicudata.so.65 => /usr/lib/libicudata.so.65 (0xaec1a000)
>         libicui18n.so.65 => /usr/lib/libicui18n.so.65 (0xae914000)
> 
> it seems libreoffice-bin is linked against BOTH libraries.
> 
> I had a look in the orginal binary tar, as download from the repository:
> 
> 122223412 Jan  9 17:46
> /usr/portage/distfiles/x86-bin-libreoffice-6.3.4.2.tar.xz
> 
> same result, ldd ask for both icu-64.2 and icu-65.1 libraries.
> 
> Guess something is still wrong?

Have you maybe forgotten to rebuild libreoffice's dependencies? ldd also shows the dependencies for libraries that libreoffice depends on.
Comment 17 Giuseppe Vitillaro 2020-01-20 18:58:33 UTC
(In reply to madmaurice from comment #16)
> (In reply to Giuseppe Vitillaro from comment #15)
> > It is correct for amd64 arch perhaps, but it looks still wrong for the x86
> > arch to my eyes.
> > 
> > Have a look:
> > 
> > ldd /usr/lib/libreoffice/program/soffice.bin | grep icu
> >         libicuuc.so.64 => /usr/lib/libicuuc.so.64 (0xb3f18000)
> >         libicui18n.so.64 => /usr/lib/libicui18n.so.64 (0xb39f5000)
> >         libharfbuzz-icu.so.0 => /usr/lib/libharfbuzz-icu.so.0 (0xb3052000)
> >         libicudata.so.64 => /usr/lib/libicudata.so.64 (0xb0d25000)
> >         libicuuc.so.65 => /usr/lib/libicuuc.so.65 (0xb0765000)
> >         libicudata.so.65 => /usr/lib/libicudata.so.65 (0xaec1a000)
> >         libicui18n.so.65 => /usr/lib/libicui18n.so.65 (0xae914000)
> > 
> > it seems libreoffice-bin is linked against BOTH libraries.
> > 
> > I had a look in the orginal binary tar, as download from the repository:
> > 
> > 122223412 Jan  9 17:46
> > /usr/portage/distfiles/x86-bin-libreoffice-6.3.4.2.tar.xz
> > 
> > same result, ldd ask for both icu-64.2 and icu-65.1 libraries.
> > 
> > Guess something is still wrong?
> 
> Have you maybe forgotten to rebuild libreoffice's dependencies? ldd also
> shows the dependencies for libraries that libreoffice depends on.

I don't think so.

I did an "emerge world", everything is ok, beside this dependency.

And the library dependency is in the original soffice.bin executable, as has been compiled by the maintainer.

Actually emerge preserved, correctly in my opinion, the icu-64.2 libraries

!!! existing preserved libs:
>>> package: dev-libs/icu-65.1
 *  - /usr/lib/libicudata.so.64
 *  - /usr/lib/libicudata.so.64.2
 *  - /usr/lib/libicui18n.so.64
 *  - /usr/lib/libicui18n.so.64.2
 *      used by /usr/lib/libreoffice/program/libfrmlo.so (app-office/libreoffice-bin-6.3.4.2)
 *      used by /usr/lib/libreoffice/program/libi18nsearchlo.so (app-office/libreoffice-bin-6.3.4.2)
 *      used by /usr/lib/libreoffice/program/liblwpftlo.so (app-office/libreoffice-bin-6.3.4.2)
 *      used by 2 other files
 *  - /usr/lib/libicuuc.so.64
 *  - /usr/lib/libicuuc.so.64.2
 *      used by /usr/lib/libreoffice/program/libcuilo.so (app-office/libreoffice-bin-6.3.4.2)
 *      used by /usr/lib/libreoffice/program/libfrmlo.so (app-office/libreoffice-bin-6.3.4.2)
 *      used by /usr/lib/libreoffice/program/libi18nlangtag.so (app-office/libreoffice-bin

Note all dep are in libreoffice-bin package, as is distributed in its binary shape.

My emerge, of course, can't recompile libreoffice-bin, it is a binary package, compiled by the maintaner.

My 2 cents guess, something was wrong in the system where libreoffice-bin x86 has been compiled.

I've tested in 2 different x86 systems, same result.
Comment 18 madmaurice 2020-01-21 19:04:50 UTC
Well (In reply to Giuseppe Vitillaro from comment #17)
> (In reply to madmaurice from comment #16)
> > (In reply to Giuseppe Vitillaro from comment #15)
> > > It is correct for amd64 arch perhaps, but it looks still wrong for the x86
> > > arch to my eyes.
> > > 
> > > Have a look:
> > > 
> > > ldd /usr/lib/libreoffice/program/soffice.bin | grep icu
> > >         libicuuc.so.64 => /usr/lib/libicuuc.so.64 (0xb3f18000)
> > >         libicui18n.so.64 => /usr/lib/libicui18n.so.64 (0xb39f5000)
> > >         libharfbuzz-icu.so.0 => /usr/lib/libharfbuzz-icu.so.0 (0xb3052000)
> > >         libicudata.so.64 => /usr/lib/libicudata.so.64 (0xb0d25000)
> > >         libicuuc.so.65 => /usr/lib/libicuuc.so.65 (0xb0765000)
> > >         libicudata.so.65 => /usr/lib/libicudata.so.65 (0xaec1a000)
> > >         libicui18n.so.65 => /usr/lib/libicui18n.so.65 (0xae914000)
> > > 
> > > it seems libreoffice-bin is linked against BOTH libraries.
> > > 
> > > I had a look in the orginal binary tar, as download from the repository:
> > > 
> > > 122223412 Jan  9 17:46
> > > /usr/portage/distfiles/x86-bin-libreoffice-6.3.4.2.tar.xz
> > > 
> > > same result, ldd ask for both icu-64.2 and icu-65.1 libraries.
> > > 
> > > Guess something is still wrong?
> > 
> > Have you maybe forgotten to rebuild libreoffice's dependencies? ldd also
> > shows the dependencies for libraries that libreoffice depends on.
> 
> I don't think so.
> 
> I did an "emerge world", everything is ok, beside this dependency.
> 
> And the library dependency is in the original soffice.bin executable, as has
> been compiled by the maintainer.
> 
> Actually emerge preserved, correctly in my opinion, the icu-64.2 libraries
> 
> !!! existing preserved libs:
> >>> package: dev-libs/icu-65.1
>  *  - /usr/lib/libicudata.so.64
>  *  - /usr/lib/libicudata.so.64.2
>  *  - /usr/lib/libicui18n.so.64
>  *  - /usr/lib/libicui18n.so.64.2
>  *      used by /usr/lib/libreoffice/program/libfrmlo.so
> (app-office/libreoffice-bin-6.3.4.2)
>  *      used by /usr/lib/libreoffice/program/libi18nsearchlo.so
> (app-office/libreoffice-bin-6.3.4.2)
>  *      used by /usr/lib/libreoffice/program/liblwpftlo.so
> (app-office/libreoffice-bin-6.3.4.2)
>  *      used by 2 other files
>  *  - /usr/lib/libicuuc.so.64
>  *  - /usr/lib/libicuuc.so.64.2
>  *      used by /usr/lib/libreoffice/program/libcuilo.so
> (app-office/libreoffice-bin-6.3.4.2)
>  *      used by /usr/lib/libreoffice/program/libfrmlo.so
> (app-office/libreoffice-bin-6.3.4.2)
>  *      used by /usr/lib/libreoffice/program/libi18nlangtag.so
> (app-office/libreoffice-bin
> 
> Note all dep are in libreoffice-bin package, as is distributed in its binary
> shape.
> 
> My emerge, of course, can't recompile libreoffice-bin, it is a binary
> package, compiled by the maintaner.
> 
> My 2 cents guess, something was wrong in the system where libreoffice-bin
> x86 has been compiled.
> 
> I've tested in 2 different x86 systems, same result.

My bad. I thought you meant x86_64 not x86_32.
Comment 19 Giuseppe Vitillaro 2020-01-21 19:12:21 UTC
(In reply to madmaurice from comment #18)
> My bad. I thought you meant x86_64 not x86_32.

Not your fault, I should have specified x86_32, i.e. an "ancient" i686 architecture PC.

Guess there are few around, running Gentoo, with a full 2000 packages load.

I can afford it just because I'm ancient, as my systems ;-) and I run them under distcc, with a full cluster supporting its emerges.

At least I hope I'm a good Gentoo x86(_32) user test case.

For what I see libreoffice-bin is still wrong on this architecture.

Probably the maintaner rebuilt it with icu-64.2 still onboard and the binaries of BOTH libraries got linked with the application.
Comment 20 Ted Marston 2020-02-06 01:42:03 UTC
I also have an i686 architecture and need a 32bit version of libreoffice-bin-6.3.4.2 that links with dev-libs/icu-65.1

At present revdep-rebuild reports:

 * Broken files that require: libicuuc.so.64 (32 bits)
        * /usr/lib/libreoffice/program/libcuilo.so
        * /usr/lib/libreoffice/program/libfrmlo.so
        * /usr/lib/libreoffice/program/libi18nlangtag.so
        * /usr/lib/libreoffice/program/libi18nsearchlo.so
        * /usr/lib/libreoffice/program/liblwpftlo.so
        * /usr/lib/libreoffice/program/libmergedlo.so
        * /usr/lib/libreoffice/program/libmswordlo.so
        * /usr/lib/libreoffice/program/libsclo.so
        * /usr/lib/libreoffice/program/libswlo.so
 * Broken files that require: libicui18n.so.64 (32 bits)
        * /usr/lib/libreoffice/program/libfrmlo.so
        * /usr/lib/libreoffice/program/libi18nsearchlo.so
        * /usr/lib/libreoffice/program/liblwpftlo.so
        * /usr/lib/libreoffice/program/libmergedlo.so
        * /usr/lib/libreoffice/program/libsclo.so

and libreoffice reports:

/usr/lib/libreoffice/program/soffice.bin: error while loading shared libraries: libicuuc.so.64: cannot open shared object file: No such file or directory