Bug#1062043: cegui-mk2: NMU diff for 64-bit time_t transition

2024-02-27 Thread Steve Langasek
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'), (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 cegui-mk2-0.8.7+git20220615/debian/changelog 
cegui-mk2-0.8.7+git20220615/debian/changelog
--- cegui-mk2-0.8.7+git20220615/debian/changelog2023-09-23 
21:11:04.0 +
+++ cegui-mk2-0.8.7+git20220615/debian/changelog2024-02-28 
06:02:10.0 +
@@ -1,3 +1,10 @@
+cegui-mk2 (0.8.7+git20220615-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062043
+
+ -- Steve Langasek   Wed, 28 Feb 2024 06:02:10 +
+
 cegui-mk2 (0.8.7+git20220615-5) unstable; urgency=medium
 
   * Team upload
diff -Nru cegui-mk2-0.8.7+git20220615/debian/control 
cegui-mk2-0.8.7+git20220615/debian/control
--- cegui-mk2-0.8.7+git20220615/debian/control  2023-09-23 21:09:51.0 
+
+++ cegui-mk2-0.8.7+git20220615/debian/control  2024-02-28 06:02:10.0 
+
@@ -5,7 +5,7 @@
 Uploaders:
  Olek Wojnar ,
  Muammar El Khatib ,
-Build-Depends:
+Build-Depends: dpkg-dev (>= 1.22.5),
  cmake (>= 3.12.4),
  debhelper-compat (= 13),
  dh-python,
@@ -61,7 +61,8 @@
 VcS-Browser: https://salsa.debian.org/games-team/cegui-mk2
 VcS-Git: https://salsa.debian.org/games-team/cegui-mk2.git
 
-Package: libcegui-mk2-0.8.7
+Package: libcegui-mk2-0.8.7t64
+Provides: ${t64:Provides}
 Architecture: any
 Multi-Arch: same
 Depends:
@@ -69,9 +70,9 @@
  ${shlibs:Depends},
  ${misc:Depends},
 Recommends: python3-libcegui-mk2-0.8.7 (= ${binary:Version})
-Breaks: libsilly (<< 0.1.0-6.1)
+Breaks: libcegui-mk2-0.8.7 (<< ${source:Version}), libsilly (<< 0.1.0-6.1)
 Conflicts: libcegui-mk2-0c2a, libcegui-mk2-0.8.4
-Replaces: libcegui-mk2-0c2a, libcegui-mk2-0.8.4
+Replaces: libcegui-mk2-0.8.7, libcegui-mk2-0c2a, libcegui-mk2-0.8.4
 Description: Crazy Eddie's GUI (libraries)
  CEGUI is a free library providing windowing and widgets for graphics
  APIs and engines where such functionality is not natively available
@@ -86,11 +87,11 @@
 Architecture: any
 Multi-Arch: same
 Depends:
- libcegui-mk2-0.8.7 (= ${binary:Version}),
+ libcegui-mk2-0.8.7t64 (= ${binary:Version}),
  ${shlibs:Depends}, ${misc:Depends},
  ${python3:Depends}
-Breaks: libcegui-mk2-0.8.7 (<<0.8.7-3)
-Replaces: libcegui-mk2-0.8.7 (<<0.8.7-3)
+Breaks: libcegui-mk2-0.8.7t64 (<<0.8.7-3)
+Replaces: libcegui-mk2-0.8.7t64 (<<0.8.7-3)
 Description: Crazy Eddie's GUI (Python 3 Bindings)
  CEGUI is a free library providing windowing and widgets for graphics
  APIs and engines where such functionality is not natively available
@@ -105,7 +106,7 @@
 Architecture: any
 Multi-Arch: same
 Depends:
- libcegui-mk2-0.8.7 (= ${binary:Version}),
+ libcegui-mk2-0.8.7t64 (= ${binary:Version}),
  libdevil-dev,
  libfreeimage-dev,
  libfreetype-dev,
@@ -157,8 +158,8 @@
  fonts-junicode,
  fonts-jura,
  ${misc:Depends},
-Breaks: libcegui-mk2-0.8.7 (<<0.8.7-3)
-Replaces: libcegui-mk2-0.8.7 (<<0.8.7-3)
+Breaks: libcegui-mk2-0.8.7t64 (<<0.8.7-3)
+Replaces: libcegui-mk2-0.8.7t64 (<<0.8.7-3)
 Description: Crazy Eddie's GUI (data)
  CEGUI is a free library providing windowing and widgets for graphics
  APIs and engines where such functionality is not natively available
@@ -173,8 +174,8 @@
 Architecture: all
 Multi-Arch: foreign
 Depends: ${misc:Depends}
-Breaks: libcegui-mk2-0.8.7 (<<0.8.7-3)
-Replaces: libcegui-mk2-0.8.7 (<<0.8.7-3)
+Breaks: libcegui-mk2-0.8.7t64 (<<0.8.7-3)
+Replaces: libcegui-mk2-0.8.7t64 (<<0.8.7-3)
 Description: Crazy Eddie's GUI (fonts)
  CEGUI is a free library providing windowing and widgets for graphics
  APIs and engines where such functionality is not natively available
@@ -188,10 +189,10 @@
 Package: cegui-mk2-0.8.7
 Section: graphics
 Architecture: any
-Enhances: libcegui-mk2-0.8.7 (= ${binary:Version})
+Enhances: libcegui-mk2-0.8.7t64 (= ${binary:Version})
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Breaks: libcegui-mk2-0.8.7 (<<0.8.7-3)
-Replaces: libcegui-mk2-0.8.7 (<<0.8.7-3)
+Breaks: libcegui-mk2-0.8.7t64 (<<0.8.7-3)
+Replaces: libcegui-mk2-0.8.7t64 (<<0.8.7-3)
 Description: Crazy Eddie's GUI (executables)
  CEGUI is a free library providing windowing and widgets for graphics
  APIs and engines where such functionality is not natively available
diff -Nru cegui-mk2-0.8.7+git20220615/debian/libcegui-mk2-0.8.7.install 
cegui-mk2-0.8.7+git20220615/debian/libcegui-mk2-0.8.7.install
--- 

Bug#1062043: cegui-mk2: NMU diff for 64-bit time_t transition

2024-01-30 Thread Steve Langasek
Source: cegui-mk2
Version: 0.8.7+git20220615-5
Severity: serious
Tags: patch pending
Justification: library ABI skew on upgrade
User: debian-...@lists.debian.org
Usertags: time-t

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
cegui-mk2 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 cegui-mk2
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-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 cegui-mk2-0.8.7+git20220615/debian/changelog 
cegui-mk2-0.8.7+git20220615/debian/changelog
--- cegui-mk2-0.8.7+git20220615/debian/changelog2023-09-23 
21:11:04.0 +
+++ cegui-mk2-0.8.7+git20220615/debian/changelog2024-01-31 
05:06:45.0 +
@@ -1,3 +1,10 @@
+cegui-mk2 (0.8.7+git20220615-5.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Wed, 31 Jan 2024 05:06:45 +
+
 cegui-mk2 (0.8.7+git20220615-5) unstable; urgency=medium
 
   * Team upload
diff -Nru cegui-mk2-0.8.7+git20220615/debian/control 
cegui-mk2-0.8.7+git20220615/debian/control
--- cegui-mk2-0.8.7+git20220615/debian/control  2023-09-23 21:09:51.0 
+
+++ cegui-mk2-0.8.7+git20220615/debian/control  2024-01-31 05:06:45.0 
+
@@ -61,7 +61,8 @@
 VcS-Browser: https://salsa.debian.org/games-team/cegui-mk2
 VcS-Git: https://salsa.debian.org/games-team/cegui-mk2.git
 
-Package: libcegui-mk2-0.8.7
+Package: libcegui-mk2-0.8.7t64
+Provides: ${t64:Provides}
 Architecture: any
 Multi-Arch: same
 Depends:
@@ -69,9 +70,9 @@
  ${shlibs:Depends},
  ${misc:Depends},
 Recommends: python3-libcegui-mk2-0.8.7 (= ${binary:Version})
-Breaks: libsilly (<< 0.1.0-6.1)
+Breaks: libcegui-mk2-0.8.7 (<< ${source:Version}), libsilly (<< 0.1.0-6.1)
 Conflicts: libcegui-mk2-0c2a, libcegui-mk2-0.8.4
-Replaces: libcegui-mk2-0c2a, libcegui-mk2-0.8.4
+Replaces: libcegui-mk2-0.8.7, libcegui-mk2-0c2a, libcegui-mk2-0.8.4
 Description: Crazy Eddie's GUI (libraries)
  CEGUI is a free library providing windowing and widgets for graphics
  APIs and engines where such functionality is not natively available
@@ -86,11 +87,11 @@
 Architecture: any
 Multi-Arch: same
 Depends:
- libcegui-mk2-0.8.7 (= ${binary:Version}),
+ libcegui-mk2-0.8.7t64 (= ${binary:Version}),
  ${shlibs:Depends}, ${misc:Depends},
  ${python3:Depends}
-Breaks: libcegui-mk2-0.8.7 (<<0.8.7-3)
-Replaces: libcegui-mk2-0.8.7 (<<0.8.7-3)
+Breaks: libcegui-mk2-0.8.7t64 (<<0.8.7-3)
+Replaces: libcegui-mk2-0.8.7t64 (<<0.8.7-3)
 Description: Crazy Eddie's GUI (Python 3 Bindings)
  CEGUI is a free library providing windowing and widgets for graphics
  APIs and engines where such functionality is not natively available
@@ -105,7 +106,7 @@
 Architecture: any
 Multi-Arch: same
 Depends:
- libcegui-mk2-0.8.7 (= ${binary:Version}),
+ libcegui-mk2-0.8.7t64 (= ${binary:Version}),
  libdevil-dev,
  libfreeimage-dev,
  libfreetype-dev,
@@ -157,8 +158,8 @@
  fonts-junicode,
  fonts-jura,
  ${misc:Depends},
-Breaks: libcegui-mk2-0.8.7 (<<0.8.7-3)
-Replaces: libcegui-mk2-0.8.7 (<<0.8.7-3)
+Breaks: libcegui-mk2-0.8.7t64 (<<0.8.7-3)
+Replaces: libcegui-mk2-0.8.7t64 (<<0.8.7-3)
 Description: Crazy Eddie's GUI (data)
  CEGUI is a free library providing windowing and widgets for graphics
  APIs and engines where such functionality is not natively