Bug#454609: cyrus-imapd-2.3: software compiled against libdb 4.5, linked against libdb 4.4

Benjamin Seidenberg benjamin at debian.org
Thu Dec 6 16:38:59 UTC 2007


merge 437838 454609
tags 454609 -patch
tags 437838 -patch

Thanks for this. However the issue is more complex than your patch would
indicate.

Ondrej: you said you had a fix prepared in #437838. Did you ever commit
this? I don't see it in SVN logs.

I'm really sorry for the state of the cyrus packages right now - I got
caught up in school and just haven't had the time. My exams end in
another two weeks, hopefully I'll have time to get them in shape during
winter break.

Benjamin

Martin Dietze wrote:
> 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
>
>   


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-cyrus-imapd-debian-devel/attachments/20071206/56909340/attachment-0001.pgp 


More information about the Pkg-Cyrus-imapd-Debian-devel mailing list