Bug#1098916: libchart-perl: limit of number of colors too low

Bill Allombert ballombe at debian.org
Tue Feb 25 22:17:37 GMT 2025


Package: libchart-perl
Version: 2.403.9-1
Severity: normal

Hello Debian Perl Group,

Upgrading popcon.debian.org to bookworm breaks the graphics due to an issue in
libchart-perl. I join a very simple test.

% perl test.pl 50

//OK

% perl test.pl 75
Use of uninitialized value in hash element at /usr/share/perl5/Chart/Base.pm line 1144.
Use of uninitialized value $arg in index at /usr/share/perl5/Graphics/Toolkit/Color.pm line 63.
Use of uninitialized value $arg in substr at /usr/share/perl5/Graphics/Toolkit/Color.pm line 64.
Use of uninitialized value $name in transliteration (tr///) at /usr/share/perl5/Graphics/Toolkit/Color/Constant.pm line 839.
Use of uninitialized value $name in lc at /usr/share/perl5/Graphics/Toolkit/Color/Constant.pm line 840.
Use of uninitialized value $arg in concatenation (.) or string at /usr/share/perl5/Graphics/Toolkit/Color.pm line 82.
'' is an unknown color name, please check Graphics::Toolkit::Color::Constant::all_names(). at /usr/share/perl5/Chart/Base.pm line 1165.
Unrecognized color for dataset73
 at test.pl line 10.

with bullseye, it works for at least 374.

Cheers,
-- 
Bill. <ballombe at debian.org>

Imagine a large red swirl here. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pl
Type: text/x-perl
Size: 163 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20250225/e420b077/attachment.pl>


More information about the pkg-perl-maintainers mailing list