Bug#663459: should depend on locales

2012-03-11 Thread Peter Palfrader
Package: lintian
Version: 2.5.5~bpo60+1
Severity: important

Hi,

if locales is not installed (because usually locales-all does just fine
for all a system's needs) when lintian get installed, it does not create
/var/lib/lintian/locale/en_US.UTF-8.

This causes it to misbehave like this:
| weasel@valiant:~/projects/debian/debian/obfsproxy/packages/0.1.1$ lintian 
obfsproxy_0.1.1-1_amd64.changes
| W: obfsproxy source: out-of-date-standards-version 3.9.2 (current is 3.9.3)
| W: obfsproxy: old-fsf-address-in-copyright-file
| internal error: clean_env: could not find needed locale
| internal error: cannot run manpages check on package obfsproxywarning: 
skipping check of binary package obfsproxy
| Use of uninitialized value $ENV{LINTIAN_ROOT} in concatenation (.) or 
string at /usr/share/lintian/collection/unpacked line 26.
| Can't locate Lintian/Command.pm in @INC (@INC contains: /lib /etc/perl 
/usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 
/usr/local/lib/site_perl .) at /usr/share/lintian/collection/unpacked line 27.
| BEGIN failed--compilation aborted at /usr/share/lintian/collection/unpacked 
line 27.
| warning: removing collect info unpacked about package obfsproxy failed
| warning: skipping cleanup of source package obfsproxy
| Use of uninitialized value $ENV{LINTIAN_ROOT} in concatenation (.) or 
string at /usr/share/lintian/collection/unpacked line 26.
| Can't locate Lintian/Command.pm in @INC (@INC contains: /lib /etc/perl 
/usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 
/usr/local/lib/site_perl .) at /usr/share/lintian/collection/unpacked line 27.
| BEGIN failed--compilation aborted at /usr/share/lintian/collection/unpacked 
line 27.
| warning: removing collect info unpacked about package obfsproxy failed
| warning: skipping cleanup of binary package obfsproxy
| Use of uninitialized value $desc in substitution (s///) at 
/usr/share/lintian/checks/manpages line 225.
| Use of uninitialized value $desc in pattern match (m//) at 
/usr/share/lintian/checks/manpages line 226.
| Use of uninitialized value $desc in pattern match (m//) at 
/usr/share/lintian/checks/manpages line 228.
| W: obfsproxy: manpage-has-bad-whatis-entry usr/share/man/man1/obfsproxy.1.gz
| internal error: clean_env: could not find needed locale
| internal error: cannot run manpages check on package obfsproxywarning: 
skipping check of binary package obfsproxy
| warning: could not create status file for package obfsproxy: No such file or 
directory
| Failed to chdir to 
/tmp/temp-lintian-lab-kdYu0lEISJ/pool/o/obfsproxy/obfsproxy_0.1.1-1_source: No 
such file or directory
| warning: removing collect info unpacked about package obfsproxy failed
| warning: skipping cleanup of source package obfsproxy
| warning: could not create status file for package obfsproxy: No such file or 
directory
| Failed to chdir to 
/tmp/temp-lintian-lab-kdYu0lEISJ/pool/o/obfsproxy/obfsproxy_0.1.1-1_amd64_binary:
 No such file or directory
| warning: removing collect info unpacked about package obfsproxy failed
| warning: skipping cleanup of binary package obfsproxy
| warning: could not create status file for package obfsproxy: No such file or 
directory
| internal error: cannot read menu/lib file directory.
| internal error: cannot run menu-format check on package obfsproxywarning: 
skipping check of binary package obfsproxy
| warning: could not create status file for package obfsproxy: No such file or 
directory
| Failed to chdir to 
/tmp/temp-lintian-lab-kdYu0lEISJ/pool/o/obfsproxy/obfsproxy_0.1.1-1_source: No 
such file or directory
| warning: removing collect info unpacked about package obfsproxy failed
| warning: skipping cleanup of source package obfsproxy
| warning: could not create status file for package obfsproxy: No such file or 
directory
| Failed to chdir to 
/tmp/temp-lintian-lab-kdYu0lEISJ/pool/o/obfsproxy/obfsproxy_0.1.1-1_amd64_binary:
 No such file or directory
| warning: removing collect info unpacked about package obfsproxy failed
| warning: skipping cleanup of binary package obfsproxy
| warning: could not create status file for package obfsproxy: No such file or 
directory

Note that not only does it spew lots of warnings to stderr, it also prints
false positives to stdout (like manpage-has-bad-whatis-entry).

If locales is installed when lintian gets installed, everything is fine:
| weasel@valiant:~/projects/debian/debian/obfsproxy/packages/0.1.1$ lintian 
obfsproxy_0.1.1-1_amd64.changes
| W: obfsproxy source: out-of-date-standards-version 3.9.2 (current is 3.9.3)
| W: obfsproxy: old-fsf-address-in-copyright-file
| weasel@valiant:~/projects/debian/debian/obfsproxy/packages/0.1.1$


Cheers,
weasel



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#663459: should depend on locales

2012-03-11 Thread Peter Palfrader
On Sun, 11 Mar 2012, Peter Palfrader wrote:

 if locales is not installed (because usually locales-all does just fine
 for all a system's needs) when lintian get installed, it does not create
 /var/lib/lintian/locale/en_US.UTF-8.

(Note that Depends: libc-bin (= 2.13) | locales does not suffice,
because locales-all provides locales, but you probably care about
/usr/sbin/locale-gen which is only in locales, not locales-all.)

-- 
   |  .''`.   ** Debian **
  Peter Palfrader  | : :' :  The  universal
 http://www.palfrader.org/ | `. `'  Operating System
   |   `-http://www.debian.org/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org