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

Bug#543149: console-setup: perl errors during installation



On Mon, Aug 31, 2009 at 07:11:11PM +0200, Yann Dirson wrote:
 
> If I understand correctly what happened with #480533, it was a
> utf8-related module that was already part of perl-base, which suddenly
> gained dependencies it did not have prior to that.  I thought we could be
> hitting the same problem again.

Yes, it's a very similar problem.

This one happens when /usr/bin/ckbcomp invokes uc or lc on a UTF-8
string. Consider:

with perl-modules installed:

# perl -le 'binmode(STDOUT, ":utf8"); print lc "\x{0100}"'               
ā

without perl-modules installed:

# perl -le 'binmode(STDOUT, ":utf8"); print lc "\x{0100}"'              
Use of uninitialized value $list in pattern match (m//) at /usr/share/perl/5.10/utf8_heavy.pl line 227.
Use of uninitialized value $x in scalar assignment at /usr/share/perl/5.10/utf8_heavy.pl line 242.
Use of uninitialized value $x in pattern match (m//) at /usr/share/perl/5.10/utf8_heavy.pl line 243.
Ā

Moving the contents of /usr/share/perl/5.10/unicore/To/ to perl-base 
would fix this. Feel free to reassign/clone/whatever to perl.
-- 
Niko Tyni   ntyni@debian.org



Reply to: