Bug#1062714: qdbm: NMU diff for 64-bit time_t transition

2024-02-29 Thread Benjamin Drung
Source: qdbm
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
diff -Nru qdbm-1.8.78/debian/changelog qdbm-1.8.78/debian/changelog
--- qdbm-1.8.78/debian/changelog2022-11-02 21:02:48.0 +
+++ qdbm-1.8.78/debian/changelog2024-02-29 21:36:48.0 +
@@ -1,3 +1,10 @@
+qdbm (1.8.78-12.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062714
+
+ -- Benjamin Drung   Thu, 29 Feb 2024 21:36:48 +
+
 qdbm (1.8.78-12) unstable; urgency=medium
 
   * QA upload.
diff -Nru qdbm-1.8.78/debian/control qdbm-1.8.78/debian/control
--- qdbm-1.8.78/debian/control  2022-11-02 21:02:48.0 +
+++ qdbm-1.8.78/debian/control  2024-02-29 21:36:48.0 +
@@ -1,7 +1,7 @@
 Source: qdbm
 Priority: optional
 Maintainer: Debian QA Group 
-Build-Depends: debhelper (>= 10~), autoconf, autotools-dev, zlib1g-dev, perl, 
gem2deb, default-jdk , chrpath, dh-strip-nondeterminism
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>= 10~), autoconf, 
autotools-dev, zlib1g-dev, perl, gem2deb, default-jdk , chrpath, 
dh-strip-nondeterminism
 Homepage: https://fallabs.com/qdbm/
 Standards-Version: 4.1.3
 Rules-Requires-Root: no
@@ -10,7 +10,10 @@
 XS-Ruby-Versions: all
 Section: libs
 
-Package: libqdbm14
+Package: libqdbm14t64
+Provides: ${t64:Provides}
+Replaces: libqdbm14
+Breaks: libqdbm14 (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: QDBM Database Libraries without GDBM wrapper[runtime]
@@ -32,7 +35,7 @@
 Package: libqdbm-dev
 Section: libdevel
 Architecture: any
-Depends: libqdbm14 (= ${binary:Version}), ${misc:Depends}
+Depends: libqdbm14t64 (= ${binary:Version}), ${misc:Depends}
 Recommends: pkg-config
 Suggests: qdbm-doc
 Description: QDBM Database Libraries [development]
@@ -57,11 +60,13 @@
 Description: QDBM Database CGI commands
  This is the QDBM Database command package to be used as CGI commands.
 
-Package: libxqdbm3c2
+Package: libxqdbm3t64
+Provides: ${t64:Provides}
+X-Time64-Compat: libxqdbm3c2
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Replaces: libqdbm3++c2 (<< 1.8.77-1)
-Breaks: libqdbm3++c2 (<< 1.8.77-1)
+Replaces: libxqdbm3c2, libqdbm3++c2 (<< 1.8.77-1)
+Breaks: libxqdbm3c2 (<< ${source:Version}), libqdbm3++c2 (<< 1.8.77-1)
 Description: QDBM Database Libraries for C++ [runtime]
  QDBM is an embedded database library compatible with GDBM and NDBM.
  It features hash database and B+ tree database and is developed referring
@@ -73,7 +78,7 @@
 Package: libxqdbm-dev
 Architecture: any
 Section: libdevel
-Depends: libxqdbm3c2 (= ${binary:Version}), libqdbm-dev (= ${binary:Version}), 
${misc:Depends}
+Depends: libxqdbm3t64 (= ${binary:Version}), libqdbm-dev (= 
${binary:Version}), ${misc:Depends}
 Replaces: libqdbm-dev (<< 1.8.78-1)
 Suggests: qdbm-doc
 Description: QDBM Database Libraries for C++ [development]
@@ -84,7 +89,7 @@
 Package: libqdbm3++c2
 Architecture: any
 Section: oldlibs
-Depends: libxqdbm3c2 (>= ${binary:Version}), ${misc:Depends}
+Depends: libxqdbm3t64 (>= ${binary:Version}), ${misc:Depends}
 Multi-Arch: no
 Description: QDBM Database Libraries for C++ [runtime] (transitional package)
  This is a dummy package to ease transition to new package name.
diff -Nru qdbm-1.8.78/debian/libqdbm14.dirs qdbm-1.8.78/debian/libqdbm14.dirs
--- qdbm-1.8.78/debian/libqdbm14.dirs   2022-11-02 21:02:48.0 +
+++ qdbm-1.8.78/debian/libqdbm14.dirs   1970-01-01 00:00:00.0 +
@@ -1,3 +0,0 @@
-usr/lib
-
-
diff -Nru qdbm-1.8.78/debian/libqdbm14.docs qdbm-1.8.78/debian/libqdbm14.docs
--- qdbm-1.8.78/debian/libqdbm14.docs   2022-11-02 21:02:48.0 +
+++ qdbm-1.8.78/debian/libqdbm14.docs   1970-01-01 00:00:00.0 +
@@ -1,2 +0,0 @@
-NEWS
-
diff -Nru qdbm-1.8.78/debian/libqdbm14.install 
qdbm-1.8.78/debian/libqdbm14.install
--- qdbm-1.8.78/debian/libqdbm14.install2022-11-02 21:02:48.0 
+
+++ qdbm-1.8.78/debian/libqdbm14.install1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib/libqdbm.so.*
diff -Nru qdbm-1.8.78/debian/libqdbm14.symbols 
qdbm-1.8.78/debian/libqdbm14.symbols
--- qdbm-1.8.78/debian/libqdbm14.symbols2022-11-02 21:02:48.0 
+
+++ qdbm-1.8.78/debian/libqdbm14.symbols1970-01-01 

Bug#1062714: qdbm: NMU diff for 64-bit time_t transition

2024-02-24 Thread Steve Langasek
Hello,

The package that was previously uploaded to experimental was unfortunately
broken because we did not notice that additional changes were needed to
debian/rules.

Please find a fixed patch attached.
-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developer   https://www.debian.org/
slanga...@ubuntu.com vor...@debian.org
diff -Nru qdbm-1.8.78/debian/changelog qdbm-1.8.78/debian/changelog
--- qdbm-1.8.78/debian/changelog2022-11-02 21:02:48.0 +
+++ qdbm-1.8.78/debian/changelog2024-02-24 09:29:32.0 +
@@ -1,3 +1,16 @@
+qdbm (1.8.78-12.1~exp2) experimental; urgency=medium
+
+  * Fix missing files in libxqdbm.
+
+ -- Steve Langasek   Sat, 24 Feb 2024 09:29:32 +
+
+qdbm (1.8.78-12.1~exp1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Sergio Durigan Junior   Fri, 02 Feb 2024 21:47:56 
+
+
 qdbm (1.8.78-12) unstable; urgency=medium
 
   * QA upload.
diff -Nru qdbm-1.8.78/debian/control qdbm-1.8.78/debian/control
--- qdbm-1.8.78/debian/control  2022-11-02 21:02:48.0 +
+++ qdbm-1.8.78/debian/control  2024-02-02 21:47:56.0 +
@@ -10,7 +10,10 @@
 XS-Ruby-Versions: all
 Section: libs
 
-Package: libqdbm14
+Package: libqdbm14t64
+Provides: ${t64:Provides}
+Replaces: libqdbm14
+Breaks: libqdbm14 (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: QDBM Database Libraries without GDBM wrapper[runtime]
@@ -32,7 +35,7 @@
 Package: libqdbm-dev
 Section: libdevel
 Architecture: any
-Depends: libqdbm14 (= ${binary:Version}), ${misc:Depends}
+Depends: libqdbm14t64 (= ${binary:Version}), ${misc:Depends}
 Recommends: pkg-config
 Suggests: qdbm-doc
 Description: QDBM Database Libraries [development]
@@ -57,11 +60,13 @@
 Description: QDBM Database CGI commands
  This is the QDBM Database command package to be used as CGI commands.
 
-Package: libxqdbm3c2
+Package: libxqdbm3t64
+Provides: ${t64:Provides}
+X-Time64-Compat: libxqdbm3c2
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Replaces: libqdbm3++c2 (<< 1.8.77-1)
-Breaks: libqdbm3++c2 (<< 1.8.77-1)
+Replaces: libxqdbm3c2, libqdbm3++c2 (<< 1.8.77-1)
+Breaks: libxqdbm3c2 (<< ${source:Version}), libqdbm3++c2 (<< 1.8.77-1)
 Description: QDBM Database Libraries for C++ [runtime]
  QDBM is an embedded database library compatible with GDBM and NDBM.
  It features hash database and B+ tree database and is developed referring
@@ -73,7 +78,7 @@
 Package: libxqdbm-dev
 Architecture: any
 Section: libdevel
-Depends: libxqdbm3c2 (= ${binary:Version}), libqdbm-dev (= ${binary:Version}), 
${misc:Depends}
+Depends: libxqdbm3t64 (= ${binary:Version}), libqdbm-dev (= 
${binary:Version}), ${misc:Depends}
 Replaces: libqdbm-dev (<< 1.8.78-1)
 Suggests: qdbm-doc
 Description: QDBM Database Libraries for C++ [development]
@@ -84,7 +89,7 @@
 Package: libqdbm3++c2
 Architecture: any
 Section: oldlibs
-Depends: libxqdbm3c2 (>= ${binary:Version}), ${misc:Depends}
+Depends: libxqdbm3t64 (>= ${binary:Version}), ${misc:Depends}
 Multi-Arch: no
 Description: QDBM Database Libraries for C++ [runtime] (transitional package)
  This is a dummy package to ease transition to new package name.
diff -Nru qdbm-1.8.78/debian/libqdbm14.dirs qdbm-1.8.78/debian/libqdbm14.dirs
--- qdbm-1.8.78/debian/libqdbm14.dirs   2022-11-02 21:02:48.0 +
+++ qdbm-1.8.78/debian/libqdbm14.dirs   1970-01-01 00:00:00.0 +
@@ -1,3 +0,0 @@
-usr/lib
-
-
diff -Nru qdbm-1.8.78/debian/libqdbm14.docs qdbm-1.8.78/debian/libqdbm14.docs
--- qdbm-1.8.78/debian/libqdbm14.docs   2022-11-02 21:02:48.0 +
+++ qdbm-1.8.78/debian/libqdbm14.docs   1970-01-01 00:00:00.0 +
@@ -1,2 +0,0 @@
-NEWS
-
diff -Nru qdbm-1.8.78/debian/libqdbm14.install 
qdbm-1.8.78/debian/libqdbm14.install
--- qdbm-1.8.78/debian/libqdbm14.install2022-11-02 21:02:48.0 
+
+++ qdbm-1.8.78/debian/libqdbm14.install1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib/libqdbm.so.*
diff -Nru qdbm-1.8.78/debian/libqdbm14.symbols 
qdbm-1.8.78/debian/libqdbm14.symbols
--- qdbm-1.8.78/debian/libqdbm14.symbols2022-11-02 21:02:48.0 
+
+++ qdbm-1.8.78/debian/libqdbm14.symbols1970-01-01 00:00:00.0 
+
@@ -1,424 +0,0 @@
-libqdbm.so.14 libqdbm14 #MINVER#
- VL_CMPDEC@Base 1.8.74
- VL_CMPINT@Base 1.8.74
- VL_CMPLEX@Base 1.8.74
- VL_CMPNUM@Base 1.8.74
- VST_CMPDEC@Base 1.8.74
- VST_CMPINT@Base 1.8.74
- VST_CMPLEX@Base 1.8.74
- VST_CMPNUM@Base 1.8.74
- _qdbm_bzdecode@Base 1.8.74
- _qdbm_bzencode@Base 1.8.74
- _qdbm_deflate@Base 1.8.74
- _qdbm_dummyfunc@Base 1.8.74
- _qdbm_encname@Base 1.8.74
- _qdbm_getcrc@Base 1.8.74
- _qdbm_gmtime@Base 1.8.74
- _qdbm_iconv@Base 1.8.74
- _qdbm_inflate@Base 1.8.74
- 

Bug#1062714: qdbm: NMU diff for 64-bit time_t transition

2024-02-02 Thread Sergio Durigan Junior
Source: qdbm
Version: 1.8.78-12
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
User: debian-...@lists.debian.org
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
qdbm 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 qdbm
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-5-amd64 (SMP w/32 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
diff -Nru qdbm-1.8.78/debian/changelog qdbm-1.8.78/debian/changelog
--- qdbm-1.8.78/debian/changelog2022-11-02 21:02:48.0 +
+++ qdbm-1.8.78/debian/changelog2024-02-02 21:46:29.0 +
@@ -1,3 +1,10 @@
+qdbm (1.8.78-12.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Sergio Durigan Junior   Fri, 02 Feb 2024 21:46:29 
+
+
 qdbm (1.8.78-12) unstable; urgency=medium
 
   * QA upload.
diff -Nru qdbm-1.8.78/debian/control qdbm-1.8.78/debian/control
--- qdbm-1.8.78/debian/control  2022-11-02 21:02:48.0 +
+++ qdbm-1.8.78/debian/control  2024-02-02 21:46:29.0 +
@@ -10,7 +10,10 @@
 XS-Ruby-Versions: all
 Section: libs
 
-Package: libqdbm14
+Package: libqdbm14t64
+Provides: ${t64:Provides}
+Replaces: libqdbm14
+Breaks: libqdbm14 (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: QDBM Database Libraries without GDBM wrapper[runtime]
@@ -32,7 +35,7 @@
 Package: libqdbm-dev
 Section: libdevel
 Architecture: any
-Depends: libqdbm14 (= ${binary:Version}), ${misc:Depends}
+Depends: libqdbm14t64 (= ${binary:Version}), ${misc:Depends}
 Recommends: pkg-config
 Suggests: qdbm-doc
 Description: QDBM Database Libraries [development]
@@ -57,11 +60,13 @@
 Description: QDBM Database CGI commands
  This is the QDBM Database command package to be used as CGI commands.
 
-Package: libxqdbm3c2
+Package: libxqdbm3t64
+Provides: ${t64:Provides}
+X-Time64-Compat: libxqdbm3c2
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Replaces: libqdbm3++c2 (<< 1.8.77-1)
-Breaks: libqdbm3++c2 (<< 1.8.77-1)
+Replaces: libxqdbm3c2, libqdbm3++c2 (<< 1.8.77-1)
+Breaks: libxqdbm3c2 (<< ${source:Version}), libqdbm3++c2 (<< 1.8.77-1)
 Description: QDBM Database Libraries for C++ [runtime]
  QDBM is an embedded database library compatible with GDBM and NDBM.
  It features hash database and B+ tree database and is developed referring
@@ -73,7 +78,7 @@
 Package: libxqdbm-dev
 Architecture: any
 Section: libdevel
-Depends: libxqdbm3c2 (= ${binary:Version}), libqdbm-dev (= ${binary:Version}), 
${misc:Depends}
+Depends: libxqdbm3t64 (= ${binary:Version}), libqdbm-dev (= 
${binary:Version}), ${misc:Depends}
 Replaces: libqdbm-dev (<< 1.8.78-1)
 Suggests: qdbm-doc
 Description: QDBM Database Libraries for C++ [development]
@@ -84,7 +89,7 @@
 Package: libqdbm3++c2
 Architecture: any
 Section: oldlibs
-Depends: libxqdbm3c2 (>= ${binary:Version}), ${misc:Depends}
+Depends: libxqdbm3t64 (>= ${binary:Version}), ${misc:Depends}
 Multi-Arch: no
 Description: QDBM Database Libraries for C++ [runtime] (transitional package)
  This is a dummy package to ease transition to new package name.
diff -Nru qdbm-1.8.78/debian/libqdbm14.dirs qdbm-1.8.78/debian/libqdbm14.dirs
---