Bug#1062722: qt-qml-models: NMU diff for 64-bit time_t transition

2024-02-14 Thread Wookey
On 2024-02-02 22:34 +, Sergio Durigan Junior wrote:
> 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
> qt-qml-models 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).

This library is packaged as a dependency of cavewhere. But cavewhere
has not yet been uploaded to the archive. It's quite specific and thus
has no other reverse dependencies, so in fact it has no dependencies and is
currently effectively unused in the archive.

Thus there is no need to rename it as part of this transition. A
rebuild when it's dependencies (qtbase5-dev, qtbase5-private-dev,
qtdeclarative5-dev) are uploaded would be sufficient.

I will try and get it to pass the abi-checker and see if it actually
changes ABI or not. I suspect not, but qt is complicated so it's possible.


Wookey
-- 
Principal hats:  Debian, Wookware, ARM
http://wookware.org/


signature.asc
Description: PGP signature


Bug#1062722: qt-qml-models: NMU diff for 64-bit time_t transition

2024-02-02 Thread Sergio Durigan Junior
Source: qt-qml-models
Version: 0~0.0-1
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
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
qt-qml-models 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 qt-qml-models
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-5-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
diff -Nru qt-qml-models-0~0.0/debian/changelog 
qt-qml-models-0~0.0/debian/changelog
--- qt-qml-models-0~0.0/debian/changelog2021-01-14 11:42:37.0 
+
+++ qt-qml-models-0~0.0/debian/changelog2024-02-02 22:34:21.0 
+
@@ -1,3 +1,10 @@
+qt-qml-models (0~0.0-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Sergio Durigan Junior   Fri, 02 Feb 2024 22:34:21 
+
+
 qt-qml-models (0~0.0-1) unstable; urgency=medium
 
   * Initial release (Closes: #980131)
diff -Nru qt-qml-models-0~0.0/debian/control qt-qml-models-0~0.0/debian/control
--- qt-qml-models-0~0.0/debian/control  2021-01-14 11:42:37.0 +
+++ qt-qml-models-0~0.0/debian/control  2024-02-02 22:34:21.0 +
@@ -8,7 +8,10 @@
 Homepage: https://github.com/cavewhere/qt-qml-models
 Rules-Requires-Root: no
 
-Package: libqtqmlmodels0
+Package: libqtqmlmodels0t64
+Provides: ${t64:Provides}
+Replaces: libqtqmlmodels0
+Breaks: libqtqmlmodels0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -30,7 +33,7 @@
 Package: libqtqmlmodels-dev 
 Architecture: any
 Multi-Arch: same
-Depends: libqtqmlmodels0 (= ${binary:Version}), ${misc:Depends}
+Depends: libqtqmlmodels0t64 (= ${binary:Version}), ${misc:Depends}
 Description: Additional list-type data models for QML apps
  This package adds 2 C++ data models to the qml back end, for use by 
  QML applications.
diff -Nru qt-qml-models-0~0.0/debian/libqtqmlmodels0.install 
qt-qml-models-0~0.0/debian/libqtqmlmodels0.install
--- qt-qml-models-0~0.0/debian/libqtqmlmodels0.install  2021-01-14 
11:42:37.0 +
+++ qt-qml-models-0~0.0/debian/libqtqmlmodels0.install  1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/libQtQmlModels.so.*
\ No newline at end of file
diff -Nru qt-qml-models-0~0.0/debian/libqtqmlmodels0t64.install 
qt-qml-models-0~0.0/debian/libqtqmlmodels0t64.install
--- qt-qml-models-0~0.0/debian/libqtqmlmodels0t64.install   1970-01-01 
00:00:00.0 +
+++ qt-qml-models-0~0.0/debian/libqtqmlmodels0t64.install   2021-01-14 
11:42:37.0 +
@@ -0,0 +1 @@
+usr/lib/*/libQtQmlModels.so.*
\ No newline at end of file
diff -Nru qt-qml-models-0~0.0/debian/libqtqmlmodels0t64.lintian-overrides 
qt-qml-models-0~0.0/debian/libqtqmlmodels0t64.lintian-overrides
--- qt-qml-models-0~0.0/debian/libqtqmlmodels0t64.lintian-overrides 
1970-01-01 00:00:00.0 +
+++ qt-qml-models-0~0.0/debian/libqtqmlmodels0t64.lintian-overrides 
2024-02-02 22:34:21.0 +
@@ -0,0 +1 @@
+libqtqmlmodels0t64: package-name-doesnt-match-sonames libqtqmlmodels0