[cl-debian] Bug#358631: cl-sql-mysql: obsolete hardcoded dependency on libmysqlclient15

Aaron M. Ucko ucko at debian.org
Thu Mar 23 16:12:59 UTC 2006


Package: cl-sql-mysql
Version: 3.5.6-1
Severity: grave
Tags: patch
Justification: renders package unusable (uninstallable)

Due to an upstream decision to give libmysqlclient.so.15 *different*
versioned symbols than the Debian packages sported, Debian has been
forced to transition from libmysqlclient15 to libmysqlclient15off.
However, cl-sql-mysql hardcodes a dependency on the former, so
rebuilding it against a new version of libmysqlclient15-dev is
ineffective.

(Granted, cl-sql-uffi's tight dependency on cl-sql still keeps
binary-only NMUs from being effective, but that's another matter.)

Anyway, the following patch drops hardcoded dependencies on runtime
library packages in favor of using ${shlibs:Depends}, which I've
confirmed yields correct dependencies; could you please apply it, or
at the very least update the hardcoded dependencies?

Thanks!

diff -u cl-sql-3.5.6/debian/control cl-sql-3.5.6/debian/control
--- cl-sql-3.5.6/debian/control
+++ cl-sql-3.5.6/debian/control
@@ -17,7 +17,7 @@
 
 Package: cl-sql-uffi
 Architecture: any
-Depends: cl-uffi, cl-sql (>= ${Source-Version})
+Depends: cl-uffi, cl-sql (>= ${Source-Version}), ${shlibs:Depends}
 Recommends: cl-sql-backend
 Description: Common UFFI functions for CLSQL database backends
  This package provides an interface to several UFFI functions used by multiple
@@ -26,7 +26,7 @@
 
 Package: cl-sql-mysql
 Architecture: any
-Depends: cl-sql (>= ${Source-Version}), libmysqlclient15, cl-sql-uffi (>= ${Source-Version})
+Depends: cl-sql (>= ${Source-Version}), cl-sql-uffi (>= ${Source-Version}), ${shlibs:Depends}
 Provides: cl-sql-backend
 Description: CLSQL database backend, MySQL
  This package enables you to use the CLSQL data access package


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (300, 'unstable'), (300, 'testing'), (300, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)





More information about the Cl-debian mailing list