Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318437 - net-mail/courier-imap fails against berkeley db 4.7 on dbcreate
Summary: net-mail/courier-imap fails against berkeley db 4.7 on dbcreate
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: David Heidelberg (okias)
URL:
Whiteboard:
Keywords:
: 319947 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-04 15:16 UTC by Curtis Maurand
Modified: 2014-04-24 11:30 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis Maurand 2010-05-04 15:16:03 UTC
When compiling courier-imap. I get the following.  I compiled without berkeley db to get courier-imap to compile.  
 USE="berkdb* gdbm ipv6 nls -debug -fam -gnutls (-selinux)"

I'll be happy to send more results.


Reproducible: Always

Steps to Reproduce:
1. emerge courier-imap
2.
3.

Actual Results:  
/bin/sh ./libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -Wall -Os -march=i686 -fomit-frame-pointer -mno-tls-direct-seg-refs -msse -msse2  -Wl,-O1  -o libbdbobj.la  bdbobj.lo bdbobj2.lo bdbobj3.lo -ldb-4.2
libtool: link: i686-pc-linux-gnu-ar cru .libs/libbdbobj.a .libs/bdbobj.o .libs/bdbobj2.o .libs/bdbobj3.o
libtool: link: i686-pc-linux-gnu-ranlib .libs/libbdbobj.a
libtool: link: ( cd ".libs" && rm -f "libbdbobj.la" && ln -s "../libbdbobj.la" "libbdbobj.la" )
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -Os -march=i686 -fomit-frame-pointer -mno-tls-direct-seg-refs -msse -msse2 -MT testbdb.o -MD -MP -MF .deps/testbdb.Tpo -c -o testbdb.o testbdb.C
mv -f .deps/testbdb.Tpo .deps/testbdb.Po
/bin/sh ./libtool --tag=CXX   --mode=link i686-pc-linux-gnu-g++  -Os -march=i686 -fomit-frame-pointer -mno-tls-direct-seg-refs -msse -msse2 -static -Wl,-O1  -o testbdb testbdb.o libbdbobj.la
libtool: link: i686-pc-linux-gnu-g++ -Os -march=i686 -fomit-frame-pointer -mno-tls-direct-seg-refs -msse -msse2 -Wl,-O1 -o testbdb testbdb.o  ./.libs/libbdbobj.a /usr/lib/libdb-4.2.so -lpthread
./.libs/libbdbobj.a(bdbobj.o): In function `bdbobj_open':
bdbobj.c:(.text+0x331): undefined reference to `db_create'
collect2: ld returned 1 exit status
make[3]: *** [testbdb] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-mail/courier-imap-4.5.0/work/courier-imap-4.5.0/bdbobj'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-mail/courier-imap-4.5.0/work/courier-imap-4.5.0/bdbobj'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-mail/courier-imap-4.5.0/work/courier-imap-4.5.0'
make: *** [all] Error 2



Expected Results:  
Installation of courier-imap in order for cyrus-sasl to authenticate to imap server.  The related postfix problem is another matter.

compiled.
Comment 1 Wormo (RETIRED) gentoo-dev 2010-05-08 02:29:22 UTC
Hm, looks like you forgot to include your 'emerge --info' output, please post it :)
Comment 2 Curtis Maurand 2010-05-09 02:48:30 UTC
Here is the emerge --info

emerge --info courier-imap
Portage 2.1.7.17 (default/linux/x86/10.0, gcc-4.1.2, glibc-2.10.1-r1, 2.6.18-128.7.1.el5xe            n i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.18-128.7.1.el5xen-i686-Intel-R-_Xeon-R-_CPU_E5420_@_2.50GHz-with-g            entoo-1.12.6
Timestamp of tree: Sun, 09 May 2010 00:30:01 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.4.3-r4, 2.5.2-r7, 2.6.4-r1
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.6
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-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.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       3.4.5-r1, 4.1.2, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=i686 -fomit-frame-pointer -mno-tls-direct-seg-refs -msse -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf             /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-act            ive/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -march=i686 -fomit-frame-pointer -mno-tls-direct-seg-refs -msse -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox s            fperms strict unmerge-logs userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 authdaemond bcmath berkdb bzip2 cli cracklib crypt ctype cups curl cxx da            emon dbase dkim dri flatfile fortran ftp gd gdbm gif gpm hash iconv imap innodb ipv6 jpeg             jpeg2k logrotate loop-aes mhash milter modules mudflap mysql mysqli ncurses nls nptl nptlo            nly openmp pam pcre perl png posix postfix pppd python readline reflection sasl session sn            mp soap sockets spamassassin spl sqlite sqlite3 sse3 ssh ssl subversion sysfs syslog sysvi            pc tcpd threads tls truetype unicode vhosts virtual-users x86 xen xml xmlreader xmlrpc xml            writer xorg xsl xslt zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca010            6 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 asy            m copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear mete            r mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="access au            th auth_basic auth_dbm auth_anon auth_digest alias                 file-cache echo charset            -lite cache disk-cache mem-cache                 ext-filter filter case_filter case-filter            -in deflate mime-magic                 cern-meta expires headers usertrack unique-id                             proxy proxy-connect proxy-ftp proxy-http info                 include cgi cgid             dav dav-fs vhost-alias speling                 rewrite log_config logio env setenvif mime             status                 autoindex asis negotiation dir imap actions userdir so unique_i                             authz_host imagemap mem_cache mime_magic vhost_alias authn_dbm             au            thn_file authn_default authz_dbm authz_defailt authz_owner              authz_user" APACHE            2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVI            CES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" R            UBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv             r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pkn            ock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq ste            al rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOP            TS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

=================================================================
                        Package Settings
=================================================================

net-mail/courier-imap-4.5.0 was built with the following:
USE="gdbm ipv6 nls -berkdb -debug -fam -gnutls (-selinux)"
Comment 3 Bernard Cafarelli gentoo-dev 2010-07-15 14:16:44 UTC
*** Bug 319947 has been marked as a duplicate of this bug. ***
Comment 4 David Heidelberg (okias) 2014-04-24 11:30:18 UTC
Could you please retest with courier-imap 4.15 ?