Bug#409096: marked as done (lintian: Check non existing directories listed in debian/dirs)
Your message dated Fri, 07 Dec 2007 16:55:52 -0800
with message-id <87prxim2cn.fsf@windlord.stanford.edu>
and subject line Fixed in lintian 1.23.37
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: lintian: Check non existing directories listed in debian/dirs
- From: Jari Aalto <jari.aalto@cante.net>
- Date: Sun, 21 Jan 2007 01:52:14 +0200
- Message-id: <20070120235214.30341.46363.reportbug@cante>
Package: lintian
Version: 1.23.27
Severity: wishlist
Suppose following:
[debian/dirs]:
usr/bin
usr/sbin
[dpkg --contents *.deb]
drwxr-xr-x root/root 0 2007-01-21 01:30 ./
drwxr-xr-x root/root 0 2007-01-21 01:30 ./usr/
drwxr-xr-x root/root 0 2007-01-21 01:30 ./usr/bin/
-rwxr-xr-x root/root 39088 2007-01-21 01:30 ./usr/bin/foo
drwxr-xr-x root/root 0 2007-01-21 01:30 ./usr/sbin/
drwxr-xr-x root/root 0 2007-01-21 01:30 ./usr/share/
drwxr-xr-x root/root 0 2007-01-21 01:30 ./usr/share/doc/
drwxr-xr-x root/root 0 2007-01-21 01:30 ./usr/share/doc/foo/
-rw-r--r-- root/root 1199 2007-01-21 01:29 ./usr/share/doc/foo/copyright
-rw-r--r-- root/root 164 2007-01-21 01:29 ./usr/share/doc/foo/changelog.Debian.gz
drwxr-xr-x root/root 0 2007-01-21 01:30 ./usr/share/man/
drwxr-xr-x root/root 0 2007-01-21 01:30 ./usr/share/man/man1/
-rw-r--r-- root/root 810 2007-01-21 01:30 ./usr/share/man/man1/foo.1.gz
Errors:
/usr/sbin/ contains no files, but is was put into *.deb
SUGGESTION
Lintian should warn (possibly raise error), for all directories listed in
debian/dirs that own no files in the generated *.deb
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-686
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)
Versions of packages lintian depends on:
ii binutils 2.17-3 The GNU assembler, linker and bina
ii diffstat 1.43-2 produces graph of changes introduc
ii dpkg-dev 1.13.25 package building tools for Debian
ii file 4.19-1 Determines file type using "magic"
ii gettext 0.16.1-1 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libparse-debianchangel 1.0-1 parse Debian changelogs and output
ii man-db 2.4.3-5 The on-line manual pager
ii perl [libdigest-md5-pe 5.8.8-7 Larry Wall's Practical Extraction
lintian recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 1.23.37
A check for empty directories in the Debian package was added in 1.23.37:
* checks/files{.desc,}:
+ [HE,RA] Add 'package-contains-empty-directory' check, but ignore
dirs in /var and /etc and handle /usr/lib/perl5 and /usr/share/perl5
directories separately with a lower priority level since they're
very common. (Closes: #452316, #357838)
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
--- End Message ---
Reply to: