Bug#1062220: libapogee3: NMU diff for 64-bit time_t transition

2024-02-29 Thread Lukas Märdian
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-21-generic (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru libapogee3-3.2+20221221183454/debian/changelog 
libapogee3-3.2+20221221183454/debian/changelog
--- libapogee3-3.2+20221221183454/debian/changelog  2022-12-21 
18:36:16.0 +
+++ libapogee3-3.2+20221221183454/debian/changelog  2024-02-29 
08:39:11.0 +
@@ -1,3 +1,10 @@
+libapogee3 (3.2+20221221183454-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062220
+
+ -- Lukas Märdian   Thu, 29 Feb 2024 08:39:11 +
+
 libapogee3 (3.2+20221221183454-1) unstable; urgency=medium
 
   * build version from git
diff -Nru libapogee3-3.2+20221221183454/debian/control 
libapogee3-3.2+20221221183454/debian/control
--- libapogee3-3.2+20221221183454/debian/control2022-12-21 
18:34:59.0 +
+++ libapogee3-3.2+20221221183454/debian/control2024-02-29 
08:39:11.0 +
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Astronomy Team 

 Uploaders: Thorsten Alteholz 
-Build-Depends: debhelper-compat (= 13)
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13)
, cmake
, libindi-dev
, libcurl4-gnutls-dev
@@ -14,7 +14,10 @@
 Vcs-Browser: https://salsa.debian.org/debian-astro-team/libapogee3
 Vcs-Git: https://salsa.debian.org/debian-astro-team/libapogee3.git
 
-Package: libapogee3
+Package: libapogee3t64
+Provides: ${t64:Provides}
+Replaces: libapogee3
+Breaks: libapogee3 (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Apogee Library for camera control
@@ -28,7 +31,7 @@
 Package: libapogee-dev
 Section: libdevel
 Architecture: any
-Depends: libapogee3 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Depends: libapogee3t64 (= ${binary:Version}), ${shlibs:Depends}, 
${misc:Depends}
 Description: Apogee Library for camera control, development headers
  This package contains the standalone version of the Apogee device drivers
  for Linux. It is primarily intended for developers wishing to add Apogee
diff -Nru libapogee3-3.2+20221221183454/debian/libapogee3.install 
libapogee3-3.2+20221221183454/debian/libapogee3.install
--- libapogee3-3.2+20221221183454/debian/libapogee3.install 2022-12-21 
18:34:59.0 +
+++ libapogee3-3.2+20221221183454/debian/libapogee3.install 1970-01-01 
00:00:00.0 +
@@ -1,4 +0,0 @@
-usr/lib/*/libapogee.so.3.2
-usr/lib/*/libapogee.so.3
-etc/Apogee/camera/*.txt
-lib/udev/rules.d/99-apogee.rules lib/udev/rules.d
diff -Nru libapogee3-3.2+20221221183454/debian/libapogee3t64.install 
libapogee3-3.2+20221221183454/debian/libapogee3t64.install
--- libapogee3-3.2+20221221183454/debian/libapogee3t64.install  1970-01-01 
00:00:00.0 +
+++ libapogee3-3.2+20221221183454/debian/libapogee3t64.install  2022-12-21 
18:34:59.0 +
@@ -0,0 +1,4 @@
+usr/lib/*/libapogee.so.3.2
+usr/lib/*/libapogee.so.3
+etc/Apogee/camera/*.txt
+lib/udev/rules.d/99-apogee.rules lib/udev/rules.d
diff -Nru libapogee3-3.2+20221221183454/debian/libapogee3t64.lintian-overrides 
libapogee3-3.2+20221221183454/debian/libapogee3t64.lintian-overrides
--- libapogee3-3.2+20221221183454/debian/libapogee3t64.lintian-overrides
1970-01-01 00:00:00.0 +
+++ libapogee3-3.2+20221221183454/debian/libapogee3t64.lintian-overrides
2024-02-29 08:39:05.0 +
@@ -0,0 +1 @@
+libapogee3t64: package-name-doesnt-match-sonames libapogee3


Bug#1062220: libapogee3: NMU diff for 64-bit time_t transition

2024-01-31 Thread Steve Langasek
Source: libapogee3
Version: 3.2+20221221183454-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
libapogee3 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 libapogee3
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'), (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 libapogee3-3.2+20221221183454/debian/changelog 
libapogee3-3.2+20221221183454/debian/changelog
--- libapogee3-3.2+20221221183454/debian/changelog  2022-12-21 
18:36:16.0 +
+++ libapogee3-3.2+20221221183454/debian/changelog  2024-01-31 
19:42:19.0 +
@@ -1,3 +1,10 @@
+libapogee3 (3.2+20221221183454-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Wed, 31 Jan 2024 19:42:19 +
+
 libapogee3 (3.2+20221221183454-1) unstable; urgency=medium
 
   * build version from git
diff -Nru libapogee3-3.2+20221221183454/debian/control 
libapogee3-3.2+20221221183454/debian/control
--- libapogee3-3.2+20221221183454/debian/control2022-12-21 
18:34:59.0 +
+++ libapogee3-3.2+20221221183454/debian/control2024-01-31 
19:42:19.0 +
@@ -14,7 +14,10 @@
 Vcs-Browser: https://salsa.debian.org/debian-astro-team/libapogee3
 Vcs-Git: https://salsa.debian.org/debian-astro-team/libapogee3.git
 
-Package: libapogee3
+Package: libapogee3t64
+Provides: ${t64:Provides}
+Replaces: libapogee3
+Breaks: libapogee3 (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Apogee Library for camera control
@@ -28,7 +31,7 @@
 Package: libapogee-dev
 Section: libdevel
 Architecture: any
-Depends: libapogee3 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Depends: libapogee3t64 (= ${binary:Version}), ${shlibs:Depends}, 
${misc:Depends}
 Description: Apogee Library for camera control, development headers
  This package contains the standalone version of the Apogee device drivers
  for Linux. It is primarily intended for developers wishing to add Apogee
diff -Nru libapogee3-3.2+20221221183454/debian/libapogee3.install 
libapogee3-3.2+20221221183454/debian/libapogee3.install
--- libapogee3-3.2+20221221183454/debian/libapogee3.install 2022-12-21 
18:34:59.0 +
+++ libapogee3-3.2+20221221183454/debian/libapogee3.install 1970-01-01 
00:00:00.0 +
@@ -1,4 +0,0 @@
-usr/lib/*/libapogee.so.3.2
-usr/lib/*/libapogee.so.3
-etc/Apogee/camera/*.txt
-lib/udev/rules.d/99-apogee.rules lib/udev/rules.d
diff -Nru libapogee3-3.2+20221221183454/debian/libapogee3t64.install 
libapogee3-3.2+20221221183454/debian/libapogee3t64.install
--- libapogee3-3.2+20221221183454/debian/libapogee3t64.install  1970-01-01 
00:00:00.0 +
+++ libapogee3-3.2+20221221183454/debian/libapogee3t64.install  2022-12-21 
18:34:59.0 +
@@ -0,0 +1,4 @@
+usr/lib/*/libapogee.so.3.2
+usr/lib/*/libapogee.so.3
+etc/Apogee/camera/*.txt
+lib/udev/rules.d/99-apogee.rules lib/udev/rules.d
diff -Nru libapogee3-3.2+20221221183454/debian/libapogee3t64.lintian-overrides 
libapogee3-3.2+20221221183454/debian/libapogee3t64.lintian-overrides
---