Bug#617991: lintian overrides should support more precise pattern matching
Package: lintian
Version: 2.4.3
Severity: normal
User: vorlon@debian.org
Usertags: multiarch
lintian overrides currently only support prefix/postfix glob matching; there
is no way with a lintian override to have a wildcard match in the middle of
a string. This becomes more of an issue with multiarch, since lintian
overrides are shipped under /usr/share but may contain architecture-dependent
paths, for instance:
# libpthread must be stripped specially; GDB needs the non-dynamic
# symbol table in order to load the thread debugging library.
libc6: unstripped-binary-or-object ./lib/x86_64-linux-gnu/libpthread-2.12.so
So libc6 could handle this by replacing this path with "/lib/*", but not with
"/lib/*/libpthread-2.12.so"; that carries a pretty high risk of overriding
lintian errors that weren't meant to be overridden.
Therefore it would be better if lintian supported either more flexible
pattern matching, or alternatively, architecture-specific lintian override
files (/usr/share/lintian/overrides/libc6:$arch ?)
-- System Information:
Debian Release: 6.0
APT prefers oldstable
APT policy: (500, 'oldstable'), (500, 'stable')
Architecture: armel (armv5tel)
Kernel: Linux 2.6.30-1-iop32x
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lintian depends on:
ii binutils 2.20.1-16 The GNU assembler, linker and bina
ii diffstat 1.53-1 produces graph of changes introduc
ii dpkg-dev 1.15.8.10 Debian package development tools
ii file 5.04-5 Determines file type using "magic"
ii gettext 0.18.1.1-3 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libapt-pkg-perl 0.1.24+b2 Perl interface to libapt-pkg
ii libclass-accessor-perl 0.34-1 Perl module that automatically gen
ii libipc-run-perl 0.89-1 Perl module for running processes
ii libparse-debianchangel 1.1.1-2.1 parse Debian changelogs and output
ii libtimedate-perl 1.2000-1 collection of modules to manipulat
ii liburi-perl 1.54-2 module to manipulate and access UR
ii locales 2.11.2-10 Embedded GNU C Library: National L
ii man-db 2.5.7-8 on-line manual pager
ii perl [libdigest-sha-pe 5.10.1-17 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarch <none> (no description available)
pn libtext-template-perl <none> (no description available)
ii man-db 2.5.7-8 on-line manual pager
-- no debconf information
Reply to: