Subject: | user.t test failure with perl 5.8.8 CentOS 5.3 |
[root@anubis Authen-SASL-Cyrus-0.12-F4oAxE]# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Authen::SASL::Cyrus
[root@anubis Authen-SASL-Cyrus-0.12-F4oAxE]# make
cp Cyrus.pod blib/lib/Authen/SASL/Cyrus.pod
cp Cyrus.pm blib/lib/Authen/SASL/Cyrus.pm
cp lib/Authen/SASL/Cyrus/Security.pm blib/lib/Authen/SASL/Cyrus/Security.pm
/usr/bin/perl /usr/lib/perl5/site_perl/5.8.8/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap Cyrus.xs >
Cyrus.xsc && mv Cyrus.xsc Cyrus.c
Please specify prototyping behavior for Cyrus.xs (see perlxs manual)
gcc -c -I/usr/local/include/sasl -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
-march=i386 -mtune=generic -fasynchronous-unwind-tables
-DVERSION=\"0.12\" -DXS_VERSION=\"0.12\" -fPIC
"-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" -DSASL2 -g Cyrus.c
Cyrus.xs: In function ‘PerlCallback’:
Cyrus.xs:140: warning: unused variable ‘intparam’
Cyrus.xs:140: warning: unused variable ‘i’
Cyrus.xs: In function ‘XS_Authen__SASL__Cyrus_client_new’:
Cyrus.xs:535: warning: operation on ‘sasl’ may be undefined
Cyrus.xs:531: warning: unused variable ‘val’
Cyrus.c:579: warning: unused variable ‘pkg’
Cyrus.c: In function ‘XS_Authen__SASL__Cyrus_client_start’:
Cyrus.c:696: warning: format ‘%d’ expects type ‘int’, but argument 3 has
type ‘long unsigned int’
Cyrus.c:692: warning: unused variable ‘RETVAL’
Cyrus.c: In function ‘XS_Authen__SASL__Cyrus_client_step’:
Cyrus.c:730: warning: format ‘%d’ expects type ‘int’, but argument 3 has
type ‘long unsigned int’
Cyrus.c:726: warning: unused variable ‘RETVAL’
Cyrus.c: In function ‘XS_Authen__SASL__Cyrus_encode’:
Cyrus.c:779: warning: format ‘%d’ expects type ‘int’, but argument 3 has
type ‘long unsigned int’
Cyrus.c:775: warning: unused variable ‘RETVAL’
Cyrus.c: In function ‘XS_Authen__SASL__Cyrus_decode’:
Cyrus.c:827: warning: format ‘%d’ expects type ‘int’, but argument 3 has
type ‘long unsigned int’
Cyrus.c:823: warning: unused variable ‘RETVAL’
Cyrus.c: In function ‘XS_Authen__SASL__Cyrus_callback’:
Cyrus.c:872: warning: format ‘%d’ expects type ‘int’, but argument 3 has
type ‘long unsigned int’
Cyrus.c: In function ‘XS_Authen__SASL__Cyrus_saslversion’:
Cyrus.c:945: warning: format ‘%d’ expects type ‘int’, but argument 3 has
type ‘long unsigned int’
Cyrus.c: In function ‘XS_Authen__SASL__Cyrus_error’:
Cyrus.c:978: warning: format ‘%d’ expects type ‘int’, but argument 3 has
type ‘long unsigned int’
Cyrus.c: In function ‘XS_Authen__SASL__Cyrus_code’:
Cyrus.c:1008: warning: format ‘%d’ expects type ‘int’, but argument 3
has type ‘long unsigned int’
Cyrus.c: In function ‘XS_Authen__SASL__Cyrus_diag’:
Cyrus.c:1036: warning: format ‘%d’ expects type ‘int’, but argument 3
has type ‘long unsigned int’
Cyrus.c: In function ‘XS_Authen__SASL__Cyrus_mechanism’:
Cyrus.c:1071: warning: format ‘%d’ expects type ‘int’, but argument 3
has type ‘long unsigned int’
Cyrus.c: In function ‘XS_Authen__SASL__Cyrus_host’:
Cyrus.c:1100: warning: format ‘%d’ expects type ‘int’, but argument 3
has type ‘long unsigned int’
Cyrus.c: In function ‘XS_Authen__SASL__Cyrus_user’:
Cyrus.c:1133: warning: format ‘%d’ expects type ‘int’, but argument 3
has type ‘long unsigned int’
Cyrus.c: In function ‘XS_Authen__SASL__Cyrus_service’:
Cyrus.c:1166: warning: format ‘%d’ expects type ‘int’, but argument 3
has type ‘long unsigned int’
Cyrus.c: In function ‘XS_Authen__SASL__Cyrus_property’:
Cyrus.c:1201: warning: format ‘%d’ expects type ‘int’, but argument 3
has type ‘long unsigned int’
Cyrus.c: In function ‘XS_Authen__SASL__Cyrus_DESTROY’:
Cyrus.c:1311: warning: format ‘%d’ expects type ‘int’, but argument 3
has type ‘long unsigned int’
Running Mkbootstrap for Authen::SASL::Cyrus ()
chmod 644 Cyrus.bs
rm -f blib/arch/auto/Authen/SASL/Cyrus/Cyrus.so
LD_RUN_PATH="/usr/lib" gcc -shared -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -L/usr/local/lib Cyrus.o -o
blib/arch/auto/Authen/SASL/Cyrus/Cyrus.so \
-lsasl2 \
chmod 755 blib/arch/auto/Authen/SASL/Cyrus/Cyrus.so
cp Cyrus.bs blib/arch/auto/Authen/SASL/Cyrus/Cyrus.bs
chmod 644 blib/arch/auto/Authen/SASL/Cyrus/Cyrus.bs
Manifying blib/man3/Authen::SASL::Cyrus.3pm
[root@anubis Authen-SASL-Cyrus-0.12-F4oAxE]#
[root@anubis Authen-SASL-Cyrus-0.12-F4oAxE]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/basic.t ..... ok
t/callback.t .. ok
t/user.t ...... No mechanisms available (did you set all needed
callbacks?) at t/user.t line 21.
t/user.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/4 subtests
Test Summary Report
-------------------
t/user.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 4 tests but ran 0.
Files=3, Tests=14, 1 wallclock secs ( 0.05 usr 0.00 sys + 0.07 cusr
0.02 csys = 0.14 CPU)
Result: FAIL
Failed 1/3 test programs. 0/14 subtests failed.
make: *** [test_dynamic] Error 2