From b4d4de17a5c87427c5c06a9926e9e39c96f42102 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Thu, 1 Feb 2024 12:47:49 +0100 Subject: [PATCH] debian: 64-bit time_t transition. 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 liblopsub 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 liblopsub which will initially be uploaded to experimental if possible, then to unstable after packages have cleared binary NEW. Signed-off-by: Andre Noll --- debian/changelog | 7 +++++++ debian/control | 7 +++++-- debian/{liblopsub1.install => liblopsub1t64.install} | 0 debian/liblopsub1t64.lintian-overrides | 1 + debian/rules | 2 +- 5 files changed, 14 insertions(+), 3 deletions(-) rename debian/{liblopsub1.install => liblopsub1t64.install} (100%) create mode 100644 debian/liblopsub1t64.lintian-overrides diff --git a/debian/changelog b/debian/changelog index 08cd28f..44bbaeb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +liblopsub (1.0.4-1.1) experimental; urgency=medium + + * Non-maintainer upload. + * Rename libraries for 64-bit time_t transition. + + -- Steve Langasek Thu, 01 Feb 2024 09:30:36 +0000 + liblopsub (1.0.4-1) unstable; urgency=low * Make the build reproducible (Chris Lamb, Vagrant Cascadian). Closes: diff --git a/debian/control b/debian/control index 004a71d..fe135b9 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,10 @@ Homepage: http://people.tuebingen.mpg.de/maan/lopsub Vcs-Browser: http://git.tuebingen.mpg.de/lopsub.git Vcs-Git: git://git.tuebingen.mpg.de/lopsub.git -Package: liblopsub1 +Package: liblopsub1t64 +Provides: ${t64:Provides} +Replaces: liblopsub1 +Breaks: liblopsub1 (<< ${source:Version}) Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Long Option Parser for Subcommands @@ -25,7 +28,7 @@ Homepage: http://people.tuebingen.mpg.de/maan/lopsub Package: liblopsub-dev Architecture: any -Depends: ${shlibs:Depends}, liblopsub1 (= ${binary:Version}), ${misc:Depends} +Depends: ${shlibs:Depends}, liblopsub1t64 (= ${binary:Version}), ${misc:Depends} Description: Long Option Parser for Subcommand - headers Lopsub is an open source library written in C which aims to ease the task of creating, documenting and parsing the options of Unix diff --git a/debian/liblopsub1.install b/debian/liblopsub1t64.install similarity index 100% rename from debian/liblopsub1.install rename to debian/liblopsub1t64.install diff --git a/debian/liblopsub1t64.lintian-overrides b/debian/liblopsub1t64.lintian-overrides new file mode 100644 index 0000000..bac78b9 --- /dev/null +++ b/debian/liblopsub1t64.lintian-overrides @@ -0,0 +1 @@ +liblopsub1t64: package-name-doesnt-match-sonames liblopsub1 diff --git a/debian/rules b/debian/rules index 3e73eac..3b5e4f1 100755 --- a/debian/rules +++ b/debian/rules @@ -3,7 +3,7 @@ # invoked with the package root as the current directory. sourcepackage := liblopsub -package := liblopsub1 +package := liblopsub1t64 devpackage := liblopsub-dev define checkdir -- 2.39.5