First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 169526
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: OpenOffice Team <openoffice@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: dextorb <dextorb@yahoo.co.uk>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
detect-db4.5.diff add detection of db 4.5 patch Giacomo Perale 2007-03-06 10:16 0000 1.04 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 169526 depends on: Show dependency tree
Bug 169526 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-03-05 22:10 0000
openoffice-2.1.0 does not build with the newest version of sys-libs/db (4.5),
so imho the ebuild should contain a "<=sys-libs/db-4.4" at the DEPENDS. 

Reproducible: Always

------- Comment #1 From dextorb 2007-03-05 22:17:34 0000 -------
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="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/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"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms
strict"
GENTOO_MIRRORS="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/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--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-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="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"
ALSA_CARDS="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"
ALSA_PCM_PLUGINS="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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

------- Comment #2 From dextorb 2007-03-05 22:33:05 0000 -------
# 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's just db-4.5.20p2 installed.


By "emerge app-office/openoffice-2.1.0" 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 'src_compile'
  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
'/var/tmp/portage/app-office/openoffice-2.1.0/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="." JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info


------- Comment #3 From dextorb 2007-03-05 22:39:12 0000 -------
By adding "<=sys-libs/db-4.4" 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="tcl -bootstrap -doc -java -nocxx
-test" 0 kB
[ebuild   R   ] app-office/openoffice-2.1.0  USE="cairo cups dbus firefox kde
pam -binfilter -branding -debug -eds -gnome -gstreamer -gtk -java -ldap -odk
-seamonkey -sound -webdav" LINGUAS="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" 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't really know, why a 4.3 and not a
4.4 will be installed. 

------- Comment #4 From Jakub Moc (RETIRED) 2007-03-05 22:45:12 0000 -------
https://bugs.gentoo.org/enter_bug.cgi?format=guided

<snip>
Bugzilla: Bugs regarding the Gentoo Bugzilla website  (bugs.gentoo.org),
Bugs related to ebuilds belong in 'Gentoo Linux'
</snip>

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

------- Comment #5 From dextorb 2007-03-05 22:56:21 0000 -------
Hi Jakub Moc,

indeed, I misunderstood this. I am sorry.

------- Comment #6 From Giacomo Perale 2007-03-06 10:16:53 0000 -------
Created an attachment (id=112270) [details]
add detection of db 4.5

Actually, what goes wrong is that configure can'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'm still building openoffice so I don't know if db 4.5 is
compatible, I'm going to report on the result of the compilation later.

------- Comment #7 From Hanno Meyer-Thurow 2007-03-06 10:45:26 0000 -------
@ Giacomo
You may check the upgrade guide [1] for Berkeley DB to fix errors. Once you get
openoffice merged open the "Help" (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

------- Comment #8 From Giacomo Perale 2007-03-06 16:11:23 0000 -------
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't assure that there aren't memleaks, bugs triggered
by specific actions or something else, of course.

------- Comment #9 From dextorb 2007-03-06 17:47:31 0000 -------
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't finished
yet.

------- Comment #10 From Andreas Proschofsky 2007-03-06 19:07:07 0000 -------
Builds and works fine here too, so I've added the patch to the ebuild. Still
waiting for some more feedback before closing this.

thanks everyone

------- Comment #11 From dextorb 2007-03-07 18:24:33 0000 -------
Building has been completed now, and the tests with the OO-Help run without any
problem.

------- Comment #12 From Andreas Proschofsky 2007-03-14 16:26:52 0000 -------
Forgot to close this

First Last Prev Next    No search results available      Search page      Enter new bug