Bug#1062733: libxlsxwriter: 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 libxlsxwriter-1.1.5/debian/changelog 
libxlsxwriter-1.1.5/debian/changelog
--- libxlsxwriter-1.1.5/debian/changelog2023-08-06 00:03:22.0 
+
+++ libxlsxwriter-1.1.5/debian/changelog2024-03-01 07:18:14.0 
+
@@ -1,3 +1,10 @@
+libxlsxwriter (1.1.5-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062733
+
+ -- Steve Langasek   Fri, 01 Mar 2024 07:18:14 +
+
 libxlsxwriter (1.1.5-1) unstable; urgency=medium
 
   * Upload to unstable.
diff -Nru libxlsxwriter-1.1.5/debian/control libxlsxwriter-1.1.5/debian/control
--- libxlsxwriter-1.1.5/debian/control  2023-08-06 00:02:51.0 +
+++ libxlsxwriter-1.1.5/debian/control  2024-03-01 07:18:14.0 +
@@ -5,7 +5,7 @@
 Uploaders:
  Boyuan Yang ,
  Debian Deepin Packaging Team ,
-Build-Depends:
+Build-Depends: dpkg-dev (>= 1.22.5),
  cmake,
  debhelper-compat (= 13),
  libminizip-dev,
@@ -24,7 +24,7 @@
 Architecture: any
 Multi-Arch: same
 Depends:
- libxlsxwriter5 (= ${binary:Version}),
+ libxlsxwriter5t64 (= ${binary:Version}),
  ${misc:Depends},
 Description: Library for XLSX -- development library of xlsxwriter
  Libxlsxwriter is a C library that can be used
@@ -34,7 +34,10 @@
  This package contains the header file and development library of
  xlsxwriter.
 
-Package: libxlsxwriter5
+Package: libxlsxwriter5t64
+Provides: ${t64:Provides}
+Replaces: libxlsxwriter5
+Breaks: libxlsxwriter5 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends:
diff -Nru libxlsxwriter-1.1.5/debian/libxlsxwriter5.install 
libxlsxwriter-1.1.5/debian/libxlsxwriter5.install
--- libxlsxwriter-1.1.5/debian/libxlsxwriter5.install   2023-08-06 
00:02:51.0 +
+++ libxlsxwriter-1.1.5/debian/libxlsxwriter5.install   1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/libxlsxwriter.so.*
diff -Nru libxlsxwriter-1.1.5/debian/libxlsxwriter5.symbols 
libxlsxwriter-1.1.5/debian/libxlsxwriter5.symbols
--- libxlsxwriter-1.1.5/debian/libxlsxwriter5.symbols   2023-08-06 
00:02:51.0 +
+++ libxlsxwriter-1.1.5/debian/libxlsxwriter5.symbols   1970-01-01 
00:00:00.0 +
@@ -1,1102 +0,0 @@
-libxlsxwriter.so.5 libxlsxwriter5 #MINVER#
-* Build-Depends-Package: libxlsxwriter-dev
- _add_buffer_to_zip@Base 1.1.5
- _add_chart_cache_data@Base 1.1.5
- _add_file_to_zip@Base 1.1.5
- _add_relationship@Base 1.1.5
- _add_to_zip@Base 1.1.5
- _add_vba_project@Base 1.1.5
- _app_xml_declaration@Base 1.1.5
- _apply_alignment@Base 1.1.5
- _author_id_cmp@Base 1.1.5
- _calculate_spans@Base 1.1.5
- _cell_cmp@Base 1.1.5
- _chart_add_axis_ids@Base 1.1.5
- _chart_adjust_max_crossing@Base 1.1.5
- _chart_axis_set_default_num_format@Base 1.1.5
- _chart_check_error_bars@Base 1.1.5
- _chart_convert_fill_args@Base 1.1.5
- _chart_convert_font_args@Base 1.1.5
- _chart_convert_line_args@Base 1.1.5
- _chart_convert_pattern_args@Base 1.1.5
- _chart_free_data_labels@Base 1.1.5
- _chart_free_font@Base 1.1.5
- _chart_free_points@Base 1.1.5
- _chart_free_range@Base 1.1.5
- _chart_init_data_cache@Base 1.1.5
- _chart_initialize@Base 1.1.5
- _chart_initialize_area_chart@Base 1.1.5
- _chart_initialize_bar_chart@Base 1.1.5
- _chart_initialize_column_chart@Base 1.1.5
- _chart_initialize_doughnut_chart@Base 1.1.5
- _chart_initialize_line_chart@Base 1.1.5
- _chart_initialize_pie_chart@Base 1.1.5
- _chart_initialize_radar_chart@Base 1.1.5
- _chart_initialize_scatter_chart@Base 1.1.5
- _chart_series_free@Base 1.1.5
- _chart_set_default_marker_type@Base 1.1.5
- _chart_set_range@Base 1.1.5
- _chart_swap_bar_axes@Base 1.1.5
- _chart_write_a_alpha@Base 1.1.5
- _chart_write_a_bg_clr@Base 1.1.5
- _chart_write_a_body_pr@Base 1.1.5
- _chart_write_a_def_rpr@Base 1.1.5
- _chart_write_a_end_para_rpr@Base 1.1.5
- _chart_write_a_fg_clr@Base 1.1.5
- _chart_write_a_ln@Base 1.1.5
- _chart_write_a_lst_style@Base 1.1.5
- _chart_write_a_no_fill@Base 1.1.5
- _chart_write_a_p_formula@Base 1.1.5
- _chart_write_a_p_pie@Base 1.1.5
- _chart_write_a_p_pr_formula@Base 1.1.5
- _chart_write_a_p_pr_pie@Base 1.1.5
- _chart_write_a_p_pr_rich@Base 1.1.5
- _chart_write_a_p_rich@Base 1.1.5
- _chart_write_a_patt_fill@Base 1.1.5
- _chart_write_a_prst_dash@Base 1.1.5
- _chart_write_a_r@Base 1.1.5
- _chart_write_a_r_pr@Base 1.1.5
- 

Bug#1062733: libxlsxwriter: NMU diff for 64-bit time_t transition

2024-02-29 Thread Steve Langasek
... well this time at least, the reason is user error.  Really attached now!

On Thu, Feb 29, 2024 at 10:53:04PM -0800, Steve Langasek wrote:
> 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:37PM +, Steve Langasek wrote:
> > Source: libxlsxwriter
> > Version: 1.1.5-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
> > libxlsxwriter 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 libxlsxwriter
> > 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

-- 
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 libxlsxwriter-1.1.5/debian/changelog 
libxlsxwriter-1.1.5/debian/changelog
--- libxlsxwriter-1.1.5/debian/changelog2023-08-06 00:03:22.0 
+
+++ libxlsxwriter-1.1.5/debian/changelog2024-02-02 19:47:43.0 
+
@@ -1,3 +1,10 @@
+libxlsxwriter (1.1.5-1.1~exp1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Fri, 02 Feb 2024 19:47:43 +
+
 libxlsxwriter (1.1.5-1) unstable; urgency=medium
 
   * Upload to unstable.
diff -Nru libxlsxwriter-1.1.5/debian/control libxlsxwriter-1.1.5/debian/control
--- libxlsxwriter-1.1.5/debian/control  2023-08-06 00:02:51.0 +
+++ libxlsxwriter-1.1.5/debian/control  2024-02-02 19:47:43.0 +
@@ -24,7 +24,7 @@
 Architecture: any
 Multi-Arch: same
 Depends:
- libxlsxwriter5 (= ${binary:Version}),
+ libxlsxwriter5t64 (= ${binary:Version}),
  ${misc:Depends},
 Description: Library for XLSX -- development library of xlsxwriter
  Libxlsxwriter is a C library that can be used
@@ -34,7 +34,10 @@
  This package contains the header file and development library of
  xlsxwriter.
 
-Package: libxlsxwriter5
+Package: libxlsxwriter5t64
+Provides: ${t64:Provides}
+Replaces: libxlsxwriter5
+Breaks: libxlsxwriter5 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends:
diff -Nru libxlsxwriter-1.1.5/debian/libxlsxwriter5.install 
libxlsxwriter-1.1.5/debian/libxlsxwriter5.install
--- libxlsxwriter-1.1.5/debian/libxlsxwriter5.install   2023-08-06 
00:02:51.0 +
+++ 

Bug#1062733: libxlsxwriter: 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:37PM +, Steve Langasek wrote:
> Source: libxlsxwriter
> Version: 1.1.5-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
> libxlsxwriter 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 libxlsxwriter
> 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


signature.asc
Description: PGP signature


Bug#1062733: libxlsxwriter: NMU diff for 64-bit time_t transition

2024-02-02 Thread Steve Langasek
Source: libxlsxwriter
Version: 1.1.5-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
libxlsxwriter 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 libxlsxwriter
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)