With both sys-libs/db-3.2.9-r11 and sys-libs/db-4.5.20_p2 installed, the following error occurs: Jul 30 15:58:43 master[13582]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted Jul 30 15:58:43 master[13582]: retrying with 1024 (current max) Jul 30 15:58:43 master[13582]: process started Jul 30 15:58:43 master[13586]: about to exec /usr/lib/cyrus/ctl_cyrusdb Jul 30 15:58:43 ctl_cyrusdb[13586]: incorrect version of Berkeley db: compiled against 4.5.20, linked against 3.2.9 Jul 30 15:58:43 ctl_cyrusdb[13586]: segfault at 0000000000000268 rip 00000000004256ac rsp 00007fffec1d7c80 error 4 Jul 30 15:58:43 master[13582]: process 13586 exited, signaled to death by 11 Jul 30 15:58:43 master[13582]: ready for work Jul 30 15:58:43 master[13603]: about to exec /usr/lib/cyrus/tls_prune Jul 30 15:58:43 tls_prune[13603]: incorrect version of Berkeley db: compiled against 4.5.20, linked against 3.2.9 Jul 30 15:58:43 tls_prune[13603]: segfault at 0000000000000268 rip 000000000042785c rsp 00007fff526e1e10 error 4 Jul 30 15:58:43 master[13604]: about to exec /usr/lib/cyrus/ctl_deliver Jul 30 15:58:43 cyr_expire[13604]: incorrect version of Berkeley db: compiled against 4.5.20, linked against 3.2.9 Jul 30 15:58:43 cyr_expire[13604]: segfault at 0000000000000268 rip 0000000000425e6c rsp 00007fff7ce35460 error 4 Jul 30 15:58:43 master[13605]: about to exec /usr/lib/cyrus/ctl_cyrusdb Jul 30 15:58:43 ctl_cyrusdb[13605]: incorrect version of Berkeley db: compiled against 4.5.20, linked against 3.2.9 Jul 30 15:58:43 ctl_cyrusdb[13605]: segfault at 0000000000000268 rip 00000000004256ac rsp 00007fff008052b0 error 4 Jul 30 15:58:43 master[13582]: process 13603 exited, signaled to death by 11 Jul 30 15:58:43 master[13582]: process 13604 exited, signaled to death by 11 Jul 30 15:58:43 master[13582]: process 13605 exited, signaled to death by 11 When sys-libs/db-3.2.9-r11 is not installed cyrus-imapd, the binaries are linked correctly. Reproducible: Always
reproduced with 2.2.12-r4, 2.2.13-r1 seems to behave correctly (i.e. link to db-4.5) though. Please test 2.2.13-r1 and report back if this works for you. Thanks!
2.2.13-r1 works fine here
Please test and stabilize: =net-mail/cyrus-imapd-2.2.13-r1 =net-mail/cyrus-imap-admin-2.2.13
ppc stable
Stable for HPPA.
x86 stable, and don't think pushing me helps getting it stable :)
Both emerged fine on sparc64 with: net-mail/cyrus-imapd-2.2.13-r1 (pam snmp ssl tcpd) net-mail/cyrus-imap-admin-2.2.13 (ssl) I got the following QA notices for cyrus-imapd: * QA Notice: Pre-stripped files found: * /var/tmp/portage/net-mail/cyrus-imapd-2.2.13-r1/image/usr/bin/nntptest /var/tmp/portage/net-mail/cyrus-imapd-2.2.13-r1/image/usr/bin/imtest /var/tmp/portage/net-mail/cyrus-imapd-2.2.13-r1/image/usr/bin/sivtest /var/tmp/portage/net-mail/cyrus-imapd-2.2.13-r1/image/usr/bin/mupdatetest /var/tmp/portage/net-mail/cyrus-imapd-2.2.13-r1/image/usr/bin/lmtptest /var/tmp/portage/net-mail/cyrus-imapd-2.2.13-r1/image/usr/bin/pop3test /var/tmp/portage/net-mail/cyrus-imapd-2.2.13-r1/image/usr/bin/smtptest
Created attachment 129982 [details] emerge --info for sparc64 host
(In reply to comment #7) > I got the following QA notices for cyrus-imapd: > * QA Notice: Pre-stripped files found: > * /var/tmp/portage/net-mail/cyrus-imapd-2.2.13-r1/image/usr/bin/nntptest > /var/tmp/portage/net-mail/cyrus-imapd-2.2.13-r1/image/usr/bin/imtest > /var/tmp/portage/net-mail/cyrus-imapd-2.2.13-r1/image/usr/bin/sivtest > /var/tmp/portage/net-mail/cyrus-imapd-2.2.13-r1/image/usr/bin/mupdatetest > /var/tmp/portage/net-mail/cyrus-imapd-2.2.13-r1/image/usr/bin/lmtptest > /var/tmp/portage/net-mail/cyrus-imapd-2.2.13-r1/image/usr/bin/pop3test > /var/tmp/portage/net-mail/cyrus-imapd-2.2.13-r1/image/usr/bin/smtptest > Fixed in CVS. Thanks Jorge!
ppc64 stable
At least on amd64 this needs >=net-analyzer/net-snmp-5.4.1 to compile with the snmp USE flag. It fails with undef'ed references with current stable 5.4.
(In reply to comment #11) > At least on amd64 this needs >=net-analyzer/net-snmp-5.4.1 to compile with the > snmp USE flag. It fails with undef'ed references with current stable 5.4. As requested by dertobi123 on IRC: USE="pam ssl tcpd -afs idled kerberos snmp unsupported_8bit" for cyrus-imapd. Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r2 x86_64) ================================================================= System uname: 2.6.22-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Timestamp of tree: Unknown app-shells/bash: 3.2_p17 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 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-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mtune=athlon64 -march=athlon64 -O2 -ggdb -pipe -mmmx -msse -msse2 -msse3 -m3dnow -falign-functions=64" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /mnt/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/www/localhost /var/www/localhost/cgi-bin /var/www/localhost/htdig /var/www/localhost/htdocs/phpmyadmin" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-mtune=athlon64 -march=athlon64 -O2 -ggdb -pipe -mmmx -msse -msse2 -msse3 -m3dnow -falign-functions=64" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,--as-needed" 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" PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/local/overlays/ogo" SYNC="rsync://mordor.mailstation.de/gentoo-portage" USE="16bit 3dnow 3dnowext X X509 Xaw3d acl amd64 arts async bash-completion berkdb bitmap-fonts bzip2 chroot cli cracklib crypt cups curl dbus dio dri emacs fam fortran gdbm gpm hal iconv ipv6 isdnlog jce kde kdehiddenvisibility midi mmap mmx mmxext mudflap ncurses network nls nptl nptlonly nsplugin offensive opengl openmp pam pcre perl pic posix pppd python readline reflection session sharedmem sockets spl sse sse2 ssl symbol_visibility sysvipc tcpd test threads truetype-fonts type1-fonts unicode usb xinerama xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
[2007-09-22 20:04] <Philantrop> dertobi123: cyrus-imapd compiles without --as-needed, indeed. It's not a problem of net-snmp-5.4, though, because cyrus-imapd compiles and links fine against it even if it (snmp) was compiled with --as-needed. So you should probably strip --as-needed in cyrus-imapd. [2007-09-22 20:05] <Philantrop> dertobi123: I wonder why it doesn't have any problems with 5.4.1, though.
sparc stable, thanks Jorge Manuel
(In reply to comment #13) > [2007-09-22 20:04] <Philantrop> dertobi123: cyrus-imapd compiles without > --as-needed, indeed. It's not a problem of net-snmp-5.4, though, because > cyrus-imapd compiles and links fine against it even if it (snmp) was compiled > with --as-needed. So you should probably strip --as-needed in cyrus-imapd. > [2007-09-22 20:05] <Philantrop> dertobi123: I wonder why it doesn't have any > problems with 5.4.1, though. > I'd rather say it's the other way round, i.e. net-snmp-5.4.1 contains a fix. Anyways, as both the as-needed flag and the snmp USE aren't considered mainstream usage for this package (plus the "bug" is fixed with net-snmp-5.4.1 going stable somewhen) I'd suggest to mark cyrus-imapd-2.2.13-r1 stable.
Tobias, thanks for fixing this bug-or-not-bug! ;-) Marked stable on amd64. Last arch -> closing.