Bug#1062905: snacc: NMU diff for 64-bit time_t transition
Source: snacc 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 snacc-1.3.1/debian/changelog snacc-1.3.1/debian/changelog --- snacc-1.3.1/debian/changelog2022-04-30 01:33:59.0 + +++ snacc-1.3.1/debian/changelog2024-02-29 16:54:20.0 + @@ -1,3 +1,10 @@ +snacc (1.3.1-9.1) unstable; urgency=medium + + * Non-maintainer upload. + * Rename libraries for 64-bit time_t transition. Closes: #1062905 + + -- Benjamin Drung Thu, 29 Feb 2024 16:54:20 + + snacc (1.3.1-9) unstable; urgency=medium * QA upload. diff -Nru snacc-1.3.1/debian/control snacc-1.3.1/debian/control --- snacc-1.3.1/debian/control 2022-04-30 01:26:01.0 + +++ snacc-1.3.1/debian/control 2024-02-29 16:54:20.0 + @@ -2,7 +2,7 @@ Maintainer: Debian QA Group Section: devel Priority: optional -Build-Depends: libfl-dev, +Build-Depends: dpkg-dev (>= 1.22.5), libfl-dev, libtool, debhelper-compat (= 13), bison, @@ -37,13 +37,13 @@ . If you want to build snacc based applications, you want to install the libsnacc-dev package, too. Your application will then depend on - the snacc libraries, you find in the libsnacc0c2 package. + the snacc libraries, you find in the libsnacc0t64 package. Package: libsnacc-dev Architecture: any Section: libdevel Depends: ${misc:Depends}, - libsnacc0c2 (= ${binary:Version}) + libsnacc0t64 (= ${binary:Version}) Recommends: snacc-doc Description: ASN.1 to C or C++ or IDL compiler, development files Snacc is short for "Sample Neufeld ASN.1 to C Compiler" and ASN.1 @@ -54,7 +54,10 @@ This package contains the static libraries and C/C++ header files for snacc development. -Package: libsnacc0c2 +Package: libsnacc0t64 +Provides: ${t64:Provides} +X-Time64-Compat: libsnacc0c2 +Breaks: libsnacc0c2 (<< ${source:Version}) Architecture: any Multi-Arch: same Section: libs @@ -62,7 +65,7 @@ ${shlibs:Depends} Pre-Depends: ${misc:Pre-Depends} Conflicts: libsnacc0 -Replaces: libsnacc0 +Replaces: libsnacc0c2, libsnacc0 Description: ASN.1 to C or C++ or IDL compiler, shared libraries Snacc is short for "Sample Neufeld ASN.1 to C Compiler" and ASN.1 stands for Abstract Syntax Notation One (ITU-T X.208/ISO 8824). diff -Nru snacc-1.3.1/debian/libsnacc0c2.dirs snacc-1.3.1/debian/libsnacc0c2.dirs --- snacc-1.3.1/debian/libsnacc0c2.dirs 2022-04-29 23:35:39.0 + +++ snacc-1.3.1/debian/libsnacc0c2.dirs 1970-01-01 00:00:00.0 + @@ -1,3 +0,0 @@ -usr/lib -usr/share/doc/libsnacc0c2 -usr/share/lintian/overrides diff -Nru snacc-1.3.1/debian/libsnacc0c2.install snacc-1.3.1/debian/libsnacc0c2.install --- snacc-1.3.1/debian/libsnacc0c2.install 2022-04-29 23:35:39.0 + +++ snacc-1.3.1/debian/libsnacc0c2.install 1970-01-01 00:00:00.0 + @@ -1,12 +0,0 @@ -usr/lib/*/libasn1cCebuf.so.0.0.0 -usr/lib/*/libasn1cCebuf.so.0 -usr/lib/*/libasn1cebuf.so.0.0.0 -usr/lib/*/libasn1cebuf.so.0 -usr/lib/*/libasn1cmbuf.so.0.0.0 -usr/lib/*/libasn1cmbuf.so.0 -usr/lib/*/libasn1csbuf.so.0.0.0 -usr/lib/*/libasn1csbuf.so.0 -usr/lib/*/libasn1ctbl.so.0.0.0 -usr/lib/*/libasn1ctbl.so.0 -usr/lib/*/libasn1c++.so.0.0.0 -usr/lib/*/libasn1c++.so.0 diff -Nru snacc-1.3.1/debian/libsnacc0c2.lintian-overrides snacc-1.3.1/debian/libsnacc0c2.lintian-overrides --- snacc-1.3.1/debian/libsnacc0c2.lintian-overrides2022-04-29 23:35:39.0 + +++ snacc-1.3.1/debian/libsnacc0c2.lintian-overrides1970-01-01 00:00:00.0 + @@ -1 +0,0 @@ -libsnacc0c2 binary: package-name-doesnt-match-sonames diff -Nru snacc-1.3.1/debian/libsnacc0c2.symbols snacc-1.3.1/debian/libsnacc0c2.symbols --- snacc-1.3.1/debian/libsnacc0c2.symbols 2022-04-29 23:35:39.0 + +++ snacc-1.3.1/debian/libsnacc0c2.symbols 1970-01-01 00:00:00.0 + @@ -1,1335 +0,0 @@ -libasn1c++.so.0 libsnacc0c2 #MINVER# - MINUS_INFINITY@Base 1.3.1 - PLUS_INFINITY@Base 1.3.1 - (optional)_Z10BEncDefLenR6AsnBufj@Base 1.3.1 - (optional)_Z10BEncDefLenR6AsnBufm@Base 1.3.1 - _Z15AsnPlusInfinityv@Base 1.3.1 - _Z16AsnMinusInfinityv@Base 1.3.1 - _Z17SignedIntOctetLenl@Base 1.3.1 - (optional)_Z18FillOctetStringStkR6AsnBufjRjP13__jmp_buf_tag@Base 1.3.1 - (optional)_Z18FillOctetStringStkR6AsnBufmRmP13__jmp_buf_tag@Base 1.3.1 - _Z
Bug#1062905: snacc: NMU diff for 64-bit time_t transition
Source: snacc Version: 1.3.1-9 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 snacc 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 snacc 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'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 6.5.0-5-amd64 (SMP w/32 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 snacc-1.3.1/debian/changelog snacc-1.3.1/debian/changelog --- snacc-1.3.1/debian/changelog2022-04-30 01:33:59.0 + +++ snacc-1.3.1/debian/changelog2024-02-03 23:00:41.0 + @@ -1,3 +1,10 @@ +snacc (1.3.1-9.1) experimental; urgency=medium + + * Non-maintainer upload. + * Rename libraries for 64-bit time_t transition. + + -- Sergio Durigan Junior Sat, 03 Feb 2024 23:00:41 + + snacc (1.3.1-9) unstable; urgency=medium * QA upload. diff -Nru snacc-1.3.1/debian/control snacc-1.3.1/debian/control --- snacc-1.3.1/debian/control 2022-04-30 01:26:01.0 + +++ snacc-1.3.1/debian/control 2024-02-03 23:00:41.0 + @@ -37,13 +37,13 @@ . If you want to build snacc based applications, you want to install the libsnacc-dev package, too. Your application will then depend on - the snacc libraries, you find in the libsnacc0c2 package. + the snacc libraries, you find in the libsnacc0t64 package. Package: libsnacc-dev Architecture: any Section: libdevel Depends: ${misc:Depends}, - libsnacc0c2 (= ${binary:Version}) + libsnacc0t64 (= ${binary:Version}) Recommends: snacc-doc Description: ASN.1 to C or C++ or IDL compiler, development files Snacc is short for "Sample Neufeld ASN.1 to C Compiler" and ASN.1 @@ -54,7 +54,10 @@ This package contains the static libraries and C/C++ header files for snacc development. -Package: libsnacc0c2 +Package: libsnacc0t64 +Provides: ${t64:Provides} +X-Time64-Compat: libsnacc0c2 +Breaks: libsnacc0c2 (<< ${source:Version}) Architecture: any Multi-Arch: same Section: libs @@ -62,7 +65,7 @@ ${shlibs:Depends} Pre-Depends: ${misc:Pre-Depends} Conflicts: libsnacc0 -Replaces: libsnacc0 +Replaces: libsnacc0c2, libsnacc0 Description: ASN.1 to C or C++ or IDL compiler, shared libraries Snacc is short for "Sample Neufeld ASN.1 to C Compiler" and ASN.1 stands for Abstract Syntax Notation One (ITU-T X.208/ISO 8824). diff -Nru snacc-1.3.1/debian/libsnacc0c2.dirs snacc-1.3.1/debian/libsnacc0c2.dirs --- snacc-1.3.1/debian/libsnacc0c2.dirs 2022-04-29 23:35:39.0 + +++ snacc-1.3.1/debian/libsnacc0c2.dirs 1970-01-01 00:00:00.0 + @@ -1,3 +0,0 @@ -usr/lib -usr/share/doc/libsnacc0c2 -usr/share/lintian/overrides diff -Nru snacc-1.3.1/debian/libsnacc0c2.install snacc-1.3.1/debian/libsnacc0c2.install --- snacc-1.3.1/debian/libsnacc0c2.install 2022-04-29 23:35:39.0 + +++ snacc-1.3.1/debian/libsnacc0c2.install 1970-01-01 00:00:00.0 + @@ -1,12 +0,0 @@ -usr/lib/*/libasn1cCebuf.so.0.0.0 -usr/lib/*/libasn1cCebuf.so.0 -usr/lib/*/libasn1cebuf.so.0.0.0 -usr/lib/*/libasn1cebuf.so.0 -usr/lib/*/libasn1cmbuf.so.0.0.0 -usr/lib/*/libasn1cmbuf.so.0 -usr/lib/*/libasn1csbuf.so.0.0.0 -usr/lib/*/libasn1csbuf.so.0 -usr/lib/*/libasn1ctbl.so.0.0.0 -usr/lib/