Bug#1063106: bctoolbox: NMU diff for 64-bit time_t transition

2024-03-01 Thread Benjamin Drung
Source: bctoolbox
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-21-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_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
diff -Nru bctoolbox-5.2.0/debian/changelog bctoolbox-5.2.0/debian/changelog
--- bctoolbox-5.2.0/debian/changelog2023-07-28 15:22:11.0 +
+++ bctoolbox-5.2.0/debian/changelog2024-03-01 11:44:51.0 +
@@ -1,3 +1,10 @@
+bctoolbox (5.2.0-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063106
+
+ -- Benjamin Drung   Fri, 01 Mar 2024 11:44:51 +
+
 bctoolbox (5.2.0-2) unstable; urgency=medium
 
   * Release to unstable.
diff -Nru bctoolbox-5.2.0/debian/control bctoolbox-5.2.0/debian/control
--- bctoolbox-5.2.0/debian/control  2023-07-28 15:22:11.0 +
+++ bctoolbox-5.2.0/debian/control  2024-03-01 11:44:51.0 +
@@ -3,7 +3,7 @@
 Maintainer: Debian VoIP Team 
 Uploaders: Bernhard Schmidt 
 Rules-Requires-Root: no
-Build-Depends: cmake,
+Build-Depends: dpkg-dev (>= 1.22.5), cmake,
debhelper-compat (= 13),
libdecaf-dev,
libmbedtls-dev,
@@ -20,7 +20,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libbctoolbox1 (= ${binary:Version}),
+Depends: libbctoolbox1t64 (= ${binary:Version}),
  ${misc:Depends},
 Description: Helper code for software by Belledonne Communications 
(development headers)
  The package provides a C/C++ utility library used by Linphone and other
@@ -33,7 +33,10 @@
  .
  This package contains the development headers.
 
-Package: libbctoolbox1
+Package: libbctoolbox1t64
+Provides: ${t64:Provides}
+Replaces: libbctoolbox1
+Breaks: libbctoolbox1 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends},
diff -Nru bctoolbox-5.2.0/debian/libbctoolbox1.dirs 
bctoolbox-5.2.0/debian/libbctoolbox1.dirs
--- bctoolbox-5.2.0/debian/libbctoolbox1.dirs   2023-07-28 15:22:11.0 
+
+++ bctoolbox-5.2.0/debian/libbctoolbox1.dirs   1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib
diff -Nru bctoolbox-5.2.0/debian/libbctoolbox1.install 
bctoolbox-5.2.0/debian/libbctoolbox1.install
--- bctoolbox-5.2.0/debian/libbctoolbox1.install2023-07-28 
15:22:11.0 +
+++ bctoolbox-5.2.0/debian/libbctoolbox1.install1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru bctoolbox-5.2.0/debian/libbctoolbox1.lintian-overrides 
bctoolbox-5.2.0/debian/libbctoolbox1.lintian-overrides
--- bctoolbox-5.2.0/debian/libbctoolbox1.lintian-overrides  2023-07-28 
15:22:11.0 +
+++ bctoolbox-5.2.0/debian/libbctoolbox1.lintian-overrides  1970-01-01 
00:00:00.0 +
@@ -1,3 +0,0 @@
-# Some of the symbols we export are C++ symbols.  Tracking those is more 
trouble
-# than it's worth.
-no-symbols-control-file
diff -Nru bctoolbox-5.2.0/debian/libbctoolbox1.shlibs 
bctoolbox-5.2.0/debian/libbctoolbox1.shlibs
--- bctoolbox-5.2.0/debian/libbctoolbox1.shlibs 2023-07-28 15:22:11.0 
+
+++ bctoolbox-5.2.0/debian/libbctoolbox1.shlibs 1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-libbctoolbox 1 libbctoolbox1 (>= 5.2.0-1), libbctoolbox1 (<< 5.3.0-1)
diff -Nru bctoolbox-5.2.0/debian/libbctoolbox1t64.dirs 
bctoolbox-5.2.0/debian/libbctoolbox1t64.dirs
--- bctoolbox-5.2.0/debian/libbctoolbox1t64.dirs1970-01-01 
00:00:00.0 +
+++ bctoolbox-5.2.0/debian/libbctoolbox1t64.dirs2023-07-28 
15:22:11.0 +
@@ -0,0 +1 @@
+usr/lib
diff -Nru bctoolbox-5.2.0/debian/libbctoolbox1t64.install 
bctoolbox-5.2.0/debian/libbctoolbox1t64.install
--- bctoolbox-5.2.0/debian/libbctoolbox1t64.install 1970-01-01 
00:00:00.0 +
+++ bctoolbox-5.2.0/debian/libbctoolbox1t64.install 2023-07-28 
15:22:11.0 +
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff -Nru bctoolbox-5.2.0/debian/libbctoolbox1t64.lintian-overrides 
bctoolbox-5.2.0/debian/libbctoolbox1t64.lintian-overrides
--- bctoolbox-5.2.0/debian/libbctoolbox1t64.lintian-overrides   1970-01-01 
00:00:00.0 +
+++ bctoolbox-5.2.0/debian/libbctoolbox1t64.lintian-overrides   2024-03-01 
11:44:47.0 +
@@ -0,0 +1,4 @@
+# Some of the symbols we export are C++ symbols.  Tracking those is more 
trouble
+# than it's worth.
+no-symbols-control-file
+libbctoolbox1t64: package-name-doesnt-match-sonames 

Bug#1063106: bctoolbox: NMU diff for 64-bit time_t transition

2024-02-20 Thread Dennis Filder
X-Debbugs-CC: Steve Langasek 

On Fri, Feb 16, 2024 at 01:55:51PM -0800, Steve Langasek wrote:
> > I presume the need for "close together in time" is to prevent
> > interoperability issues from cropping up in unstable between shared
> > library versions on different sides of the time_t transition.  How
> > timely would our staged versions need to be uploaded to unstable to
> > obviate the need for the NMUs?  I ask because it is very difficult to
> > say with a useful degree of certainty when these staged versions will
> > actually reach testing.  Experience has shown that linphone stack
> > transitions are prone to being afflicted by (sometimes multi-month)
> > delays due to being blocked by other transitions, and I see no open
> > bugreport for linphone on the release.debian.org pseudopackage, so
> > Berni (who will do these uploads) apparently has not yet applied for a
> > new transition slot.
>
> Based on the above I think you should let us go ahead with the NMUs to
> unstable and not worry about it, clobbering them later at your convenience.

I agree.

Regards.



Bug#1063106: bctoolbox: NMU diff for 64-bit time_t transition

2024-02-16 Thread Steve Langasek
Hi Dennis,

On Thu, Feb 08, 2024 at 06:36:24PM +0100, Dennis Filder wrote:
> X-Debbugs-CC: Steve Langasek 

> The packages bctoolbox, belle-sip and linphone have been marked as
> affected by the 64-bit time_t transition.  However, all these packages
> currently have new versions staged in experimental because their
> library packages had soname bumps unrelated to the 64-bit time_t
> transition (which you already noticed for belle-sip).  As long as
> these staged versions actually make it into testing before the Trixie
> freeze there should be no need for these NMU diffs, correct?

There is perhaps no need for you to apply these diffs to your package; and
for any of these packages where you will be changing sonames, the diffs can
be dropped.  But without making this transition explict in unstable, *any*
no-change rebuild in the meantime, of any of these libraries or their
reverse-dependencies, would result in potentially RC-buggy ABI skew.  So our
intent would still be to NMU these to unstable even if the library
transition is subsequently superseded.

> > 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.

> I presume the need for "close together in time" is to prevent
> interoperability issues from cropping up in unstable between shared
> library versions on different sides of the time_t transition.  How
> timely would our staged versions need to be uploaded to unstable to
> obviate the need for the NMUs?  I ask because it is very difficult to
> say with a useful degree of certainty when these staged versions will
> actually reach testing.  Experience has shown that linphone stack
> transitions are prone to being afflicted by (sometimes multi-month)
> delays due to being blocked by other transitions, and I see no open
> bugreport for linphone on the release.debian.org pseudopackage, so
> Berni (who will do these uploads) apparently has not yet applied for a
> new transition slot.

Based on the above I think you should let us go ahead with the NMUs to
unstable and not worry about it, clobbering them later at your convenience.

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/
slanga...@ubuntu.com vor...@debian.org


signature.asc
Description: PGP signature


Bug#1063106: bctoolbox: NMU diff for 64-bit time_t transition

2024-02-08 Thread Dennis Filder
X-Debbugs-CC: Steve Langasek 

The packages bctoolbox, belle-sip and linphone have been marked as
affected by the 64-bit time_t transition.  However, all these packages
currently have new versions staged in experimental because their
library packages had soname bumps unrelated to the 64-bit time_t
transition (which you already noticed for belle-sip).  As long as
these staged versions actually make it into testing before the Trixie
freeze there should be no need for these NMU diffs, correct?

> 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.

I presume the need for "close together in time" is to prevent
interoperability issues from cropping up in unstable between shared
library versions on different sides of the time_t transition.  How
timely would our staged versions need to be uploaded to unstable to
obviate the need for the NMUs?  I ask because it is very difficult to
say with a useful degree of certainty when these staged versions will
actually reach testing.  Experience has shown that linphone stack
transitions are prone to being afflicted by (sometimes multi-month)
delays due to being blocked by other transitions, and I see no open
bugreport for linphone on the release.debian.org pseudopackage, so
Berni (who will do these uploads) apparently has not yet applied for a
new transition slot.

Regards.



Bug#1063106: bctoolbox: NMU diff for 64-bit time_t transition

2024-02-04 Thread Steve Langasek
Source: bctoolbox
Version: 5.2.0-2
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
User: debian-...@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
bctoolbox 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 bctoolbox
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 bctoolbox-5.2.0/debian/changelog bctoolbox-5.2.0/debian/changelog
--- bctoolbox-5.2.0/debian/changelog2023-07-28 15:22:11.0 +
+++ bctoolbox-5.2.0/debian/changelog2024-02-05 05:09:36.0 +
@@ -1,3 +1,10 @@
+bctoolbox (5.2.0-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Mon, 05 Feb 2024 05:09:36 +
+
 bctoolbox (5.2.0-2) unstable; urgency=medium
 
   * Release to unstable.
diff -Nru bctoolbox-5.2.0/debian/control bctoolbox-5.2.0/debian/control
--- bctoolbox-5.2.0/debian/control  2023-07-28 15:22:11.0 +
+++ bctoolbox-5.2.0/debian/control  2024-02-05 05:09:35.0 +
@@ -20,7 +20,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libbctoolbox1 (= ${binary:Version}),
+Depends: libbctoolbox1t64 (= ${binary:Version}),
  ${misc:Depends},
 Description: Helper code for software by Belledonne Communications 
(development headers)
  The package provides a C/C++ utility library used by Linphone and other
@@ -33,7 +33,10 @@
  .
  This package contains the development headers.
 
-Package: libbctoolbox1
+Package: libbctoolbox1t64
+Provides: ${t64:Provides}
+Replaces: libbctoolbox1
+Breaks: libbctoolbox1 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends},
diff -Nru bctoolbox-5.2.0/debian/libbctoolbox1.dirs 
bctoolbox-5.2.0/debian/libbctoolbox1.dirs
--- bctoolbox-5.2.0/debian/libbctoolbox1.dirs   2023-07-28 15:22:11.0 
+
+++ bctoolbox-5.2.0/debian/libbctoolbox1.dirs   1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib
diff -Nru bctoolbox-5.2.0/debian/libbctoolbox1.install 
bctoolbox-5.2.0/debian/libbctoolbox1.install
--- bctoolbox-5.2.0/debian/libbctoolbox1.install2023-07-28 
15:22:11.0 +
+++ bctoolbox-5.2.0/debian/libbctoolbox1.install1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru bctoolbox-5.2.0/debian/libbctoolbox1.lintian-overrides 
bctoolbox-5.2.0/debian/libbctoolbox1.lintian-overrides
--- bctoolbox-5.2.0/debian/libbctoolbox1.lintian-overrides  2023-07-28 
15:22:11.0 +
+++ bctoolbox-5.2.0/debian/libbctoolbox1.lintian-overrides  1970-01-01 
00:00:00.0 +
@@ -1,3 +0,0 @@
-# Some of the symbols we export are C++ symbols.  Tracking those is more 
trouble
-# than it's worth.
-no-symbols-control-file
diff -Nru bctoolbox-5.2.0/debian/libbctoolbox1.shlibs 
bctoolbox-5.2.0/debian/libbctoolbox1.shlibs
--- bctoolbox-5.2.0/debian/libbctoolbox1.shlibs 2023-07-28 15:22:11.0 
+
+++ bctoolbox-5.2.0/debian/libbctoolbox1.shlibs 1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-libbctoolbox 1 libbctoolbox1 (>= 5.2.0-1), libbctoolbox1 (<< 5.3.0-1)
diff -Nru bctoolbox-5.2.0/debian/libbctoolbox1t64.dirs