<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>191672</bug_id>
          
          <creation_ts>2007-09-08 10:34 0000</creation_ts>
          <short_desc>app-office/openoffice-2.2.1 doesn&apos;t compile with db-4.6.19</short_desc>
          <delta_ts>2007-09-20 08:18:02 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>rufus-azrael@numericable.fr</reporter>
          <assigned_to>openoffice@gentoo.org</assigned_to>
          <cc>caleb@gentoo.org</cc>
    
    <cc>hollow@gentoo.org</cc>
    
    <cc>jakub@gentoo.org</cc>
    
    <cc>polynomial-c@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>rufus-azrael@numericable.fr</who>
            <bug_when>2007-09-08 10:34:52 0000</bug_when>
            <thetext>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 &apos;src_compile&apos;
 *   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 &apos;/var/log/portage/app-office:openoffice-2.2.1:20070908-101748.log&apos;.


Reproducible: Always</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-09-08 10:50:39 0000</bug_when>
            <thetext>@caleb - please actually test things that depend on sys-libs/db before unmasking such stuff.

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

Re-masked by Hollow until it&apos;s reasonably usable without breaking major stuff.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>polynomial-c@gentoo.org</who>
            <bug_when>2007-09-08 14:59:57 0000</bug_when>
            <thetext>Created an attachment (id=130343)
system-check-db-4.6.patch

Possible patch. It brings me past the configure error but I&apos;m still compiling openoffice and can&apos;t tell if this is the only necessay patch...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rufus-azrael@numericable.fr</who>
            <bug_when>2007-09-08 20:49:14 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; Created an attachment (id=130343) [edit]
&gt; system-check-db-4.6.patch
&gt; 
&gt; Possible patch. It brings me past the configure error but I&apos;m still compiling
&gt; openoffice and can&apos;t tell if this is the only necessay patch...
&gt; 
The patch works fine for me, openoffice is compiled with db-4.6.19
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>suka@gentoo.org</who>
            <bug_when>2007-09-20 07:11:20 0000</bug_when>
            <thetext>Is this still a problem with openoffice 2.3.0?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cneil@yahoo.com</who>
            <bug_when>2007-09-20 07:44:12 0000</bug_when>
            <thetext>Yes, and the patch from comment #2 worked nicely.  It compiled on both my x86 and amd64 machines.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>suka@gentoo.org</who>
            <bug_when>2007-09-20 08:18:02 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; Yes, and the patch from comment #2 worked nicely.  It compiled on both my x86
&gt; and amd64 machines.
&gt; 

I&apos;ve added the patch here (and upstream), so thanks to everyone, closing</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>130343</attachid>
            <date>2007-09-08 14:59 0000</date>
            <desc>system-check-db-4.6.patch</desc>
            <filename>system-check-db-4.6.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHBhdGNoZXMvc3JjNjgwL3N5c3RlbS1kYi1jaGVjay5kaWZmLm9yaWcJMjAwNy0wOS0wOCAx
NjoyNToyNS4wMDAwMDAwMDAgKzAyMDAKKysrIHBhdGNoZXMvc3JjNjgwL3N5c3RlbS1kYi1jaGVj
ay5kaWZmCTIwMDctMDktMDggMTY6MjY6MjUuMDAwMDAwMDAwICswMjAwCkBAIC0xMiw3ICsx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