Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229447 - gnome-extra/evolution-data-server-2.22.2 doesn't compile due to "configure: error: cannot find libdb"
Summary: gnome-extra/evolution-data-server-2.22.2 doesn't compile due to "configure: e...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-25 20:49 UTC by Muelli
Modified: 2008-06-26 06:34 UTC (History)
0 users

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


Attachments
build log evolution-data-server (gnome-extra:evolution-data-server-2.22.2:20080625-072346.log,13.72 KB, text/plain)
2008-06-25 20:50 UTC, Muelli
Details
e-d-s config.log (config.log,109.64 KB, text/plain)
2008-06-25 23:27 UTC, Muelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Muelli 2008-06-25 20:49:43 UTC
I can't emerge =gnome-extra/evolution-data-server-2.22.2 due to "missing" libdb.
That's somewhat strange because AFAIK, Evolution deploys it's own libdb-4.1(?).

Reproducible: Always

Steps to Reproduce:
1. emerge evolution-data-server
Actual Results:  
>>> Emerging (1 of 2) gnome-extra/evolution-data-server-2.22.2 to /
Adjusting permissions recursively: '/tmp/portage/.distcc'
Adjusting permissions recursively: '/tmp/portage/.distcc/lock'
Adjusting permissions recursively: '/tmp/portage/.distcc/state'
Adjusting permissions recursively: '/tmp/confcache'
 * evolution-data-server-2.22.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...   [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking evolution-data-server-2.22.2.tar.bz2 ;-) ...                  [ ok ]
...
checking alloca.h presence... yes
checking for alloca.h... yes
checking for GNOME_PLATFORM... yes
checking for regexec... yes
checking Berkeley DB... configure: error: cannot find libdb

!!! Please attach the following file when seeking support:
!!! /tmp/portage/gnome-extra/evolution-data-server-2.22.2/work/evolution-data-server-2.22.2/config.log


Expected Results:  
I expected e-d-s to compile fine

muelli@rootbox ~ $ emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 i686)
=================================================================
System uname: 2.6.24-gentoo-r4 i686 AMD Athlon(tm) XP 2400+
Timestamp of tree: Tue, 24 Jun 2008 18:33:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe -m3dnow -msse -mmmx -fprefetch-loop-arrays -ggdb -g3"
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/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/rc.d /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d /etc/wget"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe -m3dnow -msse -mmmx -fprefetch-loop-arrays -ggdb -g3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache confcache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed"
LINGUAS="de en_GB eo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/ramdisk"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/muelli"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X X509 a52 aac accessibility acl acpi ada adns aiglx alsa amarok amr amuled async auctex audacious audiofile authfile avahi bash-completion bindist bittorrent bl blender-game bluetooth bonjour branding browserplugin buttons bzip2 cairo ccache cdb cdda cddb cdinstall cdio cdparanoia cdr cli cracklib crypt css csv curl cyrus d daap dbase dbus dc1394 devhelp disk-partition divx divx4linux djvu drac dri dts dvb dvd dvdnav dvdr dvdread dvi dynagraph eds effects emboss emerald encode enscript escreen ethereal evo exif extrafilters extras fasttrack fat ffmpeg firefox flac fuse gajim galago garmin gcrypt gd gdbm gedit geldkarte geoip ggi gif gkrellm glade glitz glsa glut gmedia gmp gnokii gnome gnome-keyring gnuplot gnustep gnutella gnutls gpg gpgme gpm graphviz gs gsm gstreamer gtalk gtk gtk2 gtkhtml hal hbci hddtemp hfs html http iconv id3 id3tag idn imagemagick imlib inherit-graph ipod ipv6 irc irda isdnlog jabber javascript jfs jingle joystick jpeg jpeg2k junit justify keyring lame latex libcaca libnotify libsexy libwww logrotate logwatch lzo mad madwifi matroska midi mikmod mmx mmxext mng mod mod_muc mod_pubsub moneyplex mono moonlight mozdevelop mozilla moznoirc moznomail mozsvg mp3 mp4 mp4live mpe mpeg mpeg2 mpeg4 mplayer mtp mudflap multiuser musepack musicbrainz mythtv nautilus ncurses net njb nls nntp nogg nptl nptlonly nsplugin ntfs nvidia nvtv offensive ofx ogg ole on-the-fly-crypt opengl openssl oss pam pcap pcre pdf perl plugin plugins png postscript pppd pulseaudio pvr python pyx qt3 qt3support qt4 quicktime rar readline real realmedia recode reflection reiser4 reiserfs remote replytolist restrict-javascript rss rtsp ruby sasl screen sdl sendfile sensord session sftp shaper shorten shout skins slang smi sms socks5 softquota sourceview speech speedo speex spell spl sqlite sqlite3 srv sse sse2 ssl stream stroke subversion svg svga symlink taglib tagwriting tcl tcpd tetex tga theora thesaurus thumbnail thumbnailing thunderbird tiff tk tordns tos tracker trayicon truetype twolame unicode upnp usb utf8 uuencode v4l v4l2 valgrind vcd videos vidix visual visualization vnc vorbis win32codecs wma wmf wmp x264 x86 xanim xatrix xattr xchat xcomposite xemacs xforms xfs xine xml xorg xulrunner xv xvid xvmc zeroconf zip 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en_GB eo" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Please let me know if I can provide any further information.
Comment 1 Muelli 2008-06-25 20:50:30 UTC
Created attachment 158441 [details]
build log evolution-data-server
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-06-25 21:42:46 UTC
no eds uses system libdb. Please list what versions you have and attach config.log.
Comment 3 Muelli 2008-06-25 23:27:01 UTC
Hey Eva :)

Well, according to a recent thread on e-h, e-d-s ships it's own libdb. That's probably why there is a libdb folder in trunk ;-) The reason for this is given in this thread: http://mail.gnome.org/archives/evolution-hackers/2008-June/msg00035.html
But gentoo seems to patch it out with evolution-data-server-1.11.3-no-libdb.patch

Anyway, my db version is:
[ebuild   R   ] sys-libs/db-4.5.20_p2  USE="tcl -bootstrap -doc -java -nocxx -test" 9,068 kB 

And according to the config.log (which I'll attach in a minute) it tries to compile a small C-Code but fails:
configure:24915: checking Berkeley DB
configure:24940: i686-pc-linux-gnu-gcc -o conftest -I/usr/lib/include  -I/usr/include/db4.5 -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed conftest.c -L/usr/lib/lib -ldb >&5
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldb
collect2: ld returned 1 exit status
configure:24946: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "evolution-data-server"
| #define PACKAGE_TARNAME "evolution-data-server"
| #define PACKAGE_VERSION "2.22.2"
| ...
| /* end confdefs.h.  */
| #include <db.h>
| int
| main ()
| {
| db_create(NULL, NULL, 0)
|   ;
|   return 0;
| }
configure:24958: error: cannot find libdb

The configure call is
  $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --without-openldap --without-krb5 --enable-nss --enable-smime --enable-ipv6 --enable-gnome-keyring --with-libdb=/usr/lib --without-krb4 --enable-nss=yes --disable-gtk-doc --build=i686-pc-linux-gnu


In fact, I don't have any /usr/lib/include/db.h as the above mentioned call:

configure:24940: i686-pc-linux-gnu-gcc -o conftest -I/usr/lib/include  -I/usr/include/db4.5 -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed conftest.c -L/usr/lib/lib -ldb >&5

might suggest. I do have, however, a or /usr/include/db4.5/db.h and a /usr/include/db.h symlinked to the before mentioned lib. It should actually work then, shouldn't it?
Comment 4 Muelli 2008-06-25 23:27:40 UTC
Created attachment 158459 [details]
e-d-s config.log
Comment 5 Muelli 2008-06-25 23:42:13 UTC
after remerging db, it survives the configure:

checking for GNOME_PLATFORM... yes
checking for regexec... yes
checking Berkeley DB... yes


So I guess, this could be closed as NOTABUG or the like.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-06-26 06:34:48 UTC
yeah, you probably played too much with your db installation :p

closing invalid. Feel free to come again with bugs :p