[Debian-mobcom-maintainers] Bug#1063177: osmo-hlr: NMU diff for 64-bit time_t transition

Lucas Kanashiro kanashiro at debian.org
Mon Feb 5 16:06:33 GMT 2024


Source: osmo-hlr
Version: 1.5.0+dfsg1-3
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
osmo-hlr 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 osmo-hlr
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')
Architecture: amd64 (x86_64)

Kernel: Linux 6.2.0-39-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, 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)
-------------- next part --------------
diff -Nru osmo-hlr-1.5.0+dfsg1/debian/changelog osmo-hlr-1.5.0+dfsg1/debian/changelog
--- osmo-hlr-1.5.0+dfsg1/debian/changelog	2022-10-15 07:42:29.000000000 -0300
+++ osmo-hlr-1.5.0+dfsg1/debian/changelog	2024-02-05 13:04:59.000000000 -0300
@@ -1,3 +1,10 @@
+osmo-hlr (1.5.0+dfsg1-3.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Lucas Kanashiro <kanashiro at debian.org>  Mon, 05 Feb 2024 13:04:59 -0300
+
 osmo-hlr (1.5.0+dfsg1-3) unstable; urgency=medium
 
   * debian/rules: configure with --with-systemdsystemunitdir=no
diff -Nru osmo-hlr-1.5.0+dfsg1/debian/control osmo-hlr-1.5.0+dfsg1/debian/control
--- osmo-hlr-1.5.0+dfsg1/debian/control	2022-10-15 07:42:29.000000000 -0300
+++ osmo-hlr-1.5.0+dfsg1/debian/control	2024-02-05 13:04:59.000000000 -0300
@@ -25,7 +25,10 @@
  which works over GSUP protocol. The subscribers are store in sqlite DB.
  It supports both 2G and 3G authentication.
 
-Package: libosmo-gsup-client0
+Package: libosmo-gsup-client0t64
+Provides: ${t64:Provides}
+Replaces: libosmo-gsup-client0
+Breaks: libosmo-gsup-client0 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -42,7 +45,7 @@
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends},
-	 libosmo-gsup-client0 (= ${binary:Version}),
+	 libosmo-gsup-client0t64 (= ${binary:Version}),
 	 libosmocore-dev
 Description: Development headers of Osmocom GSUP client library
  This is a shared library that can be used to implement client programs for
@@ -51,7 +54,10 @@
  .
  This package contains the development headers.
 
-Package: libosmo-mslookup0
+Package: libosmo-mslookup0t64
+Provides: ${t64:Provides}
+Replaces: libosmo-mslookup0
+Breaks: libosmo-mslookup0 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -68,7 +74,7 @@
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends},
-	 libosmo-mslookup0 (= ${binary:Version}),
+	 libosmo-mslookup0t64 (= ${binary:Version}),
 	 libosmocore-dev
 Pre-Depends: ${misc:Pre-Depends}
 Description: Development headers of Osmocom MS lookup library
@@ -81,7 +87,7 @@
 Architecture: any
 Section: utils
 Depends: ${shlibs:Depends},
-	 libosmo-mslookup0 (= ${binary:Version}),
+	 libosmo-mslookup0t64 (= ${binary:Version}),
          ${misc:Depends}
 Description: Utilities for Osmocom MS lookup
  The shared library libosmo-mslookup contains routines for looking up
diff -Nru osmo-hlr-1.5.0+dfsg1/debian/libosmo-gsup-client0.install osmo-hlr-1.5.0+dfsg1/debian/libosmo-gsup-client0.install
--- osmo-hlr-1.5.0+dfsg1/debian/libosmo-gsup-client0.install	2022-10-15 07:42:29.000000000 -0300
+++ osmo-hlr-1.5.0+dfsg1/debian/libosmo-gsup-client0.install	1969-12-31 21:00:00.000000000 -0300
@@ -1 +0,0 @@
-usr/lib/*/libosmo-gsup-client*.so.*
diff -Nru osmo-hlr-1.5.0+dfsg1/debian/libosmo-gsup-client0.symbols osmo-hlr-1.5.0+dfsg1/debian/libosmo-gsup-client0.symbols
--- osmo-hlr-1.5.0+dfsg1/debian/libosmo-gsup-client0.symbols	2022-10-15 07:42:29.000000000 -0300
+++ osmo-hlr-1.5.0+dfsg1/debian/libosmo-gsup-client0.symbols	1969-12-31 21:00:00.000000000 -0300
@@ -1,30 +0,0 @@
-libosmo-gsup-client.so.0 libosmo-gsup-client0 #MINVER#
-* Build-Depends-Package: libosmo-gsup-client-dev
- _osmo_gsup_req_respond at Base 1.4.0
- _osmo_gsup_req_respond_err at Base 1.4.0
- _osmo_gsup_req_respond_msgt at Base 1.4.0
- osmo_cni_peer_id_cmp at Base 1.4.0
- osmo_cni_peer_id_is_empty at Base 1.4.0
- osmo_cni_peer_id_set at Base 1.4.0
- osmo_cni_peer_id_set_str at Base 1.4.0
- osmo_cni_peer_id_to_str at Base 1.4.0
- osmo_cni_peer_id_to_str_c at Base 1.4.0
- osmo_cni_peer_id_type_names at Base 1.4.0
- osmo_gsup_client_create2 at Base 1.2.0
- osmo_gsup_client_create3 at Base 1.4.0
- osmo_gsup_client_create at Base 1.2.0
- osmo_gsup_client_destroy at Base 1.2.0
- osmo_gsup_client_enc_send at Base 1.2.0
- osmo_gsup_client_msgb_alloc at Base 1.2.0
- osmo_gsup_client_send at Base 1.2.0
- osmo_gsup_make_response at Base 1.4.0
- osmo_gsup_message_to_str_buf at Base 1.4.0
- osmo_gsup_message_to_str_c at Base 1.4.0
- osmo_gsup_req_free at Base 1.4.0
- osmo_gsup_req_new at Base 1.4.0
- osmo_ipa_name_cmp at Base 1.4.0
- osmo_ipa_name_is_empty at Base 1.4.0
- osmo_ipa_name_set at Base 1.4.0
- osmo_ipa_name_set_str at Base 1.4.0
- osmo_ipa_name_to_str at Base 1.4.0
- osmo_ipa_name_to_str_c at Base 1.4.0
diff -Nru osmo-hlr-1.5.0+dfsg1/debian/libosmo-gsup-client0t64.install osmo-hlr-1.5.0+dfsg1/debian/libosmo-gsup-client0t64.install
--- osmo-hlr-1.5.0+dfsg1/debian/libosmo-gsup-client0t64.install	1969-12-31 21:00:00.000000000 -0300
+++ osmo-hlr-1.5.0+dfsg1/debian/libosmo-gsup-client0t64.install	2022-10-15 07:42:29.000000000 -0300
@@ -0,0 +1 @@
+usr/lib/*/libosmo-gsup-client*.so.*
diff -Nru osmo-hlr-1.5.0+dfsg1/debian/libosmo-gsup-client0t64.lintian-overrides osmo-hlr-1.5.0+dfsg1/debian/libosmo-gsup-client0t64.lintian-overrides
--- osmo-hlr-1.5.0+dfsg1/debian/libosmo-gsup-client0t64.lintian-overrides	1969-12-31 21:00:00.000000000 -0300
+++ osmo-hlr-1.5.0+dfsg1/debian/libosmo-gsup-client0t64.lintian-overrides	2024-02-05 13:04:59.000000000 -0300
@@ -0,0 +1 @@
+libosmo-gsup-client0t64: package-name-doesnt-match-sonames libosmo-gsup-client0
diff -Nru osmo-hlr-1.5.0+dfsg1/debian/libosmo-gsup-client0t64.symbols osmo-hlr-1.5.0+dfsg1/debian/libosmo-gsup-client0t64.symbols
--- osmo-hlr-1.5.0+dfsg1/debian/libosmo-gsup-client0t64.symbols	1969-12-31 21:00:00.000000000 -0300
+++ osmo-hlr-1.5.0+dfsg1/debian/libosmo-gsup-client0t64.symbols	2024-02-05 13:04:59.000000000 -0300
@@ -0,0 +1,30 @@
+libosmo-gsup-client.so.0 libosmo-gsup-client0t64 #MINVER#
+* Build-Depends-Package: libosmo-gsup-client-dev
+ _osmo_gsup_req_respond at Base 1.4.0
+ _osmo_gsup_req_respond_err at Base 1.4.0
+ _osmo_gsup_req_respond_msgt at Base 1.4.0
+ osmo_cni_peer_id_cmp at Base 1.4.0
+ osmo_cni_peer_id_is_empty at Base 1.4.0
+ osmo_cni_peer_id_set at Base 1.4.0
+ osmo_cni_peer_id_set_str at Base 1.4.0
+ osmo_cni_peer_id_to_str at Base 1.4.0
+ osmo_cni_peer_id_to_str_c at Base 1.4.0
+ osmo_cni_peer_id_type_names at Base 1.4.0
+ osmo_gsup_client_create2 at Base 1.2.0
+ osmo_gsup_client_create3 at Base 1.4.0
+ osmo_gsup_client_create at Base 1.2.0
+ osmo_gsup_client_destroy at Base 1.2.0
+ osmo_gsup_client_enc_send at Base 1.2.0
+ osmo_gsup_client_msgb_alloc at Base 1.2.0
+ osmo_gsup_client_send at Base 1.2.0
+ osmo_gsup_make_response at Base 1.4.0
+ osmo_gsup_message_to_str_buf at Base 1.4.0
+ osmo_gsup_message_to_str_c at Base 1.4.0
+ osmo_gsup_req_free at Base 1.4.0
+ osmo_gsup_req_new at Base 1.4.0
+ osmo_ipa_name_cmp at Base 1.4.0
+ osmo_ipa_name_is_empty at Base 1.4.0
+ osmo_ipa_name_set at Base 1.4.0
+ osmo_ipa_name_set_str at Base 1.4.0
+ osmo_ipa_name_to_str at Base 1.4.0
+ osmo_ipa_name_to_str_c at Base 1.4.0
diff -Nru osmo-hlr-1.5.0+dfsg1/debian/libosmo-mslookup0.install osmo-hlr-1.5.0+dfsg1/debian/libosmo-mslookup0.install
--- osmo-hlr-1.5.0+dfsg1/debian/libosmo-mslookup0.install	2022-10-15 07:42:29.000000000 -0300
+++ osmo-hlr-1.5.0+dfsg1/debian/libosmo-mslookup0.install	1969-12-31 21:00:00.000000000 -0300
@@ -1 +0,0 @@
-usr/lib/*/libosmo-mslookup*.so.*
diff -Nru osmo-hlr-1.5.0+dfsg1/debian/libosmo-mslookup0t64.install osmo-hlr-1.5.0+dfsg1/debian/libosmo-mslookup0t64.install
--- osmo-hlr-1.5.0+dfsg1/debian/libosmo-mslookup0t64.install	1969-12-31 21:00:00.000000000 -0300
+++ osmo-hlr-1.5.0+dfsg1/debian/libosmo-mslookup0t64.install	2022-10-15 07:42:29.000000000 -0300
@@ -0,0 +1 @@
+usr/lib/*/libosmo-mslookup*.so.*
diff -Nru osmo-hlr-1.5.0+dfsg1/debian/libosmo-mslookup0t64.lintian-overrides osmo-hlr-1.5.0+dfsg1/debian/libosmo-mslookup0t64.lintian-overrides
--- osmo-hlr-1.5.0+dfsg1/debian/libosmo-mslookup0t64.lintian-overrides	1969-12-31 21:00:00.000000000 -0300
+++ osmo-hlr-1.5.0+dfsg1/debian/libosmo-mslookup0t64.lintian-overrides	2024-02-05 13:04:59.000000000 -0300
@@ -0,0 +1 @@
+libosmo-mslookup0t64: package-name-doesnt-match-sonames libosmo-mslookup0


More information about the Debian-mobcom-maintainers mailing list