[Debian-med-packaging] Bug#1063137: libtabixpp: NMU diff for 64-bit time_t transition

Benjamin Drung bdrung at debian.org
Fri Mar 1 12:30:11 GMT 2024


Source: libtabixpp
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 libtabixpp-1.1.2/debian/changelog libtabixpp-1.1.2/debian/changelog
--- libtabixpp-1.1.2/debian/changelog	2024-02-17 14:40:37.000000000 +0000
+++ libtabixpp-1.1.2/debian/changelog	2024-03-01 12:30:06.000000000 +0000
@@ -1,3 +1,10 @@
+libtabixpp (1.1.2-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063137
+
+ -- Benjamin Drung <bdrung at debian.org>  Fri, 01 Mar 2024 12:30:06 +0000
+
 libtabixpp (1.1.2-2) unstable; urgency=medium
 
   * Enable building twice in a row.
diff -Nru libtabixpp-1.1.2/debian/control libtabixpp-1.1.2/debian/control
--- libtabixpp-1.1.2/debian/control	2024-02-17 14:35:24.000000000 +0000
+++ libtabixpp-1.1.2/debian/control	2024-03-01 12:30:06.000000000 +0000
@@ -4,18 +4,21 @@
            Sascha Steinbiss <satta at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
                libhts-dev,
                zlib1g-dev,
                libbz2-dev,
-               d-shlibs
+               d-shlibs (>= 0.106~)
 Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/med-team/libtabixpp
 Vcs-Git: https://salsa.debian.org/med-team/libtabixpp.git
 Homepage: https://github.com/ekg/tabixpp
 Rules-Requires-Root: no
 
-Package: libtabixpp0
+Package: libtabixpp0t64
+Provides: ${t64:Provides}
+Replaces: libtabixpp0
+Conflicts: libtabixpp0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: libs
@@ -35,7 +38,7 @@
 Multi-Arch: same
 Section: libdevel
 Depends: ${misc:Depends},
-         libtabixpp0 (= ${binary:Version}),
+         libtabixpp0t64 (= ${binary:Version}),
          libhts-dev,
          zlib1g-dev,
          ${devlibs:Depends}
diff -Nru libtabixpp-1.1.2/debian/libtabixpp0.symbols libtabixpp-1.1.2/debian/libtabixpp0.symbols
--- libtabixpp-1.1.2/debian/libtabixpp0.symbols	2024-02-17 14:40:37.000000000 +0000
+++ libtabixpp-1.1.2/debian/libtabixpp0.symbols	1970-01-01 00:00:00.000000000 +0000
@@ -1,13 +0,0 @@
-libtabixpp.so.0 libtabixpp0 #MINVER#
-* Build-Depends-Package: libtabixpp-dev
- _ZN5Tabix11getNextLineERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.0
- _ZN5Tabix13getKstringPtrEv at Base 1.1.0
- _ZN5Tabix13getNextLineKSEv at Base 1.1.0
- _ZN5Tabix9getHeaderERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.0
- _ZN5Tabix9setRegionERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.0
- _ZN5TabixC1ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.0
- _ZN5TabixC1Ev at Base 1.0.0
- _ZN5TabixC2ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.0
- _ZN5TabixC2Ev at Base 1.0.0
- _ZN5TabixD1Ev at Base 1.0.0
- _ZN5TabixD2Ev at Base 1.0.0
diff -Nru libtabixpp-1.1.2/debian/libtabixpp0t64.lintian-overrides libtabixpp-1.1.2/debian/libtabixpp0t64.lintian-overrides
--- libtabixpp-1.1.2/debian/libtabixpp0t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ libtabixpp-1.1.2/debian/libtabixpp0t64.lintian-overrides	2024-03-01 12:29:42.000000000 +0000
@@ -0,0 +1 @@
+libtabixpp0t64: package-name-doesnt-match-sonames libtabixpp0
diff -Nru libtabixpp-1.1.2/debian/libtabixpp0t64.symbols libtabixpp-1.1.2/debian/libtabixpp0t64.symbols
--- libtabixpp-1.1.2/debian/libtabixpp0t64.symbols	1970-01-01 00:00:00.000000000 +0000
+++ libtabixpp-1.1.2/debian/libtabixpp0t64.symbols	2024-03-01 12:29:42.000000000 +0000
@@ -0,0 +1,13 @@
+libtabixpp.so.0 libtabixpp0t64 #MINVER#
+* Build-Depends-Package: libtabixpp-dev
+ _ZN5Tabix11getNextLineERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.0
+ _ZN5Tabix13getKstringPtrEv at Base 1.1.0
+ _ZN5Tabix13getNextLineKSEv at Base 1.1.0
+ _ZN5Tabix9getHeaderERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.0
+ _ZN5Tabix9setRegionERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.0
+ _ZN5TabixC1ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.0
+ _ZN5TabixC1Ev at Base 1.0.0
+ _ZN5TabixC2ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.0
+ _ZN5TabixC2Ev at Base 1.0.0
+ _ZN5TabixD1Ev at Base 1.0.0
+ _ZN5TabixD2Ev at Base 1.0.0
diff -Nru libtabixpp-1.1.2/debian/rules libtabixpp-1.1.2/debian/rules
--- libtabixpp-1.1.2/debian/rules	2024-02-17 14:40:37.000000000 +0000
+++ libtabixpp-1.1.2/debian/rules	2024-03-01 12:30:05.000000000 +0000
@@ -14,6 +14,7 @@
 	ln -s libtabixpp.so.* libtabixpp.so
 	cp tabix.hpp debian/tabix.hpp
 	d-shlibmove --commit \
+		    --t64 \
                     --multiarch \
                     --devunversioned \
                     --movedev "*.hpp" usr/include/ \


More information about the Debian-med-packaging mailing list