Bug#1062612: [Debian-med-packaging] Bug#1062612: librostlab: NMU diff for 64-bit time_t transition

2024-02-28 Thread Étienne Mollier
Benjamin Drung, on 2024-02-28:
> Please find attached a final version of this patch for the time_t
> transition.  This patch is being uploaded to unstable.

NMU acknowledged, thank you!  :)
-- 
  .''`.  Étienne Mollier 
 : :' :  pgp: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
 `. `'   sent from /dev/pts/1, please excuse my verbosity
   `-


signature.asc
Description: PGP signature


Bug#1062612: librostlab: NMU diff for 64-bit time_t transition

2024-02-28 Thread Benjamin Drung
Source: librostlab
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 librostlab-1.0.20/debian/changelog librostlab-1.0.20/debian/changelog
--- librostlab-1.0.20/debian/changelog  2023-09-09 11:26:38.0 +
+++ librostlab-1.0.20/debian/changelog  2024-02-28 17:23:02.0 +
@@ -1,3 +1,10 @@
+librostlab (1.0.20-13.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062612
+
+ -- Benjamin Drung   Wed, 28 Feb 2024 17:23:02 +
+
 librostlab (1.0.20-13) unstable; urgency=medium
 
   * Team Upload.
diff -Nru librostlab-1.0.20/debian/control librostlab-1.0.20/debian/control
--- librostlab-1.0.20/debian/control2023-09-09 11:26:35.0 +
+++ librostlab-1.0.20/debian/control2024-02-28 17:23:02.0 +
@@ -4,10 +4,10 @@
Andreas Tille 
 Section: science
 Priority: optional
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
dh-linktree,
debhelper
-Build-Depends-Arch: d-shlibs
+Build-Depends-Arch: dpkg-dev (>= 1.22.5), d-shlibs (>= 0.106~)
 Build-Depends-Indep: doxygen,
  graphviz,
  texlive-latex-recommended,
@@ -22,7 +22,10 @@
 Homepage: https://rostlab.org/
 Rules-Requires-Root: no
 
-Package: librostlab3
+Package: librostlab3t64
+Provides: ${t64:Provides}
+Replaces: librostlab3
+Conflicts: librostlab3 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -48,7 +51,7 @@
 Package: librostlab3-dev
 Architecture: any
 Section: libdevel
-Depends: librostlab3 (= ${binary:Version}),
+Depends: librostlab3t64 (= ${binary:Version}),
  ${misc:Depends}
 Suggests: librostlab-doc
 Conflicts: librostlab-dev
diff -Nru librostlab-1.0.20/debian/librostlab3.symbols 
librostlab-1.0.20/debian/librostlab3.symbols
--- librostlab-1.0.20/debian/librostlab3.symbols2023-09-09 
11:14:32.0 +
+++ librostlab-1.0.20/debian/librostlab3.symbols1970-01-01 
00:00:00.0 +
@@ -1,2 +0,0 @@
-librostlab.so.3 librostlab3 #MINVER#
- _ZN7rostlab8blosum62E@Base 1.0.20
diff -Nru librostlab-1.0.20/debian/librostlab3t64.lintian-overrides 
librostlab-1.0.20/debian/librostlab3t64.lintian-overrides
--- librostlab-1.0.20/debian/librostlab3t64.lintian-overrides   1970-01-01 
00:00:00.0 +
+++ librostlab-1.0.20/debian/librostlab3t64.lintian-overrides   2024-02-28 
17:21:22.0 +
@@ -0,0 +1 @@
+librostlab3t64: package-name-doesnt-match-sonames librostlab3
diff -Nru librostlab-1.0.20/debian/librostlab3t64.symbols 
librostlab-1.0.20/debian/librostlab3t64.symbols
--- librostlab-1.0.20/debian/librostlab3t64.symbols 1970-01-01 
00:00:00.0 +
+++ librostlab-1.0.20/debian/librostlab3t64.symbols 2024-02-28 
17:21:22.0 +
@@ -0,0 +1,2 @@
+librostlab.so.3 librostlab3t64 #MINVER#
+ _ZN7rostlab8blosum62E@Base 1.0.20
diff -Nru librostlab-1.0.20/debian/rules librostlab-1.0.20/debian/rules
--- librostlab-1.0.20/debian/rules  2023-09-09 11:14:32.0 +
+++ librostlab-1.0.20/debian/rules  2024-02-28 17:23:00.0 +
@@ -16,6 +16,7 @@
 override_dh_install-arch:
dh_install
d-shlibmove --commit \
+   --t64 \
--multiarch \
--exclude-la \
--movedev debian/tmp/usr/include/* usr/include \


Bug#1062612: librostlab: NMU diff for 64-bit time_t transition

2024-02-24 Thread Steve Langasek
Hello,

The package that was previously uploaded to experimental was unfortunately
broken because we did not notice that the package uses d-shlibs and
therefore needs additional changes.

Please find a fixed patch attached.

-- 
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 -Nru librostlab-1.0.20/debian/changelog librostlab-1.0.20/debian/changelog
--- librostlab-1.0.20/debian/changelog  2023-09-09 11:26:38.0 +
+++ librostlab-1.0.20/debian/changelog  2024-02-24 08:00:37.0 +
@@ -1,3 +1,16 @@
+librostlab (1.0.20-13.1~exp2) experimental; urgency=medium
+
+  * Bump d-shlibs build-dependency for --t64 support.
+
+ -- Steve Langasek   Sat, 24 Feb 2024 08:00:37 +
+
+librostlab (1.0.20-13.1~exp1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Fri, 02 Feb 2024 05:58:59 +
+
 librostlab (1.0.20-13) unstable; urgency=medium
 
   * Team Upload.
diff -Nru librostlab-1.0.20/debian/control librostlab-1.0.20/debian/control
--- librostlab-1.0.20/debian/control2023-09-09 11:26:35.0 +
+++ librostlab-1.0.20/debian/control2024-02-24 08:00:33.0 +
@@ -7,7 +7,7 @@
 Build-Depends: debhelper-compat (= 13),
dh-linktree,
debhelper
-Build-Depends-Arch: d-shlibs
+Build-Depends-Arch: d-shlibs (>= 0.106~)
 Build-Depends-Indep: doxygen,
  graphviz,
  texlive-latex-recommended,
@@ -22,7 +22,10 @@
 Homepage: https://rostlab.org/
 Rules-Requires-Root: no
 
-Package: librostlab3
+Package: librostlab3t64
+Provides: ${t64:Provides}
+Replaces: librostlab3
+Conflicts: librostlab3 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -48,7 +51,7 @@
 Package: librostlab3-dev
 Architecture: any
 Section: libdevel
-Depends: librostlab3 (= ${binary:Version}),
+Depends: librostlab3t64 (= ${binary:Version}),
  ${misc:Depends}
 Suggests: librostlab-doc
 Conflicts: librostlab-dev
diff -Nru librostlab-1.0.20/debian/librostlab3.symbols 
librostlab-1.0.20/debian/librostlab3.symbols
--- librostlab-1.0.20/debian/librostlab3.symbols2023-09-09 
11:14:32.0 +
+++ librostlab-1.0.20/debian/librostlab3.symbols1970-01-01 
00:00:00.0 +
@@ -1,2 +0,0 @@
-librostlab.so.3 librostlab3 #MINVER#
- _ZN7rostlab8blosum62E@Base 1.0.20
diff -Nru librostlab-1.0.20/debian/librostlab3t64.lintian-overrides 
librostlab-1.0.20/debian/librostlab3t64.lintian-overrides
--- librostlab-1.0.20/debian/librostlab3t64.lintian-overrides   1970-01-01 
00:00:00.0 +
+++ librostlab-1.0.20/debian/librostlab3t64.lintian-overrides   2024-02-02 
05:58:59.0 +
@@ -0,0 +1 @@
+librostlab3t64: package-name-doesnt-match-sonames librostlab3
diff -Nru librostlab-1.0.20/debian/librostlab3t64.symbols 
librostlab-1.0.20/debian/librostlab3t64.symbols
--- librostlab-1.0.20/debian/librostlab3t64.symbols 1970-01-01 
00:00:00.0 +
+++ librostlab-1.0.20/debian/librostlab3t64.symbols 2024-02-02 
05:58:59.0 +
@@ -0,0 +1,2 @@
+librostlab.so.3 librostlab3t64 #MINVER#
+ _ZN7rostlab8blosum62E@Base 1.0.20
diff -Nru librostlab-1.0.20/debian/rules librostlab-1.0.20/debian/rules
--- librostlab-1.0.20/debian/rules  2023-09-09 11:14:32.0 +
+++ librostlab-1.0.20/debian/rules  2024-02-24 08:00:17.0 +
@@ -16,6 +16,7 @@
 override_dh_install-arch:
dh_install
d-shlibmove --commit \
+   --t64 \
--multiarch \
--exclude-la \
--movedev debian/tmp/usr/include/* usr/include \


signature.asc
Description: PGP signature


Bug#1062612: librostlab: NMU diff for 64-bit time_t transition

2024-02-01 Thread Steve Langasek
Source: librostlab
Version: 1.0.20-13
Severity: serious
Tags: patch pending
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
librostlab 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 librostlab
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'), (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 librostlab-1.0.20/debian/changelog librostlab-1.0.20/debian/changelog
--- librostlab-1.0.20/debian/changelog  2023-09-09 11:26:38.0 +
+++ librostlab-1.0.20/debian/changelog  2024-02-02 05:56:36.0 +
@@ -1,3 +1,10 @@
+librostlab (1.0.20-13.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Fri, 02 Feb 2024 05:56:36 +
+
 librostlab (1.0.20-13) unstable; urgency=medium
 
   * Team Upload.
diff -Nru librostlab-1.0.20/debian/control librostlab-1.0.20/debian/control
--- librostlab-1.0.20/debian/control2023-09-09 11:26:35.0 +
+++ librostlab-1.0.20/debian/control2024-02-02 05:56:36.0 +
@@ -22,7 +22,10 @@
 Homepage: https://rostlab.org/
 Rules-Requires-Root: no
 
-Package: librostlab3
+Package: librostlab3t64
+Provides: ${t64:Provides}
+Replaces: librostlab3
+Breaks: librostlab3 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -48,7 +51,7 @@
 Package: librostlab3-dev
 Architecture: any
 Section: libdevel
-Depends: librostlab3 (= ${binary:Version}),
+Depends: librostlab3t64 (= ${binary:Version}),
  ${misc:Depends}
 Suggests: librostlab-doc
 Conflicts: librostlab-dev
diff -Nru librostlab-1.0.20/debian/librostlab3.symbols 
librostlab-1.0.20/debian/librostlab3.symbols
--- librostlab-1.0.20/debian/librostlab3.symbols2023-09-09 
11:14:32.0 +
+++ librostlab-1.0.20/debian/librostlab3.symbols1970-01-01 
00:00:00.0 +
@@ -1,2 +0,0 @@
-librostlab.so.3 librostlab3 #MINVER#
- _ZN7rostlab8blosum62E@Base 1.0.20
diff -Nru librostlab-1.0.20/debian/librostlab3t64.lintian-overrides 
librostlab-1.0.20/debian/librostlab3t64.lintian-overrides
--- librostlab-1.0.20/debian/librostlab3t64.lintian-overrides   1970-01-01 
00:00:00.0 +
+++ librostlab-1.0.20/debian/librostlab3t64.lintian-overrides   2024-02-02 
05:56:36.0 +
@@ -0,0 +1 @@
+librostlab3t64: package-name-doesnt-match-sonames librostlab3
diff -Nru librostlab-1.0.20/debian/librostlab3t64.symbols 
librostlab-1.0.20/debian/librostlab3t64.symbols
--- librostlab-1.0.20/debian/librostlab3t64.symbols 1970-01-01 
00:00:00.0 +
+++ librostlab-1.0.20/debian/librostlab3t64.symbols 2024-02-02 
05:56:36.0 +
@@ -0,0 +1,2 @@
+librostlab.so.3 librostlab3t64 #MINVER#
+ _ZN7rostlab8blosum62E@Base 1.0.20