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. <ballo...@debian.org> Imagine a large red swirl here.
#! /usr/bin/perl -w use Chart::LinesPoints; @data = map { [$_,$_] } (1..$ARGV[0]); $obj=Chart::LinesPoints->new (700,500); $obj->png ("testchart.png", \@data);