Bug#454609: cyrus-imapd-2.3: software compiled against libdb 4.5, linked against libdb 4.4
Martin Dietze
martin.dietze at freiheit.com
Thu Dec 6 15:40:04 UTC 2007
Package: cyrus-imapd-2.3
Version: 2.3.8-13
Severity: grave
Tags: patch
Justification: renders package unusable
The configure script in the package is broken; it is supposed
to find the most recent version of libdb but starts checking
for version 4.4 which has been succeeded by 4.5 (which is
actually a package dependency for cyrus-imapd-2.3). As a
consequence the software fails to work issueing an error
message to syslog more or less like "compiled against
libdb-4.5, linked against libdb-4.4". Thus the package is
completely unusable.
The patch below fixes this.
<----------------- start patch ------------------->
--- cyrus-imapd-2.3-2.3.8/cmulocal/berkdb.m4-orig 2007-12-06
15:58:12.000000000 +0100
+++ cyrus-imapd-2.3-2.3.8/cmulocal/berkdb.m4 2007-12-06 15:57:56.000000000
+0100
@@ -213,7 +213,7 @@
fi
saved_LIBS=$LIBS
- for dbname in db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2
db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 db-3.2
db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
+ for dbname in db-4.5 db4.5 db45 db-4.4 db4.4 db44 db-4.3 db4.3
db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3
db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
do
LIBS="$saved_LIBS -l$dbname"
AC_TRY_LINK([#include <db.h>],
--- cyrus-imapd-2.3-2.3.8/configure-orig 2007-12-06 15:58:43.000000000 +0100
+++ cyrus-imapd-2.3-2.3.8/configure 2007-12-06 16:00:51.000000000 +0100
@@ -8768,7 +8768,7 @@
fi
saved_LIBS=$LIBS
- for dbname in db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2
db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 db-3.2
db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
+ for dbname in db-4.5 db4.5 db45 db-4.4 db4.4 db44 db-4.3 db4.3
db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3
db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
do
LIBS="$saved_LIBS -l$dbname"
cat >conftest.$ac_ext <<_ACEOF
<----------------- end patch ------------------->
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages cyrus-imapd-2.3 depends on:
ii cyrus-common-2.3 2.3.8-13 Cyrus mail system (common
files)
ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries
ii libcomerr2 1.40.2-1 common error description
library
ii libdb4.5 4.5.20-11 Berkeley v4.5 Database
Libraries [
ii libkrb53 1.6.dfsg.3~beta1-2 MIT Kerberos runtime libraries
ii libsasl2-2 2.1.22.dfsg1-14 Authentication abstraction
library
ii libssl0.9.8 0.9.8g-1 SSL shared libraries
ii libwrap0 7.6.dbs-14 Wietse Venema's TCP wrappers
libra
cyrus-imapd-2.3 recommends no packages.
-- no debconf information
--
Dr. Martin Dietze
Dipl.-Inf.-Ing.
freiheit.com technologies gmbh
Strassenbahnring 22 / 20251 Hamburg, Germany
fon +49 (0)40 / 890584-0
fax +49 (0)40 / 890584-20
HRB Hamburg 70814
7419 B4F8 FEB2 DAF9 3765 246E 87AE 2B84 C7D0 1795
Geschaftsfuehrer: Claudia Dietze, Stefan Richter, Joerg Kirchhof
More information about the Pkg-Cyrus-imapd-Debian-devel
mailing list