Subject: | Compilation warnings and failed tests on perl-5.20.2 |
Hi there,
I tried to install Digest-BLAKE2 module but the compilation thrown a few warnings and the tests failed to pass.
If you could have a look what is there problem? Here is the output:
GUNYA/Digest-BLAKE2-0.02.tar.gz
Has already been unwrapped into directory /home/dima/.cpan/build/Digest-BLAKE2-0.02-0
Configuring G/GU/GUNYA/Digest-BLAKE2-0.02.tar.gz with Build.PL
print() on closed filehandle $out_fh at Build.PL line 46.
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Digest-BLAKE2' version '0.02'
GUNYA/Digest-BLAKE2-0.02.tar.gz
/opt/perlbrew/perls/perl-5.20.2/bin/perl Build.PL --installdirs site -- OK
Running Build for G/GU/GUNYA/Digest-BLAKE2-0.02.tar.gz
Building Digest-BLAKE2
x86_64-pc-linux-gnu-gcc -Isrc -Istringencoders -Istringencoders -I/opt/perlbrew/perls/perl-5.20.2/lib/5.20.2/x86_64-linux-debug-thread-multi/CORE -fPIC -std=c99 -Wall -W -Wno-comment -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=core2 -g -o stringencoders/modp_b16.o stringencoders/modp_b16.c
x86_64-pc-linux-gnu-gcc -Isrc -Istringencoders -Istringencoders -I/opt/perlbrew/perls/perl-5.20.2/lib/5.20.2/x86_64-linux-debug-thread-multi/CORE -fPIC -std=c99 -Wall -W -Wno-comment -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=core2 -g -o stringencoders/arraytoc.o stringencoders/arraytoc.c
x86_64-pc-linux-gnu-gcc -Isrc -Istringencoders -Istringencoders -I/opt/perlbrew/perls/perl-5.20.2/lib/5.20.2/x86_64-linux-debug-thread-multi/CORE -fPIC -std=c99 -Wall -W -Wno-comment -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=core2 -g -o stringencoders/modp_b64w.o stringencoders/modp_b64w.c
x86_64-pc-linux-gnu-gcc -Isrc -Istringencoders -Istringencoders -I/opt/perlbrew/perls/perl-5.20.2/lib/5.20.2/x86_64-linux-debug-thread-multi/CORE -fPIC -std=c99 -Wall -W -Wno-comment -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=core2 -g -o stringencoders/modp_b64.o stringencoders/modp_b64.c
x86_64-pc-linux-gnu-gcc -Isrc -Istringencoders -Istringencoders -I/opt/perlbrew/perls/perl-5.20.2/lib/5.20.2/x86_64-linux-debug-thread-multi/CORE -fPIC -std=c99 -Wall -W -Wno-comment -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=core2 -g -o stringencoders/modp_b85.o stringencoders/modp_b85.c
x86_64-pc-linux-gnu-gcc -Isrc -Istringencoders -Istringencoders -I/opt/perlbrew/perls/perl-5.20.2/lib/5.20.2/x86_64-linux-debug-thread-multi/CORE -fPIC -std=c99 -Wall -W -Wno-comment -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=core2 -g -o stringencoders/modp_b64r.o stringencoders/modp_b64r.c
x86_64-pc-linux-gnu-gcc -Isrc -Istringencoders -Istringencoders -I/opt/perlbrew/perls/perl-5.20.2/lib/5.20.2/x86_64-linux-debug-thread-multi/CORE -DVERSION="0.02" -DXS_VERSION="0.02" -fPIC -std=c99 -Wall -W -Wno-comment -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=core2 -g -o lib/Digest/BLAKE2b.o lib/Digest/BLAKE2b.c
lib/Digest/BLAKE2b.c: In function ‘XS_Digest__BLAKE2b_new’:
lib/Digest/BLAKE2b.c:240:7: warning: unused variable ‘class’ [-Wunused-variable]
SV * class = ST(0)
^
ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Digest/BLAKE2b/BLAKE2b.bs')
x86_64-pc-linux-gnu-gcc -shared -march=core2 -g -L/usr/local/lib -fstack-protector -o blib/arch/auto/Digest/BLAKE2b/BLAKE2b.so lib/Digest/BLAKE2b.o stringencoders/modp_b16.o stringencoders/arraytoc.o stringencoders/modp_b64w.o stringencoders/modp_b64.o stringencoders/modp_b85.o stringencoders/modp_b64r.o
x86_64-pc-linux-gnu-gcc -Isrc -Istringencoders -Istringencoders -I/opt/perlbrew/perls/perl-5.20.2/lib/5.20.2/x86_64-linux-debug-thread-multi/CORE -DXS_VERSION="0.02" -DVERSION="0.02" -fPIC -std=c99 -Wall -W -Wno-comment -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=core2 -g -o lib/Digest/BLAKE2s.o lib/Digest/BLAKE2s.c
lib/Digest/BLAKE2s.c: In function ‘XS_Digest__BLAKE2s_new’:
lib/Digest/BLAKE2s.c:240:7: warning: unused variable ‘class’ [-Wunused-variable]
SV * class = ST(0)
^
ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Digest/BLAKE2s/BLAKE2s.bs')
x86_64-pc-linux-gnu-gcc -shared -march=core2 -g -L/usr/local/lib -fstack-protector -o blib/arch/auto/Digest/BLAKE2s/BLAKE2s.so lib/Digest/BLAKE2s.o stringencoders/modp_b16.o stringencoders/arraytoc.o stringencoders/modp_b64w.o stringencoders/modp_b64.o stringencoders/modp_b85.o stringencoders/modp_b64r.o
GUNYA/Digest-BLAKE2-0.02.tar.gz
./Build -- OK
Running Build test
t/00_compile.t .. ok
t/01_basic.t .... No subtests run
Test Summary Report
-------------------
t/01_basic.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
Files=2, Tests=3, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.08 cusr 0.00 csys = 0.12 CPU)
Result: FAIL
Failed 1/2 test programs. 0/3 subtests failed.
GUNYA/Digest-BLAKE2-0.02.tar.gz
./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports GUNYA/Digest-BLAKE2-0.02.tar.gz
Stopping: 'install' failed for 'G/GU/GUNYA/Digest-BLAKE2-0.02.tar.gz'.
Failed during this command:
GUNYA/Digest-BLAKE2-0.02.tar.gz : make_test NO