Bug#642033: marked as done (lintian: false positive - dir-or-file-in-srv matches incorrectly full path)
Your message dated Mon, 19 Sep 2011 12:29:45 +0300
with message-id <87fwjsc22e.fsf@picasso.cante.net>
and subject line Re: Bug#642033: lintian: false positive - dir-or-file-in-srv matches incorrectly full path
has caused the Debian Bug report #642033,
regarding lintian: false positive - dir-or-file-in-srv matches incorrectly full path
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
642033: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642033
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.5.3
Severity: normal
SUMMARY
Lintian is possibly using somewhere a loose regexp which causes
matching text against full path (word "srv") whereas it should
test only build structure paths under debian/ directory.
SYMPTOMPS
While build lrzip in directory:
/srv/deb/debian/lrzip/lrzip.git
Lintian informs:
E: lrzip: dir-or-file-in-srv srv/deb/
E: lrzip: dir-or-file-in-srv srv/deb/debian/
E: lrzip: dir-or-file-in-srv srv/deb/debian/lrzip/
I: lrzip: package-contains-empty-directory srv/deb/debian/lrzip/
However, no "srv" directory exist in the actual build structure:
$ find debian/lrzip -type f | sort
debian/lrzip/DEBIAN/control
debian/lrzip/DEBIAN/md5sums
debian/lrzip/usr/bin/lrzip
debian/lrzip/usr/bin/lrztar
debian/lrzip/usr/share/doc/lrzip/AUTHORS
debian/lrzip/usr/share/doc/lrzip/BUGS
debian/lrzip/usr/share/doc/lrzip/README-NOT-BACKWARD-COMPATIBLE
debian/lrzip/usr/share/doc/lrzip/README.benchmarks.gz
debian/lrzip/usr/share/doc/lrzip/README.gz
debian/lrzip/usr/share/doc/lrzip/README.lzo_compresses.test.txt.gz
debian/lrzip/usr/share/doc/lrzip/TODO
debian/lrzip/usr/share/doc/lrzip/WHATS-NEW.gz
debian/lrzip/usr/share/doc/lrzip/changelog.Debian.gz
debian/lrzip/usr/share/doc/lrzip/changelog.gz
debian/lrzip/usr/share/doc/lrzip/copyright
debian/lrzip/usr/share/doc/lrzip/lrzip.conf.example
debian/lrzip/usr/share/doc/lrzip/lzma/7zC.txt.gz
debian/lrzip/usr/share/doc/lrzip/lzma/7zFormat.txt.gz
debian/lrzip/usr/share/doc/lrzip/lzma/Methods.txt
debian/lrzip/usr/share/doc/lrzip/lzma/README
debian/lrzip/usr/share/doc/lrzip/lzma/README-Alloc
debian/lrzip/usr/share/doc/lrzip/lzma/history.txt.gz
debian/lrzip/usr/share/doc/lrzip/lzma/lzma.txt.gz
debian/lrzip/usr/share/doc/lrzip/magic.header.txt
debian/lrzip/usr/share/man/man1/lrunzip.1.gz
debian/lrzip/usr/share/man/man1/lrzcat.1.gz
debian/lrzip/usr/share/man/man1/lrzip.1.gz
debian/lrzip/usr/share/man/man1/lrztar.1.gz
debian/lrzip/usr/share/man/man1/lrzuntar.1.gz
debian/lrzip/usr/share/man/man5/lrzip.conf.5.gz
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lintian depends on:
ii binutils 2.21.52.20110606-2
ii bzip2 1.0.5-6
ii diffstat 1.54-1
ii file 5.04-5+b1
ii gettext 0.18.1.1-4
ii intltool-debian 0.35.0+20060710.1
ii libapt-pkg-perl 0.1.24+b2
ii libclass-accessor-perl 0.34-1
ii libdpkg-perl 1.16.0.3
ii libemail-valid-perl 0.185-1
ii libipc-run-perl 0.90-1
ii libparse-debianchangelog-perl 1.2.0-1
ii libtimedate-perl 1.2000-1
ii liburi-perl 1.59-1
ii locales 2.13-18
ii man-db 2.6.0.2-2
ii patchutils 0.3.2-1
ii perl [libdigest-sha-perl] 5.12.4-4
ii unzip 6.0-5
lintian recommends no packages.
Versions of packages lintian suggests:
ii binutils-multiarch <none>
ii dpkg-dev 1.16.0.3
ii libhtml-parser-perl 3.68-1+b1
ii libtext-template-perl 1.45-2
ii man-db 2.6.0.2-2
ii xz-utils 5.1.1alpha+20110809-2
-- no debconf information
--- End Message ---
--- Begin Message ---
2011-09-18 22:17 Niels Thykier <niels@thykier.net>:
| > Lintian informs:
| >
| > E: lrzip: dir-or-file-in-srv srv/deb/
| > E: lrzip: dir-or-file-in-srv srv/deb/debian/
| > E: lrzip: dir-or-file-in-srv srv/deb/debian/lrzip/
| > I: lrzip: package-contains-empty-directory srv/deb/debian/lrzip/
|
| > $ find debian/lrzip -type f | sort
| ^^^^^^^
|
| ... this is very likely to not show the issue, since it only shows *files*.
| Please check the output of "dpkg --contents lrzip_$v_$a.deb | grep srv".
Indeed this was the case. It showed un in .deb as lintian reported.
Closing,
Jari
--- End Message ---
Reply to: