Subject: | multiple test failures with perl 5.18 |
$ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor
Found these python executables on your PATH:
1. /usr/bin/python
Use which? [1] 1
Using /usr/bin/python
Using These Settings:
Extra Libs: -lpthread -ldl -lutil
Python Lib: -L/usr/lib/python2.7/config -lpython2.7
Includes: -I/usr/include/python2.7
Extra Flags: none (perl Makefile.PL --help for details)
Checking if your kit is complete...
Looks good
Writing Makefile for Inline::Python
Writing MYMETA.yml and MYMETA.json
$ make -j24
/usr/bin/perl5.18.0 /usr/lib/perl5/5.18.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.18.0/ExtUtils/typemap Python.xs > Python.xsc && mv Python.xsc Python.c
gcc -c -I/usr/include/python2.7 -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pthread -DVERSION=\"0.41\" -DXS_VERSION=\"0.41\" -fPIC "-I/usr/lib/perl5/5.18.0/i386-linux-thread-multi/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL py2pl.c
gcc -c -I/usr/include/python2.7 -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pthread -DVERSION=\"0.41\" -DXS_VERSION=\"0.41\" -fPIC "-I/usr/lib/perl5/5.18.0/i386-linux-thread-multi/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL perlmodule.c
gcc -c -I/usr/include/python2.7 -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pthread -DVERSION=\"0.41\" -DXS_VERSION=\"0.41\" -fPIC "-I/usr/lib/perl5/5.18.0/i386-linux-thread-multi/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL util.c
Running Mkbootstrap for Inline::Python ()
chmod 644 Python.bs
cp Python.bs blib/arch/auto/Inline/Python/Python.bs
chmod 644 blib/arch/auto/Inline/Python/Python.bs
cp Python.pod blib/lib/Inline/Python.pod
cp Python.pm blib/lib/Inline/Python.pm
gcc -c -I/usr/include/python2.7 -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pthread -DVERSION=\"0.41\" -DXS_VERSION=\"0.41\" -fPIC "-I/usr/lib/perl5/5.18.0/i386-linux-thread-multi/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL Python.c
py2pl.c: In function 'croak_python_exception':
py2pl.c:450:9: warning: format '%i' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat]
rm -f blib/arch/auto/Inline/Python/Python.so
LD_RUN_PATH="/usr/lib/python2.7/config" gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pthread -L/usr/local/lib Python.o py2pl.o perlmodule.o util.o -o blib/arch/auto/Inline/Python/Python.so \
-L/usr/lib/python2.7/config -lpython2.7 -lpthread -ldl -lutil \
chmod 755 blib/arch/auto/Inline/Python/Python.so
Manifying blib/man3/Inline::Python.3pm
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.18.0 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00init.t ............. ok
t/01testpl.t ........... ok
t/02testpl.t ........... ok
t/03parse.t ............ ok
t/04func.t .............
All 3 subtests passed
t/05JAxH.t ............. ok
t/06dict.t .............
All 6 subtests passed
t/07nherit.t ...........
All 5 subtests passed
t/08ipyobj.t ........... ok
t/09bind.t ............. ok
t/10pyeval.t ...........
All 6 subtests passed
t/11factor.t ........... ok
t/12evnodd.t ........... ok
t/13fibbon.t ........... ok
t/14study.t ............ ok
t/15anon.t .............
All 2 subtests passed
t/16evalpy.t ...........
All 11 subtests passed
t/17once.t ............. ok
t/18newclass.t .........
All 5 subtests passed
t/19testref.t ..........
Failed 51/57 subtests
t/20unicode.t .......... ok
t/21arrayref.t ......... ok
t/22int.t .............. ok
t/23getattr.t .......... ok
t/24getitem.t .......... ok
t/25py_sub.t ...........
Failed 13/16 subtests
t/26undef.t ............ ok
t/27pyattrs.t ..........
Failed 4/14 subtests
t/28exception.t ........
All 6 subtests passed
t/29named_params.t ..... ok
t/30floats.t ........... ok
t/31stringification.t ..
All 2 subtests passed
Test Summary Report
-------------------
t/04func.t (Wstat: 11 Tests: 3 Failed: 0)
Non-zero wait status: 11
t/06dict.t (Wstat: 11 Tests: 6 Failed: 0)
Non-zero wait status: 11
t/07nherit.t (Wstat: 11 Tests: 5 Failed: 0)
Non-zero wait status: 11
t/10pyeval.t (Wstat: 11 Tests: 6 Failed: 0)
Non-zero wait status: 11
t/15anon.t (Wstat: 11 Tests: 2 Failed: 0)
Non-zero wait status: 11
t/16evalpy.t (Wstat: 11 Tests: 11 Failed: 0)
Non-zero wait status: 11
t/18newclass.t (Wstat: 11 Tests: 5 Failed: 0)
Non-zero wait status: 11
t/19testref.t (Wstat: 11 Tests: 6 Failed: 0)
Non-zero wait status: 11
Parse errors: Bad plan. You planned 57 tests but ran 6.
t/25py_sub.t (Wstat: 11 Tests: 3 Failed: 0)
Non-zero wait status: 11
Parse errors: Bad plan. You planned 16 tests but ran 3.
t/27pyattrs.t (Wstat: 11 Tests: 10 Failed: 0)
Non-zero wait status: 11
Parse errors: Bad plan. You planned 14 tests but ran 10.
t/28exception.t (Wstat: 11 Tests: 6 Failed: 0)
Non-zero wait status: 11
t/31stringification.t (Wstat: 11 Tests: 2 Failed: 0)
Non-zero wait status: 11
Files=32, Tests=727, 2 wallclock secs ( 0.09 usr 0.03 sys + 1.27 cusr 0.17 csys = 1.56 CPU)
Result: FAIL
Failed 12/32 test programs. 0/727 subtests failed.
make: *** [test_dynamic] Error 255
Using perl 5.18.0 on Mageia.