Bug#523007: cyrus-sasl2: during a sid recompile the package got built with db4.7 headers -> segfault in sasl2-bin's postinst

RISKO Gergely risko at debian.org
Tue Apr 7 20:11:20 UTC 2009


Package: cyrus-sasl2
Severity: serious
Version: 2.1.22.dfsg1-22

If I recompile the package from source on a up-to-date sid, with
libdb-dev installed, the resulting sasl2-bin's sasldb utilities
(saslpasswd2, sasldblistusers2, sasldbconverter2) segfaults.

I think that the reason is, that the package links with libdb4.6, but
the headers on the system are from libdb4.7-dev in this case.

Removing libdb-dev, installing libdb4.6-dev and changing the builddeps
accordingly of course seems to solve the issue.

risko at bubble:~$ apt-cache madison libdb-dev
 libdb-dev |   4.7.25.3 | http://ftp.ee.debian.org unstable/main Packages

The severity is serious, because during a fresh build the build
succeeds, but the binary is buggy, this can be quite bad e.g. for
porters.

Patch:
--- orig/cyrus-sasl2-2.1.22.dfsg1/debian/control	2009-04-07 23:10:33.000000000 +0300
+++ cyrus-sasl2-2.1.22.dfsg1/debian/control	2009-04-07 22:57:33.000000000 +0300
@@ -4,7 +4,7 @@
 Maintainer: Debian Cyrus SASL Team <pkg-cyrus-sasl2-debian-devel at lists.alioth.debian.org>
 Uploaders: Fabian Fagerholm <fabbe at debian.org>, Roberto C. Sanchez <roberto at connexer.com>
 Standards-Version: 3.8.0.0
-Build-Depends: debhelper (>= 5.0.0), dpatch, autotools-dev, automake1.9, autoconf, libtool, libdb-dev (>= 4.6.21), libpam0g-dev (>= 0.76-22), libssl-dev (>= 0.9.7e-3), libmysqlclient15-dev (>= 5.0.20), libopie-dev (>= 2.32-10), libpq-dev (>= 8.1.3-4), libkrb5-dev, libsqlite0-dev (>= 2.8.16), libldap2-dev (>= 2.1.30-8), chrpath, groff-base, debconf (>= 0.5) | debconf-2.0, po-debconf, docbook-to-man
+Build-Depends: debhelper (>= 5.0.0), dpatch, autotools-dev, automake1.9, autoconf, libtool, libdb4.6-dev (>= 4.6.21), libpam0g-dev (>= 0.76-22), libssl-dev (>= 0.9.7e-3), libmysqlclient15-dev (>= 5.0.20), libopie-dev (>= 2.32-10), libpq-dev (>= 8.1.3-4), libkrb5-dev, libsqlite0-dev (>= 2.8.16), libldap2-dev (>= 2.1.30-8), chrpath, groff-base, debconf (>= 0.5) | debconf-2.0, po-debconf, docbook-to-man
 Build-Conflicts: heimdal-dev
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-cyrus-sasl2/

Thanks,
Gergely

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (700, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.27-11-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash





More information about the Pkg-cyrus-sasl2-debian-devel mailing list