Package: lintian
Version: 2.5.10.5
Severity: wishlist
Tags: patch
Please add a check for packages which declare a build dependency
(architecture independent or not) or a dependency on texi2html. This is
in light of the transition from texi2html to texinfo documented at
http://lists.debian.org/debian-devel/2013/05/msg01516.html .
I've attached a patch that should accomplish this, but it's untested
since lintian FTBFS with tests enabled with errors like
generic-dh-make-2008: ---- START BUILD LOG
[SNIP]
generic-dh-make-2008: fakeroot debian/rules clean
generic-dh-make-2008: fakeroot: FAKEROOTKEY set to 2139833373
generic-dh-make-2008: fakeroot: nested operation not yet supported
generic-dh-make-2008: dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 1
[SNIP]
Running generic-dh-make-2008 1.0-1... building... FAILED
and without tests with
mkdir man/man1/
mkdir: cannot create directory ‘man/man1/’: File exists
make: *** [build-stamp] Error 1
You should be able to apply the patch and sign-off with:
git am --signoff 0001-texi2html-is-obsolete.patch
Best wishes,
Ryan
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.8-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lintian depends on:
ii binutils 2.22-8
ii bzip2 1.0.6-4
ii diffstat 1.55-3
ii file 1:5.14-2
ii gettext 0.18.1.1-10
ii hardening-includes 2.3
ii intltool-debian 0.35.0+20060710.1
ii libapt-pkg-perl 0.1.28
ii libarchive-zip-perl 1.30-6
ii libc-bin 2.17-3
ii libclass-accessor-perl 0.34-1
ii libclone-perl 0.34-1
ii libdpkg-perl 1.16.10
ii libemail-valid-perl 0.190-1
ii libipc-run-perl 0.92-1
ii libparse-debianchangelog-perl 1.2.0-1
ii libtimedate-perl 1.2000-1
ii liburi-perl 1.60-1
ii locales 2.17-3
ii man-db 2.6.3-6
ii patchutils 0.3.2-1.1
ii perl [libdigest-sha-perl] 5.14.2-21
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarch <none>
ii dpkg-dev 1.16.10
ii libhtml-parser-perl 3.71-1
pn libperlio-gzip-perl <none>
ii libtext-template-perl 1.45-2
ii man-db 2.6.3-6
ii xz-utils [lzma] 5.1.1alpha+20120614-2
-- no debconf information
--
|_)|_/ Ryan Kavanagh | Debian Developer
| \| \ http://ryanak.ca/ | GPG Key 4A11C97A
From e67aeae8a256a71762db2e09cc8cbce20e597ef3 Mon Sep 17 00:00:00 2001
From: Ryan Kavanagh <rak@debian.org>
Date: Thu, 30 May 2013 19:38:49 -0400
Subject: [PATCH] texi2html-is-obsolete
---
checks/fields | 6 ++++++
checks/fields.desc | 9 +++++++++
2 files changed, 15 insertions(+)
diff --git a/checks/fields b/checks/fields
index 81f83a2..dfd2db7 100644
--- a/checks/fields
+++ b/checks/fields
@@ -846,6 +846,12 @@ if ($type eq 'source') {
tag 'build-depends-on-versioned-berkeley-db', "$field:$d_pkg";
}
+ # Transitioning from texi2html to texinfo
+ # http://lists.debian.org/debian-devel/2013/05/msg01516.html
+ if ($d_pkg eq 'texi2html') {
+ tag 'texi2html-is-obsolete', $field
+ }
+
tag 'conflicting-negation-in-source-relation', "$field: $part_d_orig"
unless (not $d_arch or $d_arch->[1] == 0 or $d_arch->[1] eq @{ $d_arch->[0] });
diff --git a/checks/fields.desc b/checks/fields.desc
index 55dffaa..000d42e 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -1128,6 +1128,15 @@ Info: The package build-depends on a versioned development package of
package, please add an override.
Ref: http://download.oracle.com/docs/cd/E17076_02/html/upgrading/upgrade_process.html
+Tag: texi2html-is-obsolete
+Severity: minor
+Certainty: certain
+Info: The package declares a build dependency or a dependency on the obsolete
+ package `texi2html`, which is destined to be removed from the archive. Please
+ transition to using the replacement `makeinfo` utility from the `texinfo`
+ package.
+Ref: http://wiki.debian.org/Texi2htmlTransition
+
Tag: transitional-package-should-be-oldlibs-extra
Severity: normal
Certainty: possible
--
1.7.10.4
Attachment:
signature.asc
Description: Digital signature