From: Steve Langasek Date: Thu, 1 Feb 2024 11:47:49 +0000 (+0100) Subject: debian: 64-bit time_t transition. X-Git-Url: http://git.tuebingen.mpg.de/?p=lopsub.git;a=commitdiff_plain;h=b4d4de17a5c87427c5c06a9926e9e39c96f42102 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 --- 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/liblopsub1.install deleted file mode 100644 index 6234859..0000000 --- a/debian/liblopsub1.install +++ /dev/null @@ -1,2 +0,0 @@ -debian/tmp/usr/share/man/man7/* -debian/tmp/usr/lib/*/liblopsub.so.* diff --git a/debian/liblopsub1t64.install b/debian/liblopsub1t64.install new file mode 100644 index 0000000..6234859 --- /dev/null +++ b/debian/liblopsub1t64.install @@ -0,0 +1,2 @@ +debian/tmp/usr/share/man/man7/* +debian/tmp/usr/lib/*/liblopsub.so.* 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