Skip Menu |

This queue is for tickets about the GD CPAN distribution.

Report information
The Basics
Id: 120324
Status: resolved
Priority: 0/
Queue: GD

People
Owner: Nobody in particular
Requestors: amelia.ireland [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject:
Date: Tue, 21 Feb 2017 17:46:04 -0800
To: bug-GD [...] rt.cpan.org
From: Amelia Ireland <amelia.ireland [...] gmail.com>
macOS 10.12.3 (sierra) gd v2.2.4_1 via Homebrew perl 5.22.3 Building and testing GD-2.56 Building GD Extracting Image.pm (with variable substitutions) cc -I/usr/local/Cellar/gd/2.2.4_1/include -I/Users/gwg/perl5/perlbrew/perls/perl-5.22.3-thread-multi/lib/5.22.3/darwin-thread-multi-2level/CORE -DVERSION="2.56" -DXS_VERSION="2.56" -DHAVE_JPEG -DHAVE_FT -DHAVE_GIF -DHAVE_PNG -DHAVE_FONTCONFIG -c -mmacosx-version-min=10.12 -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -O3 -o lib/GD.o lib/GD.c lib/GD.xs:2199:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (value = hv_fetch(hash,"linespacing",strlen("linespacing"),0)) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/GD.xs:2199:16: note: place parentheses around the assignment to silence this warning if (value = hv_fetch(hash,"linespacing",strlen("linespacing"),0)) { ^ ( ) lib/GD.xs:2199:16: note: use '==' to turn this assignment into an equality comparison if (value = hv_fetch(hash,"linespacing",strlen("linespacing"),0)) { ^ == lib/GD.xs:2203:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (value = hv_fetch(hash,"charmap",strlen("charmap"),0)) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/GD.xs:2203:16: note: place parentheses around the assignment to silence this warning if (value = hv_fetch(hash,"charmap",strlen("charmap"),0)) { ^ ( ) lib/GD.xs:2203:16: note: use '==' to turn this assignment into an equality comparison if (value = hv_fetch(hash,"charmap",strlen("charmap"),0)) { ^ == 2 warnings generated. ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/GD/GD.bs') env MACOSX_DEPLOYMENT_TARGET=10.3 cc -mmacosx-version-min=10.12 -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector-strong -o blib/arch/auto/GD/GD.bundle lib/GD.o -L/usr/local/opt/libpng/lib -L/usr/local/Cellar/libpng/1.6.28/lib -L/usr/local/opt/freetype/lib -L/usr/local/opt/freetype/lib -L/usr/local/opt/fontconfig/lib -L/usr/local/opt/jpeg/lib -L/usr/local/opt/libtiff/lib -L/usr/local/opt/webp/lib -L/usr/local/Cellar/gd/2.2.4_1/lib -lz -L/usr/local/opt/libpng/lib -L/usr/local/Cellar/libpng/1.6.28/lib -lpng16 -L/usr/local/opt/freetype/lib -L/usr/local/opt/freetype/lib -lfreetype -L/usr/local/opt/fontconfig/lib -lfontconfig -L/usr/local/opt/jpeg/lib -ljpeg -L/usr/local/opt/libtiff/lib -ltiff -L/usr/local/opt/webp/lib -lwebp -liconv -lgd # Testing using gd2 support. # Failed test 'image comparison test 7' # at t/GD.t line 249. # Looks like you failed 1 test of 11. t/GD.t ........ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/11 subtests t/Polyline.t .. ok Test Summary Report ------------------- t/GD.t (Wstat: 256 Tests: 11 Failed: 1) Failed test: 9 Non-zero exit status: 1 Files=2, Tests=12, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.11 cusr 0.02 csys = 0.16 CPU) Result: FAIL Failed 1/2 test programs. 1/12 subtests failed.
On Tue Feb 21 20:47:00 2017, girlwithglasses wrote: Show quoted text
> macOS 10.12.3 (sierra) > gd v2.2.4_1 via Homebrew > perl 5.22.3 > > Building and testing GD-2.56 > Building GD > Extracting Image.pm (with variable substitutions) > > cc -I/usr/local/Cellar/gd/2.2.4_1/include > -I/Users/gwg/perl5/perlbrew/perls/perl-5.22.3-thread- > multi/lib/5.22.3/darwin-thread-multi-2level/CORE > -DVERSION="2.56" -DXS_VERSION="2.56" -DHAVE_JPEG -DHAVE_FT -DHAVE_GIF > -DHAVE_PNG -DHAVE_FONTCONFIG -c -mmacosx-version-min=10.12 -fno-common > -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector-strong > -I/usr/local/include -O3 -o lib/GD.o lib/GD.c > > lib/GD.xs:2199:16: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > if (value = > hv_fetch(hash,"linespacing",strlen("linespacing"),0)) { > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > lib/GD.xs:2199:16: note: place parentheses around the assignment to > silence > this warning > if (value = > hv_fetch(hash,"linespacing",strlen("linespacing"),0)) { > ^ > ( > ) > > lib/GD.xs:2199:16: note: use '==' to turn this assignment into an > equality > comparison > if (value = > hv_fetch(hash,"linespacing",strlen("linespacing"),0)) { > ^ > == > > lib/GD.xs:2203:16: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > if (value = hv_fetch(hash,"charmap",strlen("charmap"),0)) > { > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > lib/GD.xs:2203:16: note: place parentheses around the assignment to > silence > this warning > if (value = hv_fetch(hash,"charmap",strlen("charmap"),0)) > { > ^ > ( ) > > lib/GD.xs:2203:16: note: use '==' to turn this assignment into an > equality > comparison > if (value = hv_fetch(hash,"charmap",strlen("charmap"),0)) > { > ^ > == > > 2 warnings generated. > > ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/GD/GD.bs') > > env MACOSX_DEPLOYMENT_TARGET=10.3 cc -mmacosx-version-min=10.12 > -bundle > -undefined dynamic_lookup -L/usr/local/lib -fstack-protector-strong -o > blib/arch/auto/GD/GD.bundle lib/GD.o -L/usr/local/opt/libpng/lib > -L/usr/local/Cellar/libpng/1.6.28/lib -L/usr/local/opt/freetype/lib > -L/usr/local/opt/freetype/lib -L/usr/local/opt/fontconfig/lib > -L/usr/local/opt/jpeg/lib -L/usr/local/opt/libtiff/lib > -L/usr/local/opt/webp/lib -L/usr/local/Cellar/gd/2.2.4_1/lib -lz > -L/usr/local/opt/libpng/lib -L/usr/local/Cellar/libpng/1.6.28/lib > -lpng16 > -L/usr/local/opt/freetype/lib -L/usr/local/opt/freetype/lib -lfreetype > -L/usr/local/opt/fontconfig/lib -lfontconfig -L/usr/local/opt/jpeg/lib > -ljpeg -L/usr/local/opt/libtiff/lib -ltiff -L/usr/local/opt/webp/lib > -lwebp > -liconv -lgd > > # Testing using gd2 support. > > # Failed test 'image comparison test 7' > # at t/GD.t line 249. > # Looks like you failed 1 test of 11. > > t/GD.t ........ > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/11 subtests > t/Polyline.t .. ok > > Test Summary Report > ------------------- > > t/GD.t (Wstat: 256 Tests: 11 Failed: 1) > Failed test: 9 > Non-zero exit status: 1 > > Files=2, Tests=12, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.11 cusr > 0.02 csys = 0.16 CPU) > Result: FAIL > Failed 1/2 test programs. 1/12 subtests failed.
Fixed with RURBAN/GD-2.56_03.tar.gz and the upcoming official RURBAN/GD-2.57.tar.gz -- Reini Urban