Bug#1064284: pcp: NMU diff for 64-bit time_t transition

2024-02-29 Thread Benjamin Drung
Source: pcp
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-21-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
diff -Nru pcp-6.2.0/debian/changelog pcp-6.2.0/debian/changelog
--- pcp-6.2.0/debian/changelog  2024-02-11 22:18:37.0 +
+++ pcp-6.2.0/debian/changelog  2024-02-29 20:04:59.0 +
@@ -1,3 +1,10 @@
+pcp (6.2.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1064284
+
+ -- Benjamin Drung   Thu, 29 Feb 2024 20:04:59 +
+
 pcp (6.2.0-1) unstable; urgency=low
 
   * New release (full details in CHANGELOG).
diff -Nru pcp-6.2.0/debian/control pcp-6.2.0/debian/control
--- pcp-6.2.0/debian/control2024-02-11 22:18:37.0 +
+++ pcp-6.2.0/debian/control2024-02-29 20:04:59.0 +
@@ -4,12 +4,12 @@
 Homepage: https://pcp.io
 Maintainer: PCP Development Team 
 Uploaders: Nathan Scott , Ken McDonell 
-Build-Depends: bison, flex, gawk, procps, pkg-config, debhelper (>= 5), perl 
(>= 5.6), libreadline-dev | libreadline5-dev | libreadline-gplv2-dev, chrpath, 
libbsd-dev [kfreebsd-any], libkvm-dev [kfreebsd-any], python3-dev, 
libsasl2-dev, libuv1-dev, libssl-dev, libavahi-common-dev, qtbase5-dev, 
qtbase5-dev-tools, libqt5svg5-dev, qtchooser, autotools-dev, zlib1g-dev, 
autoconf, libclass-dbi-perl, libdbd-mysql-perl, python3-psycopg2, 
python3-openpyxl, dh-python, libpfm4-dev, libncurses5-dev, python3-six, 
python3-json-pointer, python3-requests, libextutils-autoinstall-perl, 
libxml-tokeparser-perl, librrds-perl, libjson-perl, libwww-perl, 
libnet-snmp-perl, liblzma-dev, systemd, libsystemd-dev, python3-bpfcc [amd64 
arm64 armhf ppc64el s390x ppc64], bpftrace (>= 0.9.2) [amd64 arm64 ppc64el], 
clang, llvm, libbpf-dev (>= 0.8.0), libibumad-dev, libibmad-dev, manpages
+Build-Depends: dpkg-dev (>= 1.22.5), bison, flex, gawk, procps, pkg-config, 
debhelper (>= 5), perl (>= 5.6), libreadline-dev | libreadline5-dev | 
libreadline-gplv2-dev, chrpath, libbsd-dev [kfreebsd-any], libkvm-dev 
[kfreebsd-any], python3-dev, libsasl2-dev, libuv1-dev, libssl-dev, 
libavahi-common-dev, qtbase5-dev, qtbase5-dev-tools, libqt5svg5-dev, qtchooser, 
autotools-dev, zlib1g-dev, autoconf, libclass-dbi-perl, libdbd-mysql-perl, 
python3-psycopg2, python3-openpyxl, dh-python, libpfm4-dev, libncurses5-dev, 
python3-six, python3-json-pointer, python3-requests, 
libextutils-autoinstall-perl, libxml-tokeparser-perl, librrds-perl, 
libjson-perl, libwww-perl, libnet-snmp-perl, liblzma-dev, systemd, 
libsystemd-dev, python3-bpfcc [amd64 arm64 armhf ppc64el s390x ppc64], bpftrace 
(>= 0.9.2) [amd64 arm64 ppc64el], clang, llvm, libbpf-dev (>= 0.8.0), 
libibumad-dev, libibmad-dev, manpages
 Standards-Version: 3.9.3
 X-Python3-Version: >= 3.3
 
 Package: pcp
-Depends: ${shlibs:Depends}, ${misc:Depends}, gawk, procps, python3-pcp, 
python3, libpcp-pmda3 (= ${binary:Version}), libpcp-mmv1 (= ${binary:Version}), 
libpcp-web1 (= ${binary:Version}), libpcp-archive1 (= ${binary:Version}), 
libpcp3 (= ${binary:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, gawk, procps, python3-pcp, 
python3, libpcp-pmda3t64 (= ${binary:Version}), libpcp-mmv1t64 (= 
${binary:Version}), libpcp-web1t64 (= ${binary:Version}), libpcp-archive1t64 (= 
${binary:Version}), libpcp3t64 (= ${binary:Version})
 Recommends: libpcp-pmda-perl
 Conflicts: pgpool2, dstat, pcp-webapi, pcp-manager
 Suggests: pcp-gui, libpcp-import-perl, bpftrace (>= 0.9.2) [amd64 arm64 
ppc64el], python3-bpfcc [amd64 arm64 armhf ppc64el s390x ppc64], redis-server
@@ -28,7 +28,7 @@
 
 Package: pcp-conf
 Depends: ${misc:Depends}
-Breaks: libpcp3 (<< 3.9.0), pcp (<< 4.0.1)
+Breaks: libpcp3t64 (<< 3.9.0), pcp (<< 4.0.1)
 Section: libs
 Architecture: any
 Description: Performance Co-Pilot runtime configuration
@@ -43,7 +43,7 @@
 
 Package: libpcp3-dev
 Section: libdevel
-Depends: ${misc:Depends}, libpcp3 (= ${binary:Version}), libc6-dev | libc-dev
+Depends: ${misc:Depends}, libpcp3t64 (= ${binary:Version}), libc6-dev | 
libc-dev
 Breaks: pcp (<< 4.3.4), libpcp-gui2-dev (<< 3.11.10~), pcp-webapi (<< 5.0.0), 
pcp-manager (<< 5.2.0)
 Replaces: libpcp-gui2-dev (<< 3.11.10~), pcp-webapi (<< 5.0.0), pcp-manager 
(<< 5.2.0)
 Architecture: any
@@ -57,10 +57,12 @@
  client applications to easily retrieve and process any subset of
  that data.
 
-Package: libpcp3
+Package: libpcp3t64
+Provides: 

Bug#1064284: [pcp] Bug#1064284: pcp: NMU diff for 64-bit time_t transition

2024-02-26 Thread Nathan Scott
Hi Steve,

On Tue, Feb 20, 2024 at 3:11 PM Steve Langasek  wrote:
> [...]
> 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 pcp
> 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.

Thanks for preparing the patch, sorry for not getting back to you
sooner (I've been away).

I have discussed with other PCP maintainers and we'd prefer an
approach where we simply exclude PCP from the few remaining 32 bit
platforms, from the next major release onward.  This is consistent
with the approach taken with other distributions and avoids the
package name mangling and general user confusion that will result for
our packages.

> [...] if information
> becomes available that your package should not be included in the transition,
> there is time for us to amend the planned uploads.

cheers.

--
Nathan



Bug#1064284: pcp: NMU diff for 64-bit time_t transition

2024-02-19 Thread Steve Langasek
Source: pcp
Version: 6.2.0-1
Severity: important
Tags: patch pending sid trixie
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
pcp 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 pcp
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')
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 pcp-6.2.0/debian/changelog pcp-6.2.0/debian/changelog
--- pcp-6.2.0/debian/changelog  2024-02-11 22:18:37.0 +
+++ pcp-6.2.0/debian/changelog  2024-02-19 16:49:15.0 +
@@ -1,3 +1,10 @@
+pcp (6.2.0-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Mon, 19 Feb 2024 16:49:15 +
+
 pcp (6.2.0-1) unstable; urgency=low
 
   * New release (full details in CHANGELOG).
diff -Nru pcp-6.2.0/debian/control pcp-6.2.0/debian/control
--- pcp-6.2.0/debian/control2024-02-11 22:18:37.0 +
+++ pcp-6.2.0/debian/control2024-02-19 16:49:14.0 +
@@ -9,7 +9,7 @@
 X-Python3-Version: >= 3.3
 
 Package: pcp
-Depends: ${shlibs:Depends}, ${misc:Depends}, gawk, procps, python3-pcp, 
python3, libpcp-pmda3 (= ${binary:Version}), libpcp-mmv1 (= ${binary:Version}), 
libpcp-web1 (= ${binary:Version}), libpcp-archive1 (= ${binary:Version}), 
libpcp3 (= ${binary:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, gawk, procps, python3-pcp, 
python3, libpcp-pmda3t64 (= ${binary:Version}), libpcp-mmv1t64 (= 
${binary:Version}), libpcp-web1t64 (= ${binary:Version}), libpcp-archive1t64 (= 
${binary:Version}), libpcp3t64 (= ${binary:Version})
 Recommends: libpcp-pmda-perl
 Conflicts: pgpool2, dstat, pcp-webapi, pcp-manager
 Suggests: pcp-gui, libpcp-import-perl, bpftrace (>= 0.9.2) [amd64 arm64 
ppc64el], python3-bpfcc [amd64 arm64 armhf ppc64el s390x ppc64], redis-server
@@ -28,7 +28,7 @@
 
 Package: pcp-conf
 Depends: ${misc:Depends}
-Breaks: libpcp3 (<< 3.9.0), pcp (<< 4.0.1)
+Breaks: libpcp3t64 (<< 3.9.0), pcp (<< 4.0.1)
 Section: libs
 Architecture: any
 Description: Performance Co-Pilot runtime configuration
@@ -43,7 +43,7 @@
 
 Package: libpcp3-dev
 Section: libdevel
-Depends: ${misc:Depends}, libpcp3 (= ${binary:Version}), libc6-dev | libc-dev
+Depends: ${misc:Depends}, libpcp3t64 (= ${binary:Version}), libc6-dev | 
libc-dev
 Breaks: pcp (<< 4.3.4), libpcp-gui2-dev (<< 3.11.10~), pcp-webapi (<< 5.0.0), 
pcp-manager (<< 5.2.0)
 Replaces: libpcp-gui2-dev (<< 3.11.10~), pcp-webapi (<< 5.0.0), pcp-manager 
(<< 5.2.0)
 Architecture: any
@@ -57,10 +57,12 @@
  client applications to easily retrieve and process any subset of
  that data.
 
-Package: libpcp3
+Package: libpcp3t64
+Provides: ${t64:Provides}
+Replaces: libpcp3
 Depends: ${shlibs:Depends}, ${misc:Depends}, pcp-conf (= ${binary:Version})
 Conflicts: pgpool2
-Breaks: pcp (<< 2.8.0), libpcp3-dev (<< 2.8.5)
+Breaks: libpcp3 (<< ${source:Version}), pcp (<< 2.8.0), libpcp3-dev (<< 2.8.5)
 Section: libs
 Architecture: any
 Description: Performance Co-Pilot library
@@ -74,7 +76,7 @@
 
 Package: libpcp-gui2-dev
 Section: libdevel
-Depends: ${misc:Depends}, libpcp-gui2 (= ${binary:Version}), libpcp3 (= 
${binary:Version})
+Depends: ${misc:Depends}, libpcp-gui2t64 (= ${binary:Version}), libpcp3t64 (= 
${binary:Version})