[Debian-iot-maintainers] Bug#1064265: openzwave: NMU diff for 64-bit time_t transition

Steve Langasek vorlon at debian.org
Mon Feb 19 19:07:50 GMT 2024


Sorry, somehow it happens that if I DIDN'T change pkgconfig path handling
the package FTBFS for me locally, but since I DID change this in the NMU it
FTBFS in experimental.

Here's a follow-on NMU patch with that part reverted.


On Mon, Feb 19, 2024 at 07:38:45AM +0000, Steve Langasek wrote:
> Source: openzwave
> Version: 1.6.1914+ds-1
> Severity: important
> Tags: patch pending sid trixie
> 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
> openzwave 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 openzwave
> 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.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 openzwave-1.6.1914+ds/debian/changelog openzwave-1.6.1914+ds/debian/changelog
> --- openzwave-1.6.1914+ds/debian/changelog	2021-10-21 19:17:21.000000000 +0000
> +++ openzwave-1.6.1914+ds/debian/changelog	2024-02-19 07:30:55.000000000 +0000
> @@ -1,3 +1,12 @@
> +openzwave (1.6.1914+ds-1.1) experimental; urgency=medium
> +
> +  * Non-maintainer upload.
> +  * Rename libraries for 64-bit time_t transition.
> +  * debian/libopenzwave1.6-dev.install: pkgconfig files now being installed
> +    in the multiarch path upstream, so fix the path lookup.
> +
> + -- Steve Langasek <vorlon at debian.org>  Mon, 19 Feb 2024 07:30:55 +0000
> +
>  openzwave (1.6.1914+ds-1) unstable; urgency=medium
>  
>    * Team upload
> diff -Nru openzwave-1.6.1914+ds/debian/control openzwave-1.6.1914+ds/debian/control
> --- openzwave-1.6.1914+ds/debian/control	2021-10-21 19:17:21.000000000 +0000
> +++ openzwave-1.6.1914+ds/debian/control	2024-02-19 07:30:55.000000000 +0000
> @@ -14,9 +14,10 @@
>  Vcs-Git: https://salsa.debian.org/debian-iot-team/openzwave.git
>  Rules-Requires-Root: no
>  
> -Package: libopenzwave1.6
> -Replaces: libopenzwave1.5
> -Breaks: libopenzwave1.5
> +Package: libopenzwave1.6t64
> +Provides: ${t64:Provides}
> +Replaces: libopenzwave1.6, libopenzwave1.5
> +Breaks: libopenzwave1.6 (<< ${source:Version}), libopenzwave1.5
>  Section: libs
>  Architecture: any
>  Pre-Depends: ${misc:Pre-Depends}
> @@ -31,7 +32,7 @@
>  
>  Package: libopenzwave1.6-dev
>  Section: libdevel
> -Depends: ${misc:Depends}, libopenzwave1.6 (= ${binary:Version})
> +Depends: ${misc:Depends}, libopenzwave1.6t64 (= ${binary:Version})
>  Suggests: libopenzwave-doc
>  Architecture: any
>  Description: header files for the openzwave library
> @@ -57,7 +58,7 @@
>  Package: openzwave
>  Section: misc
>  Architecture: any
> -Depends: libopenzwave1.6 (>= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
> +Depends: libopenzwave1.6t64 (>= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
>  Description: Sample Program for libopenzwave
>   OpenZWave is an open-source, cross-platform library designed to enable
>   anyone to add support for Z-Wave home-automation devices to their
> diff -Nru openzwave-1.6.1914+ds/debian/libopenzwave1.6-dev.install openzwave-1.6.1914+ds/debian/libopenzwave1.6-dev.install
> --- openzwave-1.6.1914+ds/debian/libopenzwave1.6-dev.install	2021-10-21 19:17:21.000000000 +0000
> +++ openzwave-1.6.1914+ds/debian/libopenzwave1.6-dev.install	2024-02-19 07:30:55.000000000 +0000
> @@ -3,4 +3,4 @@
>  usr/lib/*/libopenzwave.so
>  usr/include/openzwave/*
>  cpp/tinyxml/*.h usr/include/openzwave/tinyxml
> -usr/lib/pkgconfig/* usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig/
> +usr/lib/*/pkgconfig/*
> diff -Nru openzwave-1.6.1914+ds/debian/libopenzwave1.6.install openzwave-1.6.1914+ds/debian/libopenzwave1.6.install
> --- openzwave-1.6.1914+ds/debian/libopenzwave1.6.install	2021-10-21 19:17:21.000000000 +0000
> +++ openzwave-1.6.1914+ds/debian/libopenzwave1.6.install	1970-01-01 00:00:00.000000000 +0000
> @@ -1,2 +0,0 @@
> -usr/lib/*/libopenzwave.so.*
> -etc/openzwave/*
> diff -Nru openzwave-1.6.1914+ds/debian/libopenzwave1.6.lintian-overrides openzwave-1.6.1914+ds/debian/libopenzwave1.6.lintian-overrides
> --- openzwave-1.6.1914+ds/debian/libopenzwave1.6.lintian-overrides	2021-10-21 19:17:21.000000000 +0000
> +++ openzwave-1.6.1914+ds/debian/libopenzwave1.6.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
> @@ -1,5 +0,0 @@
> -# this is a modified version
> -libopenzwave1.6: embedded-library tinyxml usr/lib/x86_64-linux-gnu/libopenzwave.so.1.6
> -#due to arch- and optimisation-dependent symbols the symbols-file is not
> -#maintainable and FTBSs occur on lots of architectures
> -libopenzwave1.6: no-symbols-control-file
> diff -Nru openzwave-1.6.1914+ds/debian/libopenzwave1.6t64.install openzwave-1.6.1914+ds/debian/libopenzwave1.6t64.install
> --- openzwave-1.6.1914+ds/debian/libopenzwave1.6t64.install	1970-01-01 00:00:00.000000000 +0000
> +++ openzwave-1.6.1914+ds/debian/libopenzwave1.6t64.install	2021-10-21 19:17:21.000000000 +0000
> @@ -0,0 +1,2 @@
> +usr/lib/*/libopenzwave.so.*
> +etc/openzwave/*
> diff -Nru openzwave-1.6.1914+ds/debian/libopenzwave1.6t64.lintian-overrides openzwave-1.6.1914+ds/debian/libopenzwave1.6t64.lintian-overrides
> --- openzwave-1.6.1914+ds/debian/libopenzwave1.6t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
> +++ openzwave-1.6.1914+ds/debian/libopenzwave1.6t64.lintian-overrides	2024-02-19 07:30:55.000000000 +0000
> @@ -0,0 +1,6 @@
> +# this is a modified version
> +libopenzwave1.6t64: embedded-library tinyxml usr/lib/x86_64-linux-gnu/libopenzwave.so.1.6
> +#due to arch- and optimisation-dependent symbols the symbols-file is not
> +#maintainable and FTBSs occur on lots of architectures
> +libopenzwave1.6t64: no-symbols-control-file
> +libopenzwave1.6t64: package-name-doesnt-match-sonames libopenzwave1.6


-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru openzwave-1.6.1914+ds/debian/changelog openzwave-1.6.1914+ds/debian/changelog
--- openzwave-1.6.1914+ds/debian/changelog	2021-10-21 19:17:21.000000000 +0000
+++ openzwave-1.6.1914+ds/debian/changelog	2024-02-19 07:30:55.000000000 +0000
@@ -1,3 +1,10 @@
+openzwave (1.6.1914+ds-1.1~exp2) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vorlon at debian.org>  Mon, 19 Feb 2024 07:30:55 +0000
+
 openzwave (1.6.1914+ds-1) unstable; urgency=medium
 
   * Team upload
diff -Nru openzwave-1.6.1914+ds/debian/control openzwave-1.6.1914+ds/debian/control
--- openzwave-1.6.1914+ds/debian/control	2021-10-21 19:17:21.000000000 +0000
+++ openzwave-1.6.1914+ds/debian/control	2024-02-19 07:30:55.000000000 +0000
@@ -14,9 +14,10 @@
 Vcs-Git: https://salsa.debian.org/debian-iot-team/openzwave.git
 Rules-Requires-Root: no
 
-Package: libopenzwave1.6
-Replaces: libopenzwave1.5
-Breaks: libopenzwave1.5
+Package: libopenzwave1.6t64
+Provides: ${t64:Provides}
+Replaces: libopenzwave1.6, libopenzwave1.5
+Breaks: libopenzwave1.6 (<< ${source:Version}), libopenzwave1.5
 Section: libs
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
@@ -31,7 +32,7 @@
 
 Package: libopenzwave1.6-dev
 Section: libdevel
-Depends: ${misc:Depends}, libopenzwave1.6 (= ${binary:Version})
+Depends: ${misc:Depends}, libopenzwave1.6t64 (= ${binary:Version})
 Suggests: libopenzwave-doc
 Architecture: any
 Description: header files for the openzwave library
@@ -57,7 +58,7 @@
 Package: openzwave
 Section: misc
 Architecture: any
-Depends: libopenzwave1.6 (>= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
+Depends: libopenzwave1.6t64 (>= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
 Description: Sample Program for libopenzwave
  OpenZWave is an open-source, cross-platform library designed to enable
  anyone to add support for Z-Wave home-automation devices to their
diff -Nru openzwave-1.6.1914+ds/debian/libopenzwave1.6.install openzwave-1.6.1914+ds/debian/libopenzwave1.6.install
--- openzwave-1.6.1914+ds/debian/libopenzwave1.6.install	2021-10-21 19:17:21.000000000 +0000
+++ openzwave-1.6.1914+ds/debian/libopenzwave1.6.install	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-usr/lib/*/libopenzwave.so.*
-etc/openzwave/*
diff -Nru openzwave-1.6.1914+ds/debian/libopenzwave1.6.lintian-overrides openzwave-1.6.1914+ds/debian/libopenzwave1.6.lintian-overrides
--- openzwave-1.6.1914+ds/debian/libopenzwave1.6.lintian-overrides	2021-10-21 19:17:21.000000000 +0000
+++ openzwave-1.6.1914+ds/debian/libopenzwave1.6.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
@@ -1,5 +0,0 @@
-# this is a modified version
-libopenzwave1.6: embedded-library tinyxml usr/lib/x86_64-linux-gnu/libopenzwave.so.1.6
-#due to arch- and optimisation-dependent symbols the symbols-file is not
-#maintainable and FTBSs occur on lots of architectures
-libopenzwave1.6: no-symbols-control-file
diff -Nru openzwave-1.6.1914+ds/debian/libopenzwave1.6t64.install openzwave-1.6.1914+ds/debian/libopenzwave1.6t64.install
--- openzwave-1.6.1914+ds/debian/libopenzwave1.6t64.install	1970-01-01 00:00:00.000000000 +0000
+++ openzwave-1.6.1914+ds/debian/libopenzwave1.6t64.install	2024-02-19 07:30:55.000000000 +0000
@@ -0,0 +1,2 @@
+usr/lib/*/libopenzwave.so.*
+etc/openzwave/*
diff -Nru openzwave-1.6.1914+ds/debian/libopenzwave1.6t64.lintian-overrides openzwave-1.6.1914+ds/debian/libopenzwave1.6t64.lintian-overrides
--- openzwave-1.6.1914+ds/debian/libopenzwave1.6t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ openzwave-1.6.1914+ds/debian/libopenzwave1.6t64.lintian-overrides	2024-02-19 07:30:55.000000000 +0000
@@ -0,0 +1,6 @@
+# this is a modified version
+libopenzwave1.6t64: embedded-library tinyxml usr/lib/x86_64-linux-gnu/libopenzwave.so.1.6
+#due to arch- and optimisation-dependent symbols the symbols-file is not
+#maintainable and FTBSs occur on lots of architectures
+libopenzwave1.6t64: no-symbols-control-file
+libopenzwave1.6t64: package-name-doesnt-match-sonames libopenzwave1.6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-iot-maintainers/attachments/20240219/d8a719e1/attachment.sig>


More information about the Debian-iot-maintainers mailing list