Source: clucene-core
Version: 2.3.3.4+dfsg-1.1
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
clucene-core 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 clucene-core
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-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 clucene-core-2.3.3.4+dfsg/debian/changelog 
clucene-core-2.3.3.4+dfsg/debian/changelog
--- clucene-core-2.3.3.4+dfsg/debian/changelog  2022-07-31 05:44:35.000000000 
+0000
+++ clucene-core-2.3.3.4+dfsg/debian/changelog  2024-01-31 09:29:57.000000000 
+0000
@@ -1,3 +1,10 @@
+clucene-core (2.3.3.4+dfsg-1.2) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vor...@debian.org>  Wed, 31 Jan 2024 09:29:57 +0000
+
 clucene-core (2.3.3.4+dfsg-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru clucene-core-2.3.3.4+dfsg/debian/control 
clucene-core-2.3.3.4+dfsg/debian/control
--- clucene-core-2.3.3.4+dfsg/debian/control    2022-07-31 05:44:35.000000000 
+0000
+++ clucene-core-2.3.3.4+dfsg/debian/control    2024-01-31 09:29:57.000000000 
+0000
@@ -12,8 +12,8 @@
 Architecture: any
 Multi-Arch: same
 Depends: libc6-dev,
-         libclucene-contribs1v5 (= ${binary:Version}),
-         libclucene-core1v5 (= ${binary:Version}),
+         libclucene-contribs1t64 (= ${binary:Version}),
+         libclucene-core1t64 (= ${binary:Version}),
          ${misc:Depends}
 Description: library for full-featured text search engine (development)
  CLucene is a C++ port of the popular Apache Lucene search engine
@@ -29,13 +29,16 @@
  This package contains the static libraries and headers for developing
  applications that use the CLucene search API.
 
-Package: libclucene-core1v5
+Package: libclucene-core1t64
+Provides: ${t64:Provides}
+X-Time64-Compat: libclucene-core1v5
+Breaks: libclucene-core1v5 (<< ${source:Version})
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Pre-Depends: ${misc:Pre-Depends}
 Multi-Arch: same
 Conflicts: libclucene-core1
-Replaces: libclucene-core1
+Replaces: libclucene-core1v5, libclucene-core1
 Description: core library for full-featured text search engine (runtime)
  CLucene is a C++ port of the popular Apache Lucene search engine
  (http://lucene.apache.org/java). It is released under LGPL or the Apache
@@ -50,13 +53,16 @@
  This package contains the files necessary for running applications that
  use the CLucene core and shared libraries.
 
-Package: libclucene-contribs1v5
+Package: libclucene-contribs1t64
+Provides: ${t64:Provides}
+X-Time64-Compat: libclucene-contribs1v5
+Breaks: libclucene-contribs1v5 (<< ${source:Version})
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Pre-Depends: ${misc:Pre-Depends}
 Multi-Arch: same
 Conflicts: libclucene-contribs1
-Replaces: libclucene-contribs1
+Replaces: libclucene-contribs1v5, libclucene-contribs1
 Description: language specific text analyzers (runtime)
  CLucene is a C++ port of the popular Apache Lucene search engine
  (http://lucene.apache.org/java). It is released under LGPL or the Apache
diff -Nru clucene-core-2.3.3.4+dfsg/debian/libclucene-contribs1t64.install 
clucene-core-2.3.3.4+dfsg/debian/libclucene-contribs1t64.install
--- clucene-core-2.3.3.4+dfsg/debian/libclucene-contribs1t64.install    
1970-01-01 00:00:00.000000000 +0000
+++ clucene-core-2.3.3.4+dfsg/debian/libclucene-contribs1t64.install    
2022-07-31 05:44:35.000000000 +0000
@@ -0,0 +1,2 @@
+usr/lib/*/libclucene-contribs-lib.so.1
+usr/lib/*/libclucene-contribs-lib.so.2.*
diff -Nru 
clucene-core-2.3.3.4+dfsg/debian/libclucene-contribs1t64.lintian-overrides 
clucene-core-2.3.3.4+dfsg/debian/libclucene-contribs1t64.lintian-overrides
--- clucene-core-2.3.3.4+dfsg/debian/libclucene-contribs1t64.lintian-overrides  
1970-01-01 00:00:00.000000000 +0000
+++ clucene-core-2.3.3.4+dfsg/debian/libclucene-contribs1t64.lintian-overrides  
2024-01-31 09:29:57.000000000 +0000
@@ -0,0 +1,2 @@
+package-name-doesnt-match-sonames libclucene-contribs-lib1
+libclucene-contribs1t64: package-name-doesnt-match-sonames 
libclucene-contribs1v5
diff -Nru clucene-core-2.3.3.4+dfsg/debian/libclucene-contribs1v5.install 
clucene-core-2.3.3.4+dfsg/debian/libclucene-contribs1v5.install
--- clucene-core-2.3.3.4+dfsg/debian/libclucene-contribs1v5.install     
2022-07-31 05:44:35.000000000 +0000
+++ clucene-core-2.3.3.4+dfsg/debian/libclucene-contribs1v5.install     
1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-usr/lib/*/libclucene-contribs-lib.so.1
-usr/lib/*/libclucene-contribs-lib.so.2.*
diff -Nru 
clucene-core-2.3.3.4+dfsg/debian/libclucene-contribs1v5.lintian-overrides 
clucene-core-2.3.3.4+dfsg/debian/libclucene-contribs1v5.lintian-overrides
--- clucene-core-2.3.3.4+dfsg/debian/libclucene-contribs1v5.lintian-overrides   
2022-07-31 05:44:35.000000000 +0000
+++ clucene-core-2.3.3.4+dfsg/debian/libclucene-contribs1v5.lintian-overrides   
1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-package-name-doesnt-match-sonames libclucene-contribs-lib1
diff -Nru clucene-core-2.3.3.4+dfsg/debian/libclucene-core1t64.docs 
clucene-core-2.3.3.4+dfsg/debian/libclucene-core1t64.docs
--- clucene-core-2.3.3.4+dfsg/debian/libclucene-core1t64.docs   1970-01-01 
00:00:00.000000000 +0000
+++ clucene-core-2.3.3.4+dfsg/debian/libclucene-core1t64.docs   2022-07-31 
05:44:35.000000000 +0000
@@ -0,0 +1,3 @@
+README
+doc/*.htm
+doc/*.jpg
diff -Nru clucene-core-2.3.3.4+dfsg/debian/libclucene-core1t64.install 
clucene-core-2.3.3.4+dfsg/debian/libclucene-core1t64.install
--- clucene-core-2.3.3.4+dfsg/debian/libclucene-core1t64.install        
1970-01-01 00:00:00.000000000 +0000
+++ clucene-core-2.3.3.4+dfsg/debian/libclucene-core1t64.install        
2022-07-31 05:44:35.000000000 +0000
@@ -0,0 +1,4 @@
+usr/lib/*/libclucene-core.so.1
+usr/lib/*/libclucene-core.so.2.*
+usr/lib/*/libclucene-shared.so.1
+usr/lib/*/libclucene-shared.so.2.*
diff -Nru 
clucene-core-2.3.3.4+dfsg/debian/libclucene-core1t64.lintian-overrides 
clucene-core-2.3.3.4+dfsg/debian/libclucene-core1t64.lintian-overrides
--- clucene-core-2.3.3.4+dfsg/debian/libclucene-core1t64.lintian-overrides      
1970-01-01 00:00:00.000000000 +0000
+++ clucene-core-2.3.3.4+dfsg/debian/libclucene-core1t64.lintian-overrides      
2024-01-31 09:29:57.000000000 +0000
@@ -0,0 +1 @@
+libclucene-core1t64: package-name-doesnt-match-sonames libclucene-core1v5
diff -Nru clucene-core-2.3.3.4+dfsg/debian/libclucene-core1v5.docs 
clucene-core-2.3.3.4+dfsg/debian/libclucene-core1v5.docs
--- clucene-core-2.3.3.4+dfsg/debian/libclucene-core1v5.docs    2022-07-31 
05:44:35.000000000 +0000
+++ clucene-core-2.3.3.4+dfsg/debian/libclucene-core1v5.docs    1970-01-01 
00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-README
-doc/*.htm
-doc/*.jpg
diff -Nru clucene-core-2.3.3.4+dfsg/debian/libclucene-core1v5.install 
clucene-core-2.3.3.4+dfsg/debian/libclucene-core1v5.install
--- clucene-core-2.3.3.4+dfsg/debian/libclucene-core1v5.install 2022-07-31 
05:44:35.000000000 +0000
+++ clucene-core-2.3.3.4+dfsg/debian/libclucene-core1v5.install 1970-01-01 
00:00:00.000000000 +0000
@@ -1,4 +0,0 @@
-usr/lib/*/libclucene-core.so.1
-usr/lib/*/libclucene-core.so.2.*
-usr/lib/*/libclucene-shared.so.1
-usr/lib/*/libclucene-shared.so.2.*

Reply via email to