Bug#1062417: [Debian-med-packaging] Bug#1062417: libmialm: NMU diff for 64-bit time_t transition

2024-02-28 Thread Étienne Mollier
Benjamin Drung, on 2024-02-28:
> Please find attached a final version of this patch for the time_t
> transition.  This patch is being uploaded to unstable.

Acknowledged, thank you!  :)
-- 
  .''`.  Étienne Mollier 
 : :' :  pgp: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
 `. `'   sent from /dev/pts/1, please excuse my verbosity
   `-on air: Widow's Walk - Moonrise


signature.asc
Description: PGP signature


Bug#1062417: libmialm: NMU diff for 64-bit time_t transition

2024-02-28 Thread Benjamin Drung
Source: libmialm
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 libmialm-1.0.9/debian/changelog libmialm-1.0.9/debian/changelog
--- libmialm-1.0.9/debian/changelog 2020-11-10 17:03:07.0 +
+++ libmialm-1.0.9/debian/changelog 2024-02-28 14:11:37.0 +
@@ -1,3 +1,10 @@
+libmialm (1.0.9-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062417
+
+ -- Benjamin Drung   Wed, 28 Feb 2024 14:11:37 +
+
 libmialm (1.0.9-3) unstable; urgency=medium
 
   * Team upload.
diff -Nru libmialm-1.0.9/debian/control libmialm-1.0.9/debian/control
--- libmialm-1.0.9/debian/control   2020-11-10 17:03:07.0 +
+++ libmialm-1.0.9/debian/control   2024-02-28 14:11:37.0 +
@@ -3,7 +3,7 @@
 Uploaders: Gert Wollny 
 Section: science
 Priority: optional
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
libxml2-dev,
libglib2.0-dev,
pkg-config,
@@ -17,7 +17,7 @@
 Package: libmialm-dev
 Architecture: any
 Section: libdevel
-Depends: libmialm3 (= ${binary:Version}),
+Depends: libmialm3t64 (= ${binary:Version}),
  ${misc:Depends}
 Description: Development files for the MIA landmark library
  This library implements handling for landmarks and 3D view positioning
@@ -26,7 +26,10 @@
  This package contains the development files - headers, shared libraries,
  and pkg-config files.
 
-Package: libmialm3
+Package: libmialm3t64
+Provides: ${t64:Provides}
+Replaces: libmialm3
+Breaks: libmialm3 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: libs
diff -Nru libmialm-1.0.9/debian/libmialm3.install 
libmialm-1.0.9/debian/libmialm3.install
--- libmialm-1.0.9/debian/libmialm3.install 2020-11-10 17:03:07.0 
+
+++ libmialm-1.0.9/debian/libmialm3.install 1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru libmialm-1.0.9/debian/libmialm3.symbols 
libmialm-1.0.9/debian/libmialm3.symbols
--- libmialm-1.0.9/debian/libmialm3.symbols 2020-11-10 17:03:07.0 
+
+++ libmialm-1.0.9/debian/libmialm3.symbols 1970-01-01 00:00:00.0 
+
@@ -1,93 +0,0 @@
-libmialm.so.3 libmialm3 #MINVER#
- __cleanup_parserstate@Base 1.0.7
- __clear_location@Base 1.0.7
- camera_parser_tags@Base 1.0.7
- landmark_parser_tags@Base 1.0.7
- landmarklist_parser_tags@Base 1.0.7
- mia_camera_copy@Base 1.0.7
- mia_camera_dup@Base 1.0.7
- mia_camera_get_dist@Base 1.0.7
- mia_camera_get_location@Base 1.0.7
- mia_camera_get_rotation@Base 1.0.7
- mia_camera_get_type@Base 1.0.7
- mia_camera_get_zoom@Base 1.0.7
- mia_camera_new@Base 1.0.7
- mia_camera_set_dist@Base 1.0.7
- mia_camera_set_location@Base 1.0.7
- mia_camera_set_rotation@Base 1.0.7
- mia_camera_set_zoom@Base 1.0.7
- mia_camera_xmlio_write@Base 1.0.7
- mia_landmark_camera_property@Base 1.0.7
- mia_landmark_get_camera@Base 1.0.7
- mia_landmark_get_iso_value@Base 1.0.7
- mia_landmark_get_location@Base 1.0.7
- mia_landmark_get_name@Base 1.0.7
- mia_landmark_get_picfile@Base 1.0.7
- mia_landmark_get_type@Base 1.0.7
- mia_landmark_isovalue_property@Base 1.0.7
- mia_landmark_location_property@Base 1.0.7
- mia_landmark_name_property@Base 1.0.7
- mia_landmark_new@Base 1.0.7
- mia_landmark_picfile_property@Base 1.0.7
- mia_landmark_set_camera@Base 1.0.7
- mia_landmark_set_iso_value@Base 1.0.7
- mia_landmark_set_location@Base 1.0.7
- mia_landmark_set_name@Base 1.0.7
- mia_landmark_set_picfile@Base 1.0.7
- mia_landmark_xmlio_write@Base 1.0.7
- mia_landmarklist_clear_locations@Base 1.0.7
- mia_landmarklist_delete_landmark@Base 1.0.7
- mia_landmarklist_foreach@Base 1.0.7
- mia_landmarklist_get_landmark@Base 1.0.7
- mia_landmarklist_get_name@Base 1.0.7
- mia_landmarklist_get_selected@Base 1.0.7
- mia_landmarklist_get_type@Base 1.0.7
- mia_landmarklist_insert@Base 1.0.7
- mia_landmarklist_new@Base 1.0.7
- mia_landmarklist_new_from_file@Base 1.0.7
- mia_landmarklist_save@Base 1.0.7
- mia_landmarklist_set_name@Base 1.0.7
- mia_landmarklist_set_selected@Base 1.0.7
- mia_landmarklist_test@Base 1.0.7
- mia_landmarklist_xmlio_write@Base 1.0.7
- mia_quaternion_add@Base 1.0.7
- mia_quaternion_addup@Base 1.0.7
- mia_quaternion_copy@Base 1.0.7
- mia_quaternion_dup@Base 

Bug#1062417: libmialm: NMU diff for 64-bit time_t transition

2024-02-01 Thread Steve Langasek
Source: libmialm
Version: 1.0.9-3
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
libmialm 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 libmialm
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 libmialm-1.0.9/debian/changelog libmialm-1.0.9/debian/changelog
--- libmialm-1.0.9/debian/changelog 2020-11-10 17:03:07.0 +
+++ libmialm-1.0.9/debian/changelog 2024-02-01 09:56:28.0 +
@@ -1,3 +1,10 @@
+libmialm (1.0.9-3.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Thu, 01 Feb 2024 09:56:28 +
+
 libmialm (1.0.9-3) unstable; urgency=medium
 
   * Team upload.
diff -Nru libmialm-1.0.9/debian/control libmialm-1.0.9/debian/control
--- libmialm-1.0.9/debian/control   2020-11-10 17:03:07.0 +
+++ libmialm-1.0.9/debian/control   2024-02-01 09:56:28.0 +
@@ -17,7 +17,7 @@
 Package: libmialm-dev
 Architecture: any
 Section: libdevel
-Depends: libmialm3 (= ${binary:Version}),
+Depends: libmialm3t64 (= ${binary:Version}),
  ${misc:Depends}
 Description: Development files for the MIA landmark library
  This library implements handling for landmarks and 3D view positioning
@@ -26,7 +26,10 @@
  This package contains the development files - headers, shared libraries,
  and pkg-config files.
 
-Package: libmialm3
+Package: libmialm3t64
+Provides: ${t64:Provides}
+Replaces: libmialm3
+Breaks: libmialm3 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: libs
diff -Nru libmialm-1.0.9/debian/libmialm3.install 
libmialm-1.0.9/debian/libmialm3.install
--- libmialm-1.0.9/debian/libmialm3.install 2020-11-10 17:03:07.0 
+
+++ libmialm-1.0.9/debian/libmialm3.install 1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru libmialm-1.0.9/debian/libmialm3.symbols 
libmialm-1.0.9/debian/libmialm3.symbols
--- libmialm-1.0.9/debian/libmialm3.symbols 2020-11-10 17:03:07.0 
+
+++ libmialm-1.0.9/debian/libmialm3.symbols 1970-01-01 00:00:00.0 
+
@@ -1,93 +0,0 @@
-libmialm.so.3 libmialm3 #MINVER#
- __cleanup_parserstate@Base 1.0.7
- __clear_location@Base 1.0.7
- camera_parser_tags@Base 1.0.7
- landmark_parser_tags@Base 1.0.7
- landmarklist_parser_tags@Base 1.0.7
- mia_camera_copy@Base 1.0.7
- mia_camera_dup@Base 1.0.7
- mia_camera_get_dist@Base 1.0.7
- mia_camera_get_location@Base 1.0.7
- mia_camera_get_rotation@Base 1.0.7
- mia_camera_get_type@Base 1.0.7
- mia_camera_get_zoom@Base 1.0.7
- mia_camera_new@Base 1.0.7
- mia_camera_set_dist@Base 1.0.7
- mia_camera_set_location@Base 1.0.7
- mia_camera_set_rotation@Base 1.0.7
- mia_camera_set_zoom@Base 1.0.7
- mia_camera_xmlio_write@Base 1.0.7
- mia_landmark_camera_property@Base 1.0.7
- mia_landmark_get_camera@Base 1.0.7
- mia_landmark_get_iso_value@Base 1.0.7
- mia_landmark_get_location@Base 1.0.7
- mia_landmark_get_name@Base 1.0.7
- mia_landmark_get_picfile@Base 1.0.7
- mia_landmark_get_type@Base 1.0.7
- mia_landmark_isovalue_property@Base 1.0.7
- mia_landmark_location_property@Base