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

Steve Langasek vorlon at debian.org
Fri Mar 1 06:47:37 GMT 2024


Sorry, for some reason a number of bugs failed to have their patches
attached.  Please find the debdiff from the experimental upload attached
now.

On Fri, Feb 02, 2024 at 11:00:17PM +0000, Steve Langasek wrote:
> Source: libwfa2
> Version: 2.3.3-2
> Severity: serious
> Tags: patch pending sid trixie
> Justification: library ABI skew on upgrade
> User: debian-arm at 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
> libwfa2 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 libwfa2
> 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'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 6.5.0-14-generic (SMP w/12 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_PROPRIETARY_MODULE, 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: systemd (via /run/systemd/system)
> 

-- 
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/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru libwfa2-2.3.3/debian/changelog libwfa2-2.3.3/debian/changelog
--- libwfa2-2.3.3/debian/changelog	2023-07-15 05:42:16.000000000 +0000
+++ libwfa2-2.3.3/debian/changelog	2024-02-02 19:44:23.000000000 +0000
@@ -1,3 +1,10 @@
+libwfa2 (2.3.3-2.1~exp1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vorlon at debian.org>  Fri, 02 Feb 2024 19:44:23 +0000
+
 libwfa2 (2.3.3-2) unstable; urgency=medium
 
   * Team Upload.
diff -Nru libwfa2-2.3.3/debian/control libwfa2-2.3.3/debian/control
--- libwfa2-2.3.3/debian/control	2023-07-15 05:23:04.000000000 +0000
+++ libwfa2-2.3.3/debian/control	2024-02-02 19:44:23.000000000 +0000
@@ -4,7 +4,7 @@
 Section: science
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
-               d-shlibs,
+               d-shlibs (>= 0.106),
                cmake,
                pkg-config
 Standards-Version: 4.6.2
@@ -13,7 +13,10 @@
 Homepage: https://github.com/smarco/WFA2-lib
 Rules-Requires-Root: no
 
-Package: libwfa2-0
+Package: libwfa2-0t64
+Provides: ${t64:Provides}
+Replaces: libwfa2-0
+Conflicts: libwfa2-0 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -38,7 +41,7 @@
 Package: libwfa2-dev
 Architecture: any
 Section: libdevel
-Depends: libwfa2-0 (= ${binary:Version}),
+Depends: libwfa2-0t64 (= ${binary:Version}),
          ${shlibs:Depends},
          ${misc:Depends}
 Description: exact gap-affine algorithm (development)
diff -Nru libwfa2-2.3.3/debian/libwfa2-0.install libwfa2-2.3.3/debian/libwfa2-0.install
--- libwfa2-2.3.3/debian/libwfa2-0.install	2023-07-15 05:23:04.000000000 +0000
+++ libwfa2-2.3.3/debian/libwfa2-0.install	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib/*/libwfa2cpp.so.0
diff -Nru libwfa2-2.3.3/debian/libwfa2-0t64.install libwfa2-2.3.3/debian/libwfa2-0t64.install
--- libwfa2-2.3.3/debian/libwfa2-0t64.install	1970-01-01 00:00:00.000000000 +0000
+++ libwfa2-2.3.3/debian/libwfa2-0t64.install	2024-02-02 19:44:23.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/libwfa2cpp.so.0
diff -Nru libwfa2-2.3.3/debian/libwfa2-0t64.lintian-overrides libwfa2-2.3.3/debian/libwfa2-0t64.lintian-overrides
--- libwfa2-2.3.3/debian/libwfa2-0t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ libwfa2-2.3.3/debian/libwfa2-0t64.lintian-overrides	2024-02-02 19:44:23.000000000 +0000
@@ -0,0 +1 @@
+libwfa2-0t64: package-name-doesnt-match-sonames libwfa2-0
diff -Nru libwfa2-2.3.3/debian/rules libwfa2-2.3.3/debian/rules
--- libwfa2-2.3.3/debian/rules	2023-07-15 05:23:04.000000000 +0000
+++ libwfa2-2.3.3/debian/rules	2024-02-02 19:44:23.000000000 +0000
@@ -14,6 +14,7 @@
 override_dh_install:
 	dh_install
 	d-shlibmove --commit \
+		    --t64 \
 		    --multiarch \
 		    --devunversioned \
 		    --exclude-la \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20240229/388101b1/attachment-0001.sig>


More information about the Debian-med-packaging mailing list