On Tue, Feb 25, 2025 at 11:17:37PM +0100, Bill Allombert wrote: > 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.
Apparently, in Chart/Base.pm line 939 colors_default_spec was changed to include much less default colors compared to 2.4.10. At the very least, Chart/Base.pm should include some error checking. In any case, I have found a work-around for popcon.debian.org. Cheers, -- Bill. <ballo...@debian.org> Imagine a large red swirl here.