cpanm (App::cpanminus) 1.5017 on perl 5.014002 built for arm-linux-thread-multi Work directory is /root/.cpanm/work/1344896751.5688 You have make /bin/make You have LWP 6.03 You have /bin/tar: tar (GNU tar) 1.26 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. Searching Image::Scale on cpanmetadb ... --> Working on Image::Scale Fetching http://www.cpan.org/authors/id/A/AG/AGRUNDMA/Image-Scale-0.08.tar.gz -> OK Unpacking Image-Scale-0.08.tar.gz Entering Image-Scale-0.08 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.62) Configuring Image-Scale-0.08 Running Makefile.PL Image::Scale will be built with: JPEG support: yes (/usr/include, version unknown) PNG support: yes (/usr/include, version 1.5.10) GIF support: yes (/usr/include, version 4.1, libgif) Checking if your kit is complete... Looks good Writing Makefile for Image::Scale Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.62) Checking if you have Test::NoWarnings 0 ... Yes (1.04) Building and testing Image-Scale-0.08 cp lib/Image/Scale.pm blib/lib/Image/Scale.pm /usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl5/ExtUtils/typemap -typemap typemap Scale.xs > Scale.xsc && mv Scale.xsc Scale.c Please specify prototyping behavior for Scale.xs (see perlxs manual) gcc -c -I. -I.. -Isrc -Iinclude -I/usr/include -I/usr/include -I/usr/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=armv5te -mfloat-abi=soft -DVERSION=\"0.08\" -DXS_VERSION=\"0.08\" -fPIC "-I/usr/lib/perl5/CORE" -O2 -Wall -Wno-unused-value -Wno-format-security -Winline -ffast-math -DHAVE_JPEG -DJPEG_VERSION=unknown -DHAVE_PNG -DPNG_VERSION=1.5.10 -DHAVE_GIF -DGIF_VERSION=4.1 Scale.c In file included from src/image.c:20:0, from Scale.xs:18: src/bmp.c: In function ‘image_bmp_read_header’: src/bmp.c:25:7: warning: variable ‘offset’ set but not used [-Wunused-but-set-variable] In file included from src/image.c:25:0, from Scale.xs:18: src/png.c: In function ‘image_png_read_buf’: src/png.c:43:2: warning: implicit declaration of function ‘png_memcpy’ [-Wimplicit-function-declaration] In file included from src/image.c:28:0, from Scale.xs:18: src/gif.c: In function ‘image_gif_load’: src/gif.c:82:7: warning: variable ‘BackGround’ set but not used [-Wunused-but-set-variable] Scale.c: In function ‘XS_Image__Scale___cleanup’: Scale.c:568:7: warning: variable ‘self’ set but not used [-Wunused-but-set-variable] Running Mkbootstrap for Image::Scale () chmod 644 Scale.bs rm -f blib/arch/auto/Image/Scale/Scale.so gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=armv5te -mfloat-abi=soft -Wl,-z,relro -L/usr/local/lib Scale.o -o blib/arch/auto/Image/Scale/Scale.so \ -ljpeg -lpng -lz -lgif \ chmod 755 blib/arch/auto/Image/Scale/Scale.so cp Scale.bs blib/arch/auto/Image/Scale/Scale.bs chmod 644 blib/arch/auto/Image/Scale/Scale.bs Manifying blib/man3/Image::Scale.3pm PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Failed test 'use Image::Scale;' # at t/01use.t line 3. # Tried to use 'Image::Scale'. # Error: Can't load '/root/.cpanm/work/1344896751.5688/Image-Scale-0.08/blib/arch/auto/Image/Scale/Scale.so' for module Image::Scale: /root/.cpanm/work/1344896751.5688/Image-Scale-0.08/blib/arch/auto/Image/Scale/Scale.so: undefined symbol: png_memcpy at /usr/lib/perl5/DynaLoader.pm line 190. # at (eval 4) line 2 # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # Looks like you failed 1 test of 1. t/01use.t .......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/02pod.t .......... skipped: Test::Pod 1.14 required t/03podcoverage.t .. skipped: Test::Pod::Coverage 1.04 required t/04critic.t ....... skipped: Critic test only for developers. Can't load '/root/.cpanm/work/1344896751.5688/Image-Scale-0.08/blib/arch/auto/Image/Scale/Scale.so' for module Image::Scale: /root/.cpanm/work/1344896751.5688/Image-Scale-0.08/blib/arch/auto/Image/Scale/Scale.so: undefined symbol: png_memcpy at /usr/lib/perl5/DynaLoader.pm line 190. at t/bmp.t line 9 Compilation failed in require at t/bmp.t line 9. BEGIN failed--compilation aborted at t/bmp.t line 9. # Looks like your test exited with 2 before it could output anything. t/bmp.t ............ Dubious, test returned 2 (wstat 512, 0x200) Failed 30/30 subtests Can't load '/root/.cpanm/work/1344896751.5688/Image-Scale-0.08/blib/arch/auto/Image/Scale/Scale.so' for module Image::Scale: /root/.cpanm/work/1344896751.5688/Image-Scale-0.08/blib/arch/auto/Image/Scale/Scale.so: undefined symbol: png_memcpy at /usr/lib/perl5/DynaLoader.pm line 190. at t/gif.t line 9 Compilation failed in require at t/gif.t line 9. BEGIN failed--compilation aborted at t/gif.t line 9. t/gif.t ............ Dubious, test returned 2 (wstat 512, 0x200) No subtests run Can't load '/root/.cpanm/work/1344896751.5688/Image-Scale-0.08/blib/arch/auto/Image/Scale/Scale.so' for module Image::Scale: /root/.cpanm/work/1344896751.5688/Image-Scale-0.08/blib/arch/auto/Image/Scale/Scale.so: undefined symbol: png_memcpy at /usr/lib/perl5/DynaLoader.pm line 190. at t/jpeg.t line 9 Compilation failed in require at t/jpeg.t line 9. BEGIN failed--compilation aborted at t/jpeg.t line 9. t/jpeg.t ........... Dubious, test returned 2 (wstat 512, 0x200) No subtests run Can't load '/root/.cpanm/work/1344896751.5688/Image-Scale-0.08/blib/arch/auto/Image/Scale/Scale.so' for module Image::Scale: /root/.cpanm/work/1344896751.5688/Image-Scale-0.08/blib/arch/auto/Image/Scale/Scale.so: undefined symbol: png_memcpy at /usr/lib/perl5/DynaLoader.pm line 190. at t/png.t line 9 Compilation failed in require at t/png.t line 9. BEGIN failed--compilation aborted at t/png.t line 9. t/png.t ............ Dubious, test returned 2 (wstat 512, 0x200) No subtests run Test Summary Report ------------------- t/01use.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/bmp.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 30 tests but ran 0. t/gif.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/jpeg.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/png.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=8, Tests=1, 18 wallclock secs ( 1.41 usr 0.11 sys + 11.33 cusr 0.71 csys = 13.56 CPU) Result: FAIL Failed 5/8 test programs. 1/1 subtests failed. make: *** [test_dynamic] Error 2 -> FAIL Installing Image::Scale failed. See /root/.cpanm/build.log for details.