Bug#563773: lintian: false positive if a patch in debian/patches is a symlink
Package: lintian
Version: 2.3.1
Severity: normal
Hi,
I am working on a package in the new source format "3.0 (quilt)" and I am making use of its multiple-tarball feature, i.e. I have a foo_1.0.orig.tar.gz and a foo_1.0.orig-bar.tar.gz. The second tarball "foo_1.0.orig-bar.tar.gz" contains a patch "bar.patch" that I'd like to apply before building the package. Since I don't want to copy this patch over into the debian/patches directory, I create a symlink there pointing to "../../bar/bar.patch" and add its filename to debian/patches/series (as recommended in #562155). The patch gets applied and the package builds fine, however lintian complains with the "quilt-series-references-non-existent-patch".
Feel free to try out yourself: <http://debian.greffrath.com/unstable/xv_3.10a-0fab1.dsc> (lintian error overridden in this package).
Cheers,
Fabian
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (550, 'unstable'), (400, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.31-1-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lintian depends on:
ii binutils 2.20-4 The GNU assembler, linker and bina
ii diffstat 1.47-1 produces graph of changes introduc
ii dpkg-dev 1.15.5.5 Debian package development tools
ii file 5.03-5 Determines file type using "magic"
ii gettext 0.17-8 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libapt-pkg-perl 0.1.24 Perl interface to libapt-pkg
ii libclass-accessor-perl 0.34-1 Perl module that automatically gen
ii libdigest-sha-perl 5.47-1 Perl extension for SHA-1/224/256/3
ii libipc-run-perl 0.84-1 Perl module for running processes
ii libparse-debianchangel 1.1.1-2 parse Debian changelogs and output
ii libtimedate-perl 1.1900-1 Time and date functions for Perl
ii liburi-perl 1.50-1 module to manipulate and access UR
ii man-db 2.5.6-5 on-line manual pager
ii perl [libdigest-sha-pe 5.10.1-8 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.6-5 on-line manual pager
-- no debconf information
Reply to: