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

Steve Langasek vorlon at debian.org
Sat Apr 27 02:46:06 BST 2024


Dear maintainers,

There was a hard-coded test dependency on libgenometools0 in
debian/tests/control which prevents this package from being able to migrate
to testing.

There is no need to hard-code a dependency on the runtime lib given that
there is already a test dependency on libgenometools-dev.

I am uploading a follow-up 0-day NMU to fix this outstanding issue from the
time_t transition.  Please find attached a comprehensive NMU debdiff.

On Wed, Feb 28, 2024 at 04:30:06PM +0000, Steve Langasek wrote:
> 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')
> 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 genometools-1.6.5+ds/debian/changelog genometools-1.6.5+ds/debian/changelog
> --- genometools-1.6.5+ds/debian/changelog	2023-10-25 22:08:09.000000000 +0000
> +++ genometools-1.6.5+ds/debian/changelog	2024-02-28 16:25:48.000000000 +0000
> @@ -1,3 +1,10 @@
> +genometools (1.6.5+ds-2.1) unstable; urgency=medium
> +
> +  * Non-maintainer upload.
> +  * Rename libraries for 64-bit time_t transition.  Closes: #1062071
> +
> + -- Steve Langasek <vorlon at debian.org>  Wed, 28 Feb 2024 16:25:48 +0000
> +
>  genometools (1.6.5+ds-2) unstable; urgency=medium
>  
>    * Facilitate building twice from the same source directory.
> diff -Nru genometools-1.6.5+ds/debian/control genometools-1.6.5+ds/debian/control
> --- genometools-1.6.5+ds/debian/control	2023-09-19 21:22:02.000000000 +0000
> +++ genometools-1.6.5+ds/debian/control	2024-02-28 16:25:48.000000000 +0000
> @@ -4,7 +4,7 @@
>             Andreas Tille <tille at debian.org>
>  Section: science
>  Priority: optional
> -Build-Depends: debhelper (>= 13),
> +Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>= 13),
>                 debhelper-compat (= 13),
>                 dh-python,
>                 liblua5.1-0-dev,
> @@ -70,7 +70,10 @@
>   transformations, style files, etc. required to use the GenomeTools
>   executable and/or library.
>  
> -Package: libgenometools0
> +Package: libgenometools0t64
> +Provides: ${t64:Provides}
> +Replaces: libgenometools0
> +Breaks: libgenometools0 (<< ${source:Version})
>  Architecture: any
>  Section: libs
>  Depends: ${shlibs:Depends},
> @@ -91,7 +94,7 @@
>  Section: libdevel
>  Depends: ${shlibs:Depends},
>           ${misc:Depends},
> -         libgenometools0 (= ${binary:Version})
> +         libgenometools0t64 (= ${binary:Version})
>  Description: development files for GenomeTools
>   This package contains the GenomeTools static library and necessary
>   header files.
> @@ -118,7 +121,7 @@
>  Depends: ${shlibs:Depends},
>           ${misc:Depends},
>           ${python3:Depends},
> -         libgenometools0
> +         libgenometools0t64
>  Description: Python3 bindings for genometools
>   Partial Python3 bindings for the GenomeTools library. Besides basic
>   bioinformatics data structures, the library contains components for sequence
> diff -Nru genometools-1.6.5+ds/debian/libgenometools0.install genometools-1.6.5+ds/debian/libgenometools0.install
> --- genometools-1.6.5+ds/debian/libgenometools0.install	2023-09-19 21:22:02.000000000 +0000
> +++ genometools-1.6.5+ds/debian/libgenometools0.install	1970-01-01 00:00:00.000000000 +0000
> @@ -1 +0,0 @@
> -lib/libgenometools.so.0 usr/lib
> diff -Nru genometools-1.6.5+ds/debian/libgenometools0t64.install genometools-1.6.5+ds/debian/libgenometools0t64.install
> --- genometools-1.6.5+ds/debian/libgenometools0t64.install	1970-01-01 00:00:00.000000000 +0000
> +++ genometools-1.6.5+ds/debian/libgenometools0t64.install	2023-09-19 21:22:02.000000000 +0000
> @@ -0,0 +1 @@
> +lib/libgenometools.so.0 usr/lib
> diff -Nru genometools-1.6.5+ds/debian/libgenometools0t64.lintian-overrides genometools-1.6.5+ds/debian/libgenometools0t64.lintian-overrides
> --- genometools-1.6.5+ds/debian/libgenometools0t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
> +++ genometools-1.6.5+ds/debian/libgenometools0t64.lintian-overrides	2024-02-28 16:15:24.000000000 +0000
> @@ -0,0 +1 @@
> +libgenometools0t64: package-name-doesnt-match-sonames libgenometools0


-- 
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/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru genometools-1.6.5+ds/debian/changelog genometools-1.6.5+ds/debian/changelog
--- genometools-1.6.5+ds/debian/changelog	2023-10-25 22:08:09.000000000 +0000
+++ genometools-1.6.5+ds/debian/changelog	2024-04-27 01:41:52.000000000 +0000
@@ -1,3 +1,17 @@
+genometools (1.6.5+ds-2.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove wrong hard-coded test dep.
+
+ -- Steve Langasek <vorlon at debian.org>  Sat, 27 Apr 2024 01:41:52 +0000
+
+genometools (1.6.5+ds-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062071
+
+ -- Steve Langasek <vorlon at debian.org>  Wed, 28 Feb 2024 16:25:48 +0000
+
 genometools (1.6.5+ds-2) unstable; urgency=medium
 
   * Facilitate building twice from the same source directory.
diff -Nru genometools-1.6.5+ds/debian/control genometools-1.6.5+ds/debian/control
--- genometools-1.6.5+ds/debian/control	2023-09-19 21:22:02.000000000 +0000
+++ genometools-1.6.5+ds/debian/control	2024-04-27 01:41:52.000000000 +0000
@@ -4,7 +4,7 @@
            Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper (>= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>= 13),
                debhelper-compat (= 13),
                dh-python,
                liblua5.1-0-dev,
@@ -70,7 +70,10 @@
  transformations, style files, etc. required to use the GenomeTools
  executable and/or library.
 
-Package: libgenometools0
+Package: libgenometools0t64
+Provides: ${t64:Provides}
+Replaces: libgenometools0
+Breaks: libgenometools0 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -91,7 +94,7 @@
 Section: libdevel
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libgenometools0 (= ${binary:Version})
+         libgenometools0t64 (= ${binary:Version})
 Description: development files for GenomeTools
  This package contains the GenomeTools static library and necessary
  header files.
@@ -118,7 +121,7 @@
 Depends: ${shlibs:Depends},
          ${misc:Depends},
          ${python3:Depends},
-         libgenometools0
+         libgenometools0t64
 Description: Python3 bindings for genometools
  Partial Python3 bindings for the GenomeTools library. Besides basic
  bioinformatics data structures, the library contains components for sequence
diff -Nru genometools-1.6.5+ds/debian/libgenometools0.install genometools-1.6.5+ds/debian/libgenometools0.install
--- genometools-1.6.5+ds/debian/libgenometools0.install	2023-09-19 21:22:02.000000000 +0000
+++ genometools-1.6.5+ds/debian/libgenometools0.install	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-lib/libgenometools.so.0 usr/lib
diff -Nru genometools-1.6.5+ds/debian/libgenometools0t64.install genometools-1.6.5+ds/debian/libgenometools0t64.install
--- genometools-1.6.5+ds/debian/libgenometools0t64.install	1970-01-01 00:00:00.000000000 +0000
+++ genometools-1.6.5+ds/debian/libgenometools0t64.install	2023-09-19 21:22:02.000000000 +0000
@@ -0,0 +1 @@
+lib/libgenometools.so.0 usr/lib
diff -Nru genometools-1.6.5+ds/debian/libgenometools0t64.lintian-overrides genometools-1.6.5+ds/debian/libgenometools0t64.lintian-overrides
--- genometools-1.6.5+ds/debian/libgenometools0t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ genometools-1.6.5+ds/debian/libgenometools0t64.lintian-overrides	2024-02-28 16:15:24.000000000 +0000
@@ -0,0 +1 @@
+libgenometools0t64: package-name-doesnt-match-sonames libgenometools0
diff -Nru genometools-1.6.5+ds/debian/tests/control genometools-1.6.5+ds/debian/tests/control
--- genometools-1.6.5+ds/debian/tests/control	2023-09-19 21:22:02.000000000 +0000
+++ genometools-1.6.5+ds/debian/tests/control	2024-03-23 17:54:54.000000000 +0000
@@ -1,5 +1,5 @@
 Tests: build-lib
-Depends: libgenometools0-dev, libgenometools0, build-essential
+Depends: libgenometools0-dev, build-essential
 
 Tests: python-lib
 Depends: python3-genometools, python3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20240426/28fc46f3/attachment-0001.sig>


More information about the Debian-med-packaging mailing list