[Debian-med-packaging] Bug#1062881: mia: NMU diff for 64-bit time_t transition
Graham Inggs
ginggs at debian.org
Sat Feb 3 21:20:05 GMT 2024
Source: mia
Version: 2.4.7-13
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
User: debian-arm at 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
mia 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 mia
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-15-generic (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: 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: unable to detect
-------------- next part --------------
diff -Nru mia-2.4.7/debian/changelog mia-2.4.7/debian/changelog
--- mia-2.4.7/debian/changelog 2023-08-29 09:00:00.000000000 +0000
+++ mia-2.4.7/debian/changelog 2024-02-03 20:51:49.000000000 +0000
@@ -1,3 +1,10 @@
+mia (2.4.7-13.1) experimental; urgency=medium
+
+ * Non-maintainer upload.
+ * Rename libraries for 64-bit time_t transition.
+
+ -- Graham Inggs <ginggs at debian.org> Sat, 03 Feb 2024 20:51:49 +0000
+
mia (2.4.7-13) unstable; urgency=medium
* Team upload.
diff -Nru mia-2.4.7/debian/control mia-2.4.7/debian/control
--- mia-2.4.7/debian/control 2023-08-29 09:00:00.000000000 +0000
+++ mia-2.4.7/debian/control 2024-02-03 20:51:49.000000000 +0000
@@ -38,7 +38,10 @@
Homepage: https://mia.sourceforge.net
Rules-Requires-Root: no
-Package: libmia-2.4-4
+Package: libmia-2.4-4t64
+Provides: ${t64:Provides}
+Replaces: libmia-2.4-4
+Breaks: libmia-2.4-4 (<< ${source:Version})
Architecture: any
Section: libs
Depends: ${shlibs:Depends},
@@ -53,7 +56,7 @@
Package: libmia-2.4-dev
Architecture: any
Section: libdevel
-Depends: libmia-2.4-4 (= ${binary:Version}),
+Depends: libmia-2.4-4t64 (= ${binary:Version}),
mia-doctools (= ${source:Version}),
libitpp-dev,
libgsl-dev,
@@ -85,7 +88,7 @@
Package: mia-tools
Architecture: any
-Depends: libmia-2.4-4 (= ${binary:Version}),
+Depends: libmia-2.4-4t64 (= ${binary:Version}),
${shlibs:Depends},
${misc:Depends}
Recommends: mia-tools-doc
diff -Nru mia-2.4.7/debian/libmia-2.4-4.install mia-2.4.7/debian/libmia-2.4-4.install
--- mia-2.4.7/debian/libmia-2.4-4.install 2023-08-29 09:00:00.000000000 +0000
+++ mia-2.4.7/debian/libmia-2.4-4.install 1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-usr/lib/*/lib*.so.*
-usr/lib/*/mia-2.4/plugins/*
diff -Nru mia-2.4.7/debian/libmia-2.4-4.lintian-overrides mia-2.4.7/debian/libmia-2.4-4.lintian-overrides
--- mia-2.4.7/debian/libmia-2.4-4.lintian-overrides 2023-08-29 09:00:00.000000000 +0000
+++ mia-2.4.7/debian/libmia-2.4-4.lintian-overrides 1970-01-01 00:00:00.000000000 +0000
@@ -1,22 +0,0 @@
-#
-#The package provides multiple libraries, which means no unique soname can be given
-#
-libmia-2.4-4 binary: package-name-doesnt-match-sonames
-
-#
-# The SOURCE_FORTIFY=2 flag is used, but in many cases the compiler is just good enough
-# to detect that fortification is not needed
-#
-libmia-2.4-4 binary: hardening-no-fortify-functions
-
-#
-# Since the symbols will differ greatly between 32 bit and 64 bit builds a symbols file
-# would have to be provided for each arch
-#
-libmia-2.4-4 binary: no-symbols-control-file
-
-#
-# The libray command line parser is designed to call exit if a help
-# option was given.
-#
-libmia-2.4-4 binary: exit-in-shared-library
diff -Nru mia-2.4.7/debian/libmia-2.4-4t64.install mia-2.4.7/debian/libmia-2.4-4t64.install
--- mia-2.4.7/debian/libmia-2.4-4t64.install 1970-01-01 00:00:00.000000000 +0000
+++ mia-2.4.7/debian/libmia-2.4-4t64.install 2023-08-29 09:00:00.000000000 +0000
@@ -0,0 +1,2 @@
+usr/lib/*/lib*.so.*
+usr/lib/*/mia-2.4/plugins/*
diff -Nru mia-2.4.7/debian/libmia-2.4-4t64.lintian-overrides mia-2.4.7/debian/libmia-2.4-4t64.lintian-overrides
--- mia-2.4.7/debian/libmia-2.4-4t64.lintian-overrides 1970-01-01 00:00:00.000000000 +0000
+++ mia-2.4.7/debian/libmia-2.4-4t64.lintian-overrides 2024-02-03 20:51:49.000000000 +0000
@@ -0,0 +1,23 @@
+#
+#The package provides multiple libraries, which means no unique soname can be given
+#
+libmia-2.4-4t64 binary: package-name-doesnt-match-sonames
+
+#
+# The SOURCE_FORTIFY=2 flag is used, but in many cases the compiler is just good enough
+# to detect that fortification is not needed
+#
+libmia-2.4-4t64 binary: hardening-no-fortify-functions
+
+#
+# Since the symbols will differ greatly between 32 bit and 64 bit builds a symbols file
+# would have to be provided for each arch
+#
+libmia-2.4-4t64 binary: no-symbols-control-file
+
+#
+# The libray command line parser is designed to call exit if a help
+# option was given.
+#
+libmia-2.4-4t64 binary: exit-in-shared-library
+libmia-2.4-4t64: package-name-doesnt-match-sonames libmia-2.4-4
More information about the Debian-med-packaging
mailing list