Bug#1061934: boinc: NMU diff for 64-bit time_t transition

Steve Langasek vorlon at debian.org
Tue Jan 30 07:36:34 GMT 2024


Source: boinc
Version: 7.20.5+dfsg-1.1
Severity: serious
Tags: patch pending
Justification: library ABI skew on upgrade
User: debian-arm at 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
boinc 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 boinc
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)
-------------- next part --------------
diff -Nru boinc-7.20.5+dfsg/debian/changelog boinc-7.20.5+dfsg/debian/changelog
--- boinc-7.20.5+dfsg/debian/changelog	2023-04-25 16:59:54.000000000 +0000
+++ boinc-7.20.5+dfsg/debian/changelog	2024-01-30 06:02:43.000000000 +0000
@@ -1,3 +1,13 @@
+boinc (7.20.5+dfsg-1.2) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+  * In addition, disable code in debian/rules that adds a 
+    boinc-server-maker package whenever targeting experimental, as this
+    makes the package FTBFS.
+
+ -- Steve Langasek <vorlon at debian.org>  Tue, 30 Jan 2024 06:02:43 +0000
+
 boinc (7.20.5+dfsg-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru boinc-7.20.5+dfsg/debian/control boinc-7.20.5+dfsg/debian/control
--- boinc-7.20.5+dfsg/debian/control	2023-04-25 16:59:54.000000000 +0000
+++ boinc-7.20.5+dfsg/debian/control	2024-01-30 06:02:43.000000000 +0000
@@ -133,7 +133,7 @@
          adduser,
          ca-certificates,
          lsb-base (>= 3.0-6),
-         libboinc7 (= ${binary:Version})
+         libboinc7t64 (= ${binary:Version})
 Suggests: boinc-manager,
           boinc-client-opencl,
           boinc-client-nvidia-cuda,
@@ -226,8 +226,8 @@
 Architecture: any
 Section: libdevel
 Depends: ${misc:Depends},
-         libboinc-app7 (= ${binary:Version}),
-         libboinc7 (= ${binary:Version}),
+         libboinc-app7t64 (= ${binary:Version}),
+         libboinc7t64 (= ${binary:Version}),
          libc6-dev | libc-dev,
          default-libmysqlclient-dev,
          libssl-dev,
@@ -245,7 +245,7 @@
  development of scientific applications that work seamlessly across
  many Linux distributions and different releases of the same.
 
-Package: libboinc-app7
+Package: libboinc-app7t64
 Architecture: any
 Section: libs
 Provides: libboinc-app
@@ -264,7 +264,7 @@
  This package contains dynamic libraries that are needed for applications
  which utilizes the BOINC infrastructure and the boinc-client itself.
 
-Package: libboinc7
+Package: libboinc7t64
 Architecture: any
 Section: libs
 Provides: libboinc
diff -Nru boinc-7.20.5+dfsg/debian/control.in boinc-7.20.5+dfsg/debian/control.in
--- boinc-7.20.5+dfsg/debian/control.in	2022-09-12 21:02:47.000000000 +0000
+++ boinc-7.20.5+dfsg/debian/control.in	2024-01-30 06:02:43.000000000 +0000
@@ -133,7 +133,7 @@
 @         adduser,
 @         ca-certificates,
 @         lsb-base (>= 3.0-6),
-@         libboinc7 (= ${binary:Version})
+@         libboinc7t64 (= ${binary:Version})
 @Suggests: boinc-manager,
 @          boinc-client-opencl,
 @          boinc-client-nvidia-cuda,
@@ -226,8 +226,8 @@
 @Architecture: any
 @Section: libdevel
 @Depends: ${misc:Depends},
-@         libboinc-app7 (= ${binary:Version}),
-@         libboinc7 (= ${binary:Version}),
+@         libboinc-app7t64 (= ${binary:Version}),
+@         libboinc7t64 (= ${binary:Version}),
 @         libc6-dev | libc-dev,
 @         default-libmysqlclient-dev,
 @         libssl-dev,
@@ -245,7 +245,7 @@
 @ development of scientific applications that work seamlessly across
 @ many Linux distributions and different releases of the same.
 @
- at Package: libboinc-app7
+ at Package: libboinc-app7t64
 @Architecture: any
 @Section: libs
 @Provides: libboinc-app
@@ -264,7 +264,7 @@
 @ This package contains dynamic libraries that are needed for applications
 @ which utilizes the BOINC infrastructure and the boinc-client itself.
 @
- at Package: libboinc7
+ at Package: libboinc7t64
 @Architecture: any
 @Section: libs
 @Provides: libboinc
diff -Nru boinc-7.20.5+dfsg/debian/libboinc-app7.install boinc-7.20.5+dfsg/debian/libboinc-app7.install
--- boinc-7.20.5+dfsg/debian/libboinc-app7.install	2022-01-26 15:42:50.000000000 +0000
+++ boinc-7.20.5+dfsg/debian/libboinc-app7.install	1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-usr/lib/*/libboinc_api*.so.*
-usr/lib/*/libboinc_graphics*.so.*
-usr/lib/*/libboinc_opencl*.so.*
diff -Nru boinc-7.20.5+dfsg/debian/libboinc-app7.links boinc-7.20.5+dfsg/debian/libboinc-app7.links
--- boinc-7.20.5+dfsg/debian/libboinc-app7.links	2022-01-26 15:42:50.000000000 +0000
+++ boinc-7.20.5+dfsg/debian/libboinc-app7.links	1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-# once we have the static libraries redistributed again, we should think about this
-#usr/lib/libboinc.a                  usr/share/boinc-dev/lib/libboinc.a
-#usr/lib/libboinc_api.a              usr/share/boinc-dev/api/libboinc_api.a
diff -Nru boinc-7.20.5+dfsg/debian/libboinc-app7.lintian-overrides boinc-7.20.5+dfsg/debian/libboinc-app7.lintian-overrides
--- boinc-7.20.5+dfsg/debian/libboinc-app7.lintian-overrides	2022-01-26 15:42:50.000000000 +0000
+++ boinc-7.20.5+dfsg/debian/libboinc-app7.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-# it would not have complained if the package name was
-# libboinc-api7. It is not.
-libboinc-app7 binary: package-name-doesnt-match-sonames
diff -Nru boinc-7.20.5+dfsg/debian/libboinc-app7t64.install boinc-7.20.5+dfsg/debian/libboinc-app7t64.install
--- boinc-7.20.5+dfsg/debian/libboinc-app7t64.install	1970-01-01 00:00:00.000000000 +0000
+++ boinc-7.20.5+dfsg/debian/libboinc-app7t64.install	2022-01-26 15:42:50.000000000 +0000
@@ -0,0 +1,3 @@
+usr/lib/*/libboinc_api*.so.*
+usr/lib/*/libboinc_graphics*.so.*
+usr/lib/*/libboinc_opencl*.so.*
diff -Nru boinc-7.20.5+dfsg/debian/libboinc-app7t64.links boinc-7.20.5+dfsg/debian/libboinc-app7t64.links
--- boinc-7.20.5+dfsg/debian/libboinc-app7t64.links	1970-01-01 00:00:00.000000000 +0000
+++ boinc-7.20.5+dfsg/debian/libboinc-app7t64.links	2022-01-26 15:42:50.000000000 +0000
@@ -0,0 +1,3 @@
+# once we have the static libraries redistributed again, we should think about this
+#usr/lib/libboinc.a                  usr/share/boinc-dev/lib/libboinc.a
+#usr/lib/libboinc_api.a              usr/share/boinc-dev/api/libboinc_api.a
diff -Nru boinc-7.20.5+dfsg/debian/libboinc-app7t64.lintian-overrides boinc-7.20.5+dfsg/debian/libboinc-app7t64.lintian-overrides
--- boinc-7.20.5+dfsg/debian/libboinc-app7t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ boinc-7.20.5+dfsg/debian/libboinc-app7t64.lintian-overrides	2024-01-30 06:02:43.000000000 +0000
@@ -0,0 +1,4 @@
+# it would not have complained if the package name was
+# libboinc-api7. It is not.
+libboinc-app7t64 binary: package-name-doesnt-match-sonames
+libboinc-app7t64: package-name-doesnt-match-sonames libboinc-app7
diff -Nru boinc-7.20.5+dfsg/debian/libboinc7.install boinc-7.20.5+dfsg/debian/libboinc7.install
--- boinc-7.20.5+dfsg/debian/libboinc7.install	2022-01-26 15:42:50.000000000 +0000
+++ boinc-7.20.5+dfsg/debian/libboinc7.install	1970-01-01 00:00:00.000000000 +0000
@@ -1,8 +0,0 @@
-usr/lib/*/libboinc.so.*
-
-#needed for server
-usr/lib/*/libsched.so.*
-usr/lib/*/libboinc_crypt.so.*
-
-#needed for boinc-app-examples
-usr/lib/*/libboinc_zip.so.*
diff -Nru boinc-7.20.5+dfsg/debian/libboinc7t64.install boinc-7.20.5+dfsg/debian/libboinc7t64.install
--- boinc-7.20.5+dfsg/debian/libboinc7t64.install	1970-01-01 00:00:00.000000000 +0000
+++ boinc-7.20.5+dfsg/debian/libboinc7t64.install	2022-01-26 15:42:50.000000000 +0000
@@ -0,0 +1,8 @@
+usr/lib/*/libboinc.so.*
+
+#needed for server
+usr/lib/*/libsched.so.*
+usr/lib/*/libboinc_crypt.so.*
+
+#needed for boinc-app-examples
+usr/lib/*/libboinc_zip.so.*
diff -Nru boinc-7.20.5+dfsg/debian/libboinc7t64.lintian-overrides boinc-7.20.5+dfsg/debian/libboinc7t64.lintian-overrides
--- boinc-7.20.5+dfsg/debian/libboinc7t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ boinc-7.20.5+dfsg/debian/libboinc7t64.lintian-overrides	2024-01-30 06:02:43.000000000 +0000
@@ -0,0 +1 @@
+libboinc7t64: package-name-doesnt-match-sonames libboinc7
diff -Nru boinc-7.20.5+dfsg/debian/rules boinc-7.20.5+dfsg/debian/rules
--- boinc-7.20.5+dfsg/debian/rules	2022-06-10 13:04:16.000000000 +0000
+++ boinc-7.20.5+dfsg/debian/rules	2024-01-30 06:02:43.000000000 +0000
@@ -157,6 +157,7 @@
 $(shell sed '/^#/d' -i debian/control)
 
 export ENABLE_SERVER_TEST := $(shell dpkg-parsechangelog -S Distribution |egrep -v 'experimental|UNRELEASED')
+export ENABLE_SERVER_TEST = trash
 
 ifeq (,$(ENABLE_SERVER_TEST))
 $(shell sed 's/^%//' -i debian/control)


More information about the pkg-boinc-devel mailing list