Bug#1062343: htmlcxx: NMU diff for 64-bit time_t transition

2024-02-14 Thread Stephen Kitt
On Wed, 14 Feb 2024 09:48:05 +0100, Adrien Nader  wrote:
> On Wed, Feb 14, 2024, Stephen Kitt wrote:
> > Would it be possible to re-run the analysis on htmlcxx with 0.87-4?  
> 
> I ran the analysis again but since the new package wasn't being picked
> up yet, I added the change as a quirk to the analysis script. The ABI
> isn't impacted by time_t nor LFS and I'm therefore also closing this
> issue. Thanks for also fixing the issue in the package!
> 
> Like I said in the other issue, consolidated results will not be
> available immediately but only in a couple days.

Fantastic, thanks for the quick turnaround on both issues!

Regards,

Stephen


pgpmCA4FJJySm.pgp
Description: OpenPGP digital signature


Bug#1062343: htmlcxx: NMU diff for 64-bit time_t transition

2024-02-14 Thread Stephen Kitt
Hi,

On Thu, Feb 01, 2024 at 05:57:37AM +, Graham Inggs wrote:
> 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
> htmlcxx 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).

In htmlcxx's case, the analysis failed because of a missing include in
one of the headers. I've fixed that in 0.87-4 which is on its way to
unstable.

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

Would it be possible to re-run the analysis on htmlcxx with 0.87-4?

Thanks,

Stephen


signature.asc
Description: PGP signature


Bug#1062343: htmlcxx: NMU diff for 64-bit time_t transition

2024-01-31 Thread Graham Inggs
Source: htmlcxx
Version: 0.87-3
Severity: serious
Tags: patch pending
Justification: library ABI skew on upgrade
User: debian-...@lists.debian.org
Usertags: time-t

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
htmlcxx 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 htmlcxx
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'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-15-generic (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: 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: unable to detect
diff -Nru htmlcxx-0.87/debian/changelog htmlcxx-0.87/debian/changelog
--- htmlcxx-0.87/debian/changelog   2022-10-09 16:27:55.0 +
+++ htmlcxx-0.87/debian/changelog   2024-02-01 05:57:11.0 +
@@ -1,3 +1,10 @@
+htmlcxx (0.87-3.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Graham Inggs   Thu, 01 Feb 2024 05:57:11 +
+
 htmlcxx (0.87-3) unstable; urgency=medium
 
   [ Frantisek Boranek ]
diff -Nru htmlcxx-0.87/debian/control htmlcxx-0.87/debian/control
--- htmlcxx-0.87/debian/control 2022-10-09 16:24:10.0 +
+++ htmlcxx-0.87/debian/control 2024-02-01 05:57:11.0 +
@@ -13,9 +13,9 @@
 Package: libhtmlcxx-dev
 Section: libdevel
 Architecture: any
-Depends: libcss-parser-pp0v5 (= ${binary:Version}),
- libcss-parser0 (= ${binary:Version}),
- libhtmlcxx3v5 (= ${binary:Version}),
+Depends: libcss-parser-pp0t64 (= ${binary:Version}),
+ libcss-parser0t64 (= ${binary:Version}),
+ libhtmlcxx3t64 (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends}
 Description: simple HTML/CSS1 parser library for C++ (development)
@@ -42,13 +42,15 @@
  This package contains files required for developing software that makes use of
  htmlcxx.
 
-Package: libhtmlcxx3v5
+Package: libhtmlcxx3t64
+Provides: ${t64:Provides}
+X-Time64-Compat: libhtmlcxx3v5
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Breaks: libhtmlcxx3 (<< 0.85-3.1~)
-Replaces: libhtmlcxx3 (<< 0.85-3.1~)
+Breaks: libhtmlcxx3v5 (<< ${source:Version}), libhtmlcxx3 (<< 0.85-3.1~)
+Replaces: libhtmlcxx3v5, libhtmlcxx3 (<< 0.85-3.1~)
 Description: simple HTML parser library for C++
  htmlcxx is a simple non-validating CSS1 and HTML parser for C++. Although
  there are several other html parsers available, htmlcxx has some
@@ -70,7 +72,11 @@
  insert non-existent stuff in your html. Therefore, serializing the DOM tree
  gives exactly the same bytes contained in the original HTML document.
 
-Package: libcss-parser0
+Package: libcss-parser0t64
+Provides: ${t64:Provides}
+X-Time64-Compat: libcss-parser-pp0v5
+Replaces: libcss-parser0
+Breaks: libcss-parser0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -98,13 +104,15 @@
  .
  This package contains the C runtime library for CSS parsing.
 
-Package: libcss-parser-pp0v5
+Package: libcss-parser-pp0t64
+Provides: ${t64:Provides}
+X-Time64-Compat: libcss-parser-pp0v5
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Breaks: libcss-parser-pp0 (<< 0.85-3.1~)
-Replaces: libcss-parser-pp0 (<< 0.85-3.1~)
+Breaks: libcss-parser-pp0v5 (<< ${source:Version}), libcss-parser-pp0 (<< 
0.85-3.1~)
+Replaces: libcss-parser-pp0v5, libcss-parser-pp0 (<< 0.85-3.1~)
 Description: simple CSS1 parser library for