Bug#1063067: wimlib: NMU diff for 64-bit time_t transition

2024-02-28 Thread Steve Langasek
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-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 wimlib-1.14.4/debian/changelog wimlib-1.14.4/debian/changelog
--- wimlib-1.14.4/debian/changelog  2024-02-26 10:33:04.0 +
+++ wimlib-1.14.4/debian/changelog  2024-02-29 02:00:16.0 +
@@ -1,3 +1,10 @@
+wimlib (1.14.4-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063067
+
+ -- Steve Langasek   Thu, 29 Feb 2024 02:00:16 +
+
 wimlib (1.14.4-1) unstable; urgency=medium
 
   * New upstream version 1.14.4
diff -Nru wimlib-1.14.4/debian/control wimlib-1.14.4/debian/control
--- wimlib-1.14.4/debian/control2023-04-24 18:10:19.0 +
+++ wimlib-1.14.4/debian/control2024-02-29 02:00:16.0 +
@@ -1,7 +1,7 @@
 Source: wimlib
 Priority: optional
 Maintainer: Hilko Bengen 
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
  attr,
  attr-dev,
  doxygen,
@@ -16,7 +16,10 @@
 Vcs-Git: https://salsa.debian.org/debian/wimlib.git
 Vcs-Browser: https://salsa.debian.org/debian/wimlib
 
-Package: libwim15
+Package: libwim15t64
+Provides: ${t64:Provides}
+Replaces: libwim15
+Breaks: libwim15 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -49,7 +52,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libwim15 (= ${binary:Version}), ${misc:Depends}
+Depends: libwim15t64 (= ${binary:Version}), ${misc:Depends}
 Suggests: wimlib-doc
 Description: Library for manipulating Windows Imaging files - development files
  wimlib is a C library for extracting, creating, modifying, and
diff -Nru wimlib-1.14.4/debian/libwim15.install 
wimlib-1.14.4/debian/libwim15.install
--- wimlib-1.14.4/debian/libwim15.install   2021-04-20 07:20:28.0 
+
+++ wimlib-1.14.4/debian/libwim15.install   1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib/*-*/libwim.so.*
diff -Nru wimlib-1.14.4/debian/libwim15.symbols 
wimlib-1.14.4/debian/libwim15.symbols
--- wimlib-1.14.4/debian/libwim15.symbols   2024-02-26 10:32:45.0 
+
+++ wimlib-1.14.4/debian/libwim15.symbols   1970-01-01 00:00:00.0 
+
@@ -1,73 +0,0 @@
-libwim.so.15 libwim15 #MINVER#
- wimlib_add_empty_image@Base 1.8.1
- wimlib_add_image@Base 1.8.1
- wimlib_add_image_multisource@Base 1.8.1
- wimlib_add_tree@Base 1.8.1
- wimlib_compress@Base 1.8.1
- wimlib_create_compressor@Base 1.8.1
- wimlib_create_decompressor@Base 1.8.1
- wimlib_create_new_wim@Base 1.8.1
- wimlib_decompress@Base 1.8.1
- wimlib_delete_image@Base 1.8.1
- wimlib_delete_path@Base 1.8.1
- wimlib_export_image@Base 1.8.1
- wimlib_extract_image@Base 1.8.1
- wimlib_extract_image_from_pipe@Base 1.8.1
- wimlib_extract_image_from_pipe_with_progress@Base 1.8.1
- wimlib_extract_pathlist@Base 1.8.1
- wimlib_extract_paths@Base 1.8.1
- wimlib_extract_xml_data@Base 1.8.1
- wimlib_free@Base 1.8.1
- wimlib_free_compressor@Base 1.8.1
- wimlib_free_decompressor@Base 1.8.1
- wimlib_get_compression_type_string@Base 1.8.1
- wimlib_get_compressor_needed_memory@Base 1.8.1
- wimlib_get_error_string@Base 1.8.1
- wimlib_get_image_description@Base 1.8.1
- wimlib_get_image_name@Base 1.8.1
- wimlib_get_image_property@Base 1.8.3
- wimlib_get_version@Base 1.8.1
- wimlib_get_version_string@Base 1.13.0
- wimlib_get_wim_info@Base 1.8.1
- wimlib_get_xml_data@Base 1.8.1
- wimlib_global_cleanup@Base 1.8.1
- wimlib_global_init@Base 1.8.1
- wimlib_image_name_in_use@Base 1.8.1
- wimlib_iterate_dir_tree@Base 1.8.1
- wimlib_iterate_lookup_table@Base 1.8.1
- wimlib_join@Base 1.8.1
- wimlib_join_with_progress@Base 1.8.1
- wimlib_load_text_file@Base 1.14.2
- wimlib_mount_image@Base 1.8.1
- wimlib_open_wim@Base 1.8.1
- wimlib_open_wim_with_progress@Base 1.8.1
- wimlib_overwrite@Base 1.8.1
- wimlib_print_available_images@Base 1.8.1
- wimlib_print_header@Base 1.8.1
- wimlib_reference_resource_files@Base 1.8.1
- wimlib_reference_resources@Base 1.8.1
- wimlib_reference_template_image@Base 1.8.1
- wimlib_register_progress_function@Base 1.8.1
- wimlib_rename_path@Base 1.8.1
- wimlib_resolve_image@Base 1.8.1
- wimlib_set_default_compression_level@Base 1.8.1
- wimlib_set_error_file@Base 1.8.1
- wimlib_set_error_file_by_name@Base 1.8.1
- wimlib_set_image_descripton@Base 

Bug#1063067: wimlib: NMU diff for 64-bit time_t transition

2024-02-04 Thread Steve Langasek
Source: wimlib
Version: 1.14.3-1
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
wimlib 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 wimlib
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 wimlib-1.14.3/debian/changelog wimlib-1.14.3/debian/changelog
--- wimlib-1.14.3/debian/changelog  2023-09-05 08:38:50.0 +
+++ wimlib-1.14.3/debian/changelog  2024-02-04 20:00:53.0 +
@@ -1,3 +1,10 @@
+wimlib (1.14.3-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Sun, 04 Feb 2024 20:00:53 +
+
 wimlib (1.14.3-1) unstable; urgency=medium
 
   * New upstream version 1.14.3
diff -Nru wimlib-1.14.3/debian/control wimlib-1.14.3/debian/control
--- wimlib-1.14.3/debian/control2023-04-24 18:10:19.0 +
+++ wimlib-1.14.3/debian/control2024-02-04 20:00:53.0 +
@@ -16,7 +16,10 @@
 Vcs-Git: https://salsa.debian.org/debian/wimlib.git
 Vcs-Browser: https://salsa.debian.org/debian/wimlib
 
-Package: libwim15
+Package: libwim15t64
+Provides: ${t64:Provides}
+Replaces: libwim15
+Breaks: libwim15 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -49,7 +52,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libwim15 (= ${binary:Version}), ${misc:Depends}
+Depends: libwim15t64 (= ${binary:Version}), ${misc:Depends}
 Suggests: wimlib-doc
 Description: Library for manipulating Windows Imaging files - development files
  wimlib is a C library for extracting, creating, modifying, and
diff -Nru wimlib-1.14.3/debian/libwim15.install 
wimlib-1.14.3/debian/libwim15.install
--- wimlib-1.14.3/debian/libwim15.install   2021-04-20 07:20:28.0 
+
+++ wimlib-1.14.3/debian/libwim15.install   1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib/*-*/libwim.so.*
diff -Nru wimlib-1.14.3/debian/libwim15.symbols 
wimlib-1.14.3/debian/libwim15.symbols
--- wimlib-1.14.3/debian/libwim15.symbols   2021-04-20 07:20:28.0 
+
+++ wimlib-1.14.3/debian/libwim15.symbols   1970-01-01 00:00:00.0 
+
@@ -1,72 +0,0 @@
-libwim.so.15 libwim15 #MINVER#
- wimlib_add_empty_image@Base 1.8.1
- wimlib_add_image@Base 1.8.1
- wimlib_add_image_multisource@Base 1.8.1
- wimlib_add_tree@Base 1.8.1
- wimlib_compress@Base 1.8.1
- wimlib_create_compressor@Base 1.8.1
- wimlib_create_decompressor@Base 1.8.1
- wimlib_create_new_wim@Base 1.8.1
- wimlib_decompress@Base 1.8.1
- wimlib_delete_image@Base 1.8.1
- wimlib_delete_path@Base 1.8.1
- wimlib_export_image@Base 1.8.1
- wimlib_extract_image@Base 1.8.1
- wimlib_extract_image_from_pipe@Base 1.8.1
- wimlib_extract_image_from_pipe_with_progress@Base 1.8.1
- wimlib_extract_pathlist@Base 1.8.1
- wimlib_extract_paths@Base 1.8.1
- wimlib_extract_xml_data@Base 1.8.1
- wimlib_free@Base 1.8.1
- wimlib_free_compressor@Base 1.8.1
- wimlib_free_decompressor@Base 1.8.1
- wimlib_get_compression_type_string@Base 1.8.1
- wimlib_get_compressor_needed_memory@Base 1.8.1
-