Bug#441229: java-package: Can't locate controllib.pl and parselog problems

Andreas Putzo andreas at putzo.net
Fri Sep 7 23:14:55 UTC 2007


package java-package
severity 441229 minor
retitle 441229 Use of 822-date is deprecated
thanks

Hi,

On Sep 07, Vincent Lönngren wrote:
> Package: java-package
> Version: 0.34
> Severity: normal
> 
> I'm not sure what this means, but it seems to prevent something or other 
> >from working like it should:
> 
> Done.
> 
> Testing extracted archive... okay.
> 
> Can't locate controllib.pl in @INC (@INC contains: /etc/perl 
> /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 
> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 
> /usr/local/lib/site_perl .) at /usr/bin/822-date line 11.

This is bug #440962 in dpkg-dev which is marked as pending.
(/usr/lib/dpkg/ is missing in @INC).
You could add 
 our $dpkglibdir="/usr/lib/dpkg";
 push(@INC, $dpkglibdir);
above the require "controllib.pl" in /usr/bin/822-date.
The parselog problem is a subsequent error of this and should
be gone after this has been fixed.

However, use of 822-date has been deprecated. I think we should 
change this in lib/j2se.sh to $( date -R ) instead of $( 822-date ).

Cheers,
Andreas





More information about the pkg-java-maintainers mailing list