Bug#1062461: itcl3: NMU diff for 64-bit time_t transition

2024-02-24 Thread Steve Langasek
Upon review, it's clear that 'itcl3' is not a library name (the library is
named libitcl3.4), and that there are no reverse-depends of this package in
the archive using the library.  Therefore I propose to not change the itcl3
package name for this transition, and leave the package as-is.  Closing this
bug.

-- 
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#1062461: [Pkg-tcltk-devel] Bug#1062461: itcl3: NMU diff for 64-bit time_t transition

2024-02-07 Thread Sergei Golovan
Hi Graham,

On Thu, Feb 1, 2024 at 6:57 PM Graham Inggs  wrote:
>
> Source: itcl3
> Version: 3.4.4-2
> 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
> itcl3 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).

Can you elaborate how exactly you determined that itcl3 is affected by
time_t size change? As far as I can see in the sources, it doesn't use
time_t at all.

Cheers!
-- 
Sergei Golovan



Bug#1062461: itcl3: NMU diff for 64-bit time_t transition

2024-02-01 Thread Graham Inggs
Source: itcl3
Version: 3.4.4-2
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
itcl3 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 itcl3
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 itcl3-3.4.4/debian/changelog itcl3-3.4.4/debian/changelog
--- itcl3-3.4.4/debian/changelog2023-01-06 09:47:32.0 +
+++ itcl3-3.4.4/debian/changelog2024-02-01 15:53:15.0 +
@@ -1,3 +1,10 @@
+itcl3 (3.4.4-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Graham Inggs   Thu, 01 Feb 2024 15:53:15 +
+
 itcl3 (3.4.4-2) unstable; urgency=medium
 
   * Revert the change which ports Itcl 3 to Tcl 8.7 because it breaks
diff -Nru itcl3-3.4.4/debian/control itcl3-3.4.4/debian/control
--- itcl3-3.4.4/debian/control  2023-01-06 09:47:32.0 +
+++ itcl3-3.4.4/debian/control  2024-02-01 15:53:15.0 +
@@ -9,7 +9,10 @@
 Vcs-Browser: https://salsa.debian.org/tcltk-team/itcl3
 Vcs-Git: https://salsa.debian.org/tcltk-team/itcl3.git
 
-Package: itcl3
+Package: itcl3t64
+Provides: ${t64:Provides}
+Replaces: itcl3
+Breaks: itcl3 (<< ${source:Version})
 Section: libs
 Priority: optional
 Architecture: any
@@ -31,7 +34,7 @@
 Section: devel
 Priority: optional
 Architecture: any
-Depends: tcl-dev | tcl8.6-dev, itcl3 (= ${binary:Version}), ${misc:Depends}
+Depends: tcl-dev | tcl8.6-dev, itcl3t64 (= ${binary:Version}), ${misc:Depends}
 Conflicts: itcl-dev, tcl-itcl-dev
 Provides: tcl-itcl-dev
 Suggests: itcl3-doc
@@ -51,7 +54,7 @@
 Priority: optional
 Architecture: all
 Depends: ${misc:Depends}
-Suggests: itcl3
+Suggests: itcl3t64
 Conflicts: itcl-dev, itcl-doc, tcl-itcl-doc
 Provides: itcl-doc, tcl-itcl-doc
 Description: [incr Tcl] OOP extension for Tcl - manual pages
diff -Nru itcl3-3.4.4/debian/itcl3.docs itcl3-3.4.4/debian/itcl3.docs
--- itcl3-3.4.4/debian/itcl3.docs   2023-01-06 09:47:32.0 +
+++ itcl3-3.4.4/debian/itcl3.docs   1970-01-01 00:00:00.0 +
@@ -1,4 +0,0 @@
-#README
-#INCOMPATIBLE
-#TODO
-#CHANGES
diff -Nru itcl3-3.4.4/debian/itcl3.install itcl3-3.4.4/debian/itcl3.install
--- itcl3-3.4.4/debian/itcl3.install2023-01-06 09:47:32.0 +
+++ itcl3-3.4.4/debian/itcl3.install1970-01-01 00:00:00.0 +
@@ -1,3 +0,0 @@
-usr/lib/tcltk/*/*
-usr/lib/*/libitcl*.so.*
-usr/share/tcltk/*/*
diff -Nru itcl3-3.4.4/debian/itcl3.lintian-overrides 
itcl3-3.4.4/debian/itcl3.lintian-overrides
--- itcl3-3.4.4/debian/itcl3.lintian-overrides  2023-01-06 09:47:32.0 
+
+++ itcl3-3.4.4/debian/itcl3.lintian-overrides  1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-itcl3: package-name-doesnt-match-sonames
diff -Nru itcl3-3.4.4/debian/itcl3t64.docs itcl3-3.4.4/debian/itcl3t64.docs
--- itcl3-3.4.4/debian/itcl3t64.docs1970-01-01 00:00:00.0 +
+++ itcl3-3.4.4/debian/itcl3t64.docs2023-01-06 09:47:32.0 +
@@ -0,0 +1,4 @@
+#README
+#INCOMPATIBLE
+#TODO
+#CHANGES
diff -Nru itcl3-3.4.4/debian/itcl3t64.install 
itcl3-3.4.4/debian/itcl3t64.install
--- itcl3-3.4.4/debian/itcl3t64.install 1970-01-01 00:00:00.0 +
+++