Skip Menu |

This queue is for tickets about the DBD-Sybase CPAN distribution.

Report information
The Basics
Id: 14934
Status: resolved
Priority: 0/
Queue: DBD-Sybase

People
Owner: mpeppler [...] peppler.org
Requestors: spamcc [...] ntlworld.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.07
Fixed in: (no value)



Subject: failure in test main on AIX 5.2 ML06 server using perl 5.8.0
Looks like a little tweaking may be required for testing on AIX 5.2. Built using the C for AIX version 6 compiler. # make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/autocommit....ok t/base..........ok t/exec..........ok t/fail..........ok t/login.........ok t/main..........ok 24/33Can't use an undefined value as an ARRAY reference at /applications/home/fredcc/src/external/perlmod/DBD-Sybase-1.07/blib/lib/DBD/Sybase.pm line 355. # Looks like you planned 33 tests but only ran 24. # Looks like your test died just after 24. t/main..........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 25-33 Failed 9/33 tests, 72.73% okay t/multi_sth.....ok t/nsql..........ok t/place.........ok t/thread........skipped all skipped: this DBD::Sybase not configured to support iThreads t/xblk..........ok t/xblob.........ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/main.t 255 65280 33 9 27.27% 25-33 1 test skipped. Failed 1/12 test scripts, 91.67% okay. 9/221 subtests failed, 95.93% okay. make: 1254-004 The error code from the last command is 2. Stop. # uname -a AIX fred 2 5 0050C29A4C00 # oslevel -r 5200-06 # perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=aix, osvers=5.2.0.0, archname=aix-thread-multi uname='aix rocky 2 5 000ad7df4c00 ' config_args='' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc_r', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong', optimize='-O', cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT' ccversion='', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='ld', ldflags =' -brtl -b32' libpth=/lib /usr/lib /usr/ccs/lib libs=-lbind -lnsl -ldbm -ldl -lld -lm -lpthreads -lc_r -lcrypt -lbsd -lPW perllibs=-lbind -lnsl -ldl -lld -lm -lpthreads -lc_r -lcrypt -lbsd -lPW libc=/lib/libc.a, so=a, useshrplib=true, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -bE:/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/perl.exp' cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -bnoentry -lpthreads -lc_r' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under aix Compiled at Feb 24 2005 13:59:47 @INC: /usr/opt/perl5/lib/5.8.0/aix-thread-multi /usr/opt/perl5/lib/5.8.0 /usr/opt/perl5/lib/site_perl/5.8.0/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.0 /usr/opt/perl5/lib/site_perl .
[guest - Wed Oct 5 08:09:12 2005]: Show quoted text
> Looks like a little tweaking may be required for testing on AIX 5.2. > Built using the C for AIX version 6 compiler. > > t/main..........ok 24/33Can't use an undefined value as an ARRAY > reference at /applications/home/fredcc/src/external/perlmod/DBD- > Sybase-1.07/blib/lib/DBD/Sybase.pm line 355.
Which version of Sybase are you connecting to? The failure is in $dbh->type_info_all, which itself calls the sp_datatype_info stored proc to get the information. For some reason this call didn't return any rows in your case. Btw - this is not something that has changed in 1.07 - does 1.06 test cleanly in the same environment? Michael
[MEWP - Wed Oct 5 13:58:54 2005]: Show quoted text
> [guest - Wed Oct 5 08:09:12 2005]: >
> > Looks like a little tweaking may be required for testing on AIX
5.2. Show quoted text
> > Built using the C for AIX version 6 compiler. > > > > t/main..........ok 24/33Can't use an undefined value as an ARRAY > > reference at /applications/home/fredcc/src/external/perlmod/DBD- > > Sybase-1.07/blib/lib/DBD/Sybase.pm line 355.
> > Which version of Sybase are you connecting to? > > The failure is in $dbh->type_info_all, which itself calls the > sp_datatype_info stored proc to get the information. > For some reason this call didn't return any rows in your case. > > Btw - this is not something that has changed in 1.07 - does 1.06 test > cleanly in the same environment? > > Michael >
Issue resolved. A test server/database was created 'sharing' the same device as used by a filesystem! How the database ever managed to come up I do not know. Anyway all tests OK. make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "- e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/autocommit....ok t/base..........ok t/exec..........ok t/fail..........ok t/login.........ok t/main..........ok t/multi_sth.....ok t/nsql..........ok t/place.........ok t/thread........skipped all skipped: this DBD::Sybase not configured to support iThreads t/xblk..........ok t/xblob.........ok All tests successful, 1 test skipped. Files=12, Tests=221, 24 wallclock secs ( 3.68 cusr + 1.57 csys = 5.25 CPU) Target "test" is up to date. Chris Chris Holt
Resolved by user.