Bug#1062077: clhep: NMU diff for 64-bit time_t transition

Steve Langasek vorlon at debian.org
Wed Feb 28 16:03:53 GMT 2024


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-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)
-------------- next part --------------
diff -Nru clhep-2.1.4.1+dfsg/debian/changelog clhep-2.1.4.1+dfsg/debian/changelog
--- clhep-2.1.4.1+dfsg/debian/changelog	2022-12-22 21:06:15.000000000 +0000
+++ clhep-2.1.4.1+dfsg/debian/changelog	2024-02-28 16:00:23.000000000 +0000
@@ -1,3 +1,10 @@
+clhep (2.1.4.1+dfsg-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062077
+
+ -- Steve Langasek <vorlon at debian.org>  Wed, 28 Feb 2024 16:00:23 +0000
+
 clhep (2.1.4.1+dfsg-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru clhep-2.1.4.1+dfsg/debian/control clhep-2.1.4.1+dfsg/debian/control
--- clhep-2.1.4.1+dfsg/debian/control	2022-12-22 21:06:15.000000000 +0000
+++ clhep-2.1.4.1+dfsg/debian/control	2024-02-28 16:00:23.000000000 +0000
@@ -3,19 +3,22 @@
 Priority: optional
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Lifeng Sun <lifongsun at gmail.com>
-Build-Depends: debhelper (>= 9), dh-autoreconf, doxygen
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>= 9), dh-autoreconf, doxygen
 Standards-Version: 3.9.4
 Homepage: http://proj-clhep.web.cern.ch/proj-clhep/
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/clhep.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/clhep.git;a=summary
 
-Package: libclhep2.1v5
+Package: libclhep2.1t64
+Provides: ${t64:Provides}
+X-Time64-Compat: libclhep2.1v5
+Breaks: libclhep2.1v5 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Conflicts: libclhep2.1
-Replaces: libclhep2.1
+Replaces: libclhep2.1v5, libclhep2.1
 Description: CLHEP: A Class Library for High Energy Physics
  CLHEP provides a set of HEP-specific foundation and utility classes such
  as random generators, physics vectors, geometry and linear algebra.
@@ -25,7 +28,7 @@
 Package: libclhep-dev
 Architecture: any
 Section: libdevel
-Depends: libclhep2.1v5 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Depends: libclhep2.1t64 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Suggests: clhep-doc
 Description: CLHEP: A Class Library for High Energy Physics - development
  CLHEP provides a set of HEP-specific foundation and utility classes such
diff -Nru clhep-2.1.4.1+dfsg/debian/libclhep2.1t64.install clhep-2.1.4.1+dfsg/debian/libclhep2.1t64.install
--- clhep-2.1.4.1+dfsg/debian/libclhep2.1t64.install	1970-01-01 00:00:00.000000000 +0000
+++ clhep-2.1.4.1+dfsg/debian/libclhep2.1t64.install	2022-12-22 21:06:15.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/libCLHEP.so.*
diff -Nru clhep-2.1.4.1+dfsg/debian/libclhep2.1t64.lintian-overrides clhep-2.1.4.1+dfsg/debian/libclhep2.1t64.lintian-overrides
--- clhep-2.1.4.1+dfsg/debian/libclhep2.1t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ clhep-2.1.4.1+dfsg/debian/libclhep2.1t64.lintian-overrides	2024-02-28 16:00:13.000000000 +0000
@@ -0,0 +1 @@
+libclhep2.1t64: package-name-doesnt-match-sonames libclhep2.1v5
diff -Nru clhep-2.1.4.1+dfsg/debian/libclhep2.1v5.install clhep-2.1.4.1+dfsg/debian/libclhep2.1v5.install
--- clhep-2.1.4.1+dfsg/debian/libclhep2.1v5.install	2022-12-22 21:06:15.000000000 +0000
+++ clhep-2.1.4.1+dfsg/debian/libclhep2.1v5.install	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib/*/libCLHEP.so.*


More information about the debian-science-maintainers mailing list