• Bug#1064188: mrpt: NMU diff for 64-bit time_t transition (1/2)

    From Steve Langasek@21:1/5 to All on Sun Feb 18 09:10:03 2024
    This is a multi-part MIME message sent by reportbug.


    Source: mrpt
    Version: 1:2.11.9+ds-1
    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
    mrpt 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 mrpt
    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'), (500, 'testing'), (500, 'stable'), (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 mrpt-2.11.9+ds/debian/changelog mrpt-2.11.9+ds/debian/changelog
    --- mrpt-2.11.9+ds/debian/changelog 2024-02-11 18:10:01.000000000 +0000
    +++ mrpt-2.11.9+ds/debian/changelog 2024-02-18 05:05:21.000000000 +0000
    @@ -1,3 +1,10 @@
    +mrpt (1:2.11.9+ds-1.1) experimental; urgency=medium
    +
    + * Non-maintainer upload.
    + * Rename libraries for 64-bit time_t transition.
    +
    + -- Steve Langasek <vorlon@debian.org> Sun, 18 Feb 2024 05:05:21 +0000
    +
    mrpt (1:2.11.9+ds-1) unstable; urgency=medium

    * New upstream version 2.11.9+ds
    diff -Nru mrpt-2.11.9+ds/debian/control mrpt-2.11.9+ds/debian/control
    --- mrpt-2.11.9+ds/debian/control 2024-02-11 18:10:01.000000000 +0000
    +++ mrpt-2.11.9+ds/debian/control 2024-02-18 05:05:21.000000000 +0000
    @@ -74,7 +74,10 @@
    .
    Commented C++ examples for MRPT libraries.

    -Package: libmrpt-apps2.11
    +Package: libmrpt-apps2.11t64
    +Provides: ${t64:Provides}
    +Replaces: libmrpt-apps2.11
    +Breaks: libmrpt-apps2.11 (<< ${source:Version})
    Section: libs
    Architecture: any
    Multi-Arch: same
    @@ -89,7 +92,7 @@
    Section: libdevel
    Archite
  • From =?UTF-8?Q?Jos=C3=A9?= Luis Blanco-C@21:1/5 to All on Fri Mar 1 12:10:02 2024
    Hi Steve,
    As package and upstream's maintainer, what should I do to ensure the
    library is change safe?

    Would it help to totally remove references to time_t in all public headers?



    El dom, 18 feb 2024, 9:00, Steve Langasek <vorlon@debian.org> escribió:

    Source: mrpt
    Version: 1:2.11.9+ds-1
    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
    mrpt 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 mrpt
    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'), (500, 'testing'), (500, 'stable'), (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)


    <div dir="auto">Hi Steve,<div dir="auto">As package and upstream&#39;s maintainer, what should I do to ensure the library is change safe?</div><div dir="auto"><br></div><div dir="auto">Would it help to totally remove references to time_t in all public
    headers?</div><div dir="auto"><br></div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El dom, 18 feb 2024, 9:00, Steve Langasek &lt;<a href="mailto:vorlon@debian.org" target="_blank" rel="noreferrer">
    vorlon@debian.org</a>&gt; escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Source: mrpt<br>
    Version: 1:2.11.9+ds-1<br>
    Severity: important<br>
    Tags: patch pending sid trixie<br>
    User: <a href="mailto:debian-arm@lists.debian.org" rel="noreferrer noreferrer" target="_blank">debian-arm@lists.debian.org</a><br>
    Usertags: time-t<br>

    NOTICE: these changes must not be uploaded to unstable yet!<br>

    Dear maintainer,<br>

    As part of the 64-bit time_t transition required to support 32-bit<br> architectures in 2038 and beyond<br>
    (<a href="https://wiki.debian.org/ReleaseGoals/64bit-time" rel="noreferrer noreferrer noreferrer" target="_blank">https://wiki.debian.org/ReleaseGoals/64bit-time</a>), we have identified<br>
    mrpt as a source package shipping runtime libraries whose ABI<br>
    either is affected by the change in size of time_t, or could not be<br> analyzed via abi-compliance-checker (and therefore to be on the safe<br>
    side we assume is affected).<br>

    To ensure that inconsistent combinations of libraries with their<br> reverse-dependencies are never installed together, it is necessary to<br>
    have a library transition, which is most easily done by renaming the<br> runtime library package.<br>

    Since turning on 64-bit time_t is being handled centrally through a change<br> to the default dpkg-buildflags (<a href="https://bugs.debian.org/1037136" rel="noreferrer noreferrer noreferrer" target="_blank">https://bugs.debian.org/1037136</a>), it is<br>
    important that libraries affected by this ABI change all be uploaded close<br> together in time.  Therefore I have prepared a 0-day NMU for mrpt<br>
    which will initially be uploaded to experimental if possible, then to<br> unstable after packages have cleared binary NEW.<br>

    Please find the patch for this NMU attached.<br>

    If you have any concerns about this patch, please reach out ASAP.  Although<br>
    this package will be uploaded to experimental immediately, there will be a<br> period of several days before we begin uploads to unstable; so if information<br>
    becomes available that your package should not be included in the transition,<br>
    there is time for us to amend the planned uploads.<br>



    -- System Information:<br>
    Debian Release: trixie/sid<br>
      APT prefers unstable<br>
      APT policy: (500, &#39;unstable&#39;), (500, &#39;testing&#39;), (500, &#39;stable&#39;), (1, &#39;experimental&#39;)<br>
    Architecture: amd64 (x86_64)<br>

    Kernel: Linux 6.5.0-14-generic (SMP w/12 CPU threads; PREEMPT)<br>
    Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE<br>
    Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set<br>
    Shell: /bin/sh linked to /usr/bin/dash<br>
    Init: systemd (via /run/systemd/system)<br>
    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Steve Langasek@21:1/5 to All on Fri Mar 1 11:40: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 mrpt-2.11.10+ds/debian/changelog mrpt-2.11.10+ds/debian/changelog
    --- mrpt-2.11.10+ds/debian/changelog 2024-02-19 23:02:41.000000000 +0000
    +++ mrpt-2.11.10+ds/debian/changelog 2024-03-01 08:03:30.000000000 +0000
    @@ -1,3 +1,10 @@
    +mrpt (1:2.11.10+ds-1.1) unstable; urgency=medium
    +
    + * Non-maintainer upload.
    + * Rename libraries for 64-bit time_t transition. Closes: #1064188
    +
    + -- Steve Langasek <vorlon@debian.org> Fri, 01 Mar 2024 08:03:30 +0000
    +
    mrpt (1:2.11.10+ds-1) unstable; urgency=medium

    * New upstream version 2.11.10+ds
    diff -Nru mrpt-2.11.10+ds/debian/control mrpt-2.11.10+ds/debian/control
    --- mrpt-2.11.10+ds/debian/control 2024-02-19 23:02:41.000000000 +0000
    +++ mrpt-2.11.10+ds/debian/control 2024-03-01 08:03:29.000000000 +0000
    @@ -3,7 +3,7 @@
    Priority: optional
    Maintainer: Jose Luis Blanco Claraco <joseluisblancoc@gmail.com>
    Rules-Requires-Root: no
    -Build-Depends: debhelper-compat (= 13),
    +Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
    dh-sequence-python3, chrpath,
    cmake,
    doxygen-latex,
    @@ -74,7 +74,10 @@