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

Bug#642047: [private/generate-profiles.pl] doesn't work without LINTIAN_ROOT set



On 2011-09-19 01:04, Jakub Wilk wrote:
> Package: lintian
> Version: 2.5.3
> Severity: wishlist
> 
> If LINTIAN_ROOT is unset private/generate-profiles.pl just dies:
> 
> $ private/generate-profiles.pl
> Use of uninitialized value $ENV{"LINTIAN_ROOT"} in concatenation (.) or
> string at private/generate-profiles.pl line 19.
> Can't locate Lintian/Data.pm in @INC (@INC contains: /lib /etc/perl
> /usr/local/lib/perl/5.12.4 /usr/local/share/perl/5.12.4 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12
> /usr/local/lib/site_perl .) at private/generate-profiles.pl line 20.
> BEGIN failed--compilation aborted at private/generate-profiles.pl line 20.
> 
> This is a bit annoying and also inconsistent with behavior of other
> private/ scripts (which either don't care about LINTIAN_ROOT at all or
> at least default to the current working directory if the variable is
> unset).
> 

Done as a part of commit d8a1449a3409ae51eb7a5c005dc7115d07f6edf3.  I am
closing this now, since it is not a "public" script so users (and most
downstream developers) are unlikely to have any benefit from this.  :)

~Niels




Reply to: