Bug#1062456: ipset: NMU diff for 64-bit time_t transition

2024-02-25 Thread Steve Langasek
Control: reopen -1
Control: tags -1 + pending
Control: severity -1 serious

This was not meant to be uploaded to unstable yet.  The toolchain has not
been changed to turn on 64-bit time_t by default.  As a result, ipset now
has the new package names in unstable, but the old ABI.

The toolchain changes are expected to land by Wednesday, so a reupload of
ipset then with no source changes is sufficient to resolve the issue.  Or,
you can manually set DEB_BUILD_MAINT_OPTIONS=abi=+time64 now to make the ABI
of your library match the name.

-- 
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


signature.asc
Description: PGP signature


Bug#1062456: ipset: NMU diff for 64-bit time_t transition

2024-02-01 Thread Graham Inggs
Source: ipset
Version: 7.19-1
Severity: serious
Tags: patch pending
Justification: library ABI skew on upgrade
User: debian-...@lists.debian.org
Usertags: time-t

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
ipset 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 ipset
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 ipset-7.19/debian/changelog ipset-7.19/debian/changelog
--- ipset-7.19/debian/changelog 2023-10-28 06:00:43.0 +
+++ ipset-7.19/debian/changelog 2024-02-01 15:40:38.0 +
@@ -1,3 +1,10 @@
+ipset (7.19-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Graham Inggs   Thu, 01 Feb 2024 15:40:38 +
+
 ipset (7.19-1) unstable; urgency=medium
 
   * [a1552d1] New upstream version 7.19
diff -Nru ipset-7.19/debian/control ipset-7.19/debian/control
--- ipset-7.19/debian/control   2023-10-28 06:00:43.0 +
+++ ipset-7.19/debian/control   2024-02-01 15:40:37.0 +
@@ -42,7 +42,7 @@
 Section: libdevel
 Architecture: linux-any
 Multi-Arch: same
-Depends: libipset13 (= ${binary:Version}), libmnl-dev, ${misc:Depends}
+Depends: libipset13t64 (= ${binary:Version}), libmnl-dev, ${misc:Depends}
 Description: development files for IP sets
  IP sets are a framework inside the Linux 2.4.x and 2.6.x kernel which can be
  administered by the ipset(8) utility. Depending on the type, currently an
@@ -64,7 +64,10 @@
  This package contains the development libraries and header files you need to
  develop your programs using the IP sets library.
 
-Package: libipset13
+Package: libipset13t64
+Provides: ${t64:Provides}
+Replaces: libipset13
+Breaks: libipset13 (<< ${source:Version})
 Section: libs
 Architecture: linux-any
 Multi-Arch: same
diff -Nru ipset-7.19/debian/libipset13.install 
ipset-7.19/debian/libipset13.install
--- ipset-7.19/debian/libipset13.install2023-10-28 06:00:43.0 
+
+++ ipset-7.19/debian/libipset13.install1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib/*/*.so.*
diff -Nru ipset-7.19/debian/libipset13.symbols 
ipset-7.19/debian/libipset13.symbols
--- ipset-7.19/debian/libipset13.symbols2023-10-28 06:00:43.0 
+
+++ ipset-7.19/debian/libipset13.symbols1970-01-01 00:00:00.0 
+
@@ -1,162 +0,0 @@
-libipset.so.13 libipset13 #MINVER#
-* Build-Depends-Package: libipset-dev
- LIBIPSET_1.0@LIBIPSET_1.0 7.0-1~
- LIBIPSET_2.0@LIBIPSET_2.0 7.0-1~
- LIBIPSET_3.0@LIBIPSET_3.0 7.0-1~
- LIBIPSET_4.0@LIBIPSET_4.0 7.0-1~
- LIBIPSET_4.10@LIBIPSET_4.10 7.9-1~
- LIBIPSET_4.11@LIBIPSET_4.11 7.15-1~
- LIBIPSET_4.12@LIBIPSET_4.12 7.17-1~
- LIBIPSET_4.1@LIBIPSET_4.1 7.0-1~
- LIBIPSET_4.2@LIBIPSET_4.2 7.0-1~
- LIBIPSET_4.3@LIBIPSET_4.3 7.0-1~
- LIBIPSET_4.4@LIBIPSET_4.4 7.0-1~
- LIBIPSET_4.5@LIBIPSET_4.5 7.0-1~
- LIBIPSET_4.6@LIBIPSET_4.6 7.0-1~
- LIBIPSET_4.7@LIBIPSET_4.7 7.0-1~
- LIBIPSET_4.8@LIBIPSET_4.8 7.0-1~
- LIBIPSET_4.9@LIBIPSET_4.9 7.1-1~
- icmp_to_name@LIBIPSET_1.0 7.0-1~
- icmpv6_to_name@LIBIPSET_1.0 7.0-1~
- id_to_icmp@LIBIPSET_1.0 7.0-1~
- id_to_icmpv6@LIBIPSET_1.0 7.0-1~
- ipset_cache_add@LIBIPSET_1.0 7.0-1~
- ipset_cache_del@LIBIPSET_1.0 7.0-1~
- ipset_cache_fini@LIBIPSET_1.0 7.0-1~
- ipset_cache_init@LIBIPSET_1.0 7.0-1~
-