Bug#1062674: lua-compat53: NMU diff for 64-bit time_t transition

2024-02-28 Thread Steve Langasek
On Wed, Feb 28, 2024 at 07:57:22PM -0500, James McCoy wrote:
> On Sun, Feb 25, 2024 at 10:56:53PM -0800, Steve Langasek wrote:
> > Control: tags -1 - pending

> > Seeing that '53' is not an soname, I don't think we should NMU this to
> > unstable.  Untagging.

> This was opened because a) the 53 was interpreted as an soname and b)
> the analysis couldn't run.  The latter is because abi-compliance-checker
> was trying to include lua.h from Lua 5.4, which isn't valid for this
> package.

> Re-running the analysis with Lua 5.1's lua.h shows that neither LFS nor
> time_t have an effect on the ABI.  Closing.

Thanks very much for the analysis!

-- 
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#1062674: lua-compat53: NMU diff for 64-bit time_t transition

2024-02-25 Thread Steve Langasek
Control: tags -1 - pending

Seeing that '53' is not an soname, I don't think we should NMU this to
unstable.  Untagging.

-- 
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#1062674: lua-compat53: NMU diff for 64-bit time_t transition

2024-02-07 Thread James McCoy
On Fri, Feb 02, 2024 at 04:18:01PM +, Graham Inggs wrote:
> 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.

The 53 in lua-compat53 isn't related to the ABI.  This Lua module
provides a Lua 5.3 API surface that can be used in previous Lua
versions.  Lua module packages aren't generally named according to the
SONAME (for reasons I'm not clear on).

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB



Bug#1062674: lua-compat53: NMU diff for 64-bit time_t transition

2024-02-02 Thread Graham Inggs
Source: lua-compat53
Version: 0.7-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
lua-compat53 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 lua-compat53
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 lua-compat53-0.7/debian/changelog lua-compat53-0.7/debian/changelog
--- lua-compat53-0.7/debian/changelog   2019-10-29 03:42:31.0 +
+++ lua-compat53-0.7/debian/changelog   2024-02-02 16:17:27.0 +
@@ -1,3 +1,10 @@
+lua-compat53 (0.7-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Graham Inggs   Fri, 02 Feb 2024 16:17:27 +
+
 lua-compat53 (0.7-2) unstable; urgency=medium
 
   * Upload to unstable
diff -Nru lua-compat53-0.7/debian/control lua-compat53-0.7/debian/control
--- lua-compat53-0.7/debian/control 2019-10-29 03:42:31.0 +
+++ lua-compat53-0.7/debian/control 2024-02-02 16:17:26.0 +
@@ -14,13 +14,15 @@
 Vcs-Git: https://salsa.debian.org/lua-team/lua-compat53/
 Vcs-Browser: https://salsa.debian.org/lua-team/lua-compat53/
 
-Package: lua-compat53
+Package: lua-compat53t64
+Replaces: lua-compat53
+Breaks: lua-compat53 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
-Provides:
+Provides: ${t64:Provides},
  ${lua:Provides},
 XB-Lua-Versions: ${lua:Versions}
 Description: Lua-5.3-style APIs for Lua 5.2 and 5.1
@@ -36,7 +38,7 @@
  ${misc:Pre-Depends},
 Section: libdevel
 Depends:
- lua-compat53 (= ${binary:Version}),
+ lua-compat53t64 (= ${binary:Version}),
  ${misc:Depends},
 Provides:
  ${lua:Provides},
@@ -47,4 +49,4 @@
  5.3. This does not make Lua 5.2 (or even Lua 5.1) entirely compatible
  with Lua 5.3, but it brings the API closer to that of Lua 5.3.
  .
- This package provides the static library and header files for lua-compat53
+ This package provides the static library and header files for lua-compat53t64
diff -Nru lua-compat53-0.7/debian/lua-compat53.docs 
lua-compat53-0.7/debian/lua-compat53.docs
--- lua-compat53-0.7/debian/lua-compat53.docs   2019-10-29 03:42:31.0 
+
+++ lua-compat53-0.7/debian/lua-compat53.docs   1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-README.md
diff -Nru lua-compat53-0.7/debian/lua-compat53.lintian-overrides 
lua-compat53-0.7/debian/lua-compat53.lintian-overrides
--- lua-compat53-0.7/debian/lua-compat53.lintian-overrides  2019-10-29 
03:42:31.0 +
+++ lua-compat53-0.7/debian/lua-compat53.lintian-overrides  1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-lua-compat53: package-name-doesnt-match-sonames *
diff -Nru lua-compat53-0.7/debian/lua-compat53t64.docs 
lua-compat53-0.7/debian/lua-compat53t64.docs
--- lua-compat53-0.7/debian/lua-compat53t64.docs1970-01-01 
00:00:00.0 +
+++ lua-compat53-0.7/debian/lua-compat53t64.docs2019-10-29 
03:42:31.0 +
@@ -0,0 +1 @@
+README.md
diff -Nru lua-compat53-0.7/debian/lua-compat53t64.lintian-overrides 
lua-compat53-0.7/debian/lua-compat53t64.lintian-overrides
--- lua-compat53-0.7/debian/lua-comp