Bug#1064158: jxrlib: NMU diff for 64-bit time_t transition

Steve Langasek vorlon at debian.org
Sun Mar 17 04:14:51 GMT 2024


Hello,

Unfortunately, the mass NMU scripting missed that debian/symbols needed
updated as well, resulting in a libjxr0t64 package that depends on libjxr0
which doesn't exist on 32-bit archs.

Attached is a comprehensive NMU patch that fixes this issue as well.  I am
uploading this change to unstable.

Thanks,
-- 
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

On Sat, Feb 17, 2024 at 08:36:44PM +0000, Steve Langasek wrote:
> Source: jxrlib
> Version: 1.2~git20170615.f752187-5
> 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
> jxrlib 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 jxrlib
> 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'), (500, 'testing'), (500, 'stable'), (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 jxrlib-1.2~git20170615.f752187/debian/changelog jxrlib-1.2~git20170615.f752187/debian/changelog
> --- jxrlib-1.2~git20170615.f752187/debian/changelog	2022-01-28 12:55:06.000000000 +0000
> +++ jxrlib-1.2~git20170615.f752187/debian/changelog	2024-02-17 20:20:40.000000000 +0000
> @@ -1,3 +1,10 @@
> +jxrlib (1.2~git20170615.f752187-5.1) experimental; urgency=medium
> +
> +  * Non-maintainer upload.
> +  * Rename libraries for 64-bit time_t transition.
> +
> + -- Steve Langasek <vorlon at debian.org>  Sat, 17 Feb 2024 20:20:40 +0000
> +
>  jxrlib (1.2~git20170615.f752187-5) unstable; urgency=medium
>  
>    [ Mathieu Malaterre ]
> diff -Nru jxrlib-1.2~git20170615.f752187/debian/control jxrlib-1.2~git20170615.f752187/debian/control
> --- jxrlib-1.2~git20170615.f752187/debian/control	2022-01-28 10:19:14.000000000 +0000
> +++ jxrlib-1.2~git20170615.f752187/debian/control	2024-02-17 20:20:40.000000000 +0000
> @@ -14,7 +14,10 @@
>  Standards-Version: 4.6.0
>  Rules-Requires-Root: no
>  
> -Package: libjxr0
> +Package: libjxr0t64
> +Provides: ${t64:Provides}
> +Replaces: libjxr0
> +Breaks: libjxr0 (<< ${source:Version})
>  Section: libs
>  Architecture: any
>  Depends: ${misc:Depends}, ${shlibs:Depends}
> @@ -42,7 +45,7 @@
>  Architecture: any
>  Section: libdevel
>  Multi-Arch: same
> -Depends: libjxr0 (= ${binary:Version}), ${misc:Depends}
> +Depends: libjxr0t64 (= ${binary:Version}), ${misc:Depends}
>  Description: JPEG-XR lib - dev files
>   JPEG XR is an approved ISO/IEC International standard (its official
>   designation is ISO/IEC 29199-2).
> diff -Nru jxrlib-1.2~git20170615.f752187/debian/libjxr0t64.lintian-overrides jxrlib-1.2~git20170615.f752187/debian/libjxr0t64.lintian-overrides
> --- jxrlib-1.2~git20170615.f752187/debian/libjxr0t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
> +++ jxrlib-1.2~git20170615.f752187/debian/libjxr0t64.lintian-overrides	2024-02-17 20:20:40.000000000 +0000
> @@ -0,0 +1 @@
> +libjxr0t64: package-name-doesnt-match-sonames libjxr0
> diff -Nru jxrlib-1.2~git20170615.f752187/debian/rules jxrlib-1.2~git20170615.f752187/debian/rules
> --- jxrlib-1.2~git20170615.f752187/debian/rules	2022-01-28 11:50:50.000000000 +0000
> +++ jxrlib-1.2~git20170615.f752187/debian/rules	2024-02-17 20:20:40.000000000 +0000
> @@ -19,7 +19,7 @@
>  	dh_auto_configure -- $(CMAKE_EXTRA_FLAGS)
>  
>  pkg_bin=libjxr-tools
> -pkg_lib=libjxr0
> +pkg_lib=libjxr0t64
>  pkg_dev=libjxr-dev
>  
>  override_dh_install:

-------------- next part --------------
diff -Nru jxrlib-1.2~git20170615.f752187/debian/changelog jxrlib-1.2~git20170615.f752187/debian/changelog
--- jxrlib-1.2~git20170615.f752187/debian/changelog	2022-01-28 12:55:06.000000000 +0000
+++ jxrlib-1.2~git20170615.f752187/debian/changelog	2024-03-17 04:12:37.000000000 +0000
@@ -1,3 +1,17 @@
+jxrlib (1.2~git20170615.f752187-5.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix symbols file.
+
+ -- Steve Langasek <vorlon at debian.org>  Sun, 17 Mar 2024 04:12:37 +0000
+
+jxrlib (1.2~git20170615.f752187-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1064158
+
+ -- Lukas M?rdian <slyon at debian.org>  Wed, 28 Feb 2024 14:23:08 +0000
+
 jxrlib (1.2~git20170615.f752187-5) unstable; urgency=medium
 
   [ Mathieu Malaterre ]
diff -Nru jxrlib-1.2~git20170615.f752187/debian/control jxrlib-1.2~git20170615.f752187/debian/control
--- jxrlib-1.2~git20170615.f752187/debian/control	2022-01-28 10:19:14.000000000 +0000
+++ jxrlib-1.2~git20170615.f752187/debian/control	2024-02-28 14:23:08.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian PhotoTools Maintainers <pkg-phototools-devel at lists.alioth.debian.org>
 Uploaders: Mathieu Malaterre <malat at debian.org>
-Build-Depends: antiword,
+Build-Depends: dpkg-dev (>= 1.22.5), antiword,
                cmake (>= 3.13),
                debhelper-compat (= 13),
                dpkg-dev (>= 1.18),
@@ -14,7 +14,10 @@
 Standards-Version: 4.6.0
 Rules-Requires-Root: no
 
-Package: libjxr0
+Package: libjxr0t64
+Provides: ${t64:Provides}
+Replaces: libjxr0
+Breaks: libjxr0 (<< ${source:Version})
 Section: libs
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
@@ -42,7 +45,7 @@
 Architecture: any
 Section: libdevel
 Multi-Arch: same
-Depends: libjxr0 (= ${binary:Version}), ${misc:Depends}
+Depends: libjxr0t64 (= ${binary:Version}), ${misc:Depends}
 Description: JPEG-XR lib - dev files
  JPEG XR is an approved ISO/IEC International standard (its official
  designation is ISO/IEC 29199-2).
diff -Nru jxrlib-1.2~git20170615.f752187/debian/libjxr0t64.lintian-overrides jxrlib-1.2~git20170615.f752187/debian/libjxr0t64.lintian-overrides
--- jxrlib-1.2~git20170615.f752187/debian/libjxr0t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ jxrlib-1.2~git20170615.f752187/debian/libjxr0t64.lintian-overrides	2024-02-28 14:18:21.000000000 +0000
@@ -0,0 +1 @@
+libjxr0t64: package-name-doesnt-match-sonames libjxr0
diff -Nru jxrlib-1.2~git20170615.f752187/debian/rules jxrlib-1.2~git20170615.f752187/debian/rules
--- jxrlib-1.2~git20170615.f752187/debian/rules	2022-01-28 11:50:50.000000000 +0000
+++ jxrlib-1.2~git20170615.f752187/debian/rules	2024-02-28 14:22:51.000000000 +0000
@@ -19,7 +19,7 @@
 	dh_auto_configure -- $(CMAKE_EXTRA_FLAGS)
 
 pkg_bin=libjxr-tools
-pkg_lib=libjxr0
+pkg_lib=libjxr0t64
 pkg_dev=libjxr-dev
 
 override_dh_install:
diff -Nru jxrlib-1.2~git20170615.f752187/debian/symbols jxrlib-1.2~git20170615.f752187/debian/symbols
--- jxrlib-1.2~git20170615.f752187/debian/symbols	2022-01-28 10:19:14.000000000 +0000
+++ jxrlib-1.2~git20170615.f752187/debian/symbols	2024-03-17 04:12:24.000000000 +0000
@@ -1,4 +1,4 @@
-libjpegxr.so.0 libjxr0 #MINVER#
+libjpegxr.so.0 libjxr0t64 #MINVER#
 * Build-Depends-Package: libjxr-dev
  AdaptDiscriminant at Base 1.0
  AdaptHighpassDec at Base 1.0
@@ -240,7 +240,7 @@
  writeTileHeaderDC at Base 1.0
  writeTileHeaderHP at Base 1.0
  writeTileHeaderLP at Base 1.0
-libjxrglue.so.0 libjxr0 #MINVER#
+libjxrglue.so.0 libjxr0t64 #MINVER#
 * Build-Depends-Package: libjxr-dev
  BGR24_BGR32 at Base 1.0
  BGR24_Gray8 at Base 1.0
-------------- 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/pkg-phototools-devel/attachments/20240316/514fb93d/attachment.sig>


More information about the Pkg-phototools-devel mailing list