Bug#1086224: RC: Argument " " isn't numeric in division (/) at /usr/share/perl5/GD/SecurityImage/Magick.pm
Niko Tyni
ntyni at debian.org
Tue Oct 29 16:08:30 GMT 2024
On Tue, Oct 29, 2024 at 07:59:25AM +0000, Bastien Roucariès wrote:
> Package: libgd-securityimage-perl
> Version: 1.75-3
> Severity: serious
> Justification: Break transition imagemagick 7
>
> Dear Maintainer,
>
> Last autopkgtest for imagemagick7 fail with a lot of message on stderr.
FWIW here's a reduced test script showing the behaviour change in
ImageMagick that seems have caused (at least most?) of this.
#!/usr/bin/perl
use Image::Magick;
my $i = Image::Magick->new;
$i->Read('null:#ffffff');
use Data::Dumper;
my @a = $i->QueryFontMetrics(font => '');
print Dumper \@a;
This gives a list of thirteen integers on trixie, but
just one undef on sid.
Is this an intentional API change in ImageMagick 7 that GD::SecurityImage
should adapt to, or possibly a regression on the ImageMagick side?
> I suppose a depends on fonts is missing:
Please elaborate. Did ImageMagick 7 change something in (default?) font
handling? I couldn't easily find a summary of the changes.
> Moreinformation here:
> https://ci.debian.net/packages/i/imagemagick/testing/amd64/53694127/
Printing the generated image to the terminal at the end of your
autopkgtest check seems useless and clutters the log BTW.
https://ci.debian.net/packages/i/imagemagick/testing/amd64/53694127/#L1891
--
Niko Tyni ntyni at debian.org
More information about the pkg-perl-maintainers
mailing list