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

Bug#481787: lintian fails to detect BTS data directory



package lintian
reopen 481787
found 481787 1.24.1
thanks

This feature doesn't work for me. A source package containing files in 
the BTS data directory ('.be/') is not detected by lintian.

Steps to reproduce:

=====
$ dget http://ftp.debian.org/debian/pool/main/h/hello/hello_2.2-2.dsc
[…]
dpkg-source: extracting hello in hello-2.2
dpkg-source: info: unpacking hello_2.2.orig.tar.gz
dpkg-source: info: applying hello_2.2-2.diff.gz

$ mkdir hello-2.2/.be/
$ for f in hello-2.2/.be/{foo,bar,baz} ; do echo "bogus" > $f ; done
$ ls -l hello-2.2/.be/
total 12
-rw-r--r-- 1 bignose bignose 6 2008-07-04 14:17 bar
-rw-r--r-- 1 bignose bignose 6 2008-07-04 14:17 baz
-rw-r--r-- 1 bignose bignose 6 2008-07-04 14:17 foo

$ rm hello_2.2-2.*
$ ls
hello-2.2  hello_2.2.orig.tar.gz
$ dpkg-source -b hello-2.2/
dpkg-source: info: using source format `1.0'
dpkg-source: info: building hello using existing hello_2.2.orig.tar.gz
dpkg-source: info: building hello in hello_2.2-2.diff.gz
dpkg-source: info: building hello in hello_2.2-2.dsc

$ zgrep 'hello-2.2/\.be/' hello_2.2-2.diff.gz 
+++ hello-2.2/.be/bar
+++ hello-2.2/.be/baz
+++ hello-2.2/.be/foo

$ lintian --version
Lintian v1.24.1

$ 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.

-- 
 \                             “Holy tintinnabulation, Batman!” —Robin |
  `\                                                                   |
_o__)                                                                  |
Ben Finney <ben@benfinney.id.au>

Attachment: signature.asc
Description: Digital signature


Reply to: