Bug#1062730: libwebsockets: NMU diff for 64-bit time_t transition

2024-02-29 Thread Steve Langasek
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')
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 libwebsockets-4.3.3/debian/changelog 
libwebsockets-4.3.3/debian/changelog
--- libwebsockets-4.3.3/debian/changelog2023-12-10 08:47:50.0 
+
+++ libwebsockets-4.3.3/debian/changelog2024-03-01 07:41:57.0 
+
@@ -1,3 +1,10 @@
+libwebsockets (4.3.3-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062730
+
+ -- Steve Langasek   Fri, 01 Mar 2024 07:41:57 +
+
 libwebsockets (4.3.3-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru libwebsockets-4.3.3/debian/control libwebsockets-4.3.3/debian/control
--- libwebsockets-4.3.3/debian/control  2022-08-22 19:55:48.0 +
+++ libwebsockets-4.3.3/debian/control  2024-03-01 07:41:57.0 +
@@ -3,14 +3,17 @@
 Priority: optional
 Maintainer: Laszlo Boszormenyi (GCS) 
 Uploaders: Peter Pentchev 
-Build-Depends: debhelper-compat (= 13), pkg-config, cmake,
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13), pkg-config, 
cmake,
  libcap-dev [linux-any], libev-dev, libuv1-dev, libglib2.0-dev, zlib1g-dev,
  libssl-dev, openssl
 Standards-Version: 4.6.0
 Homepage: https://libwebsockets.org/
 Rules-Requires-Root: no
 
-Package: libwebsockets19
+Package: libwebsockets19t64
+Provides: ${t64:Provides}
+Replaces: libwebsockets19
+Breaks: libwebsockets19 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -24,7 +27,7 @@
 Package: libwebsockets-evlib-ev
 Architecture: any
 Multi-Arch: same
-Depends: libwebsockets19 (= ${binary:Version}),
+Depends: libwebsockets19t64 (= ${binary:Version}),
${shlibs:Depends}, ${misc:Depends}
 Description: lightweight C websockets library
  Libwebsockets is a lightweight pure C library for both websockets
@@ -36,7 +39,7 @@
 Package: libwebsockets-evlib-uv
 Architecture: any
 Multi-Arch: same
-Depends: libwebsockets19 (= ${binary:Version}),
+Depends: libwebsockets19t64 (= ${binary:Version}),
${shlibs:Depends}, ${misc:Depends}
 Description: lightweight C websockets library
  Libwebsockets is a lightweight pure C library for both websockets
@@ -48,7 +51,7 @@
 Package: libwebsockets-evlib-glib
 Architecture: any
 Multi-Arch: same
-Depends: libwebsockets19 (= ${binary:Version}),
+Depends: libwebsockets19t64 (= ${binary:Version}),
${shlibs:Depends}, ${misc:Depends}
 Description: lightweight C websockets library
  Libwebsockets is a lightweight pure C library for both websockets
@@ -61,7 +64,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libwebsockets19 (= ${binary:Version}),
+Depends: libwebsockets19t64 (= ${binary:Version}),
libwebsockets-evlib-ev (= ${binary:Version}),
libwebsockets-evlib-uv (= ${binary:Version}),
libwebsockets-evlib-glib (= ${binary:Version}),
@@ -79,7 +82,7 @@
 Section: utils
 Architecture: any
 Multi-Arch: foreign
-Depends: libwebsockets19 (= ${binary:Version}),
+Depends: libwebsockets19t64 (= ${binary:Version}),
libwebsockets-test-server-common (= ${source:Version}),
${shlibs:Depends}, ${misc:Depends}
 Description: lightweight C websockets library - test servers
diff -Nru libwebsockets-4.3.3/debian/libwebsockets19.install 
libwebsockets-4.3.3/debian/libwebsockets19.install
--- libwebsockets-4.3.3/debian/libwebsockets19.install  2022-08-22 
19:55:48.0 +
+++ libwebsockets-4.3.3/debian/libwebsockets19.install  1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/${DEB_HOST_MULTIARCH}/lib*.so.*
diff -Nru libwebsockets-4.3.3/debian/libwebsockets19.symbols 
libwebsockets-4.3.3/debian/libwebsockets19.symbols
--- libwebsockets-4.3.3/debian/libwebsockets19.symbols  2022-08-22 
19:55:48.0 +
+++ libwebsockets-4.3.3/debian/libwebsockets19.symbols  1970-01-01 
00:00:00.0 +
@@ -1,410 +0,0 @@
-libwebsockets.so.19 libwebsockets19 #MINVER#
- __lws_close_free_wsi_final@Base 4.1.0
- __lws_sul_insert@Base 4.0.0
- __lws_sul_service_ripe@Base 4.0.0
- __lws_system_attach@Base 4.0.0
- _lws_dll2_search_sz_pl@Base 4.1.0
- _lws_log@Base 1.2
- _lws_log_cx@Base 4.3.2
- _lws_logv@Base 1.4
- _lws_plat_file_close@Base 2.4.1
- _lws_plat_file_open@Base 2.4.1
- _lws_plat_file_read@Base 2.4.1
- _lws_plat_file_seek_cur@Base 2.4.1
- _lws_plat_file_write@Base 

Bug#1062730: libwebsockets: NMU diff for 64-bit time_t transition

2024-02-29 Thread Steve Langasek
Uh yeah let's try that one more time.

On Thu, Feb 29, 2024 at 10:46:43PM -0800, Steve Langasek wrote:
> Sorry, for some reason a number of bugs failed to have their patches
> attached.  Please find the debdiff from the experimental upload attached
> now.
> 
> On Fri, Feb 02, 2024 at 11:00:08PM +, Steve Langasek wrote:
> > Source: libwebsockets
> > Version: 4.3.3-1
> > 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
> > libwebsockets 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 libwebsockets
> > 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'), (500, 'stable'), (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)
> > 
> 
> -- 
> 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 can move the world.
Ubuntu Developer   https://www.debian.org/
slanga...@ubuntu.com vor...@debian.org
diff -Nru libwebsockets-4.3.3/debian/changelog 
libwebsockets-4.3.3/debian/changelog
--- libwebsockets-4.3.3/debian/changelog2023-12-10 08:47:50.0 
+
+++ libwebsockets-4.3.3/debian/changelog2024-02-02 19:26:00.0 
+
@@ -1,3 +1,10 @@
+libwebsockets (4.3.3-1.1~exp1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Fri, 02 Feb 2024 19:26:00 +
+
 libwebsockets (4.3.3-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru libwebsockets-4.3.3/debian/control libwebsockets-4.3.3/debian/control
--- libwebsockets-4.3.3/debian/control  2022-08-22 19:55:48.0 +
+++ libwebsockets-4.3.3/debian/control  2024-02-02 19:26:00.0 +
@@ -10,7 +10,10 @@
 Homepage: https://libwebsockets.org/
 Rules-Requires-Root: no
 
-Package: libwebsockets19
+Package: libwebsockets19t64
+Provides: ${t64:Provides}
+Replaces: libwebsockets19
+Breaks: libwebsockets19 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -24,7 +27,7 @@
 Package: libwebsockets-evlib-ev
 Architecture: any
 Multi-Arch: same
-Depends: libwebsockets19 (= ${binary:Version}),
+Depends: libwebsockets19t64 (= ${binary:Version}),
${shlibs:Depends}, ${misc:Depends}
 Description: lightweight C websockets library
  Libwebsockets is a lightweight pure C library for both websockets
@@ -36,7 +39,7 @@
 Package: libwebsockets-evlib-uv
 Architecture: any
 Multi-Arch: same
-Depends: libwebsockets19 (= ${binary:Version}),
+Depends: libwebsockets19t64 (= 

Bug#1062730: libwebsockets: NMU diff for 64-bit time_t transition

2024-02-29 Thread Steve Langasek
Sorry, for some reason a number of bugs failed to have their patches
attached.  Please find the debdiff from the experimental upload attached
now.

On Fri, Feb 02, 2024 at 11:00:08PM +, Steve Langasek wrote:
> Source: libwebsockets
> Version: 4.3.3-1
> 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
> libwebsockets 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 libwebsockets
> 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'), (500, 'stable'), (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)
> 

-- 
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#1062730: libwebsockets: NMU diff for 64-bit time_t transition

2024-02-02 Thread Steve Langasek
Source: libwebsockets
Version: 4.3.3-1
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
libwebsockets 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 libwebsockets
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'), (500, 'stable'), (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)