Bug#1062729: libvslvm: NMU diff for 64-bit time_t transition

2024-02-29 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')
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 libvslvm-20181227/debian/changelog libvslvm-20181227/debian/changelog
--- libvslvm-20181227/debian/changelog  2020-01-18 22:17:07.0 +
+++ libvslvm-20181227/debian/changelog  2024-03-01 07:14:13.0 +
@@ -1,3 +1,10 @@
+libvslvm (20181227-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062729
+
+ -- Steve Langasek   Fri, 01 Mar 2024 07:14:13 +
+
 libvslvm (20181227-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru libvslvm-20181227/debian/control libvslvm-20181227/debian/control
--- libvslvm-20181227/debian/control2020-01-18 22:17:07.0 +
+++ libvslvm-20181227/debian/control2024-03-01 07:14:13.0 +
@@ -2,7 +2,7 @@
 Priority: optional
 Maintainer: Debian Security Tools 
 Uploaders: Hilko Bengen 
-Build-Depends: debhelper (>= 11),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>= 11),
  dh-python,
  pkg-config,
  libfuse-dev,
@@ -18,14 +18,17 @@
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends},
- libvslvm1 (= ${binary:Version})
+ libvslvm1t64 (= ${binary:Version})
 Description: Linux LVM volume system format access library -- development files
  libvslvm is a library to access the Linux Logical Volume Manager
  (LVM) volume system format.
  .
  This package includes the development support files.
 
-Package: libvslvm1
+Package: libvslvm1t64
+Provides: ${t64:Provides}
+Replaces: libvslvm1
+Breaks: libvslvm1 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -42,7 +45,7 @@
 Architecture: any
 Multi-Arch: foreign
 Depends: ${shlibs:Depends}, ${misc:Depends},
- libvslvm1,
+ libvslvm1t64,
 Description: Linux LVM volume system format access library -- Utilities
  libvslvm is a library to access the Linux Logical Volume Manager
  (LVM) volume system format.
@@ -52,7 +55,7 @@
 Package: python3-libvslvm
 Section: python
 Architecture: any
-Depends: libvslvm1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, 
${python3:Depends}
+Depends: libvslvm1t64 (= ${binary:Version}), ${shlibs:Depends}, 
${misc:Depends}, ${python3:Depends}
 Description: Linux LVM volume system format access library -- Python 3 bindings
  libvslvm is a library to access the Linux Logical Volume Manager
  (LVM) volume system format.
diff -Nru libvslvm-20181227/debian/libvslvm1.install 
libvslvm-20181227/debian/libvslvm1.install
--- libvslvm-20181227/debian/libvslvm1.install  2020-01-18 22:17:07.0 
+
+++ libvslvm-20181227/debian/libvslvm1.install  1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib/*-*/lib*.so.*
diff -Nru libvslvm-20181227/debian/libvslvm1.symbols 
libvslvm-20181227/debian/libvslvm1.symbols
--- libvslvm-20181227/debian/libvslvm1.symbols  2020-01-18 22:17:07.0 
+
+++ libvslvm-20181227/debian/libvslvm1.symbols  1970-01-01 00:00:00.0 
+
@@ -1,166 +0,0 @@
-libvslvm.so.1 libvslvm1 #MINVER#
- (optional|regex)^libbfio_.* 0
- (optional|regex)^libcdata_.* 0
- (optional|regex)^libcerror_.* 0
- (optional|regex)^libcfile_.* 0
- (optional|regex)^libclocale_.* 0
- (optional|regex)^libcnotify_.* 0
- (optional|regex)^libcpath_.* 0
- (optional|regex)^libcsplit_.* 0
- (optional|regex)^libcthreads_.* 0
- (optional|regex)^libfcache_.* 0
- (optional|regex)^libfdata_.* 0
- (optional|regex)^libfvalue_.* 0
- (optional|regex)^libuna_.* 0
- libvslvm_check_volume_signature@Base 20160110
- libvslvm_check_volume_signature_file_io_handle@Base 20160110
- libvslvm_checksum_calculate_crc32@Base 20160110
- libvslvm_checksum_calculate_weak_crc32@Base 20160110
- libvslvm_checksum_crc32_table@Base 20160110
- libvslvm_checksum_crc32_table_computed@Base 20160110
- libvslvm_checksum_initialize_crc32_table@Base 20160110
- libvslvm_chunk_data_free@Base 20160110
- libvslvm_chunk_data_initialize@Base 20160110
- libvslvm_chunk_data_read_file_io_pool@Base 20181227
- libvslvm_data_area_descriptor_free@Base 20160110
- libvslvm_data_area_descriptor_get@Base 20160110
- libvslvm_data_area_descriptor_initialize@Base 20160110
- libvslvm_data_area_descriptor_set@Base 20160110
- libvslvm_error_backtrace_fprint@Base 20160110
- libvslvm_error_backtrace_sprint@Base 20160110
- libvslvm_error_fprint@Base 20160110
- libvslvm_error_free@Base 20160110
- 

Bug#1062729: libvslvm: NMU diff for 64-bit time_t transition

2024-02-29 Thread Steve Langasek
Sorry, for some reason a number of bugs failed to have their patches
attached.  Please find the debdiff from the experimental upload attached
now.

On Fri, Feb 02, 2024 at 11:00:05PM +, Steve Langasek wrote:
> Source: libvslvm
> Version: 20181227-1.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
> libvslvm 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 libvslvm
> 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'), (500, 'stable'), (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)
> 

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developer   https://www.debian.org/
slanga...@ubuntu.com vor...@debian.org
diff -Nru libvslvm-20181227/debian/changelog libvslvm-20181227/debian/changelog
--- libvslvm-20181227/debian/changelog  2020-01-18 22:17:07.0 +
+++ libvslvm-20181227/debian/changelog  2024-02-02 19:24:18.0 +
@@ -1,3 +1,10 @@
+libvslvm (20181227-1.2~exp1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Fri, 02 Feb 2024 19:24:18 +
+
 libvslvm (20181227-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru libvslvm-20181227/debian/control libvslvm-20181227/debian/control
--- libvslvm-20181227/debian/control2020-01-18 22:17:07.0 +
+++ libvslvm-20181227/debian/control2024-02-02 19:24:18.0 +
@@ -18,14 +18,17 @@
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends},
- libvslvm1 (= ${binary:Version})
+ libvslvm1t64 (= ${binary:Version})
 Description: Linux LVM volume system format access library -- development files
  libvslvm is a library to access the Linux Logical Volume Manager
  (LVM) volume system format.
  .
  This package includes the development support files.
 
-Package: libvslvm1
+Package: libvslvm1t64
+Provides: ${t64:Provides}
+Replaces: libvslvm1
+Breaks: libvslvm1 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -42,7 +45,7 @@
 Architecture: any
 Multi-Arch: foreign
 Depends: ${shlibs:Depends}, ${misc:Depends},
- libvslvm1,
+ libvslvm1t64,
 Description: Linux LVM volume system format access library -- Utilities
  libvslvm is a library to access the Linux Logical Volume Manager
  (LVM) volume system format.
@@ -52,7 +55,7 @@
 Package: python3-libvslvm
 Section: python
 Architecture: any
-Depends: libvslvm1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, 
${python3:Depends}
+Depends: libvslvm1t64 (= ${binary:Version}), ${shlibs:Depends}, 
${misc:Depends}, ${python3:Depends}
 Description: Linux LVM volume system format access library -- Python 3 bindings
  libvslvm is a library to access the Linux Logical Volume Manager
  (LVM) volume system format.
diff -Nru libvslvm-20181227/debian/libvslvm1.install 

Bug#1062729: libvslvm: NMU diff for 64-bit time_t transition

2024-02-02 Thread Steve Langasek
Source: libvslvm
Version: 20181227-1.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
libvslvm 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 libvslvm
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'), (500, 'stable'), (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)