Bug#1062632: libsolv: NMU diff for 64-bit time_t transition

2024-02-07 Thread Luca Boccassi
Control: tags -1 -pending
Control: close -1

On Fri, 02 Feb 2024 07:47:44 + Steve Langasek 
wrote:
> Source: libsolv
> Version: 0.7.28-1
> Severity: serious
> Tags: patch pending
> 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
> libsolv 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 libsolv
> 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.

There are no mentions of 'time_t' in the public headers of this
library. The logs shows that it's a false positive, as the automated
tool simply wasn't able to build it:

https://adrien.dcln.fr/misc/armhf-time_t/2023-12-18/logs/libsolvext-dev/base/log.txt

Closing as not applicable.

-- 
Kind regards,
Luca Boccassi


signature.asc
Description: This is a digitally signed message part


Bug#1062632: libsolv: NMU diff for 64-bit time_t transition

2024-02-01 Thread Steve Langasek
Source: libsolv
Version: 0.7.28-1
Severity: serious
Tags: patch pending
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
libsolv 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 libsolv
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'), (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 libsolv-0.7.28/debian/changelog libsolv-0.7.28/debian/changelog
--- libsolv-0.7.28/debian/changelog 2024-01-29 10:28:06.0 +
+++ libsolv-0.7.28/debian/changelog 2024-02-02 07:46:43.0 +
@@ -1,3 +1,10 @@
+libsolv (0.7.28-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Fri, 02 Feb 2024 07:46:43 +
+
 libsolv (0.7.28-1) unstable; urgency=medium
 
   * Move package to pkg-rpm-team
diff -Nru libsolv-0.7.28/debian/control libsolv-0.7.28/debian/control
--- libsolv-0.7.28/debian/control   2024-01-02 11:27:52.0 +
+++ libsolv-0.7.28/debian/control   2024-02-02 07:46:43.0 +
@@ -23,7 +23,10 @@
 Vcs-Browser: https://salsa.debian.org/pkg-rpm-team/libsolv/
 Vcs-Git: https://salsa.debian.org/pkg-rpm-team/libsolv.git
 
-Package: libsolv1
+Package: libsolv1t64
+Provides: ${t64:Provides}
+Replaces: libsolv1
+Breaks: libsolv1 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -78,7 +81,7 @@
  libsolv-dev
 Depends:
  ${misc:Depends},
- libsolv1 (= ${binary:Version}),
+ libsolv1t64 (= ${binary:Version}),
  libsolvext-dev (= ${binary:Version}),
 Breaks:
  libsolv0-dev (<< 0.7),
@@ -95,7 +98,10 @@
  .
  This package contains development files for libsolv.
 
-Package: libsolvext1
+Package: libsolvext1t64
+Provides: ${t64:Provides}
+Replaces: libsolvext1
+Breaks: libsolvext1 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -137,7 +143,7 @@
  libsolvext-dev
 Depends:
  ${misc:Depends},
- libsolvext1 (= ${binary:Version}),
+ libsolvext1t64 (= ${binary:Version}),
 Breaks:
  libsolvext0-dev (<< 0.7),
 Replaces:
@@ -158,7 +164,7 @@
 Depends:
  ${shlibs:Depends},
  ${misc:Depends},
- libsolv1 (= ${binary:Version}),
+ libsolv1t64 (= ${binary:Version}),
 Description: dependency solver using a satisfiability algorithm (command-line 
tools)
  This dependency solver code in this package is based on two major, but
  independent, blocks:
@@ -177,7 +183,7 @@
  ${python3:Depends},
  ${shlibs:Depends},
  ${misc:Depends},
- libsolv1 (= ${binary:Version}),
+ libsolv1t64 (= ${binary:Version}),
 Description: dependency solver using a satisfiability algorithm (Python3 
bindings)
  This dependency solver code in this package is based on two major, but
  independent, blocks:
@@ -196,7 +202,7 @@
  ${perl:Depends},
  ${shlibs:Depends},
  ${misc:Depends},
- libsolv1 (= ${binary:Version}),
+ libsolv1t64 (= ${binary:Version}),
 Description: dependency solver using a satisfiability algorithm (Perl bindings)
  This dependency solver code in this package is based on two major, but
  independent, blocks:
diff -Nru libsolv-0.7.28/debian/libsolv1.install 
libsolv-0.7.28/debian/libsolv1.install
--- libsolv-0.7.28/debian/libsolv1.install