Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154880 - app-office/openoffice-2.0.4 builds its own copy of berkdb (4.2)
Summary: app-office/openoffice-2.0.4 builds its own copy of berkdb (4.2)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-12 06:01 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2007-01-12 12:08 UTC (History)
0 users

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


Attachments
openoffice-berkdb.patch (openoffice-berkdb.patch,780 bytes, patch)
2006-11-12 06:02 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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