[debian-mysql] Bug#1063158: mysql-connector-c++: NMU diff for 64-bit time_t transition

Benjamin Drung bdrung at debian.org
Wed Feb 28 21:44:04 GMT 2024


Source: mysql-connector-c++
Dear maintainer,

Please find attached a final version of this patch for the time_t
transition.  This patch is being uploaded to unstable.

Note that this adds a versioned build-dependency on dpkg-dev, to guard
against accidental backports with a wrong ABI.

Thanks!


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-21-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
-------------- next part --------------
diff -Nru mysql-connector-c++-1.1.12/debian/changelog mysql-connector-c++-1.1.12/debian/changelog
--- mysql-connector-c++-1.1.12/debian/changelog	2019-08-14 08:09:09.000000000 +0000
+++ mysql-connector-c++-1.1.12/debian/changelog	2024-02-28 21:43:12.000000000 +0000
@@ -1,3 +1,10 @@
+mysql-connector-c++ (1.1.12-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063158
+
+ -- Benjamin Drung <bdrung at debian.org>  Wed, 28 Feb 2024 21:43:12 +0000
+
 mysql-connector-c++ (1.1.12-4) unstable; urgency=medium
 
   [ Rene Engelhard ]
diff -Nru mysql-connector-c++-1.1.12/debian/control mysql-connector-c++-1.1.12/debian/control
--- mysql-connector-c++-1.1.12/debian/control	2019-08-11 07:11:57.000000000 +0000
+++ mysql-connector-c++-1.1.12/debian/control	2024-02-28 21:43:12.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian MySQL Maintainers <pkg-mysql-maint at lists.alioth.debian.org>
 Uploaders: Dmitry Smirnov <onlyjob at debian.org>
-Build-Depends: debhelper (>= 12~), dh-exec (>= 0.3), cmake
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>= 12~), dh-exec (>= 0.3), cmake
 #  ,libmysqlclient-dev (>= 5.7.8)
   ,default-libmysqlclient-dev
   ,libboost-dev
@@ -18,7 +18,7 @@
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
-Depends: libboost-dev, libmysqlcppconn7v5 (= ${binary:Version}), ${misc:Depends}
+Depends: libboost-dev, libmysqlcppconn7t64 (= ${binary:Version}), ${misc:Depends}
 Description: MySQL Connector for C++ (development files)
  MySQL Connector/C++ is a MySQL database connector for C++.
  .
@@ -26,7 +26,11 @@
  .
  This package contains the development files (headers, static library).
 
-Package: libmysqlcppconn7v5
+Package: libmysqlcppconn7t64
+Provides: ${t64:Provides}
+X-Time64-Compat: libmysqlcppconn7v5
+Replaces: libmysqlcppconn7v5
+Breaks: libmysqlcppconn7v5 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
diff -Nru mysql-connector-c++-1.1.12/debian/libmysqlcppconn7t64.install mysql-connector-c++-1.1.12/debian/libmysqlcppconn7t64.install
--- mysql-connector-c++-1.1.12/debian/libmysqlcppconn7t64.install	1970-01-01 00:00:00.000000000 +0000
+++ mysql-connector-c++-1.1.12/debian/libmysqlcppconn7t64.install	2019-02-05 02:33:26.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/libmysqlcppconn.so.*
diff -Nru mysql-connector-c++-1.1.12/debian/libmysqlcppconn7t64.lintian-overrides mysql-connector-c++-1.1.12/debian/libmysqlcppconn7t64.lintian-overrides
--- mysql-connector-c++-1.1.12/debian/libmysqlcppconn7t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ mysql-connector-c++-1.1.12/debian/libmysqlcppconn7t64.lintian-overrides	2024-02-28 21:43:05.000000000 +0000
@@ -0,0 +1 @@
+libmysqlcppconn7t64: package-name-doesnt-match-sonames libmysqlcppconn7v5
diff -Nru mysql-connector-c++-1.1.12/debian/libmysqlcppconn7v5.install mysql-connector-c++-1.1.12/debian/libmysqlcppconn7v5.install
--- mysql-connector-c++-1.1.12/debian/libmysqlcppconn7v5.install	2019-02-05 02:33:26.000000000 +0000
+++ mysql-connector-c++-1.1.12/debian/libmysqlcppconn7v5.install	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib/*/libmysqlcppconn.so.*


More information about the pkg-mysql-maint mailing list