• Bug#1063210: pari: NMU diff for 64-bit time_t transition

    From Bill Allombert@21:1/5 to Lucas Kanashiro on Thu Feb 8 00:00:01 2024
    On Mon, Feb 05, 2024 at 02:43:30PM -0300, Lucas Kanashiro wrote:
    Source: pari
    Version: 2.15.4-2
    Severity: serious
    Tags: patch pending sid trixie
    Justification: library ABI skew on upgrade
    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
    pari 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 pari
    which will initially be uploaded to experimental if possible, then to unstable after packages have cleared binary NEW.

    Have you actually checked that pari will really be build with the relevant flags ?
    If there is a new ABI, then one should take the opportunity to remove CFLAGS_i386 := -mpc64

    There is no need for a lintian override, this is a well-known lintian bug...

    Cheers,
    Bill

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Steve Langasek@21:1/5 to All on Sat Mar 2 01:20:01 2024
    This is a multi-part MIME message sent by reportbug.


    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')
    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 pari-2.15.4/debian/changelog pari-2.15.4/debian/changelog
    --- pari-2.15.4/debian/changelog 2023-07-12 10:08:54.000000000 +0000
    +++ pari-2.15.4/debian/changelog 2024-03-01 23:24:56.000000000 +0000
    @@ -1,3 +1,10 @@
    +pari (2.15.4-2.1) unstable; urgency=medium
    +
    + * Non-maintainer upload.
    + * Rename libraries for 64-bit time_t transition. Closes: #1063210
    +
    + -- Steve Langasek <vorlon@debian.org> Fri, 01 Mar 2024 23:24:56 +0000
    +
    pari (2.15.4-2) unstable; urgency=medium

    * New patch: usptream-forqfvec: from upstream, fix 32bit support
    diff -Nru pari-2.15.4/debian/control pari-2.15.4/debian/control
    --- pari-2.15.4/debian/control 2023-07-10 09:31:13.000000000 +0000
    +++ pari-2.15.4/debian/control 2024-03-01 23:24:56.000000000 +0000
    @@ -1,5 +1,5 @@
    Source: pari
    -Build-Depends: debhelper-compat (= 13), libreadline-dev, libx11-dev, libgmp-dev,
    +Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13), libreadline-dev, libx11-dev, libgmp-dev,
    pari-galdata, pari-elldata, pari-seadata, pari-galpol, pari-nflistdata
    Build-Depends-