<?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>169526</bug_id>
          
          <creation_ts>2007-03-05 22:10 0000</creation_ts>
          <short_desc>app-office/openoffice-2.1.0 doesn&apos;t build with sys-libs/db-4.5</short_desc>
          <delta_ts>2007-03-14 16:26:52 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>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</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>dextorb@yahoo.co.uk</reporter>
          <assigned_to>openoffice@gentoo.org</assigned_to>
          <cc>flameeyes@gentoo.org</cc>
    
    <cc>ghepeu@virgilio.it</cc>
    
    <cc>polynomial-c@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>dextorb@yahoo.co.uk</who>
            <bug_when>2007-03-05 22:10:18 0000</bug_when>
            <thetext>openoffice-2.1.0 does not build with the newest version of sys-libs/db (4.5), so imho the ebuild should contain a &quot;&lt;=sys-libs/db-4.4&quot; at the DEPENDS. 

Reproducible: Always</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dextorb@yahoo.co.uk</who>
            <bug_when>2007-03-05 22:17:34 0000</bug_when>
            <thetext>Portage 2.1.2.1 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r0, 2.6.20-gentoo i686)
=================================================================
System uname: 2.6.20-gentoo i686 Pentium III (Coppermine)
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 05 Mar 2007 21:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r4
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=pentium3 -O2 -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c&quot;
CXXFLAGS=&quot;-march=pentium3 -O2 -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/&quot;
LANG=&quot;de_DE.utf8&quot;
LC_ALL=&quot;de_DE.utf8&quot;
LINGUAS=&quot;de&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;X aac acpi alias alsa audiofile automount autoreplace bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli connectionstatus contactnotes cracklib crypt css cups dbus divx dri dvd dvdr encode ffmpeg firefox flac fortran gdbm gif glitz gmedia gpm highlight history iconv idea imagemagick imlib jpeg kde kipi lcms libg++ logrotate lzo mad mikmod mmx mng mp3 mpeg mplayer musepack ncurses nls nptl nptlonly nsplugin ogg opengl pam pcre pdf perl php png postgres ppds python qt3 qt4 quicktime readline real realmedia reflection samba sdl session sndfile spell spl sqlite sse ssl svg tcl tcpd tiff tk tools truetype truetype-fonts type1-fonts udev unicode vcd vorbis wavpack win32codecs wma wmf wmp x86 xinerama xml xorg xrandr xv xvid yahoo zlib&quot; ALSA_CARDS=&quot;ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci&quot; ALSA_PCM_PLUGINS=&quot;adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;keyboard mouse evdev&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LINGUAS=&quot;de&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;nvidia&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dextorb@yahoo.co.uk</who>
            <bug_when>2007-03-05 22:33:05 0000</bug_when>
            <thetext># eix -e db
[I] sys-libs/db
     Available versions:
        (1)     1.85-r1 1.85-r2 1.85-r3
        (3)     3.2.9-r10 3.2.9-r11
        (4.2)   4.2.52_p2-r1 4.2.52_p4-r2
        (4.3)   (~)4.3.29-r2
        (4.4)   (~)4.4.20_p4
        (4.5)   (~)4.5.20_p2
     Installed versions:  4.5.20_p2(4.5)(18:33:22 05.03.2007)(-bootstrap -doc -elibc_FreeBSD -java -nocxx tcl -test)
     Homepage:            http://www.oracle.com/technology/software/products/berkeley-db/index.html
     Description:         Oracle Berkeley DB


So, it&apos;s just db-4.5.20p2 installed.


By &quot;emerge app-office/openoffice-2.1.0&quot; I get this result:

...
checking which db to use... external
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] Fehler 1

!!! ERROR: app-office/openoffice-2.1.0 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call &apos;src_compile&apos;
  environment, line 5336:   Called src_compile
  openoffice-2.1.0.ebuild, line 322:   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/tmp/portage/app-office/openoffice-2.1.0/temp/build.log&apos;.

!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH=&quot;.&quot; JAVA_HOME=&quot;/etc/java-config-2/current-system-vm&quot;
JAVACFLAGS=&quot;&quot; COMPILER=&quot;&quot;
and of course, the output of emerge --info
                                           </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dextorb@yahoo.co.uk</who>
            <bug_when>2007-03-05 22:39:12 0000</bug_when>
            <thetext>By adding &quot;&lt;=sys-libs/db-4.4&quot; to the COMMON_DEPENDS it shows:

# emerge -pv openoffice

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS   ] sys-libs/db-4.3.29-r2  USE=&quot;tcl -bootstrap -doc -java -nocxx -test&quot; 0 kB
[ebuild   R   ] app-office/openoffice-2.1.0  USE=&quot;cairo cups dbus firefox kde pam -binfilter -branding -debug -eds -gnome -gstreamer -gtk -java -ldap -odk -seamonkey -sound -webdav&quot; LINGUAS=&quot;de -af -ar -as_IN -be_BY -bg -bn -bs -ca -cs -cy -da -el -en -en_GB -en_US -en_ZA -es -et -fa -fi -fr -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -lt -lv -mk -nb -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu&quot; 0 kB

Total: 2 packages (1 in new slot, 1 reinstall), Size of downloads: 0 kB

By doing so, oo-emerge runs fine. But I don&apos;t really know, why a 4.3 and not a 4.4 will be installed. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-03-05 22:45:12 0000</bug_when>
            <thetext>https://bugs.gentoo.org/enter_bug.cgi?format=guided

&lt;snip&gt;
Bugzilla: Bugs regarding the Gentoo Bugzilla website  (bugs.gentoo.org),
Bugs related to ebuilds belong in &apos;Gentoo Linux&apos;
&lt;/snip&gt;

Sigh... hard to read, or what? This is NOT a Gentoo Bugzilla product bug!

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dextorb@yahoo.co.uk</who>
            <bug_when>2007-03-05 22:56:21 0000</bug_when>
            <thetext>Hi Jakub Moc,

indeed, I misunderstood this. I am sorry.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ghepeu@virgilio.it</who>
            <bug_when>2007-03-06 10:16:53 0000</bug_when>
            <thetext>Created an attachment (id=112270)
add detection of db 4.5

Actually, what goes wrong is that configure can&apos;t detect the presence of db 4.5 so it fails. The attached patch fixes the detection and the build process can continue.

At the moment I&apos;m still building openoffice so I don&apos;t know if db 4.5 is compatible, I&apos;m going to report on the result of the compilation later.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>h.mth@web.de</who>
            <bug_when>2007-03-06 10:45:26 0000</bug_when>
            <thetext>@ Giacomo
You may check the upgrade guide [1] for Berkeley DB to fix errors. Once you get openoffice merged open the &quot;Help&quot; (F1) and surf through it to see if it has any runtime issues. Thanks!

[1] http://www.oracle.com/technology/documentation/berkeley-db/db/ref/upgrade.4.5/toc.html</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ghepeu@virgilio.it</who>
            <bug_when>2007-03-06 16:11:23 0000</bug_when>
            <thetext>Ok, openoffice compiled without errors and is now merged. The help is working without problems: summary, search, internal links, everything seems to be ok, as far as I can see. I can&apos;t assure that there aren&apos;t memleaks, bugs triggered by specific actions or something else, of course.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dextorb@yahoo.co.uk</who>
            <bug_when>2007-03-06 17:47:31 0000</bug_when>
            <thetext>Thanks alot Giacomo Perale,

this is a much better idea, then trying oo to use another db, as the newest. This patch is working here too, as far as I can see, building hasn&apos;t finished yet.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>suka@gentoo.org</who>
            <bug_when>2007-03-06 19:07:07 0000</bug_when>
            <thetext>Builds and works fine here too, so I&apos;ve added the patch to the ebuild. Still waiting for some more feedback before closing this.

thanks everyone</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dextorb@yahoo.co.uk</who>
            <bug_when>2007-03-07 18:24:33 0000</bug_when>
            <thetext>Building has been completed now, and the tests with the OO-Help run without any problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>suka@gentoo.org</who>
            <bug_when>2007-03-14 16:26:52 0000</bug_when>
            <thetext>Forgot to close this</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>112270</attachid>
            <date>2007-03-06 10:16 0000</date>
            <desc>add detection of db 4.5</desc>
            <filename>detect-db4.5.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHBhdGNoZXMvc3JjNjgwLm9yaWcvc3lzdGVtLWRiLWNoZWNrLmRpZmYJMjAwNy0wMi0wOCAx
NDoxODoyMy4wMDAwMDAwMDAgKzAxMDAKKysrIHBhdGNoZXMvc3JjNjgwL3N5c3RlbS1kYi1jaGVj
ay5kaWZmCTIwMDctMDMtMDYgMTA6NTY6MTcuNzU0NjQ3Mjk1ICswMTAwCkBAIC0xMiw3ICsxMiw3
IEBACiAtICAgICAgICAgICAgIFsgQUNfTVNHX0VSUk9SKG5vLiBpbnN0YWxsIHRoZSBkYjQgbGli
cmFyaWVzKSBdLCBbXSsgICAgICAgICAgICAgKQogLSAgICAgICAgXSwgW10KIC0gICAgKQotKyAg
ICBmb3IgZGJ2ZXIgaW4gLTQuNCA0LjQgLTQuMyA0LjMgLTQuMiA0LjIgLTQuMSA0LjEgLTQgNCAn
JzsgZG8KKysgICAgZm9yIGRidmVyIGluIC00LjUgNC41IC00LjQgNC40IC00LjMgNC4zIC00Lj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