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

2024-02-28 Thread Étienne Mollier
Steve Langasek, 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
   `-on air: Gentle Giant - Free Hand (Steven Wilson 2021 R…


signature.asc
Description: PGP signature


Bug#1061931: biosquid: NMU diff for 64-bit time_t transition

2024-02-28 Thread Steve Langasek
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)
diff -Nru biosquid-1.9g+cvs20050121/debian/changelog 
biosquid-1.9g+cvs20050121/debian/changelog
--- biosquid-1.9g+cvs20050121/debian/changelog  2024-01-30 10:50:46.0 
+
+++ biosquid-1.9g+cvs20050121/debian/changelog  2024-02-28 18:29:54.0 
+
@@ -1,3 +1,10 @@
+biosquid (1.9g+cvs20050121-15.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1061931
+
+ -- Steve Langasek   Wed, 28 Feb 2024 18:29:54 +
+
 biosquid (1.9g+cvs20050121-15) unstable; urgency=medium
 
   * Revert changes of latest upload that should have gone to experimental
diff -Nru biosquid-1.9g+cvs20050121/debian/control 
biosquid-1.9g+cvs20050121/debian/control
--- biosquid-1.9g+cvs20050121/debian/control2024-01-30 10:50:46.0 
+
+++ biosquid-1.9g+cvs20050121/debian/control2024-02-28 18:29:54.0 
+
@@ -3,8 +3,8 @@
 Uploaders: Andreas Tille 
 Section: science
 Priority: optional
-Build-Depends: debhelper-compat (= 13),
-   d-shlibs
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
+   d-shlibs (>= 0.106)
 Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/med-team/biosquid
 Vcs-Git: https://salsa.debian.org/med-team/biosquid.git
@@ -14,7 +14,7 @@
 Package: biosquid
 Architecture: any
 Depends: ${shlibs:Depends},
- libsquid1 (= ${binary:Version}),
+ libsquid1t64 (= ${binary:Version}),
  ${misc:Depends}
 Recommends: hmmer
 Description: utilities for biological sequence analysis
@@ -28,7 +28,10 @@
  This package contains some tools to demonstrate the features of the
  SQUID library.
 
-Package: libsquid1
+Package: libsquid1t64
+Provides: ${t64:Provides}
+Replaces: libsquid1
+Conflicts: libsquid1 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -49,7 +52,7 @@
 Architecture: any
 Section: libdevel
 Depends: ${shlibs:Depends},
- libsquid1 (= ${binary:Version}),
+ libsquid1t64 (= ${binary:Version}),
  ${misc:Depends}
 Breaks: biosquid-dev
 Provides: biosquid-dev
diff -Nru biosquid-1.9g+cvs20050121/debian/libsquid1t64.lintian-overrides 
biosquid-1.9g+cvs20050121/debian/libsquid1t64.lintian-overrides
--- biosquid-1.9g+cvs20050121/debian/libsquid1t64.lintian-overrides 
1970-01-01 00:00:00.0 +
+++ biosquid-1.9g+cvs20050121/debian/libsquid1t64.lintian-overrides 
2024-02-28 18:29:07.0 +
@@ -0,0 +1 @@
+libsquid1t64: package-name-doesnt-match-sonames libsquid1
diff -Nru biosquid-1.9g+cvs20050121/debian/rules 
biosquid-1.9g+cvs20050121/debian/rules
--- biosquid-1.9g+cvs20050121/debian/rules  2024-01-30 10:50:46.0 
+
+++ biosquid-1.9g+cvs20050121/debian/rules  2024-02-28 18:29:53.0 
+
@@ -32,6 +32,7 @@
mv $(CURDIR)/debian/tmp/usr/bin/translate 
$(CURDIR)/debian/tmp/usr/bin/stranslate
dh_install
d-shlibmove --commit \
+   --t64 \
--multiarch \
--devunversioned \
--exclude-la \


Bug#1061931: biosquid: NMU diff for 64-bit time_t transition

2024-01-31 Thread Steve Langasek
Source: biosquid
Version: 1.9g+cvs20050121-15
Followup-For: Bug #1061931

Hi Andreas,

FYI your emails did not make it to my mailserver because they fail SPF 
for your sending domain; it appears your mails are going via the Debian 
mailservers but you are using a non-Debian sender address?  So I've seen 
your messages only via the web interface.

In any case, thanks for the quick fix regarding d-shlibs.  My patch
needed fixing anyway because the conversion script failed to fix
depends: on the old library package name.  Attached is the updated
patch, which includes both your d-shlibs changes and the further
debian/control changes.  I've verified that it builds, and uploaded it
to experimental now.

Regards,
-- 
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 biosquid-1.9g+cvs20050121/debian/changelog 
biosquid-1.9g+cvs20050121/debian/changelog
--- biosquid-1.9g+cvs20050121/debian/changelog  2024-01-30 10:50:46.0 
+
+++ biosquid-1.9g+cvs20050121/debian/changelog  2024-01-31 09:25:27.0 
+
@@ -1,3 +1,13 @@
+biosquid (1.9g+cvs20050121-15.1~exp1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+  * Versioned Build-Depends: d-shlibs (>= 0.106) to support --t64 option
+  * Add --t64 option to d-shlibmove
+  * d-slibs checks for Conflicts: libsquid1 (rather than Breaks)
+
+ -- Steve Langasek   Wed, 31 Jan 2024 09:25:27 +
+
 biosquid (1.9g+cvs20050121-15) unstable; urgency=medium
 
   * Revert changes of latest upload that should have gone to experimental
diff -Nru biosquid-1.9g+cvs20050121/debian/control 
biosquid-1.9g+cvs20050121/debian/control
--- biosquid-1.9g+cvs20050121/debian/control2024-01-30 10:50:46.0 
+
+++ biosquid-1.9g+cvs20050121/debian/control2024-01-31 09:24:49.0 
+
@@ -4,7 +4,7 @@
 Section: science
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
-   d-shlibs
+   d-shlibs (>= 0.106)
 Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/med-team/biosquid
 Vcs-Git: https://salsa.debian.org/med-team/biosquid.git
@@ -14,7 +14,7 @@
 Package: biosquid
 Architecture: any
 Depends: ${shlibs:Depends},
- libsquid1 (= ${binary:Version}),
+ libsquid1t64 (= ${binary:Version}),
  ${misc:Depends}
 Recommends: hmmer
 Description: utilities for biological sequence analysis
@@ -28,7 +28,10 @@
  This package contains some tools to demonstrate the features of the
  SQUID library.
 
-Package: libsquid1
+Package: libsquid1t64
+Provides: ${t64:Provides}
+Replaces: libsquid1
+Conflicts: libsquid1 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -49,7 +52,7 @@
 Architecture: any
 Section: libdevel
 Depends: ${shlibs:Depends},
- libsquid1 (= ${binary:Version}),
+ libsquid1t64 (= ${binary:Version}),
  ${misc:Depends}
 Breaks: biosquid-dev
 Provides: biosquid-dev
diff -Nru biosquid-1.9g+cvs20050121/debian/rules 
biosquid-1.9g+cvs20050121/debian/rules
--- biosquid-1.9g+cvs20050121/debian/rules  2024-01-30 10:50:46.0 
+
+++ biosquid-1.9g+cvs20050121/debian/rules  2024-01-31 09:25:27.0 
+
@@ -32,6 +32,7 @@
mv $(CURDIR)/debian/tmp/usr/bin/translate 
$(CURDIR)/debian/tmp/usr/bin/stranslate
dh_install
d-shlibmove --commit \
+   --t64 \
--multiarch \
--devunversioned \
--exclude-la \


Bug#1061931: biosquid: NMU diff for 64-bit time_t transition

2024-01-29 Thread Steve Langasek
Control: tags -1 - pending patch

Unfortunately, it turns out that due to the use of d-shlibs this patch is
insufficient.  d-shlibs appears to need patching for every ABI transition,
and only knows about the long-finished c102, ldbl, and v5 transitions (which
misses several other ABI transitions that have happened).

So removing the 'pending' tag for the moment, I guess we need to go patch
d-shlibs to know about t64.

Also while debugging this I noticed that the conversion script didn't
appropriate handle strict versioned dependencies on libsquid1; so here is an
updated patch that includes that, though it is still incomplete because
debian/rules will also need updating once d-shlibs supports t64.

-- 
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 biosquid-1.9g+cvs20050121/debian/changelog 
biosquid-1.9g+cvs20050121/debian/changelog
--- biosquid-1.9g+cvs20050121/debian/changelog  2024-01-14 13:29:59.0 
+
+++ biosquid-1.9g+cvs20050121/debian/changelog  2024-01-30 04:35:51.0 
+
@@ -1,3 +1,10 @@
+biosquid (1.9g+cvs20050121-13.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Tue, 30 Jan 2024 04:35:51 +
+
 biosquid (1.9g+cvs20050121-13) unstable; urgency=medium
 
   * Fix clean target
diff -Nru biosquid-1.9g+cvs20050121/debian/control 
biosquid-1.9g+cvs20050121/debian/control
--- biosquid-1.9g+cvs20050121/debian/control2024-01-14 13:29:59.0 
+
+++ biosquid-1.9g+cvs20050121/debian/control2024-01-30 04:35:51.0 
+
@@ -14,7 +14,7 @@
 Package: biosquid
 Architecture: any
 Depends: ${shlibs:Depends},
- libsquid1 (= ${binary:Version}),
+ libsquid1t64 (= ${binary:Version}),
  ${misc:Depends}
 Recommends: hmmer
 Description: utilities for biological sequence analysis
@@ -28,7 +28,10 @@
  This package contains some tools to demonstrate the features of the
  SQUID library.
 
-Package: libsquid1
+Package: libsquid1t64
+Provides: ${t64:Provides}
+Replaces: libsquid1
+Breaks: libsquid1 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -49,7 +52,7 @@
 Architecture: any
 Section: libdevel
 Depends: ${shlibs:Depends},
- libsquid1 (= ${binary:Version}),
+ libsquid1t64 (= ${binary:Version}),
  ${misc:Depends}
 Breaks: biosquid-dev
 Provides: biosquid-dev


signature.asc
Description: PGP signature


Bug#1061931: biosquid: NMU diff for 64-bit time_t transition

2024-01-29 Thread Steve Langasek
Source: biosquid
Version: 1.9g+cvs20050121-13
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
biosquid 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 biosquid
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 biosquid-1.9g+cvs20050121/debian/changelog 
biosquid-1.9g+cvs20050121/debian/changelog
--- biosquid-1.9g+cvs20050121/debian/changelog  2024-01-14 13:29:59.0 
+
+++ biosquid-1.9g+cvs20050121/debian/changelog  2024-01-30 04:35:42.0 
+
@@ -1,3 +1,10 @@
+biosquid (1.9g+cvs20050121-13.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Tue, 30 Jan 2024 04:35:42 +
+
 biosquid (1.9g+cvs20050121-13) unstable; urgency=medium
 
   * Fix clean target
diff -Nru biosquid-1.9g+cvs20050121/debian/control 
biosquid-1.9g+cvs20050121/debian/control
--- biosquid-1.9g+cvs20050121/debian/control2024-01-14 13:29:59.0 
+
+++ biosquid-1.9g+cvs20050121/debian/control2024-01-30 04:35:42.0 
+
@@ -28,7 +28,10 @@
  This package contains some tools to demonstrate the features of the
  SQUID library.
 
-Package: libsquid1
+Package: libsquid1t64
+Provides: ${t64:Provides}
+Replaces: libsquid1
+Breaks: libsquid1 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},