Bug 191672 - app-office/openoffice-2.2.1 doesn't compile with db-4.6.19
Bug#: 191672 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: openoffice@gentoo.org Reported By: rufus-azrael@numericable.fr
Component: Ebuilds
URL: 
Summary: app-office/openoffice-2.2.1 doesn't compile with db-4.6.19
Keywords:  
Status Whiteboard: 
Opened: 2007-09-08 10:34 0000
Description:   Opened: 2007-09-08 10:34 0000
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 From Jakub Moc (RETIRED) 2007-09-08 10:50:39 0000 -------
@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 From Lars Wendler (Polynomial-C) 2007-09-08 14:59:57 0000 -------
Created an attachment (id=130343) [details]
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 From BedOS_Gui 2007-09-08 20:49:14 0000 -------
(In reply to comment #2)
> Created an attachment (id=130343) [edit] [details]
> 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 From Andreas Proschofsky 2007-09-20 07:11:20 0000 -------
Is this still a problem with openoffice 2.3.0?

------- Comment #5 From Neil Cathey 2007-09-20 07:44:12 0000 -------
Yes, and the patch from comment #2 worked nicely.  It compiled on both my x86
and amd64 machines.

------- Comment #6 From Andreas Proschofsky 2007-09-20 08:18:02 0000 -------
(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