Subject: | 'make test' Fails Due to 'equivalent to term' in Test |
I am going to install Net::Z3950::ZOOM via cpan on Centos 6.2 (x86_64)
managed by CPANEL/WHM on my VDS Machine
(http://paste.koha-community.org/456):
Show quoted text
> install Net::Z3950::ZOOM
Running install for module 'Net::Z3950::ZOOM'
Running make for M/MI/MIRK/Net-Z3950-ZOOM-1.28.tar.gz
Checksum for
/root/.cpan/sources/authors/id/M/MI/MIRK/Net-Z3950-ZOOM-1.28.tar.gz ok
CPAN.pm: Building M/MI/MIRK/Net-Z3950-ZOOM-1.28.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Net::Z3950::ZOOM
Writing MYMETA.yml and MYMETA.json
cp lib/Net/Z3950/ZOOM.pm blib/lib/Net/Z3950/ZOOM.pm
cp lib/ZOOM.pod blib/lib/ZOOM.pod
cp lib/ZOOM.pm blib/lib/ZOOM.pm
cp lib/Net/Z3950.pm blib/lib/Net/Z3950.pm
/usr/local/bin/perl /usr/local/lib/perl5/5.16.0/ExtUtils/xsubpp
-typemap /usr/local/lib/perl5/5.16.0/ExtUtils/typemap -typemap typemap
ZOOM.xs > ZOOM.xsc && mv ZOOM.xsc ZOOM.c
cc -c -pthread -DYAZ_POSIX_THREADS=1 -DYAZ_HAVE_XML2=1
-DYAZ_HAVE_XSLT=1 -DYAZ_HAVE_EXSLT=1 -I/usr/include/libxml2
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.28\"
-DXS_VERSION=\"1.28\" -fPIC
"-I/usr/local/lib/perl5/5.16.0/x86_64-linux/CORE" ZOOM.c
ZOOM.c: In function ‘XS_Net__Z3950__ZOOM_scanset_term’:
ZOOM.c:1560: warning: passing argument 3 of ‘ZOOM_scanset_term’ from
incompatible pointer type
/usr/include/yaz/zoom.h:253: note: expected ‘int *’ but argument is of
type ‘size_t *’
ZOOM.c:1560: warning: passing argument 4 of ‘ZOOM_scanset_term’ from
incompatible pointer type
/usr/include/yaz/zoom.h:253: note: expected ‘int *’ but argument is of
type ‘size_t *’
ZOOM.c: In function ‘XS_Net__Z3950__ZOOM_scanset_display_term’:
ZOOM.c:1598: warning: passing argument 3 of ‘ZOOM_scanset_display_term’
from incompatible pointer type
/usr/include/yaz/zoom.h:257: note: expected ‘int *’ but argument is of
type ‘size_t *’
ZOOM.c:1598: warning: passing argument 4 of ‘ZOOM_scanset_display_term’
from incompatible pointer type
/usr/include/yaz/zoom.h:257: note: expected ‘int *’ but argument is of
type ‘size_t *’
Running Mkbootstrap for Net::Z3950::ZOOM ()
chmod 644 ZOOM.bs
rm -f blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so
LD_RUN_PATH="/usr/lib/../lib64:/lib/../lib64" cc -shared -O2
-L/usr/local/lib -fstack-protector ZOOM.o -o
blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so \
-lyaz -lexslt -lxslt -lz -lm -lgcrypt -ldl -lgpg-error -lxml2
-lwrap -lpthread \
chmod 755 blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so
cp ZOOM.bs blib/arch/auto/Net/Z3950/ZOOM/ZOOM.bs
chmod 644 blib/arch/auto/Net/Z3950/ZOOM/ZOOM.bs
cp samples/zoom/zoomdump blib/script/zoomdump
/usr/local/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' --
blib/script/zoomdump
cp samples/zoom/zselect blib/script/zselect
/usr/local/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' --
blib/script/zselect
Manifying blib/man3/Net::Z3950::ZOOM.3
Manifying blib/man3/ZOOM.3
MIRK/Net-Z3950-ZOOM-1.28.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1-Net-Z3950-ZOOM.t .... ok
t/10-options.t .......... ok
t/11-option-callback.t .. ok
t/12-query.t ............ ok
t/13-resultset.t ........ ok
t/14-sorting.t .......... ok
t/15-scan.t ............. 3/81
# Failed test 'display term 1 (RESOURCES) equivalent to term (w)'
# at t/15-scan.t line 34.
# Failed test 'display term 3 (AUTOMATED) equivalent to term (warning)'
# at t/15-scan.t line 34.
# Failed test 'display term 4 (DIVISION) equivalent to term (washington)'
# at t/15-scan.t line 34.
# Failed test 'display term 5 (of) equivalent to term (waste)'
# at t/15-scan.t line 34.
# Failed test 'display term 6 (and) equivalent to term (water)'
# at t/15-scan.t line 34.
# Failed test 'display term 7 (and) equivalent to term (waters)'
# at t/15-scan.t line 34.
t/15-scan.t ............. 70/81 # Looks like you failed 6 tests of 81.
t/15-scan.t ............. Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/81 subtests
t/16-packages.t ......... ok
t/17-logging.t .......... ok
t/18-charset.t .......... ok
t/19-events.t ........... ok
t/2-ZOOM.t .............. ok
t/20-options.t .......... ok
t/21-option-callback.t .. ok
t/22-query.t ............ ok
t/23-resultset.t ........ ok
t/24-sorting.t .......... ok
t/25-scan.t ............. 2/81
# Failed test 'display term 1 (RESOURCES) equivalent to term (w)'
# at t/25-scan.t line 31.
# Failed test 'display term 3 (AUTOMATED) equivalent to term (warning)'
# at t/25-scan.t line 31.
# Failed test 'display term 4 (DIVISION) equivalent to term (washington)'
# at t/25-scan.t line 31.
# Failed test 'display term 5 (of) equivalent to term (waste)'
# at t/25-scan.t line 31.
# Failed test 'display term 6 (and) equivalent to term (water)'
# at t/25-scan.t line 31.
# Failed test 'display term 7 (and) equivalent to term (waters)'
# at t/25-scan.t line 31.
t/25-scan.t ............. 76/81 # Looks like you failed 6 tests of 81.
t/25-scan.t ............. Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/81 subtests
t/26-packages.t ......... ok
t/27-logging.t .......... ok
t/28-charset.t .......... ok
t/29-events.t ........... ok
Test Summary Report
-------------------
t/15-scan.t (Wstat: 1536 Tests: 81 Failed: 6)
Failed tests: 9, 17, 21, 25, 29, 33
Non-zero exit status: 6
t/25-scan.t (Wstat: 1536 Tests: 81 Failed: 6)
Failed tests: 9, 17, 21, 25, 29, 33
Non-zero exit status: 6
Files=22, Tests=700, 93 wallclock secs ( 0.17 usr 0.03 sys + 0.71 cusr
0.13 csys = 1.04 CPU)
Result: FAIL
Failed 2/22 test programs. 12/700 subtests failed.
make: *** [test_dynamic] Error 255
MIRK/Net-Z3950-ZOOM-1.28.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports MIRK/Net-Z3950-ZOOM-1.28.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
MIRK/Net-Z3950-ZOOM-1.28.tar.gz : make_test NO
I also try it manually:
# cd /root/.cpan/build/Net-Z3950-ZOOM-1.28-ZQCFS9
# make clean
# perl Makefile.PL
# make test
but it has the same result.
The installed yaz packages:
# rpm -qa *\yaz\*
yaz-3.0.49-1.el6.x86_64
libyaz-3.0.49-1.el6.x86_64
libyaz-devel-3.0.49-1.el6.x86_64