Bug#1062033: c-blosc2: NMU diff for 64-bit time_t transition

2024-02-27 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 c-blosc2-2.13.1+ds/debian/changelog 
c-blosc2-2.13.1+ds/debian/changelog
--- c-blosc2-2.13.1+ds/debian/changelog 2024-01-27 12:02:41.0 +
+++ c-blosc2-2.13.1+ds/debian/changelog 2024-02-28 05:33:18.0 +
@@ -1,3 +1,10 @@
+c-blosc2 (2.13.1+ds-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062033
+
+ -- Steve Langasek   Wed, 28 Feb 2024 05:33:18 +
+
 c-blosc2 (2.13.1+ds-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru c-blosc2-2.13.1+ds/debian/control c-blosc2-2.13.1+ds/debian/control
--- c-blosc2-2.13.1+ds/debian/control   2024-01-27 12:02:41.0 +
+++ c-blosc2-2.13.1+ds/debian/control   2024-02-28 05:33:18.0 +
@@ -3,7 +3,7 @@
 Section: libs
 Maintainer: Debian Science Maintainers 

 Uploaders: Antonio Valentino 
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
cmake,
dh-cmake-compat (= 1),
dh-sequence-cmake,
@@ -40,7 +40,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libblosc2-2 (= ${binary:Version}),
+Depends: libblosc2-2t64 (= ${binary:Version}),
  ${misc:Depends},
  ${sphinxdoc:Depends}
 Description: ${source:Synopsis} (development files)
@@ -49,7 +49,10 @@
  This package contains the development files required to build programs against
  Blosc2.
 
-Package: libblosc2-2
+Package: libblosc2-2t64
+Provides: ${t64:Provides}
+Replaces: libblosc2-2
+Breaks: libblosc2-2 (<< ${source:Version})
 Multi-Arch: same
 Architecture: any
 Depends: ${shlibs:Depends},
diff -Nru c-blosc2-2.13.1+ds/debian/libblosc2-2.install 
c-blosc2-2.13.1+ds/debian/libblosc2-2.install
--- c-blosc2-2.13.1+ds/debian/libblosc2-2.install   2024-01-27 
12:02:41.0 +
+++ c-blosc2-2.13.1+ds/debian/libblosc2-2.install   1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru c-blosc2-2.13.1+ds/debian/libblosc2-2.symbols 
c-blosc2-2.13.1+ds/debian/libblosc2-2.symbols
--- c-blosc2-2.13.1+ds/debian/libblosc2-2.symbols   2024-01-27 
12:02:41.0 +
+++ c-blosc2-2.13.1+ds/debian/libblosc2-2.symbols   1970-01-01 
00:00:00.0 +
@@ -1,131 +0,0 @@
-# SymbolsHelper-Confirmed: 2.12.0 amd64 arm64 armel armhf hppa hurd-i386 i386 
loong64 m68k powerpc ppc64 ppc64el s390x sh4 sparc64 x32
-libblosc2.so.2 #PACKAGE# #MINVER#
-* Build-Depends-Package: libblosc2-dev
- b2nd_append@Base 2.9.2
- b2nd_copy@Base 2.9.2
- b2nd_copy_buffer@Base 2.11.2
- b2nd_create_ctx@Base 2.9.2
- b2nd_delete@Base 2.9.2
- b2nd_empty@Base 2.9.2
- b2nd_free@Base 2.9.2
- b2nd_free_ctx@Base 2.9.2
- b2nd_from_cbuffer@Base 2.9.2
- b2nd_from_cframe@Base 2.9.2
- b2nd_from_schunk@Base 2.9.2
- b2nd_full@Base 2.9.2
- b2nd_get_orthogonal_selection@Base 2.9.2
- b2nd_get_slice@Base 2.9.2
- b2nd_get_slice_cbuffer@Base 2.9.2
- b2nd_insert@Base 2.9.2
- b2nd_open@Base 2.9.2
- b2nd_open_offset@Base 2.9.2
- b2nd_print_meta@Base 2.9.2
- b2nd_resize@Base 2.9.2
- b2nd_save@Base 2.9.2
- b2nd_serialize_meta@Base 2.9.2
- b2nd_set_orthogonal_selection@Base 2.9.2
- b2nd_set_slice_cbuffer@Base 2.9.2
- b2nd_squeeze@Base 2.9.2
- b2nd_squeeze_index@Base 2.9.2
- b2nd_to_cbuffer@Base 2.9.2
- b2nd_to_cframe@Base 2.9.2
- b2nd_uninit@Base 2.9.2
- b2nd_zeros@Base 2.9.2
- blosc1_cbuffer_metainfo@Base 2.9.2
- blosc1_cbuffer_sizes@Base 2.9.2
- blosc1_cbuffer_validate@Base 2.9.2
- blosc1_compress@Base 2.9.2
- blosc1_decompress@Base 2.9.2
- blosc1_get_blocksize@Base 2.9.2
- blosc1_get_compressor@Base 2.9.2
- blosc1_getitem@Base 2.9.2
- blosc1_set_blocksize@Base 2.9.2
- blosc1_set_compressor@Base 2.9.2
- blosc1_set_splitmode@Base 2.9.2
- blosc2_cbuffer_complib@Base 2.9.2
- blosc2_cbuffer_sizes@Base 2.9.2
- blosc2_cbuffer_versions@Base 2.9.2
- blosc2_chunk_nans@Base 2.9.2
- blosc2_chunk_repeatval@Base 2.9.2
- blosc2_chunk_uninit@Base 2.9.2
- blosc2_chunk_zeros@Base 2.9.2
- blosc2_compcode_to_compname@Base 2.9.2
- blosc2_compname_to_compcode@Base 2.9.2
- blosc2_compress@Base 2.9.2
- blosc2_compress_ctx@Base 2.9.2
- blosc2_create_cctx@Base 2.9.2
- blosc2_create_dctx@Base 2.9.2
- blosc2_ctx_get_cparams@Base 2.9.2
- blosc2_ctx_get_dparams@Base 2.9.2
- blosc2_decompress@Base 2.9.2
- 

Bug#1062033: c-blosc2: NMU diff for 64-bit time_t transition

2024-02-03 Thread Antonio Valentino

Hi Steve,
On Wed, 31 Jan 2024 03:16:51 + Steve Langasek  wrote:

Source: c-blosc2
Version: 2.13.1+ds-1
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
c-blosc2 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 c-blosc2
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.


Just uploaded to experimental a new version of the package with a small 
update of the symbol file.


kind reards
--
Antonio Valentino



Bug#1062033: c-blosc2: NMU diff for 64-bit time_t transition

2024-01-30 Thread Steve Langasek
Source: c-blosc2
Version: 2.13.1+ds-1
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
c-blosc2 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 c-blosc2
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'), (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 c-blosc2-2.13.1+ds/debian/changelog 
c-blosc2-2.13.1+ds/debian/changelog
--- c-blosc2-2.13.1+ds/debian/changelog 2024-01-27 12:02:41.0 +
+++ c-blosc2-2.13.1+ds/debian/changelog 2024-01-31 03:15:41.0 +
@@ -1,3 +1,10 @@
+c-blosc2 (2.13.1+ds-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Wed, 31 Jan 2024 03:15:41 +
+
 c-blosc2 (2.13.1+ds-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru c-blosc2-2.13.1+ds/debian/control c-blosc2-2.13.1+ds/debian/control
--- c-blosc2-2.13.1+ds/debian/control   2024-01-27 12:02:41.0 +
+++ c-blosc2-2.13.1+ds/debian/control   2024-01-31 03:15:41.0 +
@@ -40,7 +40,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libblosc2-2 (= ${binary:Version}),
+Depends: libblosc2-2t64 (= ${binary:Version}),
  ${misc:Depends},
  ${sphinxdoc:Depends}
 Description: ${source:Synopsis} (development files)
@@ -49,7 +49,10 @@
  This package contains the development files required to build programs against
  Blosc2.
 
-Package: libblosc2-2
+Package: libblosc2-2t64
+Provides: ${t64:Provides}
+Replaces: libblosc2-2
+Breaks: libblosc2-2 (<< ${source:Version})
 Multi-Arch: same
 Architecture: any
 Depends: ${shlibs:Depends},
diff -Nru c-blosc2-2.13.1+ds/debian/libblosc2-2.install 
c-blosc2-2.13.1+ds/debian/libblosc2-2.install
--- c-blosc2-2.13.1+ds/debian/libblosc2-2.install   2024-01-27 
12:02:41.0 +
+++ c-blosc2-2.13.1+ds/debian/libblosc2-2.install   1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru c-blosc2-2.13.1+ds/debian/libblosc2-2.symbols 
c-blosc2-2.13.1+ds/debian/libblosc2-2.symbols
--- c-blosc2-2.13.1+ds/debian/libblosc2-2.symbols   2024-01-27 
12:02:41.0 +
+++ c-blosc2-2.13.1+ds/debian/libblosc2-2.symbols   1970-01-01 
00:00:00.0 +
@@ -1,131 +0,0 @@
-# SymbolsHelper-Confirmed: 2.12.0 amd64 arm64 armel armhf hppa hurd-i386 i386 
loong64 m68k powerpc ppc64 ppc64el s390x sh4 sparc64 x32
-libblosc2.so.2 #PACKAGE# #MINVER#
-* Build-Depends-Package: libblosc2-dev
- b2nd_append@Base 2.9.2
- b2nd_copy@Base 2.9.2
- b2nd_copy_buffer@Base 2.11.2
- b2nd_create_ctx@Base 2.9.2
- b2nd_delete@Base 2.9.2
- b2nd_empty@Base 2.9.2
- b2nd_free@Base 2.9.2
- b2nd_free_ctx@Base 2.9.2
- b2nd_from_cbuffer@Base 2.9.2
- b2nd_from_cframe@Base 2.9.2
- b2nd_from_schunk@Base 2.9.2
- b2nd_full@Base 2.9.2
- b2nd_get_orthogonal_selection@Base 2.9.2
- b2nd_get_slice@Base 2.9.2
- b2nd_get_slice_cbuffer@Base 2.9.2
- b2nd_insert@Base 2.9.2
- b2nd_open@Base 2.9.2
- b2nd_open_offset@Base 2.9.2
- b2nd_print_meta@Base 2.9.2
- b2nd_resize@Base 2.9.2
- b2nd_save@Base 2.9.2
- b2nd_serialize_meta@Base 2.9.2
- b2nd_set_orthogonal_selection@Base 2.9.2
- b2nd_set_slice_cbuffer@Base 2.9.2
- b2nd_squeeze@Base 2.9.2
-