Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 154880

Summary: app-office/openoffice-2.0.4 builds its own copy of berkdb (4.2)
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: openoffice-berkdb.patch

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-12 06:01:44 UTC
Not sure if that is an intended behaviour or not, but right now OpenOffice builds its own copy of berkdb (sys-libs/db) installing libdb-4.2.
I've tried to build with system's berkdb and it still seems to work fine (although I'm not good enough to actually know where exactly to look for a change of behaviour).

The attached patch is what I've used... if it works fine, it would be an advantage in not having one extra library around when unneeded..

Let me know.

Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-12 06:02:22 UTC
Created attachment 101731 [details, diff]
openoffice-berkdb.patch
Comment 2 Hanno Zysik (geki) 2006-11-12 06:58:30 UTC
Should be '=sys-libs/db-4.2*'.
For db-4.3 and db-4.4 support see bug 140809.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-12 07:08:56 UTC
I'm not using java here, but using db-4.3, maybe version conditioned to java useflag?
Comment 4 Hanno Zysik (geki) 2006-11-12 07:41:39 UTC
Hm, true. db Java API changed in 4.3. And segfaults happen with Java code.
Well, I just hope to get that other bug solved somewhen so that system db can be used.

I wonder what takes so long...
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2006-11-12 08:11:20 UTC
As Hanno already pointed out Bug #140809 is the reason we are not already using system-db in OOo, so yes: Atm this is "intended behaviour", thought not really a chosen one ;)
Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2007-01-12 12:08:32 UTC
openoffice-2.1.0 uses system-db now, so closing this