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

Bug#663459: should depend on locales



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



Reply to: