Bug#1063040: uw-imap: NMU diff for 64-bit time_t transition

2024-02-05 Thread Steve Langasek
Control: reopen -1

Here is a fixed patch which has been uploaded to experimental.  Thanks!

On Sun, Feb 04, 2024 at 09:45:04AM -0800, Steve Langasek wrote:
> Yeah no that patch isn't going to work. I had my eye on the machinery as it
> tried to process uw-imap because I knew we didn't have proper handling yet
> and I expected to see it fail completely rather than generating a useless
> patch.  Closing this bug, will resubmit a fixed one later.
> 
> On Sun, Feb 04, 2024 at 05:32:18PM +, Steve Langasek wrote:
> > Source: uw-imap
> > Version: 8:2007f~dfsg-7
> > 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
> > uw-imap 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 uw-imap
> > 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 uw-imap-2007f~dfsg/debian/changelog 
> > uw-imap-2007f~dfsg/debian/changelog
> > --- uw-imap-2007f~dfsg/debian/changelog 2019-08-26 20:52:52.0 
> > +
> > +++ uw-imap-2007f~dfsg/debian/changelog 2024-02-04 17:29:56.0 
> > +
> > @@ -1,3 +1,10 @@
> > +uw-imap (8:2007f~dfsg-7.1) experimental; urgency=medium
> > +
> > +  * Non-maintainer upload.
> > +  * Rename libraries for 64-bit time_t transition.
> > +
> > + -- Steve Langasek   Sun, 04 Feb 2024 17:29:56 +
> > +
> >  uw-imap (8:2007f~dfsg-7) unstable; urgency=low
> >  
> >* 2014_openssl1.1.1_sni.patch (new, from Ubuntu): Use SNI when building
> > diff -Nru uw-imap-2007f~dfsg/debian/control 
> > uw-imap-2007f~dfsg/debian/control
> > --- uw-imap-2007f~dfsg/debian/control   2019-08-26 20:52:52.0 
> > +
> > +++ uw-imap-2007f~dfsg/debian/control   2024-02-04 17:29:56.0 
> > +
> > @@ -38,6 +38,10 @@
> >   headers.
> >  
> >  Package: libc-client2007e
> > +Provides: ${t64:Provides}
> > +X-Time64-Compat: libc-client2007e
> > +Replaces: libc-client2007e
> > +Breaks: libc-client2007e (<< ${source:Version})
> >  Section: libs
> >  Architecture: any
> >  Depends: ${cdbs:Depends},
> > diff -Nru uw-imap-2007f~dfsg/debian/libc-client2007e.lintian-overrides 
> > uw-imap-2007f~dfsg/debian/libc-client2007e.lintian-overrides
> > --- uw-imap-2007f~dfsg/debian/libc-client2007e.lintian-overrides
> > 1970-01-01 00:00:00.0 +
> > +++ uw-imap-2007f~dfsg/debian/libc-client2007e.lintian-overrides
> > 2024-02-04 17:29:56.0 +
> > @@ -0,0 +1 @@
> > +libc-client2007e: package-name-doesnt-match-sonames libc-client2007e
> 
> 
> -- 
> 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

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I 

Bug#1063040: uw-imap: NMU diff for 64-bit time_t transition

2024-02-04 Thread Steve Langasek
Source: uw-imap
Version: 8:2007f~dfsg-7
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
uw-imap 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 uw-imap
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 uw-imap-2007f~dfsg/debian/changelog 
uw-imap-2007f~dfsg/debian/changelog
--- uw-imap-2007f~dfsg/debian/changelog 2019-08-26 20:52:52.0 +
+++ uw-imap-2007f~dfsg/debian/changelog 2024-02-04 17:29:56.0 +
@@ -1,3 +1,10 @@
+uw-imap (8:2007f~dfsg-7.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Sun, 04 Feb 2024 17:29:56 +
+
 uw-imap (8:2007f~dfsg-7) unstable; urgency=low
 
   * 2014_openssl1.1.1_sni.patch (new, from Ubuntu): Use SNI when building
diff -Nru uw-imap-2007f~dfsg/debian/control uw-imap-2007f~dfsg/debian/control
--- uw-imap-2007f~dfsg/debian/control   2019-08-26 20:52:52.0 +
+++ uw-imap-2007f~dfsg/debian/control   2024-02-04 17:29:56.0 +
@@ -38,6 +38,10 @@
  headers.
 
 Package: libc-client2007e
+Provides: ${t64:Provides}
+X-Time64-Compat: libc-client2007e
+Replaces: libc-client2007e
+Breaks: libc-client2007e (<< ${source:Version})
 Section: libs
 Architecture: any
 Depends: ${cdbs:Depends},
diff -Nru uw-imap-2007f~dfsg/debian/libc-client2007e.lintian-overrides 
uw-imap-2007f~dfsg/debian/libc-client2007e.lintian-overrides
--- uw-imap-2007f~dfsg/debian/libc-client2007e.lintian-overrides
1970-01-01 00:00:00.0 +
+++ uw-imap-2007f~dfsg/debian/libc-client2007e.lintian-overrides
2024-02-04 17:29:56.0 +
@@ -0,0 +1 @@
+libc-client2007e: package-name-doesnt-match-sonames libc-client2007e