Subject: | Tests fail for version 3.2 |
The tests fails for v3.2 as below.
IS this a general issue or something specific (wrong) with my/our environment?
Running install for module 'Filesys::SmbClient'
Error reading distroprefs file Catalyst-Authentication-Store-LDAP-1.013.yml, skipping: Alert: While trying to 'parse' YAML
file
'/disk/jkns/workspace/perl-nap-CPAN/conf/CPAN_distroprefs/Catalyst-Authentication-Store-LDAP-1.013.yml'
with 'YAML' the following error was encountered:
YAML Error: Can't parse double quoted string
Code: YAML_PARSE_ERR_BAD_DOUBLE
Line: 7
Document: 1
at /disk/jkns/workspace/perl-nap-CPAN/build/tmp/perl-nap-5.14.4-2013.05.02.12.ga9e6fe0-build/opt/xt/xt-
perl/lib/site_perl/5.14.4/YAML/Loader.pm line 523
Running make for N/NE/NETAPORTER/Filesys-SmbClient-3.2.tar.gz
Checksum for /disk/jkns/workspace/perl-nap-CPAN/build/NAP-CPANSITE/authors/id/N/NE/NETAPORTER/Filesys-
SmbClient-3.2.tar.gz ok
Filesys-SmbClient-3.2/
Filesys-SmbClient-3.2/MANIFEST
Filesys-SmbClient-3.2/t/
Filesys-SmbClient-3.2/t/03tie_perl56.t
Filesys-SmbClient-3.2/t/02tie.t
Filesys-SmbClient-3.2/t/01base.t
Filesys-SmbClient-3.2/SmbClient.pm
Filesys-SmbClient-3.2/smb2www-2.cgi
Filesys-SmbClient-3.2/typemap
Filesys-SmbClient-3.2/config.h.in
Filesys-SmbClient-3.2/Makefile.PL
Filesys-SmbClient-3.2/META.yml
Filesys-SmbClient-3.2/libauthSamba.c
Filesys-SmbClient-3.2/README
Filesys-SmbClient-3.2/configure.in
Filesys-SmbClient-3.2/libauthSamba.h
Filesys-SmbClient-3.2/smb2www.css
Filesys-SmbClient-3.2/SmbClient.xs
Filesys-SmbClient-3.2/COPYING
Filesys-SmbClient-3.2/configure
Filesys-SmbClient-3.2/Changes
CPAN.pm: Going to build N/NE/NETAPORTER/Filesys-SmbClient-3.2.tar.gz
I search in: /disk/jkns/workspace/perl-nap-CPAN/build/tmp/perl-nap-5.14.4-2013.05.02.12.ga9e6fe0-build/opt/xt/xt-
perl/include
/usr/pgsql-9.0/include
/opt/xt/xt-perl/include
/usr/s/include
/include
/usr/local/samba/include
/usr/local/include
/usr/include
/usr/local/samba3/include
Where can I find libsmbclient.h ? [/usr/include] /usr/include
I search in: /disk/jkns/workspace/perl-nap-CPAN/build/tmp/perl-nap-5.14.4-2013.05.02.12.ga9e6fe0-build/opt/xt/xt-
perl/lib
/usr/pgsql-9.0/lib
/opt/xt/xt-perl/lib
/usr/s/lib
/lib
/usr/local/samba/lib
/usr/local/lib
/usr/lib
/usr/local/samba3/lib
Where can I find libsmbclient.so ? [/usr/lib] /usr/lib
Do you want make tests ?(you will be prompted for server /
worgroup / share / user / password to make read write access. [yes] yes
Server ? [localhost] localhost
Share ? [homes] homes
Workgroup/Domain ? []
Smb user ? [build] build
Smb password ?
Compile module with trace to STDERR ? [no] no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for working alloca.h... yes
checking for alloca... yes
checking for smbc_mkdir in -lsmbclient... yes
checking for smbc_open in -lsmbclient... yes
checking for smbc_fstat in -lsmbclient... yes
checking for smbc_init_context in -lsmbclient... yes
Good you have SMBCTXX->flags
You use SMBCTXX->close_fn (release >= 3.0.20).
configure: creating ./config.status
config.status: creating config.h
Checking if your kit is complete...
Looks good
Writing Makefile for Filesys::SmbClient
Writing MYMETA.yml and MYMETA.json
cp SmbClient.pm blib/lib/Filesys/SmbClient.pm
AutoSplitting blib/lib/Filesys/SmbClient.pm (blib/lib/auto/Filesys/SmbClient)
gcc -c -I/usr/include -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 -m64 -mtune=generic -DVERSION=\"3.2\" -DXS_VERSION=\"3.2\" -fpic "-I/disk/jkns/workspace/perl-
nap-CPAN/build/tmp/perl-nap-5.14.4-2013.05.02.12.ga9e6fe0-build/opt/xt/xt-perl/lib/5.14.4/x86_64-linux/CORE"
libauthSamba.c
/disk/jkns/workspace/perl-nap-CPAN/build/tmp/perl-nap-5.14.4-2013.05.02.12.ga9e6fe0-build/opt/xt/xt-
perl/bin/perl /disk/jkns/workspace/perl-nap-CPAN/build/tmp/perl-nap-5.14.4-2013.05.02.12.ga9e6fe0-
build/opt/xt/xt-perl/lib/5.14.4/ExtUtils/xsubpp -typemap /disk/jkns/workspace/perl-nap-CPAN/build/tmp/perl-nap-
5.14.4-2013.05.02.12.ga9e6fe0-build/opt/xt/xt-perl/lib/5.14.4/ExtUtils/typemap -typemap typemap SmbClient.xs >
SmbClient.xsc && mv SmbClient.xsc SmbClient.c
Running Mkbootstrap for Filesys::SmbClient ()
libauthSamba.c: In function 'ask_auth_fn':
libauthSamba.c:80: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
libauthSamba.c:88: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
libauthSamba.c:96: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
chmod 644 SmbClient.bs
cp SmbClient.bs blib/arch/auto/Filesys/SmbClient/SmbClient.bs
chmod 644 blib/arch/auto/Filesys/SmbClient/SmbClient.bs
gcc -c -I/usr/include -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 -m64 -mtune=generic -DVERSION=\"3.2\" -DXS_VERSION=\"3.2\" -fpic "-I/disk/jkns/workspace/perl-
nap-CPAN/build/tmp/perl-nap-5.14.4-2013.05.02.12.ga9e6fe0-build/opt/xt/xt-perl/lib/5.14.4/x86_64-linux/CORE"
SmbClient.c
SmbClient.xs: In function 'XS_Filesys__SmbClient__init':
SmbClient.xs:46: warning: implicit declaration of function 'smbc_setDebug'
SmbClient.xs:48: warning: implicit declaration of function 'smbc_setFunctionAuthData'
rm -f blib/arch/auto/Filesys/SmbClient/SmbClient.so
LD_RUN_PATH="/usr/lib" gcc -shared -L/usr/local/lib -L/usr/lib64 -L/lib64 -fstack-protector libauthSamba.o SmbClient.o
-o blib/arch/auto/Filesys/SmbClient/SmbClient.so \
-L/usr/lib -lsmbclient \
chmod 755 blib/arch/auto/Filesys/SmbClient/SmbClient.so
Manifying blib/man3/Filesys::SmbClient.3
NETAPORTER/Filesys-SmbClient-3.2.tar.gz
/usr/bin/make -j 3 -j 3 -- OK
Running make test
PERL_DL_NONLAZY=1 /disk/jkns/workspace/perl-nap-CPAN/build/tmp/perl-nap-5.14.4-2013.05.02.12.ga9e6fe0-
build/opt/xt/xt-perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Can't load '/disk/jkns/workspace/perl-nap-CPAN/build/dot_cpan/build/Filesys-SmbClient-3.2-
aIFeap/blib/arch/auto/Filesys/SmbClient/SmbClient.so' for module Filesys::SmbClient: /disk/jkns/workspace/perl-nap-
CPAN/build/dot_cpan/build/Filesys-SmbClient-3.2-aIFeap/blib/arch/auto/Filesys/SmbClient/SmbClient.so: undefined
symbol: smbc_setFunctionAuthData at /disk/jkns/workspace/perl-nap-CPAN/build/tmp/perl-nap-5.14.4-
2013.05.02.12.ga9e6fe0-build/opt/xt/xt-perl/lib/5.14.4/x86_64-linux/DynaLoader.pm line 190.
at t/01base.t line 4
Compilation failed in require at t/01base.t line 4.
BEGIN failed--compilation aborted at t/01base.t line 4.
t/01base.t ........
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't load '/disk/jkns/workspace/perl-nap-CPAN/build/dot_cpan/build/Filesys-SmbClient-3.2-
aIFeap/blib/arch/auto/Filesys/SmbClient/SmbClient.so' for module Filesys::SmbClient: /disk/jkns/workspace/perl-nap-
CPAN/build/dot_cpan/build/Filesys-SmbClient-3.2-aIFeap/blib/arch/auto/Filesys/SmbClient/SmbClient.so: undefined
symbol: smbc_setFunctionAuthData at /disk/jkns/workspace/perl-nap-CPAN/build/tmp/perl-nap-5.14.4-
2013.05.02.12.ga9e6fe0-build/opt/xt/xt-perl/lib/5.14.4/x86_64-linux/DynaLoader.pm line 190.
at t/02tie.t line 4
Compilation failed in require at t/02tie.t line 4.
BEGIN failed--compilation aborted at t/02tie.t line 4.
t/02tie.t .........
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't load '/disk/jkns/workspace/perl-nap-CPAN/build/dot_cpan/build/Filesys-SmbClient-3.2-
aIFeap/blib/arch/auto/Filesys/SmbClient/SmbClient.so' for module Filesys::SmbClient: /disk/jkns/workspace/perl-nap-
CPAN/build/dot_cpan/build/Filesys-SmbClient-3.2-aIFeap/blib/arch/auto/Filesys/SmbClient/SmbClient.so: undefined
symbol: smbc_setFunctionAuthData at /disk/jkns/workspace/perl-nap-CPAN/build/tmp/perl-nap-5.14.4-
2013.05.02.12.ga9e6fe0-build/opt/xt/xt-perl/lib/5.14.4/x86_64-linux/DynaLoader.pm line 190.
at t/03tie_perl56.t line 4
Compilation failed in require at t/03tie_perl56.t line 4.
BEGIN failed--compilation aborted at t/03tie_perl56.t line 4.
t/03tie_perl56.t ..
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Test Summary Report
-------------------
t/01base.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/02tie.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/03tie_perl56.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=3, Tests=0, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.11 cusr 0.02 csys = 0.15 CPU)
Result: FAIL
Failed 3/3 test programs. 0/0 subtests failed.
make: *** [test_dynamic] Error 2
NETAPORTER/Filesys-SmbClient-3.2.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports NETAPORTER/Filesys-SmbClient-3.2.tar.gz
Running make install
make test had returned bad status, won't install without force
Stopping: 'install' failed for 'Filesys::SmbClient'.
*** Filesys::SmbClient installation failed.
# Filesys::SmbClient failed to install: SADFACE