Bug#1063167: neartree: NMU diff for 64-bit time_t transition

2024-02-28 Thread Benjamin Drung
Source: neartree
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'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-21-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_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 neartree-5.1.1+dfsg1/debian/changelog 
neartree-5.1.1+dfsg1/debian/changelog
--- neartree-5.1.1+dfsg1/debian/changelog   2023-01-19 11:36:22.0 
+
+++ neartree-5.1.1+dfsg1/debian/changelog   2024-02-28 22:38:53.0 
+
@@ -1,3 +1,10 @@
+neartree (5.1.1+dfsg1-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063167
+
+ -- Benjamin Drung   Wed, 28 Feb 2024 22:38:53 +
+
 neartree (5.1.1+dfsg1-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru neartree-5.1.1+dfsg1/debian/control 
neartree-5.1.1+dfsg1/debian/control
--- neartree-5.1.1+dfsg1/debian/control 2023-01-19 11:36:22.0 +
+++ neartree-5.1.1+dfsg1/debian/control 2024-02-28 22:38:53.0 +
@@ -3,7 +3,7 @@
 Uploaders: Teemu Ikonen 
 Section: libdevel
 Priority: optional
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
libtool-bin,
libcvector-dev
 Standards-Version: 4.6.2
@@ -15,7 +15,7 @@
 Package: libcneartree-dev
 Architecture: any
 Multi-Arch: same
-Depends: libcneartree7 (= ${binary:Version}),
+Depends: libcneartree7t64 (= ${binary:Version}),
  ${misc:Depends}
 Pre-Depends: ${misc:Pre-Depends}
 Conflicts: libcneartree3-dev
@@ -32,7 +32,10 @@
  distance to the right less than the distance to the left; it was found
  that these checks make little to no difference.
 
-Package: libcneartree7
+Package: libcneartree7t64
+Provides: ${t64:Provides}
+Replaces: libcneartree7
+Breaks: libcneartree7 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: libs
diff -Nru neartree-5.1.1+dfsg1/debian/libcneartree7.install 
neartree-5.1.1+dfsg1/debian/libcneartree7.install
--- neartree-5.1.1+dfsg1/debian/libcneartree7.install   2023-01-19 
11:36:22.0 +
+++ neartree-5.1.1+dfsg1/debian/libcneartree7.install   1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru neartree-5.1.1+dfsg1/debian/libcneartree7.symbols 
neartree-5.1.1+dfsg1/debian/libcneartree7.symbols
--- neartree-5.1.1+dfsg1/debian/libcneartree7.symbols   2023-01-19 
11:36:22.0 +
+++ neartree-5.1.1+dfsg1/debian/libcneartree7.symbols   1970-01-01 
00:00:00.0 +
@@ -1,60 +0,0 @@
-libCNearTree.so.7 libcneartree7 #MINVER#
-* Build-Depends-Package: libcneartree-dev
- CNearTreeClear@Base 5.1.1
- CNearTreeCompleteDelayedInsert@Base 5.1.1
- CNearTreeCoords@Base 5.1.1
- CNearTreeCount@Base 5.1.1
- CNearTreeCreate@Base 5.1.1
- CNearTreeDelayedInsert@Base 5.1.1
- CNearTreeDist@Base 5.1.1
- CNearTreeDistsq@Base 5.1.1
- CNearTreeFarthestNeighbor@Base 5.1.1
- CNearTreeFindFarthest@Base 5.1.1
- CNearTreeFindInAnnulus@Base 5.1.1
- CNearTreeFindInAnnulusL2LAZY@Base 5.1.1
- CNearTreeFindInSphere@Base 5.1.1
- CNearTreeFindInSphereL2LAZY@Base 5.1.1
- CNearTreeFindKFarthest@Base 5.1.1
- CNearTreeFindKNearInAnnulus@Base 5.1.1
- CNearTreeFindKNearest@Base 5.1.1
- CNearTreeFindKNearest_Annular@Base 5.1.1
- CNearTreeFindKNearest_Sphere@Base 5.1.1
- CNearTreeFindKTreeFarthest@Base 5.1.1
- CNearTreeFindKTreeNearest@Base 5.1.1
- CNearTreeFindOutSphere@Base 5.1.1
- CNearTreeFindOutSphereL2LAZY@Base 5.1.1
- CNearTreeFindTreeInAnnulus@Base 5.1.1
- CNearTreeFindTreeInSphere@Base 5.1.1
- CNearTreeFindTreeOutSphere@Base 5.1.1
- CNearTreeFree@Base 5.1.1
- CNearTreeGetDeferredSize@Base 5.1.1
- CNearTreeGetDelayedSize@Base 5.1.1
- CNearTreeGetDepth@Base 5.1.1
- CNearTreeGetDiamEstimate@Base 5.1.1
- CNearTreeGetDimEstimate@Base 5.1.1
- CNearTreeGetDimEstimateEsd@Base 5.1.1
- CNearTreeGetFlags@Base 5.1.1
- CNearTreeGetHeight@Base 5.1.1
- CNearTreeGetMeanSpacing@Base 5.1.1
- CNearTreeGetNodeVisits@Base 5.1.1
- CNearTreeGetSize@Base 5.1.1
- CNearTreeGetVarSpacing@Base 5.1.1
- CNearTreeImmediateInsert@Base 5.1.1
- CNearTreeInsert@Base 5.1.1
- CNearTreeLeftNearest@Base 5.1.1
- CNearTreeLeftNearestNeighbor@Base 5.1.1
- CNearTreeNearest@Base 5.1.1
- CNearTreeNearestL2LAZY@Base 5.1.1
- CNearTreeNearestNeighbor@Base 5.1.1
- CNearTreeNodeCount@Base 5.1.1
- CNearTreeNodeCreate@Base 5.1.1
- CNearTreeNodeFree@Base 5.1.1
- CNearTreeNodeInsert@Base 5.1.1
- CNearTreeNodeInsert_Flip@Base 5.1.1
- CNearTreeNodeReInsert_Flip@Base 5.1.1
- 

Bug#1063167: neartree: NMU diff for 64-bit time_t transition

2024-02-05 Thread Graham Inggs
Source: neartree
Version: 5.1.1+dfsg1-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
neartree 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 neartree
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 neartree-5.1.1+dfsg1/debian/changelog 
neartree-5.1.1+dfsg1/debian/changelog
--- neartree-5.1.1+dfsg1/debian/changelog   2023-01-19 11:36:22.0 
+
+++ neartree-5.1.1+dfsg1/debian/changelog   2024-02-05 15:07:49.0 
+
@@ -1,3 +1,10 @@
+neartree (5.1.1+dfsg1-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Graham Inggs   Mon, 05 Feb 2024 15:07:49 +
+
 neartree (5.1.1+dfsg1-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru neartree-5.1.1+dfsg1/debian/control 
neartree-5.1.1+dfsg1/debian/control
--- neartree-5.1.1+dfsg1/debian/control 2023-01-19 11:36:22.0 +
+++ neartree-5.1.1+dfsg1/debian/control 2024-02-05 15:07:49.0 +
@@ -15,7 +15,7 @@
 Package: libcneartree-dev
 Architecture: any
 Multi-Arch: same
-Depends: libcneartree7 (= ${binary:Version}),
+Depends: libcneartree7t64 (= ${binary:Version}),
  ${misc:Depends}
 Pre-Depends: ${misc:Pre-Depends}
 Conflicts: libcneartree3-dev
@@ -32,7 +32,10 @@
  distance to the right less than the distance to the left; it was found
  that these checks make little to no difference.
 
-Package: libcneartree7
+Package: libcneartree7t64
+Provides: ${t64:Provides}
+Replaces: libcneartree7
+Breaks: libcneartree7 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Section: libs
diff -Nru neartree-5.1.1+dfsg1/debian/libcneartree7.install 
neartree-5.1.1+dfsg1/debian/libcneartree7.install
--- neartree-5.1.1+dfsg1/debian/libcneartree7.install   2023-01-19 
11:36:22.0 +
+++ neartree-5.1.1+dfsg1/debian/libcneartree7.install   1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru neartree-5.1.1+dfsg1/debian/libcneartree7.symbols 
neartree-5.1.1+dfsg1/debian/libcneartree7.symbols
--- neartree-5.1.1+dfsg1/debian/libcneartree7.symbols   2023-01-19 
11:36:22.0 +
+++ neartree-5.1.1+dfsg1/debian/libcneartree7.symbols   1970-01-01 
00:00:00.0 +
@@ -1,60 +0,0 @@
-libCNearTree.so.7 libcneartree7 #MINVER#
-* Build-Depends-Package: libcneartree-dev
- CNearTreeClear@Base 5.1.1
- CNearTreeCompleteDelayedInsert@Base 5.1.1
- CNearTreeCoords@Base 5.1.1
- CNearTreeCount@Base 5.1.1
- CNearTreeCreate@Base 5.1.1
- CNearTreeDelayedInsert@Base 5.1.1
- CNearTreeDist@Base 5.1.1
- CNearTreeDistsq@Base 5.1.1
- CNearTreeFarthestNeighbor@Base 5.1.1
- CNearTreeFindFarthest@Base 5.1.1
- CNearTreeFindInAnnulus@Base 5.1.1
- CNearTreeFindInAnnulusL2LAZY@Base 5.1.1
- CNearTreeFindInSphere@Base 5.1.1
- CNearTreeFindInSphereL2LAZY@Base 5.1.1
- CNearTreeFindKFarthest@Base 5.1.1
- CNearTreeFindKNearInAnnulus@Base 5.1.1
- CNearTreeFindKNearest@Base 5.1.1
- CNearTreeFindKNearest_Annular@Base 5.1.1
- CNearTreeFindKNearest_Sphere@Base 5.1.1
- CNearTreeFindKTreeFarthest@Base 5.1.1
- CNearTreeFindKTreeNearest@Base 5.1.1
-