Bug#1063285: xplc: NMU diff for 64-bit time_t transition

2024-02-28 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 xplc-0.3.13/debian/changelog xplc-0.3.13/debian/changelog
--- xplc-0.3.13/debian/changelog2022-11-27 04:40:10.0 +
+++ xplc-0.3.13/debian/changelog2024-02-29 07:55:13.0 +
@@ -1,3 +1,10 @@
+xplc (0.3.13-12.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063285
+
+ -- Steve Langasek   Thu, 29 Feb 2024 07:55:13 +
+
 xplc (0.3.13-12) unstable; urgency=medium
 
   * QA upload.
diff -Nru xplc-0.3.13/debian/control xplc-0.3.13/debian/control
--- xplc-0.3.13/debian/control  2022-11-27 04:40:10.0 +
+++ xplc-0.3.13/debian/control  2024-02-29 07:55:13.0 +
@@ -2,13 +2,16 @@
 Section: libs
 Priority: optional
 Maintainer: Debian QA Group 
-Build-Depends: uuid-dev, debhelper-compat (= 13)
+Build-Depends: dpkg-dev (>= 1.22.5), uuid-dev, debhelper-compat (= 13)
 Standards-Version: 4.6.1
 Homepage: https://xplc.sourceforge.net/
 Vcs-Git: https://salsa.debian.org/debian/xplc.git
 Vcs-Browser: https://salsa.debian.org/debian/xplc
 
-Package: libxplc0.3.13
+Package: libxplc0.3.13t64
+Provides: ${t64:Provides}
+Replaces: libxplc0.3.13
+Breaks: libxplc0.3.13 (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Multi-Arch: same
@@ -22,7 +25,7 @@
 Package: libxplc0.3.13-dev
 Section: libdevel
 Architecture: any
-Depends: libxplc0.3.13 (= ${binary:Version}), uuidcdef, ${shlibs:Depends}, 
${misc:Depends}
+Depends: libxplc0.3.13t64 (= ${binary:Version}), uuidcdef, ${shlibs:Depends}, 
${misc:Depends}
 Description: Light weight component system (Development libraries and headers)
  XPLC ("Cross-Platform Lightweight Components") is a component system that
  will provide extensibility and reusability both inside and between
diff -Nru xplc-0.3.13/debian/libxplc0.3.13.symbols 
xplc-0.3.13/debian/libxplc0.3.13.symbols
--- xplc-0.3.13/debian/libxplc0.3.13.symbols2022-11-27 04:40:10.0 
+
+++ xplc-0.3.13/debian/libxplc0.3.13.symbols1970-01-01 00:00:00.0 
+
@@ -1,2 +0,0 @@
-libxplc.so.0.3.13-unstable libxplc0.3.13 #MINVER#
- XPLC_getServiceManager@Base 0.3.13
diff -Nru xplc-0.3.13/debian/libxplc0.3.13t64.lintian-overrides 
xplc-0.3.13/debian/libxplc0.3.13t64.lintian-overrides
--- xplc-0.3.13/debian/libxplc0.3.13t64.lintian-overrides   1970-01-01 
00:00:00.0 +
+++ xplc-0.3.13/debian/libxplc0.3.13t64.lintian-overrides   2024-02-29 
07:49:30.0 +
@@ -0,0 +1 @@
+libxplc0.3.13t64: package-name-doesnt-match-sonames libxplc0.3.13
diff -Nru xplc-0.3.13/debian/libxplc0.3.13t64.symbols 
xplc-0.3.13/debian/libxplc0.3.13t64.symbols
--- xplc-0.3.13/debian/libxplc0.3.13t64.symbols 1970-01-01 00:00:00.0 
+
+++ xplc-0.3.13/debian/libxplc0.3.13t64.symbols 2024-02-29 07:49:30.0 
+
@@ -0,0 +1,2 @@
+libxplc.so.0.3.13-unstable libxplc0.3.13t64 #MINVER#
+ XPLC_getServiceManager@Base 0.3.13
diff -Nru xplc-0.3.13/debian/rules xplc-0.3.13/debian/rules
--- xplc-0.3.13/debian/rules2022-11-27 04:40:10.0 +
+++ xplc-0.3.13/debian/rules2024-02-29 07:55:12.0 +
@@ -16,7 +16,7 @@
 
 # Make sure the install files are in the right place
 execute_before_dh_auto_install:
-   cp -f debian/libxplc.install debian/libxplc$(PKG_VERSION).install
+   cp -f debian/libxplc.install debian/libxplc$(PKG_VERSION)t64.install
cp -f debian/libxplc-dev.install 
debian/libxplc$(PKG_VERSION)-dev.install
cp -f debian/libxplc-dev.examples 
debian/libxplc$(PKG_VERSION)-dev.examples
 
@@ -26,10 +26,10 @@
ln -f debian/tmp/usr/share/man/man1/uuidgen.1 
debian/tmp/usr/share/man/man1/uuidcdef
 
 execute_after_dh_shlibdeps:
-   /sbin/ldconfig -v -n 
debian/libxplc$(PKG_VERSION)/usr/lib/$(DEB_HOST_MULTIARCH)
+   /sbin/ldconfig -v -n 
debian/libxplc$(PKG_VERSION)t64/usr/lib/$(DEB_HOST_MULTIARCH)
 
 execute_after_dh_auto_clean:
-   rm -f debian/libxplc$(PKG_VERSION).install
+   rm -f debian/libxplc$(PKG_VERSION)t64.install
rm -f debian/libxplc$(PKG_VERSION)-dev.install
rm -f debian/libxplc$(PKG_VERSION)-dev.examples
 


Bug#1063285: xplc: NMU diff for 64-bit time_t transition

2024-02-05 Thread Steve Langasek
Source: xplc
Version: 0.3.13-12
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
xplc 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 xplc
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)
diff -Nru xplc-0.3.13/debian/changelog xplc-0.3.13/debian/changelog
--- xplc-0.3.13/debian/changelog2022-11-27 04:40:10.0 +
+++ xplc-0.3.13/debian/changelog2024-02-06 00:35:13.0 +
@@ -1,3 +1,10 @@
+xplc (0.3.13-12.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Tue, 06 Feb 2024 00:35:13 +
+
 xplc (0.3.13-12) unstable; urgency=medium
 
   * QA upload.
diff -Nru xplc-0.3.13/debian/control xplc-0.3.13/debian/control
--- xplc-0.3.13/debian/control  2022-11-27 04:40:10.0 +
+++ xplc-0.3.13/debian/control  2024-02-06 00:35:13.0 +
@@ -8,7 +8,10 @@
 Vcs-Git: https://salsa.debian.org/debian/xplc.git
 Vcs-Browser: https://salsa.debian.org/debian/xplc
 
-Package: libxplc0.3.13
+Package: libxplc0.3.13t64
+Provides: ${t64:Provides}
+Replaces: libxplc0.3.13
+Breaks: libxplc0.3.13 (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Multi-Arch: same
@@ -22,7 +25,7 @@
 Package: libxplc0.3.13-dev
 Section: libdevel
 Architecture: any
-Depends: libxplc0.3.13 (= ${binary:Version}), uuidcdef, ${shlibs:Depends}, 
${misc:Depends}
+Depends: libxplc0.3.13t64 (= ${binary:Version}), uuidcdef, ${shlibs:Depends}, 
${misc:Depends}
 Description: Light weight component system (Development libraries and headers)
  XPLC ("Cross-Platform Lightweight Components") is a component system that
  will provide extensibility and reusability both inside and between
diff -Nru xplc-0.3.13/debian/libxplc0.3.13.symbols 
xplc-0.3.13/debian/libxplc0.3.13.symbols
--- xplc-0.3.13/debian/libxplc0.3.13.symbols2022-11-27 04:40:10.0 
+
+++ xplc-0.3.13/debian/libxplc0.3.13.symbols1970-01-01 00:00:00.0 
+
@@ -1,2 +0,0 @@
-libxplc.so.0.3.13-unstable libxplc0.3.13 #MINVER#
- XPLC_getServiceManager@Base 0.3.13
diff -Nru xplc-0.3.13/debian/libxplc0.3.13t64.lintian-overrides 
xplc-0.3.13/debian/libxplc0.3.13t64.lintian-overrides
--- xplc-0.3.13/debian/libxplc0.3.13t64.lintian-overrides   1970-01-01 
00:00:00.0 +
+++ xplc-0.3.13/debian/libxplc0.3.13t64.lintian-overrides   2024-02-06 
00:35:13.0 +
@@ -0,0 +1 @@
+libxplc0.3.13t64: package-name-doesnt-match-sonames libxplc0.3.13
diff -Nru xplc-0.3.13/debian/libxplc0.3.13t64.symbols 
xplc-0.3.13/debian/libxplc0.3.13t64.symbols
--- xplc-0.3.13/debian/libxplc0.3.13t64.symbols 1970-01-01 00:00:00.0 
+
+++ xplc-0.3.13/debian/libxplc0.3.13t64.symbols 2024-02-06 00:35:13.0 
+
@@ -0,0 +1,2 @@
+libxplc.so.0.3.13-unstable libxplc0.3.13t64 #MINVER#
+ XPLC_getServiceManager@Base 0.3.13
diff -Nru xplc-0.3.13/debian/rules xplc-0.3.13/debian/rules
--- xplc-0.3.13/debian/rules2022-11-27 04:40:10.0 +
+++