Source: sysprof
Version: 45.1-2
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
User: debian-...@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
sysprof 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 sysprof
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.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 sysprof-45.1/debian/changelog sysprof-45.1/debian/changelog
--- sysprof-45.1/debian/changelog       2023-10-24 21:21:44.000000000 +0000
+++ sysprof-45.1/debian/changelog       2024-02-04 07:27:54.000000000 +0000
@@ -1,3 +1,10 @@
+sysprof (45.1-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vor...@debian.org>  Sun, 04 Feb 2024 07:27:54 +0000
+
 sysprof (45.1-2) unstable; urgency=medium
 
   [ John David Anglin ]
diff -Nru sysprof-45.1/debian/control sysprof-45.1/debian/control
--- sysprof-45.1/debian/control 2023-10-24 21:21:44.000000000 +0000
+++ sysprof-45.1/debian/control 2024-02-04 07:27:54.000000000 +0000
@@ -37,7 +37,7 @@
 Architecture: linux-any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libsysprof-6-6 (= ${binary:Version}),
+         libsysprof-6-6t64 (= ${binary:Version}),
          libsysprof-6-modules (= ${binary:Version}),
 Build-Profiles: <!pkg.sysprof.nogui>
 Description: system-wide Linux profiler
@@ -52,7 +52,10 @@
   - shows the time spent in each branch of the call tree
   - profiles can be loaded and saved
 
-Package: libsysprof-6-6
+Package: libsysprof-6-6t64
+Provides: ${t64:Provides}
+Replaces: libsysprof-6-6
+Breaks: libsysprof-6-6 (<< ${source:Version})
 Section: libs
 Architecture: linux-any
 Multi-Arch: same
@@ -109,7 +112,7 @@
 Multi-Arch: same
 Depends: ${misc:Depends},
          libsysprof-capture-4-dev (= ${binary:Version}),
-         libsysprof-6-6 (= ${binary:Version}),
+         libsysprof-6-6t64 (= ${binary:Version}),
          libdex-dev (>= 0.3),
          libglib2.0-dev (>= 2.76.0),
          libjson-glib-dev,
diff -Nru sysprof-45.1/debian/control.in sysprof-45.1/debian/control.in
--- sysprof-45.1/debian/control.in      2023-10-24 21:21:44.000000000 +0000
+++ sysprof-45.1/debian/control.in      2024-02-04 07:27:54.000000000 +0000
@@ -33,7 +33,7 @@
 Architecture: linux-any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libsysprof-6-6 (= ${binary:Version}),
+         libsysprof-6-6t64 (= ${binary:Version}),
          libsysprof-6-modules (= ${binary:Version}),
 Build-Profiles: <!pkg.sysprof.nogui>
 Description: system-wide Linux profiler
@@ -48,7 +48,10 @@
   - shows the time spent in each branch of the call tree
   - profiles can be loaded and saved
 
-Package: libsysprof-6-6
+Package: libsysprof-6-6t64
+Provides: ${t64:Provides}
+Replaces: libsysprof-6-6
+Breaks: libsysprof-6-6 (<< ${source:Version})
 Section: libs
 Architecture: linux-any
 Multi-Arch: same
@@ -105,7 +108,7 @@
 Multi-Arch: same
 Depends: ${misc:Depends},
          libsysprof-capture-4-dev (= ${binary:Version}),
-         libsysprof-6-6 (= ${binary:Version}),
+         libsysprof-6-6t64 (= ${binary:Version}),
          libdex-dev (>= 0.3),
          libglib2.0-dev (>= 2.76.0),
          libjson-glib-dev,
diff -Nru sysprof-45.1/debian/libsysprof-6-6.install 
sysprof-45.1/debian/libsysprof-6-6.install
--- sysprof-45.1/debian/libsysprof-6-6.install  2023-10-24 21:21:44.000000000 
+0000
+++ sysprof-45.1/debian/libsysprof-6-6.install  1970-01-01 00:00:00.000000000 
+0000
@@ -1,2 +0,0 @@
-usr/lib/${DEB_HOST_MULTIARCH}/libsysprof-6.so.6
-usr/lib/${DEB_HOST_MULTIARCH}/libsysprof-6.so.6.*
diff -Nru sysprof-45.1/debian/libsysprof-6-6.symbols 
sysprof-45.1/debian/libsysprof-6-6.symbols
--- sysprof-45.1/debian/libsysprof-6-6.symbols  2023-10-24 21:21:44.000000000 
+0000
+++ sysprof-45.1/debian/libsysprof-6-6.symbols  1970-01-01 00:00:00.000000000 
+0000
@@ -1,5 +0,0 @@
-libsysprof-6.so.6 libsysprof-6-6 #MINVER#
-* Build-Depends-Package: libsysprof-6-dev
- sysprof_callgraph_category_get_type@Base 45~beta
- sysprof_callgraph_flags_get_type@Base 45~beta
- sysprof_recording_phase_get_type@Base 45~beta
diff -Nru sysprof-45.1/debian/libsysprof-6-6t64.install 
sysprof-45.1/debian/libsysprof-6-6t64.install
--- sysprof-45.1/debian/libsysprof-6-6t64.install       1970-01-01 
00:00:00.000000000 +0000
+++ sysprof-45.1/debian/libsysprof-6-6t64.install       2023-10-24 
21:21:44.000000000 +0000
@@ -0,0 +1,2 @@
+usr/lib/${DEB_HOST_MULTIARCH}/libsysprof-6.so.6
+usr/lib/${DEB_HOST_MULTIARCH}/libsysprof-6.so.6.*
diff -Nru sysprof-45.1/debian/libsysprof-6-6t64.lintian-overrides 
sysprof-45.1/debian/libsysprof-6-6t64.lintian-overrides
--- sysprof-45.1/debian/libsysprof-6-6t64.lintian-overrides     1970-01-01 
00:00:00.000000000 +0000
+++ sysprof-45.1/debian/libsysprof-6-6t64.lintian-overrides     2024-02-04 
07:27:54.000000000 +0000
@@ -0,0 +1 @@
+libsysprof-6-6t64: package-name-doesnt-match-sonames libsysprof-6-6
diff -Nru sysprof-45.1/debian/libsysprof-6-6t64.symbols 
sysprof-45.1/debian/libsysprof-6-6t64.symbols
--- sysprof-45.1/debian/libsysprof-6-6t64.symbols       1970-01-01 
00:00:00.000000000 +0000
+++ sysprof-45.1/debian/libsysprof-6-6t64.symbols       2024-02-04 
07:27:54.000000000 +0000
@@ -0,0 +1,5 @@
+libsysprof-6.so.6 libsysprof-6-6t64 #MINVER#
+* Build-Depends-Package: libsysprof-6-dev
+ sysprof_callgraph_category_get_type@Base 45~beta
+ sysprof_callgraph_flags_get_type@Base 45~beta
+ sysprof_recording_phase_get_type@Base 45~beta

Reply via email to