Bug#1061892: apophenia: 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 apophenia-1.0+ds/debian/changelog apophenia-1.0+ds/debian/changelog
--- apophenia-1.0+ds/debian/changelog   2019-08-16 15:20:10.0 +
+++ apophenia-1.0+ds/debian/changelog   2024-02-28 01:13:24.0 +
@@ -1,3 +1,10 @@
+apophenia (1.0+ds-8.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1061892
+
+ -- Steve Langasek   Wed, 28 Feb 2024 01:13:24 +
+
 apophenia (1.0+ds-8) unstable; urgency=medium
 
   * RC fix release (Closes: #925634), implement workaround that works
diff -Nru apophenia-1.0+ds/debian/control apophenia-1.0+ds/debian/control
--- apophenia-1.0+ds/debian/control 2019-08-16 14:31:14.0 +
+++ apophenia-1.0+ds/debian/control 2024-02-28 01:13:24.0 +
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Science Maintainers 

 Uploaders: Jerome Benoit 
-Build-Depends:
+Build-Depends: dpkg-dev (>= 1.22.5),
  debhelper-compat (= 12),
  autoconf-archive, gnulib, libtool,
  pkg-config, help2man,
@@ -18,8 +18,10 @@
 Vcs-Git: https://salsa.debian.org/science-team/apophenia.git
 Vcs-Browser: https://salsa.debian.org/science-team/apophenia
 
-Package: libapophenia2
-Provides: libapophenia
+Package: libapophenia2t64
+Replaces: libapophenia2
+Breaks: libapophenia2 (<< ${source:Version})
+Provides: ${t64:Provides}, libapophenia
 Section: libs
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
@@ -52,7 +54,7 @@
 Provides: libapophenia-dev
 Section: libdevel
 Architecture: any
-Depends: libapophenia2 (= ${binary:Version}), ${misc:Depends}
+Depends: libapophenia2t64 (= ${binary:Version}), ${misc:Depends}
 Conflicts: libapophenia-dev
 Suggests: pkg-config
 Multi-Arch: same
@@ -79,7 +81,7 @@
 
 Package: apophenia-bin
 Architecture: any
-Depends: libapophenia2 (= ${binary:Version}), ${shlibs:Depends}, 
${misc:Depends}
+Depends: libapophenia2t64 (= ${binary:Version}), ${shlibs:Depends}, 
${misc:Depends}
 Suggests: sqlite3
 Multi-Arch: foreign
 Description: Apophenia Statistical C Library -- binary package
@@ -106,7 +108,7 @@
 Architecture: all
 Depends: libjs-jquery, ${misc:Depends}
 Suggests:
- libapophenia2 (= ${binary:Version}), libapophenia2-dev (= ${binary:Version}),
+ libapophenia2t64 (= ${binary:Version}), libapophenia2-dev (= 
${binary:Version}),
 # pdf-viewer,
  www-browser,
  gsl-doc-pdf, gsl-ref-html
diff -Nru apophenia-1.0+ds/debian/libapophenia2.install 
apophenia-1.0+ds/debian/libapophenia2.install
--- apophenia-1.0+ds/debian/libapophenia2.install   2015-04-15 
12:09:02.0 +
+++ apophenia-1.0+ds/debian/libapophenia2.install   1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/libapophenia.so.*
diff -Nru apophenia-1.0+ds/debian/libapophenia2.symbols 
apophenia-1.0+ds/debian/libapophenia2.symbols
--- apophenia-1.0+ds/debian/libapophenia2.symbols   2015-07-08 
22:43:10.0 +
+++ apophenia-1.0+ds/debian/libapophenia2.symbols   1970-01-01 
00:00:00.0 +
@@ -1,325 +0,0 @@
-libapophenia.so.2 libapophenia2 #MINVER#
- LIBAPOPHENIA_2.0.0@LIBAPOPHENIA_2.0.0 0.999e
- apop_anova_base@LIBAPOPHENIA_2.0.0 0.999e
- apop_arms_draw@LIBAPOPHENIA_2.0.0 0.999e
- apop_arms_settings_copy@LIBAPOPHENIA_2.0.0 0.999e
- apop_arms_settings_free@LIBAPOPHENIA_2.0.0 0.999e
- apop_arms_settings_init@LIBAPOPHENIA_2.0.0 0.999e
- apop_array_to_vector_base@LIBAPOPHENIA_2.0.0 0.999e
- apop_bernoulli@LIBAPOPHENIA_2.0.0 0.999e
- apop_beta@LIBAPOPHENIA_2.0.0 0.999e
- apop_beta_from_mean_var@LIBAPOPHENIA_2.0.0 0.999e
- apop_binomial@LIBAPOPHENIA_2.0.0 0.999e
- apop_bootstrap_cov_base@LIBAPOPHENIA_2.0.0 0.999e
- apop_cdf@LIBAPOPHENIA_2.0.0 0.999e
- apop_cdf_settings_copy@LIBAPOPHENIA_2.0.0 0.999e
- apop_cdf_settings_free@LIBAPOPHENIA_2.0.0 0.999e
- apop_cdf_settings_init@LIBAPOPHENIA_2.0.0 0.999e
- apop_coordinate_transform@LIBAPOPHENIA_2.0.0 0.999e
- apop_coordinate_transform_settings_copy@LIBAPOPHENIA_2.0.0 0.999e
- apop_coordinate_transform_settings_free@LIBAPOPHENIA_2.0.0 0.999e
- apop_coordinate_transform_settings_init@LIBAPOPHENIA_2.0.0 0.999e
- apop_cross@LIBAPOPHENIA_2.0.0 0.999e
- apop_cross_settings_copy@LIBAPOPHENIA_2.0.0 0.999e
- apop_cross_settings_free@LIBAPOPHENIA_2.0.0 0.999e
- apop_cross_settings_init@LIBAPOPHENIA_2.0.0 0.999e
- 

Bug#1061892: apophenia: NMU diff for 64-bit time_t transition

2024-01-30 Thread Steve Langasek
Source: apophenia
Followup-For: Bug #1061892

Apologies, an oversight in the conversion script caused us to fail to
update strict versioned dependencies on the previous package name.
Please find attached a fixed patch.

This has also now been uploaded to experimental.
diff -Nru apophenia-1.0+ds/debian/changelog apophenia-1.0+ds/debian/changelog
--- apophenia-1.0+ds/debian/changelog   2019-08-16 15:20:10.0 +
+++ apophenia-1.0+ds/debian/changelog   2024-01-31 05:51:56.0 +
@@ -1,3 +1,11 @@
+apophenia (1.0+ds-8.1~exp2) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+  * Fix uninstallable packages from the previous upload.
+
+ -- Steve Langasek   Wed, 31 Jan 2024 05:51:56 +
+
 apophenia (1.0+ds-8) unstable; urgency=medium
 
   * RC fix release (Closes: #925634), implement workaround that works
diff -Nru apophenia-1.0+ds/debian/control apophenia-1.0+ds/debian/control
--- apophenia-1.0+ds/debian/control 2019-08-16 14:31:14.0 +
+++ apophenia-1.0+ds/debian/control 2024-01-31 05:51:12.0 +
@@ -18,8 +18,10 @@
 Vcs-Git: https://salsa.debian.org/science-team/apophenia.git
 Vcs-Browser: https://salsa.debian.org/science-team/apophenia
 
-Package: libapophenia2
-Provides: libapophenia
+Package: libapophenia2t64
+Replaces: libapophenia2
+Breaks: libapophenia2 (<< ${source:Version})
+Provides: libapophenia, ${t64:Provides}
 Section: libs
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
@@ -52,7 +54,7 @@
 Provides: libapophenia-dev
 Section: libdevel
 Architecture: any
-Depends: libapophenia2 (= ${binary:Version}), ${misc:Depends}
+Depends: libapophenia2t64 (= ${binary:Version}), ${misc:Depends}
 Conflicts: libapophenia-dev
 Suggests: pkg-config
 Multi-Arch: same
@@ -79,7 +81,7 @@
 
 Package: apophenia-bin
 Architecture: any
-Depends: libapophenia2 (= ${binary:Version}), ${shlibs:Depends}, 
${misc:Depends}
+Depends: libapophenia2t64 (= ${binary:Version}), ${shlibs:Depends}, 
${misc:Depends}
 Suggests: sqlite3
 Multi-Arch: foreign
 Description: Apophenia Statistical C Library -- binary package
@@ -106,7 +108,7 @@
 Architecture: all
 Depends: libjs-jquery, ${misc:Depends}
 Suggests:
- libapophenia2 (= ${binary:Version}), libapophenia2-dev (= ${binary:Version}),
+ libapophenia2t64 (= ${binary:Version}), libapophenia2-dev (= 
${binary:Version}),
 # pdf-viewer,
  www-browser,
  gsl-doc-pdf, gsl-ref-html
diff -Nru apophenia-1.0+ds/debian/libapophenia2.install 
apophenia-1.0+ds/debian/libapophenia2.install
--- apophenia-1.0+ds/debian/libapophenia2.install   2015-04-15 
12:09:02.0 +
+++ apophenia-1.0+ds/debian/libapophenia2.install   1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/libapophenia.so.*
diff -Nru apophenia-1.0+ds/debian/libapophenia2.symbols 
apophenia-1.0+ds/debian/libapophenia2.symbols
--- apophenia-1.0+ds/debian/libapophenia2.symbols   2015-07-08 
22:43:10.0 +
+++ apophenia-1.0+ds/debian/libapophenia2.symbols   1970-01-01 
00:00:00.0 +
@@ -1,325 +0,0 @@
-libapophenia.so.2 libapophenia2 #MINVER#
- LIBAPOPHENIA_2.0.0@LIBAPOPHENIA_2.0.0 0.999e
- apop_anova_base@LIBAPOPHENIA_2.0.0 0.999e
- apop_arms_draw@LIBAPOPHENIA_2.0.0 0.999e
- apop_arms_settings_copy@LIBAPOPHENIA_2.0.0 0.999e
- apop_arms_settings_free@LIBAPOPHENIA_2.0.0 0.999e
- apop_arms_settings_init@LIBAPOPHENIA_2.0.0 0.999e
- apop_array_to_vector_base@LIBAPOPHENIA_2.0.0 0.999e
- apop_bernoulli@LIBAPOPHENIA_2.0.0 0.999e
- apop_beta@LIBAPOPHENIA_2.0.0 0.999e
- apop_beta_from_mean_var@LIBAPOPHENIA_2.0.0 0.999e
- apop_binomial@LIBAPOPHENIA_2.0.0 0.999e
- apop_bootstrap_cov_base@LIBAPOPHENIA_2.0.0 0.999e
- apop_cdf@LIBAPOPHENIA_2.0.0 0.999e
- apop_cdf_settings_copy@LIBAPOPHENIA_2.0.0 0.999e
- apop_cdf_settings_free@LIBAPOPHENIA_2.0.0 0.999e
- apop_cdf_settings_init@LIBAPOPHENIA_2.0.0 0.999e
- apop_coordinate_transform@LIBAPOPHENIA_2.0.0 0.999e
- apop_coordinate_transform_settings_copy@LIBAPOPHENIA_2.0.0 0.999e
- apop_coordinate_transform_settings_free@LIBAPOPHENIA_2.0.0 0.999e
- apop_coordinate_transform_settings_init@LIBAPOPHENIA_2.0.0 0.999e
- apop_cross@LIBAPOPHENIA_2.0.0 0.999e
- apop_cross_settings_copy@LIBAPOPHENIA_2.0.0 0.999e
- apop_cross_settings_free@LIBAPOPHENIA_2.0.0 0.999e
- apop_cross_settings_init@LIBAPOPHENIA_2.0.0 0.999e
- apop_crosstab_to_db@LIBAPOPHENIA_2.0.0 0.999e
- apop_data_add_named_elmt@LIBAPOPHENIA_2.0.0 0.999e
- apop_data_add_names_base@LIBAPOPHENIA_2.0.0 0.999e
- apop_data_add_page@LIBAPOPHENIA_2.0.0 0.999e
- apop_data_alloc_base@LIBAPOPHENIA_2.0.0 0.999e
- apop_data_calloc_base@LIBAPOPHENIA_2.0.0 0.999e
- apop_data_copy@LIBAPOPHENIA_2.0.0 0.999e
- apop_data_correlation@LIBAPOPHENIA_2.0.0 0.999e
- apop_data_covariance@LIBAPOPHENIA_2.0.0 0.999e
- apop_data_fill_base@LIBAPOPHENIA_2.0.0 0.999e
- apop_data_free_base@LIBAPOPHENIA_2.0.0 0.999e
- apop_data_get_base@LIBAPOPHENIA_2.0.0 0.999e
- apop_data_get_factor_names_base@LIBAPOPHENIA_2.0.0 0.999e
- 

Bug#1061892: apophenia: NMU diff for 64-bit time_t transition

2024-01-29 Thread Steve Langasek
Source: apophenia
Version: 1.0+ds-8
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
apophenia 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 apophenia
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 apophenia-1.0+ds/debian/changelog apophenia-1.0+ds/debian/changelog
--- apophenia-1.0+ds/debian/changelog   2019-08-16 15:20:10.0 +
+++ apophenia-1.0+ds/debian/changelog   2024-01-30 00:48:37.0 +
@@ -1,3 +1,10 @@
+apophenia (1.0+ds-8.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Tue, 30 Jan 2024 00:48:37 +
+
 apophenia (1.0+ds-8) unstable; urgency=medium
 
   * RC fix release (Closes: #925634), implement workaround that works
diff -Nru apophenia-1.0+ds/debian/control apophenia-1.0+ds/debian/control
--- apophenia-1.0+ds/debian/control 2019-08-16 14:31:14.0 +
+++ apophenia-1.0+ds/debian/control 2024-01-30 00:48:37.0 +
@@ -18,8 +18,10 @@
 Vcs-Git: https://salsa.debian.org/science-team/apophenia.git
 Vcs-Browser: https://salsa.debian.org/science-team/apophenia
 
-Package: libapophenia2
-Provides: libapophenia
+Package: libapophenia2t64
+Replaces: libapophenia2
+Breaks: libapophenia2 (<< ${source:Version})
+Provides: libapophenia, ${t64:Provides}
 Section: libs
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
diff -Nru apophenia-1.0+ds/debian/libapophenia2.install 
apophenia-1.0+ds/debian/libapophenia2.install
--- apophenia-1.0+ds/debian/libapophenia2.install   2015-04-15 
12:09:02.0 +
+++ apophenia-1.0+ds/debian/libapophenia2.install   1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/libapophenia.so.*
diff -Nru apophenia-1.0+ds/debian/libapophenia2.symbols 
apophenia-1.0+ds/debian/libapophenia2.symbols
--- apophenia-1.0+ds/debian/libapophenia2.symbols   2015-07-08 
22:43:10.0 +
+++ apophenia-1.0+ds/debian/libapophenia2.symbols   1970-01-01 
00:00:00.0 +
@@ -1,325 +0,0 @@
-libapophenia.so.2 libapophenia2 #MINVER#
- LIBAPOPHENIA_2.0.0@LIBAPOPHENIA_2.0.0 0.999e
- apop_anova_base@LIBAPOPHENIA_2.0.0 0.999e
- apop_arms_draw@LIBAPOPHENIA_2.0.0 0.999e
- apop_arms_settings_copy@LIBAPOPHENIA_2.0.0 0.999e
- apop_arms_settings_free@LIBAPOPHENIA_2.0.0 0.999e
- apop_arms_settings_init@LIBAPOPHENIA_2.0.0 0.999e
- apop_array_to_vector_base@LIBAPOPHENIA_2.0.0 0.999e
- apop_bernoulli@LIBAPOPHENIA_2.0.0 0.999e
- apop_beta@LIBAPOPHENIA_2.0.0 0.999e
- apop_beta_from_mean_var@LIBAPOPHENIA_2.0.0 0.999e
- apop_binomial@LIBAPOPHENIA_2.0.0 0.999e
- apop_bootstrap_cov_base@LIBAPOPHENIA_2.0.0 0.999e
- apop_cdf@LIBAPOPHENIA_2.0.0 0.999e
- apop_cdf_settings_copy@LIBAPOPHENIA_2.0.0 0.999e
- apop_cdf_settings_free@LIBAPOPHENIA_2.0.0 0.999e
- apop_cdf_settings_init@LIBAPOPHENIA_2.0.0 0.999e
- apop_coordinate_transform@LIBAPOPHENIA_2.0.0 0.999e
- apop_coordinate_transform_settings_copy@LIBAPOPHENIA_2.0.0 0.999e
- apop_coordinate_transform_settings_free@LIBAPOPHENIA_2.0.0 0.999e
- apop_coordinate_transform_settings_init@LIBAPOPHENIA_2.0.0 0.999e
- apop_cross@LIBAPOPHENIA_2.0.0 0.999e
-