Source: pgpool2 Version: 4.3.7-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 pgpool2 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 pgpool2 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.2.0-39-generic (SMP w/32 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C.UTF-8, 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 pgpool2-4.3.7/debian/changelog pgpool2-4.3.7/debian/changelog --- pgpool2-4.3.7/debian/changelog 2023-11-25 07:47:05.000000000 -0300 +++ pgpool2-4.3.7/debian/changelog 2024-02-05 15:24:39.000000000 -0300 @@ -1,3 +1,10 @@ +pgpool2 (4.3.7-1.1) experimental; urgency=medium + + * Non-maintainer upload. + * Rename libraries for 64-bit time_t transition. + + -- Lucas Kanashiro <kanash...@debian.org> Mon, 05 Feb 2024 15:24:39 -0300 + pgpool2 (4.3.7-1) unstable; urgency=medium * New upstream version 4.3.7. diff -Nru pgpool2-4.3.7/debian/control pgpool2-4.3.7/debian/control --- pgpool2-4.3.7/debian/control 2023-11-25 07:46:36.000000000 -0300 +++ pgpool2-4.3.7/debian/control 2024-02-05 15:24:39.000000000 -0300 @@ -35,7 +35,7 @@ Architecture: linux-any kfreebsd-any Pre-Depends: ${misc:Pre-Depends} Depends: - libpgpool2 (= ${binary:Version}), + libpgpool2t64 (= ${binary:Version}), lsb-base, postgresql-common, ucf, @@ -63,7 +63,10 @@ . This is version 3 of pgpool-II, the second generation of pgpool. -Package: libpgpool2 +Package: libpgpool2t64 +Provides: ${t64:Provides} +Replaces: libpgpool2 +Breaks: libpgpool2 (<< ${source:Version}) Architecture: linux-any kfreebsd-any Section: libs Depends: ${misc:Depends}, ${shlibs:Depends} @@ -75,7 +78,7 @@ Package: libpgpool-dev Architecture: linux-any kfreebsd-any Section: libdevel -Depends: libpgpool2 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} +Depends: libpgpool2t64 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} # We also provide /usr/lib/libpcp.{a,so} Conflicts: libpcp3-dev Description: pgpool control protocol library - headers @@ -86,7 +89,7 @@ Package: postgresql-16-pgpool2 Architecture: linux-any kfreebsd-any Depends: - libpgpool2 (>= ${binary:Version}), + libpgpool2t64 (>= ${binary:Version}), postgresql-16, ${misc:Depends}, ${shlibs:Depends}, diff -Nru pgpool2-4.3.7/debian/control.in pgpool2-4.3.7/debian/control.in --- pgpool2-4.3.7/debian/control.in 2023-11-25 07:46:36.000000000 -0300 +++ pgpool2-4.3.7/debian/control.in 2024-02-05 15:24:39.000000000 -0300 @@ -35,7 +35,7 @@ Architecture: linux-any kfreebsd-any Pre-Depends: ${misc:Pre-Depends} Depends: - libpgpool2 (= ${binary:Version}), + libpgpool2t64 (= ${binary:Version}), lsb-base, postgresql-common, ucf, @@ -63,7 +63,10 @@ . This is version 3 of pgpool-II, the second generation of pgpool. -Package: libpgpool2 +Package: libpgpool2t64 +Provides: ${t64:Provides} +Replaces: libpgpool2 +Breaks: libpgpool2 (<< ${source:Version}) Architecture: linux-any kfreebsd-any Section: libs Depends: ${misc:Depends}, ${shlibs:Depends} @@ -75,7 +78,7 @@ Package: libpgpool-dev Architecture: linux-any kfreebsd-any Section: libdevel -Depends: libpgpool2 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} +Depends: libpgpool2t64 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} # We also provide /usr/lib/libpcp.{a,so} Conflicts: libpcp3-dev Description: pgpool control protocol library - headers @@ -86,7 +89,7 @@ Package: postgresql-PGVERSION-pgpool2 Architecture: linux-any kfreebsd-any Depends: - libpgpool2 (>= ${binary:Version}), + libpgpool2t64 (>= ${binary:Version}), postgresql-PGVERSION, ${misc:Depends}, ${shlibs:Depends}, diff -Nru pgpool2-4.3.7/debian/libpgpool2.install pgpool2-4.3.7/debian/libpgpool2.install --- pgpool2-4.3.7/debian/libpgpool2.install 2023-09-20 04:33:03.000000000 -0300 +++ pgpool2-4.3.7/debian/libpgpool2.install 1969-12-31 21:00:00.000000000 -0300 @@ -1 +0,0 @@ -usr/lib/libpcp.so.* diff -Nru pgpool2-4.3.7/debian/libpgpool2.lintian-overrides pgpool2-4.3.7/debian/libpgpool2.lintian-overrides --- pgpool2-4.3.7/debian/libpgpool2.lintian-overrides 2023-09-20 04:33:03.000000000 -0300 +++ pgpool2-4.3.7/debian/libpgpool2.lintian-overrides 1969-12-31 21:00:00.000000000 -0300 @@ -1,10 +0,0 @@ -# There is already another libpcp in Debian, libpcp3/libpcp3-dev, therefore -# we call our packages libpgpool0/libpgpool-dev. We have a file conflict -# with /usr/lib/libpcp.{a,so}, so libpgpool-dev conflicts with libpcp3-dev. -# As they are already at SONAME 3 while we are at 0, the other package will -# not problems with our files in /usr/lib. (The alternative solution of -# putting libpcp.so.* in /usr/lib/pgpool2 would require setting RPATH in -# several places, which was both unsupported by the current build system -# (despite the documentation claiming otherwise) and also pretty ugly.) -# update 2022-03: we are now at soname 2 -libpgpool2: package-name-doesnt-match-sonames libpcp2 diff -Nru pgpool2-4.3.7/debian/libpgpool2t64.install pgpool2-4.3.7/debian/libpgpool2t64.install --- pgpool2-4.3.7/debian/libpgpool2t64.install 1969-12-31 21:00:00.000000000 -0300 +++ pgpool2-4.3.7/debian/libpgpool2t64.install 2023-09-20 04:33:03.000000000 -0300 @@ -0,0 +1 @@ +usr/lib/libpcp.so.* diff -Nru pgpool2-4.3.7/debian/libpgpool2t64.lintian-overrides pgpool2-4.3.7/debian/libpgpool2t64.lintian-overrides --- pgpool2-4.3.7/debian/libpgpool2t64.lintian-overrides 1969-12-31 21:00:00.000000000 -0300 +++ pgpool2-4.3.7/debian/libpgpool2t64.lintian-overrides 2024-02-05 15:24:39.000000000 -0300 @@ -0,0 +1,11 @@ +# There is already another libpcp in Debian, libpcp3/libpcp3-dev, therefore +# we call our packages libpgpool0/libpgpool-dev. We have a file conflict +# with /usr/lib/libpcp.{a,so}, so libpgpool-dev conflicts with libpcp3-dev. +# As they are already at SONAME 3 while we are at 0, the other package will +# not problems with our files in /usr/lib. (The alternative solution of +# putting libpcp.so.* in /usr/lib/pgpool2 would require setting RPATH in +# several places, which was both unsupported by the current build system +# (despite the documentation claiming otherwise) and also pretty ugly.) +# update 2022-03: we are now at soname 2 +libpgpool2t64: package-name-doesnt-match-sonames libpcp2 +libpgpool2t64: package-name-doesnt-match-sonames libpgpool2