Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191672 - app-office/openoffice-2.2.1 doesn't compile with db-4.6.19
Summary: app-office/openoffice-2.2.1 doesn't compile with db-4.6.19
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-08 10:34 UTC by BedOS_Gui
Modified: 2007-09-20 08:18 UTC (History)
4 users (show)

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


Attachments
system-check-db-4.6.patch (system-check-db-4.6.patch,1.07 KB, patch)
2007-09-08 14:59 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description BedOS_Gui 2007-09-08 10:34:52 UTC
After updating sys-libs/db to 4.6.19 version and running revdep-rebuild, it comes to recompile openoffice (2.2.1 version) with failure on configure command when trying to find db :
checking which db to use... external
checking db-4.5/db.h usability... no
checking db-4.5/db.h presence... no
checking for db-4.5/db.h... no
checking db4.5/db.h usability... no
checking db4.5/db.h presence... no
checking for db4.5/db.h... no
checking db-4.4/db.h usability... no
checking db-4.4/db.h presence... no
checking for db-4.4/db.h... no
checking db4.4/db.h usability... no
checking db4.4/db.h presence... no
checking for db4.4/db.h... no
checking db-4.3/db.h usability... no
checking db-4.3/db.h presence... no
checking for db-4.3/db.h... no
checking db4.3/db.h usability... no
checking db4.3/db.h presence... no
checking for db4.3/db.h... no
checking db-4.2/db.h usability... no
checking db-4.2/db.h presence... no
checking for db-4.2/db.h... no
checking db4.2/db.h usability... no
checking db4.2/db.h presence... no
checking for db4.2/db.h... no
checking db-4.1/db.h usability... no
checking db-4.1/db.h presence... no
checking for db-4.1/db.h... no
checking db4.1/db.h usability... no
checking db4.1/db.h presence... no
checking for db4.1/db.h... no
checking db-4/db.h usability... no
checking db-4/db.h presence... no
checking for db-4/db.h... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db/db.h usability... no
checking db/db.h presence... no
checking for db/db.h... no
configure: error: no. install the db4-dev package
make: *** [stamp/build] Error 1
 * 
 * ERROR: app-office/openoffice-2.2.1 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   openoffice-2.2.1.ebuild, line 325:   Called die
 * 
 * Build failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/app-office:openoffice-2.2.1:20070908-101748.log'.


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-08 10:50:39 UTC
@caleb - please actually test things that depend on sys-libs/db before unmasking such stuff.

- apr-util doesn't build (Bug 190373) -> apache broken
- openoffice doesn't build (this bug)
- openldap plain doesn't support this one and gets completely FUBARed (locking changes)
- lots of other things won't compile either

Re-masked by Hollow until it's reasonably usable without breaking major stuff.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2007-09-08 14:59:57 UTC
Created attachment 130343 [details, diff]
system-check-db-4.6.patch

Possible patch. It brings me past the configure error but I'm still compiling openoffice and can't tell if this is the only necessay patch...
Comment 3 BedOS_Gui 2007-09-08 20:49:14 UTC
(In reply to comment #2)
> Created an attachment (id=130343) [edit]
> system-check-db-4.6.patch
> 
> Possible patch. It brings me past the configure error but I'm still compiling
> openoffice and can't tell if this is the only necessay patch...
> 
The patch works fine for me, openoffice is compiled with db-4.6.19
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2007-09-20 07:11:20 UTC
Is this still a problem with openoffice 2.3.0?
Comment 5 Neil Cathey 2007-09-20 07:44:12 UTC
Yes, and the patch from comment #2 worked nicely.  It compiled on both my x86 and amd64 machines.
Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2007-09-20 08:18:02 UTC
(In reply to comment #5)
> Yes, and the patch from comment #2 worked nicely.  It compiled on both my x86
> and amd64 machines.
> 

I've added the patch here (and upstream), so thanks to everyone, closing