Subject: | GD-2.46 fails most tests with libgd 2.1.0-rc1 |
Date: | Sat, 1 Jun 2013 23:32:43 +0100 |
To: | bug-GD [...] rt.cpan.org |
From: | Colin Watson <cjwatson [...] ubuntu.com> |
libgd 2.1.0-rc1 (http://libgd.bitbucket.org/) causes GD-2.46 to fail
tests on Debian unstable and Ubuntu saucy; perl 5.14.2 in both cases.
https://launchpadlibrarian.net/140261612/buildlog_ubuntu-saucy-i386.libgd-gd2-perl_1%3A2.46-3build3_FAILEDTOBUILD.txt.gz
/usr/bin/make -C . CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall" CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall" CPPFLAGS="-D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro" test TEST_VERBOSE=1
make[1]: Entering directory `/build/buildd/libgd-gd2-perl-2.46'
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
Failed 7/12 subtests
(less 2 skipped subtests: 3 okay)
t/Polyline.t ..
1..1
# Running under perl version 5.014002 for linux
# Current time local: Sun May 19 23:19:10 2013
# Current time GMT: Sun May 19 23:19:10 2013
# Using Test.pm version 1.25_02
ok 1
ok
Test Summary Report
-------------------
t/GD.t (Wstat: 0 Tests: 12 Failed: 7)
Failed tests: 2-7, 9
Files=2, Tests=13, 0 wallclock secs ( 0.04 usr 0.00 sys + 0.12 cusr 0.00 csys = 0.16 CPU)
Result: FAIL
Failed 1/2 test programs. 7/13 subtests failed.
(Note that Debian carries a patch to disable test 10, hence the
discrepancy against the upstream code here.)
GD-2.49 contains no changes which would affect this.
I ran t/GD.t with --write and the resulting image files for the failing
tests are visually indistinguishable from previous ones, so I think this
is just another case where the test suite needs to be updated. I've
attached a tarball of the *_new files created this way for the affected
tests, which could be renamed into place if you so choose.
Thanks,
--
Colin Watson [cjwatson@ubuntu.com]
Message body not shown because it is not plain text.