Source: mongo-c-driver
Version: 1.25.4-1
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
User: [email protected]
Usertags: time-t

NOTICE: these changes must not be uploaded to unstable yet!

Dear maintainer,

As part of the 64-bit time_t transition required to support 32-bit
architectures in 2038 and beyond
(https://wiki.debian.org/ReleaseGoals/64bit-time), we have identified
mongo-c-driver as a source package shipping runtime libraries whose ABI
either is affected by the change in size of time_t, or could not be
analyzed via abi-compliance-checker (and therefore to be on the safe
side we assume is affected).

To ensure that inconsistent combinations of libraries with their
reverse-dependencies are never installed together, it is necessary to
have a library transition, which is most easily done by renaming the
runtime library package.

Since turning on 64-bit time_t is being handled centrally through a change
to the default dpkg-buildflags (https://bugs.debian.org/1037136), it is
important that libraries affected by this ABI change all be uploaded close
together in time.  Therefore I have prepared a 0-day NMU for mongo-c-driver
which will initially be uploaded to experimental if possible, then to
unstable after packages have cleared binary NEW.

Please find the patch for this NMU attached.

If you have any concerns about this patch, please reach out ASAP.  Although
this package will be uploaded to experimental immediately, there will be a
period of several days before we begin uploads to unstable; so if information
becomes available that your package should not be included in the transition,
there is time for us to amend the planned uploads.



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

Kernel: Linux 6.5.0-15-generic (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_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
diff -Nru mongo-c-driver-1.25.4/debian/changelog 
mongo-c-driver-1.25.4/debian/changelog
--- mongo-c-driver-1.25.4/debian/changelog      2024-01-03 15:37:40.000000000 
+0000
+++ mongo-c-driver-1.25.4/debian/changelog      2024-02-04 05:44:11.000000000 
+0000
@@ -1,3 +1,10 @@
+mongo-c-driver (1.25.4-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Graham Inggs <[email protected]>  Sun, 04 Feb 2024 05:44:11 +0000
+
 mongo-c-driver (1.25.4-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru mongo-c-driver-1.25.4/debian/control 
mongo-c-driver-1.25.4/debian/control
--- mongo-c-driver-1.25.4/debian/control        2024-01-03 15:37:40.000000000 
+0000
+++ mongo-c-driver-1.25.4/debian/control        2024-02-04 05:44:11.000000000 
+0000
@@ -27,7 +27,7 @@
 Section: libdevel
 Architecture: any
 Build-Profiles: <!pkg.mongo-c-driver.no-libmongocrypt>
-Depends: libmongoc-1.0-0 (= ${binary:Version}),
+Depends: libmongoc-1.0-0t64 (= ${binary:Version}),
          libbson-dev (= ${binary:Version}),
          libmongocrypt-dev,
          libssl-dev,
@@ -44,7 +44,10 @@
  This package contains all files necessary to develop applications which
  use libmongoc.
 
-Package: libmongoc-1.0-0
+Package: libmongoc-1.0-0t64
+Provides: ${t64:Provides}
+Replaces: libmongoc-1.0-0
+Breaks: libmongoc-1.0-0 (<< ${source:Version})
 Architecture: any
 Build-Profiles: <!pkg.mongo-c-driver.no-libmongocrypt>
 Depends: ${misc:Depends},
@@ -71,7 +74,7 @@
 Package: libbson-dev
 Section: libdevel
 Architecture: any
-Depends: libbson-1.0-0 (= ${binary:Version}),
+Depends: libbson-1.0-0t64 (= ${binary:Version}),
          ${misc:Depends}
 Description: Library to parse and generate BSON documents - dev files
  libbson parses and generates BSON documents, the data format for
@@ -82,7 +85,10 @@
  This package contains all files necessary to develop applications which
  use libbson.
 
-Package: libbson-1.0-0
+Package: libbson-1.0-0t64
+Provides: ${t64:Provides}
+Replaces: libbson-1.0-0
+Breaks: libbson-1.0-0 (<< ${source:Version})
 Architecture: any
 Depends: ${misc:Depends},
          ${shlibs:Depends}
diff -Nru mongo-c-driver-1.25.4/debian/libbson-1.0-0.dirs 
mongo-c-driver-1.25.4/debian/libbson-1.0-0.dirs
--- mongo-c-driver-1.25.4/debian/libbson-1.0-0.dirs     2024-01-03 
15:37:40.000000000 +0000
+++ mongo-c-driver-1.25.4/debian/libbson-1.0-0.dirs     1970-01-01 
00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib
diff -Nru mongo-c-driver-1.25.4/debian/libbson-1.0-0.install 
mongo-c-driver-1.25.4/debian/libbson-1.0-0.install
--- mongo-c-driver-1.25.4/debian/libbson-1.0-0.install  2024-01-03 
15:37:40.000000000 +0000
+++ mongo-c-driver-1.25.4/debian/libbson-1.0-0.install  1970-01-01 
00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib/*/libbson*.so.*
diff -Nru mongo-c-driver-1.25.4/debian/libbson-1.0-0.lintian-overrides 
mongo-c-driver-1.25.4/debian/libbson-1.0-0.lintian-overrides
--- mongo-c-driver-1.25.4/debian/libbson-1.0-0.lintian-overrides        
2024-01-03 15:37:40.000000000 +0000
+++ mongo-c-driver-1.25.4/debian/libbson-1.0-0.lintian-overrides        
1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-# Chosen not to maintain a symbols file, we'll check ABI stability with other
-# tools.
-libbson-1.0-0: no-symbols-control-file
diff -Nru mongo-c-driver-1.25.4/debian/libbson-1.0-0t64.dirs 
mongo-c-driver-1.25.4/debian/libbson-1.0-0t64.dirs
--- mongo-c-driver-1.25.4/debian/libbson-1.0-0t64.dirs  1970-01-01 
00:00:00.000000000 +0000
+++ mongo-c-driver-1.25.4/debian/libbson-1.0-0t64.dirs  2024-01-03 
15:37:40.000000000 +0000
@@ -0,0 +1 @@
+usr/lib
diff -Nru mongo-c-driver-1.25.4/debian/libbson-1.0-0t64.install 
mongo-c-driver-1.25.4/debian/libbson-1.0-0t64.install
--- mongo-c-driver-1.25.4/debian/libbson-1.0-0t64.install       1970-01-01 
00:00:00.000000000 +0000
+++ mongo-c-driver-1.25.4/debian/libbson-1.0-0t64.install       2024-01-03 
15:37:40.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/libbson*.so.*
diff -Nru mongo-c-driver-1.25.4/debian/libbson-1.0-0t64.lintian-overrides 
mongo-c-driver-1.25.4/debian/libbson-1.0-0t64.lintian-overrides
--- mongo-c-driver-1.25.4/debian/libbson-1.0-0t64.lintian-overrides     
1970-01-01 00:00:00.000000000 +0000
+++ mongo-c-driver-1.25.4/debian/libbson-1.0-0t64.lintian-overrides     
2024-02-04 05:44:11.000000000 +0000
@@ -0,0 +1,4 @@
+# Chosen not to maintain a symbols file, we'll check ABI stability with other
+# tools.
+libbson-1.0-0t64: no-symbols-control-file
+libbson-1.0-0t64: package-name-doesnt-match-sonames libbson-1.0-0
diff -Nru mongo-c-driver-1.25.4/debian/libmongoc-1.0-0.docs 
mongo-c-driver-1.25.4/debian/libmongoc-1.0-0.docs
--- mongo-c-driver-1.25.4/debian/libmongoc-1.0-0.docs   2024-01-03 
15:37:40.000000000 +0000
+++ mongo-c-driver-1.25.4/debian/libmongoc-1.0-0.docs   1970-01-01 
00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-debian/tmp/usr/share/mongo-c-driver/NEWS
-debian/tmp/usr/share/mongo-c-driver/README.rst
-debian/tmp/usr/share/mongo-c-driver/THIRD_PARTY_NOTICES
diff -Nru mongo-c-driver-1.25.4/debian/libmongoc-1.0-0.install 
mongo-c-driver-1.25.4/debian/libmongoc-1.0-0.install
--- mongo-c-driver-1.25.4/debian/libmongoc-1.0-0.install        2024-01-03 
15:37:40.000000000 +0000
+++ mongo-c-driver-1.25.4/debian/libmongoc-1.0-0.install        1970-01-01 
00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib/*/libmongoc-[0-9]*.so.*
diff -Nru mongo-c-driver-1.25.4/debian/libmongoc-1.0-0.lintian-overrides 
mongo-c-driver-1.25.4/debian/libmongoc-1.0-0.lintian-overrides
--- mongo-c-driver-1.25.4/debian/libmongoc-1.0-0.lintian-overrides      
2024-01-03 15:37:40.000000000 +0000
+++ mongo-c-driver-1.25.4/debian/libmongoc-1.0-0.lintian-overrides      
1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-# Chosen not to maintain a symbols file, we'll check ABI stability with other
-# tools.
-libmongoc-1.0-0: no-symbols-control-file
diff -Nru mongo-c-driver-1.25.4/debian/libmongoc-1.0-0t64.docs 
mongo-c-driver-1.25.4/debian/libmongoc-1.0-0t64.docs
--- mongo-c-driver-1.25.4/debian/libmongoc-1.0-0t64.docs        1970-01-01 
00:00:00.000000000 +0000
+++ mongo-c-driver-1.25.4/debian/libmongoc-1.0-0t64.docs        2024-01-03 
15:37:40.000000000 +0000
@@ -0,0 +1,3 @@
+debian/tmp/usr/share/mongo-c-driver/NEWS
+debian/tmp/usr/share/mongo-c-driver/README.rst
+debian/tmp/usr/share/mongo-c-driver/THIRD_PARTY_NOTICES
diff -Nru mongo-c-driver-1.25.4/debian/libmongoc-1.0-0t64.install 
mongo-c-driver-1.25.4/debian/libmongoc-1.0-0t64.install
--- mongo-c-driver-1.25.4/debian/libmongoc-1.0-0t64.install     1970-01-01 
00:00:00.000000000 +0000
+++ mongo-c-driver-1.25.4/debian/libmongoc-1.0-0t64.install     2024-01-03 
15:37:40.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/libmongoc-[0-9]*.so.*
diff -Nru mongo-c-driver-1.25.4/debian/libmongoc-1.0-0t64.lintian-overrides 
mongo-c-driver-1.25.4/debian/libmongoc-1.0-0t64.lintian-overrides
--- mongo-c-driver-1.25.4/debian/libmongoc-1.0-0t64.lintian-overrides   
1970-01-01 00:00:00.000000000 +0000
+++ mongo-c-driver-1.25.4/debian/libmongoc-1.0-0t64.lintian-overrides   
2024-02-04 05:44:11.000000000 +0000
@@ -0,0 +1,4 @@
+# Chosen not to maintain a symbols file, we'll check ABI stability with other
+# tools.
+libmongoc-1.0-0t64: no-symbols-control-file
+libmongoc-1.0-0t64: package-name-doesnt-match-sonames libmongoc-1.0-0

Reply via email to