Control: tag -1 + confirmed

Hi Kurt,

thanks for the bug report!

Kurt Roeckx wrote:
> I'm getting the following error:
> Can't locate GD.pm in @INC (you may need to install the GD module) (@INC 
> contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 
> /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 
> /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 
> /usr/local/lib/site_perl) at /tmp/wml.28518.tmp1 line 197.
> BEGIN failed--compilation aborted at /tmp/wml.28518.tmp1 line 197.

This seems to come from using wml::des::imgbg:

/usr/share/wml/include/des/imgbg.wml:use GD;
/usr/share/wml/include/des/imgbg.wml:            $im = GD::Image->new($size, 
$pixels);
/usr/share/wml/include/des/imgbg.wml:            $im = GD::Image->new($pixels, 
$size);
/usr/share/wml/include/des/imgdot.wml:use GD;
/usr/share/wml/include/des/imgdot.wml:        $im = GD::Image->new($x, $y);

So, indeed, there's a missing package relation.

> It seems that this was part of wml in older versions, but not in
> the current version.

Indeed. Previously there (i.e. in Stretch), there was a dependency on
libgd3 directly, because wml::des::imgbg used WML::GD which was a very
thin XS wrapper around the C library GD. That wrapper is gone now and
I missed the fact that it didn't just vanish but has been replaced
with calls to the existing perl module GD.

Will upload a fix shortly.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <[email protected]>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Reply via email to