Bug#709048: libgd-gd2-perl: fails tests with current libgd2

Colin Watson cjwatson at ubuntu.com
Sat Jun 1 22:51:03 UTC 2013


Control: forwarded -1 https://rt.cpan.org/Public/Bug/Display.html?id=85789

On Mon, May 20, 2013 at 01:56:53PM +0100, Colin Watson wrote:
> libgd-gd2-perl fails to build in unstable as follows:
> 
>   PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
>   Testing using png support.
>   t/GD.t ........
>   1..12
>   ok 1
>   not ok 2
>   not ok 3
>   not ok 4
>   not ok 5
>   not ok 6
>   not ok 7
>   ok 8 # Skip, FreeType changes too frequently to be testable
>   not ok 9
>   ok 10 # Skip, JPEG test buggy
>   ok 11
>   ok 12

Both the libgd-gd2-noxpm-perl and libgd-gd2-perl variants of this bug
have the same cause: the regression test files need to be updated for
libgd 2.1.0-rc1.  I've verified that the result of doing so is visually
indistinguishable, and filed an upstream bug report with the files in
question:

  https://rt.cpan.org/Public/Bug/Display.html?id=85789

I think it would be reasonable to add these files to the Debian packages
(renaming them to the appropriate next in sequence, so you end up with
t/test.out.2.png-2, t/test.out.3.png-2, t/test.out.4.png-3,
t/test.out.5.png-2, t/test.out.6.png-2, t/test.out.7.png-2, and
t/test.out.9.png-3) and add them to debian/source/include-binaries.  I
can't really usefully attach a patch since binary files are involved,
but you can pull them from the link above.

Thanks,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]



More information about the pkg-perl-maintainers mailing list