Bug#1062736: libxt: 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 -u libxt-1.2.1/debian/changelog libxt-1.2.1/debian/changelog
--- libxt-1.2.1/debian/changelog
+++ libxt-1.2.1/debian/changelog
@@ -1,3 +1,10 @@
+libxt (1:1.2.1-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062736
+
+ -- Steve Langasek   Fri, 01 Mar 2024 07:22:36 +
+
 libxt (1:1.2.1-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u libxt-1.2.1/debian/control libxt-1.2.1/debian/control
--- libxt-1.2.1/debian/control
+++ libxt-1.2.1/debian/control
@@ -2,7 +2,7 @@
 Section: x11
 Priority: optional
 Maintainer: Debian X Strike Force 
-Build-Depends:
+Build-Depends: dpkg-dev (>= 1.22.5),
  debhelper-compat (= 13),
  libx11-dev (>= 1:0.99.2),
  libsm-dev (>= 1:0.99.1),
@@ -20,7 +20,10 @@
 Vcs-Git: https://salsa.debian.org/xorg-team/lib/libxt.git
 Vcs-Browser: https://salsa.debian.org/xorg-team/lib/libxt
 
-Package: libxt6
+Package: libxt6t64
+Provides: ${t64:Provides}
+Replaces: libxt6
+Breaks: libxt6 (<< ${source:Version})
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -46,7 +49,7 @@
 Depends:
  ${shlibs:Depends},
  ${misc:Depends},
- libxt6 (= ${binary:Version}),
+ libxt6t64 (= ${binary:Version}),
  libx11-dev,
  x11proto-dev,
  libsm-dev,
reverted:
--- libxt-1.2.1/debian/libxt6.install
+++ libxt-1.2.1.orig/debian/libxt6.install
@@ -1 +0,0 @@
-usr/lib/*/libXt.so.6*
reverted:
--- libxt-1.2.1/debian/libxt6.symbols
+++ libxt-1.2.1.orig/debian/libxt6.symbols
@@ -1,481 +0,0 @@
-libXt.so.6 libxt6 #MINVER#
- XtCvtStringToBoolean@Base 0
- XtGetSelectionValueIncremental@Base 0
- _XtTranslateEvent@Base 0
- XtAddEventHandler@Base 0
- applicationShellWidgetClass@Base 0
- XtReleaseGC@Base 0
- XtGetSelectionParameters@Base 0
- XtCvtStringToBool@Base 0
- XtDisownSelection@Base 0
- constraintClassRec@Base 0
- XtCvtIntToFont@Base 0
- XtQueryGeometry@Base 0
- XtIsComposite@Base 0
- XtAllocateGC@Base 0
- XtAppErrorMsg@Base 0
- XtAppGetSelectionTimeout@Base 0
- vendorShellWidgetClass@Base 0
- XtProcessLock@Base 0
- XtRemoveSignal@Base 0
- XtCvtStringToRestartStyle@Base 0
- XtIsRectObj@Base 0
- _XtPeekCallback@Base 0
- _XtCreatePopupShell@Base 0
- XtCvtStringToFontStruct@Base 0
- XtAddCallback@Base 0
- XtChangeManagedSet@Base 0
- XtAddInput@Base 0
- XtAppAddBlockHook@Base 0
- XtVaCreateWidget@Base 0
- _XtGlobalTM@Base 0
- _XtAddTMConverters@Base 0
- XtRegisterCaseConverter@Base 0
- XtMoveWidget@Base 0
- _XtCompileCallbackList@Base 0
- XtPopdown@Base 0
- widgetClass@Base 0
- _XtTableAddConverter@Base 0
- XtAddExposureToRegion@Base 0
- XtIsShell@Base 0
- XtCalloc@Base 0
- _XtRemoveCallback@Base 0
- XtBuildEventMask@Base 0
- _XtGetTypeIndex@Base 0
- XtCvtStringToAtom@Base 0
- XtDispatchEvent@Base 0
- XtRemoveInput@Base 0
- XtNewString@Base 0
- _XtDefaultWarning@Base 0
- topLevelShellClassRec@Base 0
- _XtComputeLateBindings@Base 0
- XtIsOverrideShell@Base 0
- XtRealloc@Base 0
- XtCvtStringToShort@Base 0
- XtStrings@Base 0
- XtCallbackReleaseCacheRefList@Base 0
- XtReleasePropertyAtom@Base 0
- XtMainLoop@Base 0
- XtCloseDisplay@Base 0
- XtGetSubresources@Base 0
- XtTranslateCoords@Base 0
- XtGetSelectionRequest@Base 0
- _XtRemoveStateTreeByIndex@Base 0
- _XtParseTreeToStateTree@Base 0
- XtCvtStringToVisual@Base 0
- XtCvtIntToPixel@Base 0
- XtTranslateKey@Base 0
- _XtBindActions@Base 0
- _XtPopupInitialize@Base 0
- _XtGetPerDisplay@Base 0
- XtParseAcceleratorTable@Base 0
- XtAddConverter@Base 0
- XtHooksOfDisplay@Base 0
- XtSetSelectionTimeout@Base 0
- shellWidgetClass@Base 0
- _XtFreeActions@Base 0
- _XtCreateHookObj@Base 0
- XtCallbackExclusive@Base 0
- _XtInitAppLock@Base 0
- XtAugmentTranslations@Base 0
- XtNameToWidget@Base 0
- XtIsSubclass@Base 0
- _XtAddShellToHookObj@Base 0
- _XtGetSubresources@Base 0
- _XtDefaultAppContext@Base 0
- XtNoticeSignal@Base 0
- _XtGetResources@Base 0
- _XtPopup@Base 0
- vendorShellClassRec@Base 0
- XtIsTopLevelShell@Base 0
- _XtInstallTranslations@Base 0
- XtAppAddActionHook@Base 0
- _XtDisplayInitialize@Base 0
- XtAppGetExitFlag@Base 0
- XtCvtStringToFontSet@Base 0
- XtRealizeWidget@Base 0
- _XtHeapInit@Base 0
- XtScreenOfObject@Base 0
- _XtCompileResourceList@Base 0
- XtAppGetErrorDatabaseText@Base 0
- XtRemoveTimeOut@Base 0
- XtIsObject@Base 0
- XtCallConverter@Base 0
- XtMapWidget@Base 0
- 

Bug#1062736: libxt: 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:44PM +, Steve Langasek wrote:
> Source: libxt
> Version: 1:1.2.1-1.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
> libxt 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 libxt
> 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
diff -u libxt-1.2.1/debian/changelog libxt-1.2.1/debian/changelog
--- libxt-1.2.1/debian/changelog
+++ libxt-1.2.1/debian/changelog
@@ -1,3 +1,10 @@
+libxt (1:1.2.1-1.2~exp1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Fri, 02 Feb 2024 19:52:28 +
+
 libxt (1:1.2.1-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u libxt-1.2.1/debian/control libxt-1.2.1/debian/control
--- libxt-1.2.1/debian/control
+++ libxt-1.2.1/debian/control
@@ -20,7 +20,10 @@
 Vcs-Git: https://salsa.debian.org/xorg-team/lib/libxt.git
 Vcs-Browser: https://salsa.debian.org/xorg-team/lib/libxt
 
-Package: libxt6
+Package: libxt6t64
+Provides: ${t64:Provides}
+Replaces: libxt6
+Breaks: libxt6 (<< ${source:Version})
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -46,7 +49,7 @@
 Depends:
  ${shlibs:Depends},
  ${misc:Depends},
- libxt6 (= ${binary:Version}),
+ libxt6t64 (= ${binary:Version}),
  libx11-dev,
  x11proto-dev,
  libsm-dev,
reverted:
--- libxt-1.2.1/debian/libxt6.install
+++ libxt-1.2.1.orig/debian/libxt6.install
@@ -1 +0,0 @@
-usr/lib/*/libXt.so.6*
reverted:
--- libxt-1.2.1/debian/libxt6.symbols
+++ libxt-1.2.1.orig/debian/libxt6.symbols
@@ -1,481 +0,0 @@
-libXt.so.6 libxt6 #MINVER#
- XtCvtStringToBoolean@Base 0
- XtGetSelectionValueIncremental@Base 0
- _XtTranslateEvent@Base 0
- XtAddEventHandler@Base 0
- applicationShellWidgetClass@Base 0
- XtReleaseGC@Base 0
- XtGetSelectionParameters@Base 0
- XtCvtStringToBool@Base 0
- XtDisownSelection@Base 0
- constraintClassRec@Base 0
- XtCvtIntToFont@Base 0
- XtQueryGeometry@Base 0
- XtIsComposite@Base 0
- XtAllocateGC@Base 0
- XtAppErrorMsg@Base 0
- XtAppGetSelectionTimeout@Base 0
- vendorShellWidgetClass@Base 0
- XtProcessLock@Base 0
- XtRemoveSignal@Base 0
- XtCvtStringToRestartStyle@Base 0
- XtIsRectObj@Base 0
- _XtPeekCallback@Base 0
- _XtCreatePopupShell@Base 0
- XtCvtStringToFontStruct@Base 0
- XtAddCallback@Base 0
- XtChangeManagedSet@Base 0
- XtAddInput@Base 0
- XtAppAddBlockHook@Base 0
- XtVaCreateWidget@Base 0
- _XtGlobalTM@Base 0
- _XtAddTMConverters@Base 0
- XtRegisterCaseConverter@Base 0

Bug#1062736: libxt: NMU diff for 64-bit time_t transition

2024-02-02 Thread Steve Langasek
Source: libxt
Version: 1:1.2.1-1.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
libxt 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 libxt
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)