Bug#1064292: pyside2: NMU diff for 64-bit time_t transition
Source: pyside2
Version: 5.15.12-6
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
pyside2 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 pyside2
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')
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 pyside2-5.15.12/debian/changelog pyside2-5.15.12/debian/changelog
--- pyside2-5.15.12/debian/changelog 2024-02-08 08:13:11.000000000 +0000
+++ pyside2-5.15.12/debian/changelog 2024-02-19 18:32:19.000000000 +0000
@@ -1,3 +1,10 @@
+pyside2 (5.15.12-6.1) experimental; urgency=medium
+
+ * Non-maintainer upload.
+ * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vorlon@debian.org> Mon, 19 Feb 2024 18:32:19 +0000
+
pyside2 (5.15.12-6) unstable; urgency=medium
* Team upload.
diff -Nru pyside2-5.15.12/debian/control pyside2-5.15.12/debian/control
--- pyside2-5.15.12/debian/control 2024-02-08 08:13:11.000000000 +0000
+++ pyside2-5.15.12/debian/control 2024-02-19 18:32:19.000000000 +0000
@@ -76,13 +76,14 @@
.
This package contains the common documentation package.
-Package: libpyside2-py3-5.15
+Package: libpyside2-py3-5.15t64
+Breaks: libpyside2-py3-5.15 (<< ${source:Version})
Section: libs
Architecture: any
Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
Conflicts: libpyside2-py3-5.11, libpyside2-py3-5.13, libpyside2-py3-5.14
-Replaces: libpyside2-py3-5.11, libpyside2-py3-5.13, libpyside2-py3-5.14
-Provides: libpyside2-py3
+Replaces: libpyside2-py3-5.15, libpyside2-py3-5.11, libpyside2-py3-5.13, libpyside2-py3-5.14
+Provides: ${t64:Provides}, libpyside2-py3
Description: Python 3 bindings for Qt5 (base files)
pyside2 provides Python bindings for Qt 5.x framework.
.
@@ -94,7 +95,7 @@
Package: libpyside2-dev
Section: libdevel
Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, libpyside2-py3-5.15 (= ${binary:Version})
+Depends: ${misc:Depends}, ${shlibs:Depends}, libpyside2-py3-5.15t64 (= ${binary:Version})
Description: Python bindings for Qt5 (development files)
pyside2 provides Python bindings for Qt 5.x framework.
.
@@ -127,13 +128,14 @@
.
Shiboken2 is the binding generator used to create the PySide2 bindings.
-Package: libshiboken2-py3-5.15
+Package: libshiboken2-py3-5.15t64
+Breaks: libshiboken2-py3-5.15 (<< ${source:Version})
Section: libs
Architecture: any
Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
Conflicts: libshiboken2-py3-5.11, libshiboken2-py3-5.13, libshiboken2-py3-5.14
-Replaces: libshiboken2-py3-5.11, libshiboken2-py3-5.13, libshiboken2-py3-5.14
-Provides: libshiboken2-py3
+Replaces: libshiboken2-py3-5.15, libshiboken2-py3-5.11, libshiboken2-py3-5.13, libshiboken2-py3-5.14
+Provides: ${t64:Provides}, libshiboken2-py3
Description: CPython bindings generator for C++ libraries (Python3 shared library)
Shiboken2 is a bindings generator for C++ libraries that outputs CPython
source code. It collects information from library headers, and then
@@ -148,7 +150,7 @@
Section: libdevel
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends},
- libshiboken2-py3-5.15 (= ${binary:Version}), shiboken2 (= ${binary:Version}), python3-dev
+ libshiboken2-py3-5.15t64 (= ${binary:Version}), shiboken2 (= ${binary:Version}), python3-dev
Description: CPython bindings generator for C++ libraries (development files)
Shiboken2 is a bindings generator for C++ libraries that outputs CPython
source code. It collects information from library headers, and then
diff -Nru pyside2-5.15.12/debian/libpyside2-py3-5.15.install pyside2-5.15.12/debian/libpyside2-py3-5.15.install
--- pyside2-5.15.12/debian/libpyside2-py3-5.15.install 2024-02-08 08:13:11.000000000 +0000
+++ pyside2-5.15.12/debian/libpyside2-py3-5.15.install 1970-01-01 00:00:00.000000000 +0000
@@ -1,4 +0,0 @@
-pyside3_install/py3*-relwithdebinfo/lib/libpyside2*.so.* usr/lib/${DEB_HOST_MULTIARCH}
-pyside3_install/py3*-relwithdebinfo/lib/python*/site-packages/PySide2/_git_pyside_version.py usr/lib/python3/dist-packages/PySide2
-pyside3_install/py3*-relwithdebinfo/lib/python*/site-packages/PySide2/__init__.py usr/lib/python3/dist-packages/PySide2
-pyside3_install/py3*-relwithdebinfo/lib/python*/site-packages/PySide2/_config.py usr/lib/python3/dist-packages/PySide2
diff -Nru pyside2-5.15.12/debian/libpyside2-py3-5.15.lintian-overrides pyside2-5.15.12/debian/libpyside2-py3-5.15.lintian-overrides
--- pyside2-5.15.12/debian/libpyside2-py3-5.15.lintian-overrides 2024-02-08 08:13:11.000000000 +0000
+++ pyside2-5.15.12/debian/libpyside2-py3-5.15.lintian-overrides 1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-# We ship compiled versions for each supported python3 version, with a symlink to the default version
-package-name-doesnt-match-sonames *
diff -Nru pyside2-5.15.12/debian/libpyside2-py3-5.15t64.install pyside2-5.15.12/debian/libpyside2-py3-5.15t64.install
--- pyside2-5.15.12/debian/libpyside2-py3-5.15t64.install 1970-01-01 00:00:00.000000000 +0000
+++ pyside2-5.15.12/debian/libpyside2-py3-5.15t64.install 2024-02-08 08:13:11.000000000 +0000
@@ -0,0 +1,4 @@
+pyside3_install/py3*-relwithdebinfo/lib/libpyside2*.so.* usr/lib/${DEB_HOST_MULTIARCH}
+pyside3_install/py3*-relwithdebinfo/lib/python*/site-packages/PySide2/_git_pyside_version.py usr/lib/python3/dist-packages/PySide2
+pyside3_install/py3*-relwithdebinfo/lib/python*/site-packages/PySide2/__init__.py usr/lib/python3/dist-packages/PySide2
+pyside3_install/py3*-relwithdebinfo/lib/python*/site-packages/PySide2/_config.py usr/lib/python3/dist-packages/PySide2
diff -Nru pyside2-5.15.12/debian/libpyside2-py3-5.15t64.lintian-overrides pyside2-5.15.12/debian/libpyside2-py3-5.15t64.lintian-overrides
--- pyside2-5.15.12/debian/libpyside2-py3-5.15t64.lintian-overrides 1970-01-01 00:00:00.000000000 +0000
+++ pyside2-5.15.12/debian/libpyside2-py3-5.15t64.lintian-overrides 2024-02-19 18:32:19.000000000 +0000
@@ -0,0 +1,3 @@
+# We ship compiled versions for each supported python3 version, with a symlink to the default version
+package-name-doesnt-match-sonames *
+libpyside2-py3-5.15t64: package-name-doesnt-match-sonames libpyside2-py3-5.15
diff -Nru pyside2-5.15.12/debian/libshiboken2-py3-5.15.install pyside2-5.15.12/debian/libshiboken2-py3-5.15.install
--- pyside2-5.15.12/debian/libshiboken2-py3-5.15.install 2024-02-08 08:13:11.000000000 +0000
+++ pyside2-5.15.12/debian/libshiboken2-py3-5.15.install 1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-pyside3_install/py3*-relwithdebinfo/lib/libshiboken2*.so.* usr/lib/${DEB_HOST_MULTIARCH}
-pyside3_install/py3*-relwithdebinfo/lib/python3*/site-packages/shiboken2/* usr/lib/python3/dist-packages/shiboken2
diff -Nru pyside2-5.15.12/debian/libshiboken2-py3-5.15.lintian-overrides pyside2-5.15.12/debian/libshiboken2-py3-5.15.lintian-overrides
--- pyside2-5.15.12/debian/libshiboken2-py3-5.15.lintian-overrides 2024-02-08 08:13:11.000000000 +0000
+++ pyside2-5.15.12/debian/libshiboken2-py3-5.15.lintian-overrides 1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-# We ship compiled versions for each supported python3 version, with a symlink to the default version
-package-name-doesnt-match-sonames *
diff -Nru pyside2-5.15.12/debian/libshiboken2-py3-5.15t64.install pyside2-5.15.12/debian/libshiboken2-py3-5.15t64.install
--- pyside2-5.15.12/debian/libshiboken2-py3-5.15t64.install 1970-01-01 00:00:00.000000000 +0000
+++ pyside2-5.15.12/debian/libshiboken2-py3-5.15t64.install 2024-02-08 08:13:11.000000000 +0000
@@ -0,0 +1,2 @@
+pyside3_install/py3*-relwithdebinfo/lib/libshiboken2*.so.* usr/lib/${DEB_HOST_MULTIARCH}
+pyside3_install/py3*-relwithdebinfo/lib/python3*/site-packages/shiboken2/* usr/lib/python3/dist-packages/shiboken2
diff -Nru pyside2-5.15.12/debian/libshiboken2-py3-5.15t64.lintian-overrides pyside2-5.15.12/debian/libshiboken2-py3-5.15t64.lintian-overrides
--- pyside2-5.15.12/debian/libshiboken2-py3-5.15t64.lintian-overrides 1970-01-01 00:00:00.000000000 +0000
+++ pyside2-5.15.12/debian/libshiboken2-py3-5.15t64.lintian-overrides 2024-02-19 18:32:19.000000000 +0000
@@ -0,0 +1,3 @@
+# We ship compiled versions for each supported python3 version, with a symlink to the default version
+package-name-doesnt-match-sonames *
+libshiboken2-py3-5.15t64: package-name-doesnt-match-sonames libshiboken2-py3-5.15
diff -Nru pyside2-5.15.12/debian/rules pyside2-5.15.12/debian/rules
--- pyside2-5.15.12/debian/rules 2024-02-08 08:13:11.000000000 +0000
+++ pyside2-5.15.12/debian/rules 2024-02-19 18:32:19.000000000 +0000
@@ -4,7 +4,7 @@
# Safety measure to ensure package names match SONAMEs
PYSIDE_MAJOR := $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d. -f1-2)
-ifeq ($(shell awk '/Package:/ {print $$2}' debian/control | grep -- -$(PYSIDE_MAJOR)$$),)
+ifeq ($(shell awk '/Package:/ {print $$2}' debian/control | grep -- '-$(PYSIDE_MAJOR)\(t64\)\?$$'),)
$(error Please update package names for major version $(PYSIDE_MAJOR))
endif
ifeq ($(shell ls debian/lib* | grep -- -$(PYSIDE_MAJOR)),)
Reply to: