• Bug#1061896: apt: NMU diff for 64-bit time_t transition (1/9)

    From Steve Langasek@21:1/5 to All on Tue Jan 30 02:10:02 2024
    This is a multi-part MIME message sent by reportbug.


    Source: apt
    Version: 2.7.10
    Severity: serious
    Tags: patch pending
    Justification: library ABI skew on upgrade
    User: debian-arm@lists.debian.org
    Usertags: time-t

    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
    apt 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 apt
    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-14-generic (SMP w/12 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
    Locale: LANG=C, 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 apt-2.7.10/debian/changelog apt-2.7.10+nmu1/debian/changelog
    --- apt-2.7.10/debian/changelog 2024-01-19 08:31:13.000000000 +0000
    +++ apt-2.7.10+nmu1/debian/changelog 2024-01-30 01:01:21.000000000 +0000
    @@ -1,3 +1,10 @@
    +apt (2.7.10+nmu1) experimental; urgency=medium
    +
    + * Non-maintainer upload.
    + * Rename libraries for 64-bit time_t transition.
    +
    + -- Steve Langasek <vorlon@debian.org> Tue, 30 Jan 2024 01:01:21 +0000
    +
    apt (2.7.10) unstable; urgency=medium

    * pkgcachegen: Use placement new to construct header to make
    diff -Nru apt-2.7.10/debian/control apt-2.7.10+nmu1/debian/control
    --- apt-2.7.10/debian/control 2024-01-19 08:31:13.000000000 +0000
    +++ apt-2.7.10+nmu1/debian/control 2024-01-30 01:01:21.000000000 +0000
    @@ -70,16 +70,17 @@
    * apt-config as an interface to the configuration settings
    * apt-key as an interface to manage authentication keys

    -Package: libapt-pkg6.0
    +Package: libapt-pkg6.0t64
    +Replaces: libapt-pkg6.0
    Architecture: any
    Multi-Arch: same
    Priority: optional
    Pre-Depends: ${misc:Pre-Depends}
    Depends: ${m
  • From Steve Langasek@21:1/5 to All on Wed Jan 31 07:40:01 2024
    This is a multi-part MIME message sent by reportbug.


    Source: apt
    Followup-For: Bug #1061896

    Apologies, an oversight in the conversion script caused us to fail to
    update strict versioned dependencies on the previous package name.
    Please find attached a fixed patch.

    This has also now been uploaded to experimental.

    diff -Nru apt-2.7.10/debian/changelog apt-2.7.10+nmu1~exp2/debian/changelog
    --- apt-2.7.10/debian/changelog 2024-01-19 08:31:13.000000000 +0000
    +++ apt-2.7.10+nmu1~exp2/debian/changelog 2024-01-31 06:19:45.000000000 +0000
    @@ -1,3 +1,11 @@
    +apt (2.7.10+nmu1~exp2) experimental; urgency=medium
    +
    + * Non-maintainer upload.
    + * Rename libraries for 64-bit time_t transition.
    + * Fix uninstallable packages from the previous upload.
    +
    + -- Steve Langasek <vorlon@debian.org> Wed, 31 Jan 2024 06:19:45 +0000
    +
    apt (2.7.10) unstable; urgency=medium

    * pkgcachegen: Use placement new to construct header to make
    diff -Nru apt-2.7.10/debian/control apt-2.7.10+nmu1~exp2/debian/control
    --- apt-2.7.10/debian/control 2024-01-19 08:31:13.000000000 +0000
    +++ apt-2.7.10+nmu1~exp2/debian/control 2024-01-31 06:19:44.000000000 +0000
    @@ -39,7 +39,7 @@
    Architecture: any
    Depends: base-passwd (>= 3.6.1) | adduser,
    gpgv,
    - libapt-pkg6.0 (>= ${binary:Version}),
    + libapt-pkg6.0t64 (>= ${binary:Version}),
    ${apt:keyring},
    ${misc:Depends},