Bug#1062313: libgisi: NMU diff for 64-bit time_t transition

2024-02-28 Thread Benjamin Drung
Source: libgisi
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 libgisi-0.1.0/debian/changelog libgisi-0.1.0/debian/changelog
--- libgisi-0.1.0/debian/changelog  2013-08-15 15:19:54.0 +
+++ libgisi-0.1.0/debian/changelog  2024-02-28 12:16:59.0 +
@@ -1,3 +1,10 @@
+libgisi (0.1.0-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062313
+
+ -- Benjamin Drung   Wed, 28 Feb 2024 12:16:59 +
+
 libgisi (0.1.0-2) unstable; urgency=low
 
   * Only build on linux-any, since the code uses rtnetlink features
diff -Nru libgisi-0.1.0/debian/control libgisi-0.1.0/debian/control
--- libgisi-0.1.0/debian/control2013-08-15 15:19:54.0 +
+++ libgisi-0.1.0/debian/control2024-02-28 12:16:59.0 +
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Sebastian Reichel 
 Standards-Version: 3.9.8
-Build-Depends: debhelper (>= 9~),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>= 9~),
dh-autoreconf,
libglib2.0-dev (>= 2.18.0~),
valac (>= 0.12.1)
@@ -11,7 +11,10 @@
 Vcs-Git: https://anonscm.debian.org/cgit/pkg-fso/libgisi.git/
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-fso/libgisi.git/
 
-Package: libgisi0
+Package: libgisi0t64
+Provides: ${t64:Provides}
+Replaces: libgisi0
+Breaks: libgisi0 (<< ${source:Version})
 Architecture: linux-any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -28,7 +31,7 @@
 Section: libdevel
 Architecture: linux-any
 Depends: ${misc:Depends},
- libgisi0 (= ${binary:Version})
+ libgisi0t64 (= ${binary:Version})
 Description: low-level communication library for ISI modems (devel files)
  libgisi is a low level library for communicating with
  ISI devices, such as the modem found in some Nokia devices.
@@ -38,7 +41,10 @@
  .
  This package contains the development files for the library.
 
-Package: libgisicomm0
+Package: libgisicomm0t64
+Provides: ${t64:Provides}
+Replaces: libgisicomm0
+Breaks: libgisicomm0 (<< ${source:Version})
 Architecture: linux-any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -55,7 +61,7 @@
 Section: libdevel
 Architecture: linux-any
 Depends: ${misc:Depends},
- libgisicomm0 (= ${binary:Version}),
+ libgisicomm0t64 (= ${binary:Version}),
  libgisi-dev
 Description: high-level communication library for ISI modems (devel files)
  libgisicomm is a high level library for communicating with
diff -Nru libgisi-0.1.0/debian/libgisi0.install 
libgisi-0.1.0/debian/libgisi0.install
--- libgisi-0.1.0/debian/libgisi0.install   2013-08-15 15:19:54.0 
+
+++ libgisi-0.1.0/debian/libgisi0.install   1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-/usr/lib/*/libgisi.so.*
diff -Nru libgisi-0.1.0/debian/libgisi0.symbols 
libgisi-0.1.0/debian/libgisi0.symbols
--- libgisi-0.1.0/debian/libgisi0.symbols   2013-08-15 15:19:54.0 
+
+++ libgisi-0.1.0/debian/libgisi0.symbols   1970-01-01 00:00:00.0 
+
@@ -1,106 +0,0 @@
-libgisi.so.0 libgisi0 #MINVER#
- g_isi_client_create@Base 0.1.0
- g_isi_client_destroy@Base 0.1.0
- g_isi_client_ind_subscribe@Base 0.1.0
- g_isi_client_modem@Base 0.1.0
- g_isi_client_ntf_subscribe@Base 0.1.0
- g_isi_client_reset@Base 0.1.0
- g_isi_client_resource@Base 0.1.0
- g_isi_client_send@Base 0.1.0
- g_isi_client_send_with_timeout@Base 0.1.0
- g_isi_client_set_timeout@Base 0.1.0
- g_isi_client_verify@Base 0.1.0
- g_isi_client_vsend@Base 0.1.0
- g_isi_client_vsend_with_timeout@Base 0.1.0
- g_isi_ind_subscribe@Base 0.1.0
- g_isi_modem_create@Base 0.1.0
- g_isi_modem_create_by_name@Base 0.1.0
- g_isi_modem_destroy@Base 0.1.0
- g_isi_modem_device@Base 0.1.0
- g_isi_modem_flags@Base 0.1.0
- g_isi_modem_get_userdata@Base 0.1.0
- g_isi_modem_index@Base 0.1.0
- g_isi_modem_send@Base 0.1.0
- g_isi_modem_sendto@Base 0.1.0
- g_isi_modem_set_debug@Base 0.1.0
- g_isi_modem_set_device@Base 0.1.0
- g_isi_modem_set_flags@Base 0.1.0
- g_isi_modem_set_trace@Base 0.1.0
- g_isi_modem_set_userdata@Base 0.1.0
- g_isi_modem_vsend@Base 0.1.0
- g_isi_modem_vsendto@Base 0.1.0
- g_isi_msg_data@Base 0.1.0
- g_isi_msg_data_get_byte@Base 0.1.0
- g_isi_msg_data_get_struct@Base 0.1.0
- g_isi_msg_data_get_word@Base 0.1.0
- g_isi_msg_data_len@Base 0.1.0
- 

Bug#1062313: libgisi: NMU diff for 64-bit time_t transition

2024-01-31 Thread Steve Langasek
Source: libgisi
Version: 0.1.0-2
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
libgisi 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 libgisi
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'), (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)
diff -Nru libgisi-0.1.0/debian/changelog libgisi-0.1.0/debian/changelog
--- libgisi-0.1.0/debian/changelog  2013-08-15 15:19:54.0 +
+++ libgisi-0.1.0/debian/changelog  2024-02-01 01:32:03.0 +
@@ -1,3 +1,10 @@
+libgisi (0.1.0-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Thu, 01 Feb 2024 01:32:03 +
+
 libgisi (0.1.0-2) unstable; urgency=low
 
   * Only build on linux-any, since the code uses rtnetlink features
diff -Nru libgisi-0.1.0/debian/control libgisi-0.1.0/debian/control
--- libgisi-0.1.0/debian/control2013-08-15 15:19:54.0 +
+++ libgisi-0.1.0/debian/control2024-02-01 01:32:02.0 +
@@ -11,7 +11,10 @@
 Vcs-Git: https://anonscm.debian.org/cgit/pkg-fso/libgisi.git/
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-fso/libgisi.git/
 
-Package: libgisi0
+Package: libgisi0t64
+Provides: ${t64:Provides}
+Replaces: libgisi0
+Breaks: libgisi0 (<< ${source:Version})
 Architecture: linux-any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -28,7 +31,7 @@
 Section: libdevel
 Architecture: linux-any
 Depends: ${misc:Depends},
- libgisi0 (= ${binary:Version})
+ libgisi0t64 (= ${binary:Version})
 Description: low-level communication library for ISI modems (devel files)
  libgisi is a low level library for communicating with
  ISI devices, such as the modem found in some Nokia devices.
@@ -38,7 +41,10 @@
  .
  This package contains the development files for the library.
 
-Package: libgisicomm0
+Package: libgisicomm0t64
+Provides: ${t64:Provides}
+Replaces: libgisicomm0
+Breaks: libgisicomm0 (<< ${source:Version})
 Architecture: linux-any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -55,7 +61,7 @@
 Section: libdevel
 Architecture: linux-any
 Depends: ${misc:Depends},
- libgisicomm0 (= ${binary:Version}),
+ libgisicomm0t64 (= ${binary:Version}),
  libgisi-dev
 Description: high-level communication library for ISI modems (devel files)
  libgisicomm is a high level library for communicating with
diff -Nru libgisi-0.1.0/debian/libgisi0.install 
libgisi-0.1.0/debian/libgisi0.install
--- libgisi-0.1.0/debian/libgisi0.install   2013-08-15 15:19:54.0 
+
+++ libgisi-0.1.0/debian/libgisi0.install   1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-/usr/lib/*/libgisi.so.*
diff -Nru libgisi-0.1.0/debian/libgisi0.symbols 
libgisi-0.1.0/debian/libgisi0.symbols
--- libgisi-0.1.0/debian/libgisi0.symbols   2013-08-15 15:19:54.0 
+
+++ libgisi-0.1.0/debian/libgisi0.symbols   1970-01-01 00:00:00.0 
+
@@ -1,106 +0,0 @@
-libgisi.so.0 libgisi0 #MINVER#
- g_isi_client_create@Base 0.1.0
- g_isi_client_destroy@Base 0.1.0
- g_isi_client_ind_subscribe@Base 0.1.0
- g_isi_client_modem@Base 0.1.0
- g_isi_client_ntf_subscribe@Base