• Bug#1064301: oss4: NMU diff for 64-bit time_t transition

    From Steve Langasek@21:1/5 to Steve Langasek on Sat Mar 2 06:30:01 2024
    --Jfz0mGjzG/fDAUmK
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: inline
    Content-Transfer-Encoding: quoted-printable

    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!

    On Mon, Feb 19, 2024 at 12:32:53PM -0800, Steve Langasek wrote:
    Source: oss4
    Version: 4.2-build2020-2
    Severity: important
    Tags: patch pending sid trixie
    User: debian-arm@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 oss4
    as a source package shipping runtime libraries whose ABI is affected by the change in size of time_t.

    To ensure that inconsistent combinations of libraries with their reverse-dependencies are never installed together, it is necessary to
    have a library transition. Since the affected library is libasound2, the actual library transition is in alsa-lib and oss4 only needs changes to its Provides: to match.

    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 oss4 which will initially be uploaded to experimental, 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.

    --
    Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer https://www.debian.org/ slangasek@ubuntu.com vorlon@debian.org

    diff -Nru oss4-4.2-build2020/debian/changelog oss4-4.2-build2020/debian/changelog
    --- oss4-4.2-build2020/debian/changelog 2023-08-04 17:12:47.000000000 -0700
    +++ oss4-4.2-build2020/debian/changelog 2024-02-19 11:59:19.000000000 -0800
    @@ -1,3 +1,13 @@
    +oss4 (4.2-build2020-2.1) experimental; urgency=medium
    +
    + * Non-maintainer upload.
    + * Update libasound2 provides for 64-bit time_t transition.
    + * Use explicit Provides: for libasound2 compat on 64-bit archs since
    + debhelper won't be able to work this out given 't64' is not in the
    + package name.
    +
    + -- Steve Langasek <vorlon@debian.org> Mon, 19 Feb 2024 19:59:19 +0000
    +
    oss4 (4.2-build2020-2) unstable; urgency=medium

    * control: Drop dependency on now-obsolete lsb-base.
    diff -Nru oss4-4.2-build2020/debian/control oss4-4.2-build2020/debian/control --- oss4-4.2-build2020/debian/control 2023-08-04 17:09:33.000000000 -0700
    +++ oss4-4.2-build2020/debian/control 2024-02-19 11:59:19.000000000 -0800
    @@ -96,8 +96,8 @@
    Package: liboss4-salsa-asound2
    Section: libs
    Architecture: any
    -Provides: libasound2
    -Conflicts: libasound2
    +Provides: libasound2t64, libasound2 [amd64 arm64 mips64el ppc64el riscv64 s390x]
    +Conflicts: libasound2t64, libasound2
    Multi-Arch: same
    Depends: liboss4-salsa2, ${misc:Depends}
    Pre-Depends: ${misc:Pre-Depends}


    --
    Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer https://www.debian.org/ slangasek@ubuntu.com vorlon@debian.org

    --Jfz0mGjzG/fDAUmK
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: attachment; filename="nmu_oss4.debdiff" Content-Transfer-Encoding: quoted-printable

    diff -Nru oss4-4.2-build2020/debian/changelog oss4-4.2-build2020/debian/changelog
    --- oss4-4.2-build2020/debian/changelog 2023-08-05 00:12:47.000000000 +0000
    +++ oss4-4.2-build2020/debian/changelog 2024-02-19 19:59:19.000000000 +0000
    @@ -1,3 +1,13 @@
    +oss4 (4.2-build2020-2.1) unstable; urgency=medium
    +
    + * Non-maintainer upload.
    + * Update libasound2 provides for 64-bit time_t transition.
    + * Use explicit Provides: for libasound2 compat on 64-bit archs since
    + debhelper won't be able to work this out given 't64' is not