[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1063160: ncap: NMU diff for 64-bit time_t transition



Source: ncap
Version: 1.9.2-8
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
User: debian-arm@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
ncap 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 ncap
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 ncap-1.9.2/debian/changelog ncap-1.9.2/debian/changelog
--- ncap-1.9.2/debian/changelog	2022-09-12 04:28:32.000000000 +0000
+++ ncap-1.9.2/debian/changelog	2024-02-05 13:50:40.000000000 +0000
@@ -1,3 +1,10 @@
+ncap (1.9.2-8.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Graham Inggs <ginggs@debian.org>  Mon, 05 Feb 2024 13:50:40 +0000
+
 ncap (1.9.2-8) unstable; urgency=medium
 
   * QA upload.
diff -Nru ncap-1.9.2/debian/control ncap-1.9.2/debian/control
--- ncap-1.9.2/debian/control	2020-09-12 20:47:14.000000000 +0000
+++ ncap-1.9.2/debian/control	2024-02-05 13:50:40.000000000 +0000
@@ -11,7 +11,10 @@
 Vcs-Browser: https://salsa.debian.org/debian/ncap
 Vcs-Git: https://salsa.debian.org/debian/ncap.git
 
-Package: libncap44
+Package: libncap44t64
+Provides: ${t64:Provides}
+Replaces: libncap44
+Breaks: libncap44 (<< ${source:Version})
 Section: libs
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
@@ -29,7 +32,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libncap44 (= ${binary:Version}), ${misc:Depends}
+Depends: libncap44t64 (= ${binary:Version}), ${misc:Depends}
 Description: static library and header files for libncap
  ncap is a network capture library like libpcap (on which it is based)
  and tcpdump. It produces binary data in its own ncap format, which can
diff -Nru ncap-1.9.2/debian/libncap44.install ncap-1.9.2/debian/libncap44.install
--- ncap-1.9.2/debian/libncap44.install	2020-09-12 20:44:16.000000000 +0000
+++ ncap-1.9.2/debian/libncap44.install	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-usr/lib/*/libncap*.so.*
-usr/share/man/man3/ncap.3
diff -Nru ncap-1.9.2/debian/libncap44.symbols ncap-1.9.2/debian/libncap44.symbols
--- ncap-1.9.2/debian/libncap44.symbols	2020-09-12 20:44:16.000000000 +0000
+++ ncap-1.9.2/debian/libncap44.symbols	1970-01-01 00:00:00.000000000 +0000
@@ -1,8 +0,0 @@
-libncap.so.44 libncap44 #MINVER#
-* Build-Depends-Package: libncap-dev
- ncap_addrule@Base 1.9.2
- ncap_asprintf@Base 1.9.2
- ncap_create@Base 1.9.2
- ncap_filter_dns@Base 1.9.2
- ncap_filter_icmp@Base 1.9.2
- ncap_vasprintf@Base 1.9.2
diff -Nru ncap-1.9.2/debian/libncap44t64.install ncap-1.9.2/debian/libncap44t64.install
--- ncap-1.9.2/debian/libncap44t64.install	1970-01-01 00:00:00.000000000 +0000
+++ ncap-1.9.2/debian/libncap44t64.install	2020-09-12 20:44:16.000000000 +0000
@@ -0,0 +1,2 @@
+usr/lib/*/libncap*.so.*
+usr/share/man/man3/ncap.3
diff -Nru ncap-1.9.2/debian/libncap44t64.lintian-overrides ncap-1.9.2/debian/libncap44t64.lintian-overrides
--- ncap-1.9.2/debian/libncap44t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ ncap-1.9.2/debian/libncap44t64.lintian-overrides	2024-02-05 13:50:40.000000000 +0000
@@ -0,0 +1 @@
+libncap44t64: package-name-doesnt-match-sonames libncap44
diff -Nru ncap-1.9.2/debian/libncap44t64.symbols ncap-1.9.2/debian/libncap44t64.symbols
--- ncap-1.9.2/debian/libncap44t64.symbols	1970-01-01 00:00:00.000000000 +0000
+++ ncap-1.9.2/debian/libncap44t64.symbols	2024-02-05 13:50:40.000000000 +0000
@@ -0,0 +1,8 @@
+libncap.so.44 libncap44t64 #MINVER#
+* Build-Depends-Package: libncap-dev
+ ncap_addrule@Base 1.9.2
+ ncap_asprintf@Base 1.9.2
+ ncap_create@Base 1.9.2
+ ncap_filter_dns@Base 1.9.2
+ ncap_filter_icmp@Base 1.9.2
+ ncap_vasprintf@Base 1.9.2

Reply to: