Source: hepmc3
Version: 3.1.2-2
Severity: important
Tags: patch pending sid trixie
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
hepmc3 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 hepmc3
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)
diff -Nru hepmc3-3.1.2/debian/changelog hepmc3-3.1.2/debian/changelog
--- hepmc3-3.1.2/debian/changelog       2019-09-19 06:14:37.000000000 +0000
+++ hepmc3-3.1.2/debian/changelog       2024-02-17 07:11:14.000000000 +0000
@@ -1,3 +1,10 @@
+hepmc3 (3.1.2-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vor...@debian.org>  Sat, 17 Feb 2024 07:11:14 +0000
+
 hepmc3 (3.1.2-2) unstable; urgency=medium
 
   * Move doxygen from B-D-I to B-D. (Closes: #933629)
diff -Nru hepmc3-3.1.2/debian/control hepmc3-3.1.2/debian/control
--- hepmc3-3.1.2/debian/control 2019-09-19 04:23:06.000000000 +0000
+++ hepmc3-3.1.2/debian/control 2024-02-17 07:11:13.000000000 +0000
@@ -10,13 +10,16 @@
 Vcs-Git: https://salsa.debian.org/science-team/hepmc3.git
 Vcs-Browser: https://salsa.debian.org/science-team/hepmc3
 
-Package: libhepmc3
+Package: libhepmc3t64
+Provides: ${t64:Provides}
+Replaces: libhepmc3
+Breaks: libhepmc3 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Recommends: libhepmc3-search
+Recommends: libhepmc3t64-search
 Suggests: libhepmc3-dev, libhepmc3-search-dev
 Description: Event Record for Monte Carlo Generators
  The HepMC package is an object oriented event record written in C++ for
@@ -39,7 +42,7 @@
 Package: libhepmc3-dev
 Section: libdevel
 Architecture: any
-Depends: libhepmc3 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Depends: libhepmc3t64 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Recommends: libhepmc3-search-dev
 Suggests: hepmc3-doc
 Description: Event Record for Monte Carlo Generators - development files
@@ -60,10 +63,14 @@
  .
  This package provides development files for HepMC3.
 
-Package: libhepmc3-search
+Package: libhepmc3t64-search
+Provides: ${t64:Provides}
+X-Time64-Compat: libhepmc3-search
+Replaces: libhepmc3-search
+Breaks: libhepmc3-search (<< ${source:Version})
 Section: libs
 Architecture: any
-Depends: libhepmc3 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Depends: libhepmc3t64 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Suggests: hepmc3-doc
 Description: Monte Carlo event record FIO library -  search engine
  The HepMC package is an object oriented event record written in C++ for
@@ -86,7 +93,7 @@
 Package: libhepmc3-search-dev
 Section: libdevel
 Architecture: any
-Depends: libhepmc3-search (= ${binary:Version}), ${shlibs:Depends}, 
${misc:Depends}
+Depends: libhepmc3t64-search (= ${binary:Version}), ${shlibs:Depends}, 
${misc:Depends}
 Suggests: hepmc3-doc
 Description: Event Record for Monte Carlo Generators - development files for 
search engine
  The HepMC package is an object oriented event record written in C++ for
@@ -110,7 +117,7 @@
 Section: doc
 Architecture: all
 Depends: ${misc:Depends}
-Recommends: libhepmc3-dev, libhepmc3
+Recommends: libhepmc3-dev, libhepmc3t64
 Description: Event Record for Monte Carlo Generators (docs)
  The HepMC package is an object oriented event record written in C++ for
  High Energy Physics Monte Carlo Generators.
diff -Nru hepmc3-3.1.2/debian/libhepmc3-search.install 
hepmc3-3.1.2/debian/libhepmc3-search.install
--- hepmc3-3.1.2/debian/libhepmc3-search.install        2019-09-18 
14:58:58.000000000 +0000
+++ hepmc3-3.1.2/debian/libhepmc3-search.install        1970-01-01 
00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib/*/libHepMC3search.so.*
diff -Nru hepmc3-3.1.2/debian/libhepmc3.install 
hepmc3-3.1.2/debian/libhepmc3.install
--- hepmc3-3.1.2/debian/libhepmc3.install       2019-09-18 14:58:58.000000000 
+0000
+++ hepmc3-3.1.2/debian/libhepmc3.install       1970-01-01 00:00:00.000000000 
+0000
@@ -1 +0,0 @@
-usr/lib/*/libHepMC3.so.*
diff -Nru hepmc3-3.1.2/debian/libhepmc3t64-search.install 
hepmc3-3.1.2/debian/libhepmc3t64-search.install
--- hepmc3-3.1.2/debian/libhepmc3t64-search.install     1970-01-01 
00:00:00.000000000 +0000
+++ hepmc3-3.1.2/debian/libhepmc3t64-search.install     2019-09-18 
14:58:58.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/libHepMC3search.so.*
diff -Nru hepmc3-3.1.2/debian/libhepmc3t64-search.lintian-overrides 
hepmc3-3.1.2/debian/libhepmc3t64-search.lintian-overrides
--- hepmc3-3.1.2/debian/libhepmc3t64-search.lintian-overrides   1970-01-01 
00:00:00.000000000 +0000
+++ hepmc3-3.1.2/debian/libhepmc3t64-search.lintian-overrides   2024-02-17 
07:11:13.000000000 +0000
@@ -0,0 +1 @@
+libhepmc3t64-search: package-name-doesnt-match-sonames libhepmc3-search
diff -Nru hepmc3-3.1.2/debian/libhepmc3t64.install 
hepmc3-3.1.2/debian/libhepmc3t64.install
--- hepmc3-3.1.2/debian/libhepmc3t64.install    1970-01-01 00:00:00.000000000 
+0000
+++ hepmc3-3.1.2/debian/libhepmc3t64.install    2019-09-18 14:58:58.000000000 
+0000
@@ -0,0 +1 @@
+usr/lib/*/libHepMC3.so.*
diff -Nru hepmc3-3.1.2/debian/libhepmc3t64.lintian-overrides 
hepmc3-3.1.2/debian/libhepmc3t64.lintian-overrides
--- hepmc3-3.1.2/debian/libhepmc3t64.lintian-overrides  1970-01-01 
00:00:00.000000000 +0000
+++ hepmc3-3.1.2/debian/libhepmc3t64.lintian-overrides  2024-02-17 
07:11:13.000000000 +0000
@@ -0,0 +1 @@
+libhepmc3t64: package-name-doesnt-match-sonames libhepmc3

Reply via email to