The NMU was buggy because symbols files are in a non-standard location, so
did not get updated by our transition scripts; with the result that packages
rebuilt against libapr1t64 still had a dependency on libapr1.  Please find
attached a full NMU debdiff for an updated NMU.

On Wed, Feb 28, 2024 at 01:17:59AM +0000, Steve Langasek wrote:
> Dear maintainer,
> 
> Please find attached a final version of this patch for the time_t
> transition.  This patch is being uploaded to unstable.
> 
> Note that this adds a versioned build-dependency on dpkg-dev, to guard
> against accidental backports with a wrong ABI.
> 
> Thanks!
> 
> 
> -- 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)

> diff -Nru apr-1.7.2/debian/changelog apr-1.7.2/debian/changelog
> --- apr-1.7.2/debian/changelog        2023-02-26 20:51:24.000000000 +0000
> +++ apr-1.7.2/debian/changelog        2024-02-28 01:17:18.000000000 +0000
> @@ -1,3 +1,10 @@
> +apr (1.7.2-3.1) unstable; urgency=medium
> +
> +  * Non-maintainer upload.
> +  * Rename libraries for 64-bit time_t transition.  Closes: #1061894
> +
> + -- Steve Langasek <vor...@debian.org>  Wed, 28 Feb 2024 01:17:18 +0000
> +
>  apr (1.7.2-3) unstable; urgency=medium
>  
>    * Add more fixes for atomics from upstream, in particular for
> diff -Nru apr-1.7.2/debian/control apr-1.7.2/debian/control
> --- apr-1.7.2/debian/control  2023-02-03 16:18:13.000000000 +0000
> +++ apr-1.7.2/debian/control  2024-02-28 01:17:18.000000000 +0000
> @@ -3,7 +3,7 @@
>  Priority: optional
>  Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
>  Uploaders: Stefan Fritsch <s...@debian.org>
> -Build-Depends: debhelper-compat (= 13),
> +Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
>   autoconf,
>   mawk,
>   uuid-dev,
> @@ -19,7 +19,10 @@
>  Homepage: https://apr.apache.org/
>  Rules-Requires-Root: no
>  
> -Package: libapr1
> +Package: libapr1t64
> +Provides: ${t64:Provides}
> +Replaces: libapr1
> +Breaks: libapr1 (<< ${source:Version})
>  Architecture: any
>  Depends: ${shlibs:Depends}, ${misc:Depends}
>  Pre-Depends: ${misc:Pre-Depends}
> @@ -33,7 +36,7 @@
>  Package: libapr1-dev
>  Architecture: any
>  Section: libdevel
> -Depends: libapr1 (= ${binary:Version}), uuid-dev, ${misc:Depends}, 
> libsctp-dev [linux-any], python3:any
> +Depends: libapr1t64 (= ${binary:Version}), uuid-dev, ${misc:Depends}, 
> libsctp-dev [linux-any], python3:any
>  Conflicts: libapr1.0-dev, libapr0-dev
>  Description: Apache Portable Runtime Library - Development Headers
>   APR is Apache's Portable Runtime Library, designed to be a support library
> diff -Nru apr-1.7.2/debian/libapr1.docs apr-1.7.2/debian/libapr1.docs
> --- apr-1.7.2/debian/libapr1.docs     2023-02-02 21:18:42.000000000 +0000
> +++ apr-1.7.2/debian/libapr1.docs     1970-01-01 00:00:00.000000000 +0000
> @@ -1 +0,0 @@
> -NOTICE
> diff -Nru apr-1.7.2/debian/libapr1.install apr-1.7.2/debian/libapr1.install
> --- apr-1.7.2/debian/libapr1.install  2023-02-02 21:18:42.000000000 +0000
> +++ apr-1.7.2/debian/libapr1.install  1970-01-01 00:00:00.000000000 +0000
> @@ -1 +0,0 @@
> -usr/lib/*/libapr-1.so.*
> diff -Nru apr-1.7.2/debian/libapr1.lintian-overrides 
> apr-1.7.2/debian/libapr1.lintian-overrides
> --- apr-1.7.2/debian/libapr1.lintian-overrides        2023-02-02 
> 21:18:42.000000000 +0000
> +++ apr-1.7.2/debian/libapr1.lintian-overrides        1970-01-01 
> 00:00:00.000000000 +0000
> @@ -1 +0,0 @@
> -libapr1: package-name-doesnt-match-sonames libapr-1-0
> diff -Nru apr-1.7.2/debian/libapr1.symbols apr-1.7.2/debian/libapr1.symbols
> --- apr-1.7.2/debian/libapr1.symbols  2023-02-02 21:18:42.000000000 +0000
> +++ apr-1.7.2/debian/libapr1.symbols  1970-01-01 00:00:00.000000000 +0000
> @@ -1,2 +0,0 @@
> -here for the purpose of tricking debhelper...bwahahahaha.
> -
> diff -Nru apr-1.7.2/debian/libapr1t64.docs apr-1.7.2/debian/libapr1t64.docs
> --- apr-1.7.2/debian/libapr1t64.docs  1970-01-01 00:00:00.000000000 +0000
> +++ apr-1.7.2/debian/libapr1t64.docs  2023-02-02 21:18:42.000000000 +0000
> @@ -0,0 +1 @@
> +NOTICE
> diff -Nru apr-1.7.2/debian/libapr1t64.install 
> apr-1.7.2/debian/libapr1t64.install
> --- apr-1.7.2/debian/libapr1t64.install       1970-01-01 00:00:00.000000000 
> +0000
> +++ apr-1.7.2/debian/libapr1t64.install       2023-02-02 21:18:42.000000000 
> +0000
> @@ -0,0 +1 @@
> +usr/lib/*/libapr-1.so.*
> diff -Nru apr-1.7.2/debian/libapr1t64.lintian-overrides 
> apr-1.7.2/debian/libapr1t64.lintian-overrides
> --- apr-1.7.2/debian/libapr1t64.lintian-overrides     1970-01-01 
> 00:00:00.000000000 +0000
> +++ apr-1.7.2/debian/libapr1t64.lintian-overrides     2024-02-28 
> 01:17:10.000000000 +0000
> @@ -0,0 +1,2 @@
> +libapr1t64: package-name-doesnt-match-sonames libapr-1-0
> +libapr1t64: package-name-doesnt-match-sonames libapr1
> diff -Nru apr-1.7.2/debian/libapr1t64.symbols 
> apr-1.7.2/debian/libapr1t64.symbols
> --- apr-1.7.2/debian/libapr1t64.symbols       1970-01-01 00:00:00.000000000 
> +0000
> +++ apr-1.7.2/debian/libapr1t64.symbols       2024-02-28 01:17:10.000000000 
> +0000
> @@ -0,0 +1,2 @@
> +here for the purpose of tricking debhelper...bwahahahaha.
> +


-- 
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/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru apr-1.7.2/debian/changelog apr-1.7.2/debian/changelog
--- apr-1.7.2/debian/changelog  2023-02-26 20:51:24.000000000 +0000
+++ apr-1.7.2/debian/changelog  2024-03-08 19:11:28.000000000 +0000
@@ -1,3 +1,17 @@
+apr (1.7.2-3.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix symbols files which are in a non-standard location.
+
+ -- Steve Langasek <vor...@debian.org>  Fri, 08 Mar 2024 19:11:28 +0000
+
+apr (1.7.2-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1061894
+
+ -- Steve Langasek <vor...@debian.org>  Wed, 28 Feb 2024 01:17:18 +0000
+
 apr (1.7.2-3) unstable; urgency=medium
 
   * Add more fixes for atomics from upstream, in particular for
diff -Nru apr-1.7.2/debian/control apr-1.7.2/debian/control
--- apr-1.7.2/debian/control    2023-02-03 16:18:13.000000000 +0000
+++ apr-1.7.2/debian/control    2024-02-28 01:17:18.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
 Uploaders: Stefan Fritsch <s...@debian.org>
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
  autoconf,
  mawk,
  uuid-dev,
@@ -19,7 +19,10 @@
 Homepage: https://apr.apache.org/
 Rules-Requires-Root: no
 
-Package: libapr1
+Package: libapr1t64
+Provides: ${t64:Provides}
+Replaces: libapr1
+Breaks: libapr1 (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Pre-Depends: ${misc:Pre-Depends}
@@ -33,7 +36,7 @@
 Package: libapr1-dev
 Architecture: any
 Section: libdevel
-Depends: libapr1 (= ${binary:Version}), uuid-dev, ${misc:Depends}, libsctp-dev 
[linux-any], python3:any
+Depends: libapr1t64 (= ${binary:Version}), uuid-dev, ${misc:Depends}, 
libsctp-dev [linux-any], python3:any
 Conflicts: libapr1.0-dev, libapr0-dev
 Description: Apache Portable Runtime Library - Development Headers
  APR is Apache's Portable Runtime Library, designed to be a support library
diff -Nru apr-1.7.2/debian/libapr1.docs apr-1.7.2/debian/libapr1.docs
--- apr-1.7.2/debian/libapr1.docs       2023-02-02 21:18:42.000000000 +0000
+++ apr-1.7.2/debian/libapr1.docs       1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-NOTICE
diff -Nru apr-1.7.2/debian/libapr1.install apr-1.7.2/debian/libapr1.install
--- apr-1.7.2/debian/libapr1.install    2023-02-02 21:18:42.000000000 +0000
+++ apr-1.7.2/debian/libapr1.install    1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib/*/libapr-1.so.*
diff -Nru apr-1.7.2/debian/libapr1.lintian-overrides 
apr-1.7.2/debian/libapr1.lintian-overrides
--- apr-1.7.2/debian/libapr1.lintian-overrides  2023-02-02 21:18:42.000000000 
+0000
+++ apr-1.7.2/debian/libapr1.lintian-overrides  1970-01-01 00:00:00.000000000 
+0000
@@ -1 +0,0 @@
-libapr1: package-name-doesnt-match-sonames libapr-1-0
diff -Nru apr-1.7.2/debian/libapr1.symbols apr-1.7.2/debian/libapr1.symbols
--- apr-1.7.2/debian/libapr1.symbols    2023-02-02 21:18:42.000000000 +0000
+++ apr-1.7.2/debian/libapr1.symbols    1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-here for the purpose of tricking debhelper...bwahahahaha.
-
diff -Nru apr-1.7.2/debian/libapr1t64.docs apr-1.7.2/debian/libapr1t64.docs
--- apr-1.7.2/debian/libapr1t64.docs    1970-01-01 00:00:00.000000000 +0000
+++ apr-1.7.2/debian/libapr1t64.docs    2023-02-02 21:18:42.000000000 +0000
@@ -0,0 +1 @@
+NOTICE
diff -Nru apr-1.7.2/debian/libapr1t64.install 
apr-1.7.2/debian/libapr1t64.install
--- apr-1.7.2/debian/libapr1t64.install 1970-01-01 00:00:00.000000000 +0000
+++ apr-1.7.2/debian/libapr1t64.install 2023-02-02 21:18:42.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/libapr-1.so.*
diff -Nru apr-1.7.2/debian/libapr1t64.lintian-overrides 
apr-1.7.2/debian/libapr1t64.lintian-overrides
--- apr-1.7.2/debian/libapr1t64.lintian-overrides       1970-01-01 
00:00:00.000000000 +0000
+++ apr-1.7.2/debian/libapr1t64.lintian-overrides       2024-02-28 
01:17:10.000000000 +0000
@@ -0,0 +1,2 @@
+libapr1t64: package-name-doesnt-match-sonames libapr-1-0
+libapr1t64: package-name-doesnt-match-sonames libapr1
diff -Nru apr-1.7.2/debian/libapr1t64.symbols 
apr-1.7.2/debian/libapr1t64.symbols
--- apr-1.7.2/debian/libapr1t64.symbols 1970-01-01 00:00:00.000000000 +0000
+++ apr-1.7.2/debian/libapr1t64.symbols 2024-02-28 01:17:10.000000000 +0000
@@ -0,0 +1,2 @@
+here for the purpose of tricking debhelper...bwahahahaha.
+
diff -Nru apr-1.7.2/debian/symbols.common apr-1.7.2/debian/symbols.common
--- apr-1.7.2/debian/symbols.common     2023-02-02 21:18:42.000000000 +0000
+++ apr-1.7.2/debian/symbols.common     2024-03-08 19:11:28.000000000 +0000
@@ -1,4 +1,4 @@
-libapr-1.so.0 libapr1 #MINVER#
+libapr-1.so.0 libapr1t64 #MINVER#
  apr__SHA256_Data@Base 1.2.7
  apr__SHA256_End@Base 1.2.7
  apr__SHA256_Final@Base 1.2.7

Attachment: signature.asc
Description: PGP signature

Reply via email to