Source: python3.11 Version: 3.11.8-1 Severity: important Tags: patch pending sid trixie 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 python3.11 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 python3.11 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-21-generic (SMP w/16 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system)
diff -Nru python3.11-3.11.8/debian/changelog python3.11-3.11.8/debian/changelog --- python3.11-3.11.8/debian/changelog 2024-02-08 10:52:08.000000000 +1300 +++ python3.11-3.11.8/debian/changelog 2024-02-26 14:17:51.000000000 +1300 @@ -1,3 +1,10 @@ +python3.11 (3.11.8-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Rename libraries for 64-bit time_t transition. + + -- Michael Hudson-Doyle <michael.hud...@ubuntu.com> Mon, 26 Feb 2024 14:17:51 +1300 + python3.11 (3.11.8-1) unstable; urgency=medium * New upstream release. diff -Nru python3.11-3.11.8/debian/control python3.11-3.11.8/debian/control --- python3.11-3.11.8/debian/control 2023-12-09 08:27:08.000000000 +1300 +++ python3.11-3.11.8/debian/control 2024-02-26 14:14:52.000000000 +1300 @@ -116,7 +116,10 @@ This package contains some essential modules. It is normally not used on it's own, but as a dependency of python3.11-minimal. -Package: libpython3.11 +Package: libpython3.11t64 +Provides: ${t64:Provides} +Replaces: libpython3.11 +Breaks: libpython3.11 (<< ${source:Version}) Architecture: any Multi-Arch: same Section: libs @@ -234,14 +237,15 @@ . See the README.debug for more information. -Package: libpython3.11-dbg +Package: libpython3.11t64-dbg +Provides: ${t64:Provides} Section: debug Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: libpython3.11-stdlib (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} -Breaks: python3-gdbm-dbg (<< 3.9.9-1~) -Replaces: python3-gdbm-dbg (<< 3.9.9-1~) +Breaks: libpython3.11-dbg (<< ${source:Version}), python3-gdbm-dbg (<< 3.9.9-1~) +Replaces: libpython3.11-dbg, python3-gdbm-dbg (<< 3.9.9-1~) Description: Debug Build of the Python Interpreter (version 3.11) The package holds two things: . diff -Nru python3.11-3.11.8/debian/control.in python3.11-3.11.8/debian/control.in --- python3.11-3.11.8/debian/control.in 2023-12-09 08:25:58.000000000 +1300 +++ python3.11-3.11.8/debian/control.in 2024-02-26 14:13:44.000000000 +1300 @@ -116,7 +116,10 @@ This package contains some essential modules. It is normally not used on it's own, but as a dependency of @PVER@-minimal. -Package: lib@PVER@ +Package: lib@PVER@t64 +Provides: ${t64:Provides} +Replaces: lib@PVER@ +Breaks: lib@PVER@ (<< ${source:Version}) Architecture: any Multi-Arch: same Section: libs @@ -234,14 +237,15 @@ . See the README.debug for more information. -Package: lib@PVER@-dbg +Package: lib@PVER@t64-dbg +Provides: ${t64:Provides} Section: debug Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: lib@PVER@-stdlib (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} -Breaks: python3-gdbm-dbg (<< 3.9.9-1~) -Replaces: python3-gdbm-dbg (<< 3.9.9-1~) +Breaks: lib@PVER@-dbg (<< ${source:Version}), python3-gdbm-dbg (<< 3.9.9-1~) +Replaces: lib@PVER@-dbg, python3-gdbm-dbg (<< 3.9.9-1~) Description: Debug Build of the Python Interpreter (version @VER@) The package holds two things: . diff -Nru python3.11-3.11.8/debian/libPVER-dbg.overrides.in python3.11-3.11.8/debian/libPVER-dbg.overrides.in --- python3.11-3.11.8/debian/libPVER-dbg.overrides.in 2023-10-06 18:14:09.000000000 +1300 +++ python3.11-3.11.8/debian/libPVER-dbg.overrides.in 1970-01-01 12:00:00.000000000 +1200 @@ -1,17 +0,0 @@ -lib@PVER@-dbg binary: package-name-doesnt-match-sonames -lib@PVER@-dbg binary: non-dev-pkg-with-shlib-symlink - -# no, it's not unusual -lib@PVER@-dbg binary: unusual-interpreter - -# pointless lintian ... -lib@PVER@-dbg binary: hardening-no-fortify-functions - -lib@PVER@-dbg binary: arch-dependent-file-not-in-arch-specific-directory - -# yes, some extensions don't have references to any external lib -lib@PVER@-dbg binary: shared-lib-without-dependency-information -lib@PVER@-dbg binary: library-not-linked-against-libc - -# pyexpat.c contains expat error messages that lintian mis-attributes to embedding -lib@PVER@-dbg binary: embedded-library diff -Nru python3.11-3.11.8/debian/libPVER-dbg.prerm.in python3.11-3.11.8/debian/libPVER-dbg.prerm.in --- python3.11-3.11.8/debian/libPVER-dbg.prerm.in 2014-07-27 00:57:09.000000000 +1200 +++ python3.11-3.11.8/debian/libPVER-dbg.prerm.in 1970-01-01 12:00:00.000000000 +1200 @@ -1,23 +0,0 @@ -#! /bin/sh - -set -e - -case "$1" in - remove) - dpkg -L lib@PVER@-dbg@HOST_QUAL@ \ - | awk '/\.py$/ {print $0"c\n" $0"o"}' \ - | xargs -r rm -f >&2 - ;; - upgrade) - ;; - deconfigure) - ;; - failed-upgrade) - ;; - *) - echo "prerm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -#DEBHELPER# diff -Nru python3.11-3.11.8/debian/libPVER-dbg.symbols.in python3.11-3.11.8/debian/libPVER-dbg.symbols.in --- python3.11-3.11.8/debian/libPVER-dbg.symbols.in 2020-07-07 01:07:41.000000000 +1200 +++ python3.11-3.11.8/debian/libPVER-dbg.symbols.in 1970-01-01 12:00:00.000000000 +1200 @@ -1,13 +0,0 @@ -libpython@v...@d.so.1.0 libpython@VER@-dbg #MINVER# -#include "libpython.symbols" - _PyObject_DebugMallocStats@Base @SVER@ - _PySet_Dummy@Base @SVER@ - _PyUnicode_CheckConsistency@Base @SVER@ - _PyWideStringList_CheckConsistency@Base @SVER@ - _Py_Dealloc@Base @SVER@ - _Py_GetRefTotal@Base @SVER@ - _Py_HashSecret_Initialized@Base @SVER@ - _Py_NegativeRefcount@Base @SVER@ - _Py_RefTotal@Base @SVER@ - PyModule_Create2@Base @SVER@ - PyModule_FromDefAndSpec2@Base @SVER@ diff -Nru python3.11-3.11.8/debian/libPVER.overrides.in python3.11-3.11.8/debian/libPVER.overrides.in --- python3.11-3.11.8/debian/libPVER.overrides.in 2023-03-05 21:27:20.000000000 +1300 +++ python3.11-3.11.8/debian/libPVER.overrides.in 1970-01-01 12:00:00.000000000 +1200 @@ -1,4 +0,0 @@ -lib@PVER@ binary: package-name-doesnt-match-sonames - -# pyexpat.c contains expat error messages that lintian mis-attributes to embedding -lib@PVER@ binary: embedded-library diff -Nru python3.11-3.11.8/debian/libPVER.symbols.in python3.11-3.11.8/debian/libPVER.symbols.in --- python3.11-3.11.8/debian/libPVER.symbols.in 2019-05-08 05:57:13.000000000 +1200 +++ python3.11-3.11.8/debian/libPVER.symbols.in 1970-01-01 12:00:00.000000000 +1200 @@ -1,4 +0,0 @@ -libpython@VER@.so.1.0 libpython@VER@ #MINVER# -#include "libpython.symbols" - PyModule_Create2@Base @SVER@ - PyModule_FromDefAndSpec2@Base @SVER@ diff -Nru python3.11-3.11.8/debian/libPVERt64-dbg.overrides.in python3.11-3.11.8/debian/libPVERt64-dbg.overrides.in --- python3.11-3.11.8/debian/libPVERt64-dbg.overrides.in 1970-01-01 12:00:00.000000000 +1200 +++ python3.11-3.11.8/debian/libPVERt64-dbg.overrides.in 2024-02-26 14:13:44.000000000 +1300 @@ -0,0 +1,17 @@ +lib@PVER@-dbg binary: package-name-doesnt-match-sonames +lib@PVER@-dbg binary: non-dev-pkg-with-shlib-symlink + +# no, it's not unusual +lib@PVER@-dbg binary: unusual-interpreter + +# pointless lintian ... +lib@PVER@-dbg binary: hardening-no-fortify-functions + +lib@PVER@-dbg binary: arch-dependent-file-not-in-arch-specific-directory + +# yes, some extensions don't have references to any external lib +lib@PVER@-dbg binary: shared-lib-without-dependency-information +lib@PVER@-dbg binary: library-not-linked-against-libc + +# pyexpat.c contains expat error messages that lintian mis-attributes to embedding +lib@PVER@-dbg binary: embedded-library diff -Nru python3.11-3.11.8/debian/libPVERt64-dbg.prerm.in python3.11-3.11.8/debian/libPVERt64-dbg.prerm.in --- python3.11-3.11.8/debian/libPVERt64-dbg.prerm.in 1970-01-01 12:00:00.000000000 +1200 +++ python3.11-3.11.8/debian/libPVERt64-dbg.prerm.in 2024-02-26 14:13:44.000000000 +1300 @@ -0,0 +1,23 @@ +#! /bin/sh + +set -e + +case "$1" in + remove) + dpkg -L lib@PVER@t64-dbg@HOST_QUAL@ \ + | awk '/\.py$/ {print $0"c\n" $0"o"}' \ + | xargs -r rm -f >&2 + ;; + upgrade) + ;; + deconfigure) + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# diff -Nru python3.11-3.11.8/debian/libPVERt64-dbg.symbols.in python3.11-3.11.8/debian/libPVERt64-dbg.symbols.in --- python3.11-3.11.8/debian/libPVERt64-dbg.symbols.in 1970-01-01 12:00:00.000000000 +1200 +++ python3.11-3.11.8/debian/libPVERt64-dbg.symbols.in 2024-02-26 14:13:44.000000000 +1300 @@ -0,0 +1,13 @@ +libpython@v...@d.so.1.0 libpython@VER@t64-dbg #MINVER# +#include "libpython.symbols" + _PyObject_DebugMallocStats@Base @SVER@ + _PySet_Dummy@Base @SVER@ + _PyUnicode_CheckConsistency@Base @SVER@ + _PyWideStringList_CheckConsistency@Base @SVER@ + _Py_Dealloc@Base @SVER@ + _Py_GetRefTotal@Base @SVER@ + _Py_HashSecret_Initialized@Base @SVER@ + _Py_NegativeRefcount@Base @SVER@ + _Py_RefTotal@Base @SVER@ + PyModule_Create2@Base @SVER@ + PyModule_FromDefAndSpec2@Base @SVER@ diff -Nru python3.11-3.11.8/debian/libPVERt64.overrides.in python3.11-3.11.8/debian/libPVERt64.overrides.in --- python3.11-3.11.8/debian/libPVERt64.overrides.in 1970-01-01 12:00:00.000000000 +1200 +++ python3.11-3.11.8/debian/libPVERt64.overrides.in 2024-02-26 14:13:44.000000000 +1300 @@ -0,0 +1,4 @@ +lib@PVER@ binary: package-name-doesnt-match-sonames + +# pyexpat.c contains expat error messages that lintian mis-attributes to embedding +lib@PVER@ binary: embedded-library diff -Nru python3.11-3.11.8/debian/libPVERt64.symbols.in python3.11-3.11.8/debian/libPVERt64.symbols.in --- python3.11-3.11.8/debian/libPVERt64.symbols.in 1970-01-01 12:00:00.000000000 +1200 +++ python3.11-3.11.8/debian/libPVERt64.symbols.in 2024-02-26 14:13:44.000000000 +1300 @@ -0,0 +1,4 @@ +libpython@VER@.so.1.0 libpython@VER@t64 #MINVER# +#include "libpython.symbols" + PyModule_Create2@Base @SVER@ + PyModule_FromDefAndSpec2@Base @SVER@ diff -Nru python3.11-3.11.8/debian/rules python3.11-3.11.8/debian/rules --- python3.11-3.11.8/debian/rules 2024-02-08 10:52:08.000000000 +1300 +++ python3.11-3.11.8/debian/rules 2024-02-26 14:13:44.000000000 +1300 @@ -279,7 +279,7 @@ p_base := $(PVER) p_npie := $(PVER)-nopie p_min := $(PVER)-minimal -p_lib := lib$(PVER) +p_lib := lib$(PVER)t64 p_tk := $(PVER)-tk p_dev := $(PVER)-dev p_exam := $(PVER)-examples @@ -293,7 +293,7 @@ p_lbase := lib$(PVER)-stdlib p_lmin := lib$(PVER)-minimal p_ldev := lib$(PVER)-dev -p_ldbg := lib$(PVER)-dbg +p_ldbg := lib$(PVER)t64-dbg p_ltst := lib$(PVER)-testsuite d_base := debian/$(p_base)