Source: ogre-1.9 Version: 1.9.0+dfsg1-14 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 ogre-1.9 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 ogre-1.9 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.2.0-39-generic (SMP w/32 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C.UTF-8, 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 ogre-1.9-1.9.0+dfsg1/debian/changelog ogre-1.9-1.9.0+dfsg1/debian/changelog --- ogre-1.9-1.9.0+dfsg1/debian/changelog 2022-11-15 19:07:30.000000000 -0300 +++ ogre-1.9-1.9.0+dfsg1/debian/changelog 2024-02-03 09:52:58.000000000 -0300 @@ -1,3 +1,10 @@ +ogre-1.9 (1.9.0+dfsg1-14.1) experimental; urgency=medium + + * Non-maintainer upload. + * Rename libraries for 64-bit time_t transition. + + -- Lucas Kanashiro <kanash...@debian.org> Sat, 03 Feb 2024 09:52:58 -0300 + ogre-1.9 (1.9.0+dfsg1-14) unstable; urgency=medium * Bump Standards-Version to 4.6.1 (no changes needed) diff -Nru ogre-1.9-1.9.0+dfsg1/debian/control ogre-1.9-1.9.0+dfsg1/debian/control --- ogre-1.9-1.9.0+dfsg1/debian/control 2022-11-15 19:01:36.000000000 -0300 +++ ogre-1.9-1.9.0+dfsg1/debian/control 2024-02-03 09:52:58.000000000 -0300 @@ -39,7 +39,7 @@ Section: libdevel Architecture: any Depends: ${misc:Depends}, - libogre-1.9.0v5 (= ${binary:Version}), + libogre-1.9.0t64 (= ${binary:Version}), libboost-dev, libboost-thread-dev Conflicts: libogre-dev (<< 1.9.0), libogre-1.8-dev (<< 1.9.0) @@ -54,14 +54,17 @@ . This package contains the headers needed to develop with OGRE. -Package: libogre-1.9.0v5 +Package: libogre-1.9.0t64 +Provides: ${t64:Provides} +X-Time64-Compat: libogre-1.9.0v5 +Breaks: libogre-1.9.0v5 (<< ${source:Version}) Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} -Conflicts: libogre-1.9.0 -Replaces: libogre-1.9.0 +Conflicts: libogre-1.9.0v5 +Replaces: libogre-1.9.0v5, libogre-1.9.0 Description: 3D Object-Oriented Graphics Rendering Engine (libraries) OGRE (Object-Oriented Graphics Rendering Engine) is a scene-oriented, flexible 3D engine written in C++ designed to make it easier and more intuitive for diff -Nru ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0t64.lintian-overrides ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0t64.lintian-overrides --- ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0t64.lintian-overrides 1969-12-31 21:00:00.000000000 -0300 +++ ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0t64.lintian-overrides 2024-02-03 09:52:57.000000000 -0300 @@ -0,0 +1 @@ +libogre-1.9.0t64: package-name-doesnt-match-sonames libogre-1.9.0v5 diff -Nru ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0v5.install ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0v5.install --- ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0v5.install 1969-12-31 21:00:00.000000000 -0300 +++ ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0v5.install 2024-02-03 09:52:58.000000000 -0300 @@ -0,0 +1,2 @@ +usr/lib/*/libOgre*.so.* +usr/lib/*/OGRE-*/*.so* diff -Nru ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0v5.lintian-overrides ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0v5.lintian-overrides --- ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0v5.lintian-overrides 1969-12-31 21:00:00.000000000 -0300 +++ ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0v5.lintian-overrides 2024-02-03 09:52:58.000000000 -0300 @@ -0,0 +1,3 @@ +package-name-doesnt-match-sonames * +# Bug reported #690084, no simple way to untangle +embedded-library usr/lib/*/OGRE*/RenderSystem_GL.so.*: glew diff -Nru ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0v5.postinst ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0v5.postinst --- ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0v5.postinst 1969-12-31 21:00:00.000000000 -0300 +++ ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0v5.postinst 2024-02-03 09:52:58.000000000 -0300 @@ -0,0 +1,23 @@ +#!/bin/sh + +set -e + + +#DEBHELPER# + + +if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then + dpkg-maintscript-helper rm_conffile /etc/OGRE/plugins.cfg 1.7.3-5~ libogre-1.7.3 -- "$@" + dpkg-maintscript-helper rm_conffile /etc/OGRE-1.7.3/plugins.cfg 1.7.3-6~ libogre-1.7.3 -- "$@" +fi + +# Remove obsolete config files/directories from previous packages. It doesn't +# work completely with "dpkg-maintscript-helper rm_conffile" because the binary +# .deb package name changes, due to SONAME bumps +rm -f /etc/OGRE/plugins.cfg.dpkg-remove +if [ -d /etc/OGRE-1.7.3 ]; then + rmdir --ignore-fail-on-non-empty /etc/OGRE-1.7.3 +fi +if [ -d /etc/OGRE ]; then + rmdir --ignore-fail-on-non-empty /etc/OGRE +fi diff -Nru ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0v5.postrm ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0v5.postrm --- ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0v5.postrm 1969-12-31 21:00:00.000000000 -0300 +++ ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0v5.postrm 2024-02-03 09:52:58.000000000 -0300 @@ -0,0 +1,23 @@ +#!/bin/sh + +set -e + + +#DEBHELPER# + + +if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then + dpkg-maintscript-helper rm_conffile /etc/OGRE/plugins.cfg 1.7.3-5~ libogre-1.7.3 -- "$@" + dpkg-maintscript-helper rm_conffile /etc/OGRE-1.7.3/plugins.cfg 1.7.3-6~ libogre-1.7.3 -- "$@" +fi + +# Remove obsolete config files/directories from previous packages. It doesn't +# work completely with "dpkg-maintscript-helper rm_conffile" because the binary +# .deb package name changes, due to SONAME bumps +rm -f /etc/OGRE/plugins.cfg.dpkg-remove +if [ -d /etc/OGRE-1.7.3 ]; then + rmdir --ignore-fail-on-non-empty /etc/OGRE-1.7.3 +fi +if [ -d /etc/OGRE ]; then + rmdir --ignore-fail-on-non-empty /etc/OGRE +fi diff -Nru ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0v5.preinst ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0v5.preinst --- ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0v5.preinst 1969-12-31 21:00:00.000000000 -0300 +++ ogre-1.9-1.9.0+dfsg1/debian/libogre-1.9.0v5.preinst 2024-02-03 09:52:58.000000000 -0300 @@ -0,0 +1,23 @@ +#!/bin/sh + +set -e + + +#DEBHELPER# + + +if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then + dpkg-maintscript-helper rm_conffile /etc/OGRE/plugins.cfg 1.7.3-5~ libogre-1.7.3 -- "$@" + dpkg-maintscript-helper rm_conffile /etc/OGRE-1.7.3/plugins.cfg 1.7.3-6~ libogre-1.7.3 -- "$@" +fi + +# Remove obsolete config files/directories from previous packages. It doesn't +# work completely with "dpkg-maintscript-helper rm_conffile" because the binary +# .deb package name changes, due to SONAME bumps +rm -f /etc/OGRE/plugins.cfg.dpkg-remove +if [ -d /etc/OGRE-1.7.3 ]; then + rmdir --ignore-fail-on-non-empty /etc/OGRE-1.7.3 +fi +if [ -d /etc/OGRE ]; then + rmdir --ignore-fail-on-non-empty /etc/OGRE +fi diff -Nru ogre-1.9-1.9.0+dfsg1/debian/rules ogre-1.9-1.9.0+dfsg1/debian/rules --- ogre-1.9-1.9.0+dfsg1/debian/rules 2022-11-15 18:16:42.000000000 -0300 +++ ogre-1.9-1.9.0+dfsg1/debian/rules 2024-02-03 09:52:58.000000000 -0300 @@ -26,7 +26,7 @@ # Use this variable to define the particular version of OGRE that we're building OGRE_VERSION=1.9.0 -OGRE_VERSION_ABI_CHANGE=$(OGRE_VERSION)v5 +OGRE_VERSION_ABI_CHANGE=$(OGRE_VERSION)t64 OGRE_CHANGELOG = Docs/ChangeLog.html