[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#481787: lintian fails to detect BTS data directory



On Fri, 2008-07-04 at 14:53 +1000, Ben Finney wrote:
> On 04-Jul-2008, Ben Finney wrote:
> > $ lintian -I hello_2.2-2.dsc I: hello source: 
> > debian-watch-file-is-missing
> > W: hello source: debian-rules-ignores-make-clean-error line 31
> > W: hello source: ancient-standards-version 3.7.2 (current is 3.8.0)
> > =====
> > 
> > lintian should show the 'package-contains-bts-control-dir' warning for 
> > the source package, but it does not.
> 
> I've confirmed the same failure with lintian version 1.24.0 (from the 
> VCS), where this bug was originally reported fixed.

The issue is that the patch you supplied was against checks/files, which
is never used when checking a source package, as can be seen from the
header information of the file you added the tag to :-)

        $ head checks/files.desc
        Check-Script: files
        Author: Christian Schwarz <schwarz@debian.org>
        Abbrev: fil
        Type: binary, udeb
        Unpack-Level: 1
        Needs-Info: objdump-info, scripts
        Info: This script checks if a binary package conforms to policy
         WRT to files and directories.
        
Did you intend the check to be performed against binary packages, source
packages, or both? If the second then checks/files is entirely the wrong
place to be checking, and if the latter then it's not the only place the
check needs adding.

Regards,

Adam



Reply to: