This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible.  See
http://testers.cpan.org/

Please cc any replies to [EMAIL PROTECTED] to keep other
test volunteers informed and to prevent any duplicate effort.

-- 
The module is using the old, deprecated names "na" and "dowarn"
rather than the preferred "PL_na" and "PL_dowarn".

gcc -c  -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -O2     -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" -fpic 
-I/usr/local/lib/perl5/5.6.0/ppc-linux/CORE  Ternary_XS.c
Ternary_XS.c: In function `XS_Tree__Ternary_XS_new':
Ternary_XS.c:35: `na' undeclared (first use in this function)
Ternary_XS.c:35: (Each undeclared identifier is reported only once
Ternary_XS.c:35: for each function it appears in.)
Ternary_XS.xs: In function `XS_Tree__Ternary_XS_DESTROY':
Ternary_XS.xs:48: `na' undeclared (first use in this function)
Ternary_XS.xs: In function `XS_Tree__Ternary_XS_insert':
Ternary_XS.xs:66: `dowarn' undeclared (first use in this function)
Ternary_XS.xs:69: `na' undeclared (first use in this function)
Ternary_XS.xs: In function `XS_Tree__Ternary_XS_search':
Ternary_XS.xs:88: `dowarn' undeclared (first use in this function)
Ternary_XS.xs:92: `na' undeclared (first use in this function)
Ternary_XS.c:123: warning: assignment from incompatible pointer type
Ternary_XS.c:123: warning: assignment makes integer from pointer without a cast
Ternary_XS.xs: In function `XS_Tree__Ternary_XS_nodes':
Ternary_XS.xs:110: `na' undeclared (first use in this function)
Ternary_XS.xs: In function `XS_Tree__Ternary_XS_terminals':
Ternary_XS.xs:129: `na' undeclared (first use in this function)
Ternary_XS.xs: In function `XS_Tree__Ternary_XS_pmsearch':
Ternary_XS.xs:158: `dowarn' undeclared (first use in this function)
Ternary_XS.xs:167: `na' undeclared (first use in this function)
Ternary_XS.xs: In function `XS_Tree__Ternary_XS_traverse':
Ternary_XS.xs:201: `na' undeclared (first use in this function)
Ternary_XS.xs: In function `XS_Tree__Ternary_XS_nearsearch':
Ternary_XS.xs:232: `dowarn' undeclared (first use in this function)
Ternary_XS.xs:241: `na' undeclared (first use in this function)
make: *** [Ternary_XS.o] Error 1
  /usr/bin/make  -- NOT OK
Running make test
  Oops, make had returned bad status

The "perl Makefile.PL POLLUTE=1" back compatibility trick gets through
the build, but it still fails some tests:

PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib 
-I/usr/local/lib/perl5/5.6.0/ppc-linux -I/usr/local/lib/perl5/5.6.0 -e 'use 
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/00_load...........ok                                                       
t/02_new............ok                                                       
t/04_attrib.........ok                                                       
t/10_insert.........ok                                                       
t/15_search.........NOK 8FAILED tests 3-8                                    
        Failed 6/8 tests, 25.00% okay
t/40_pmsearch.......ok                                                       
t/45_nearsearch.....ok                                                       
t/50_traverse.......ok                                                       
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/15_search.t                 8    6  75.00%  3-8
Failed 1/8 test scripts, 87.50% okay. 6/129 subtests failed, 95.35% okay.
make: *** [test_dynamic] Error 29

bin@schinder% perl -Mblib t/15_search.t 
Using /usr/local/src/.cpan/build/Tree-Ternary_XS-0.03/blib
1..8
ok 1
ok 2
not ok 3
# Test 3 got: 'Tree::Ternary_XS=SCALAR(0x100dcc68)' (t/15_search.t at line 27)
#   Expected: '1'
not ok 4
# Test 4 got: 'Tree::Ternary_XS=SCALAR(0x100dcc68)' (t/15_search.t at line 29)
#   Expected: '0'
not ok 5
# Test 5 got: 'Tree::Ternary_XS=SCALAR(0x100dcc68)' (t/15_search.t at line 31)
#   Expected: '0'
not ok 6
# Test 6 got: 'Tree::Ternary_XS=SCALAR(0x100dcc68)' (t/15_search.t at line 33)
#   Expected: '0'
not ok 7
# Test 7 got: 'Tree::Ternary_XS=SCALAR(0x100dcc68)' (t/15_search.t at line 35)
#   Expected: '0'
not ok 8
# Test 8 got: 'Tree::Ternary_XS=SCALAR(0x100dcc68)' (t/15_search.t at line 37)
#   Expected: '1'


--

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.2.14, archname=ppc-linux
    uname='linux c22234-c.scllg1.pa.home.com 2.2.14 #2 sun jan 9 20:34:00 est 2000 ppc 
unknown '
    config_args='-Dcc=gcc -Dprefix=/usr/local -des'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='gcc', optimize='-O2', gccversion=2.95.2 19991024 (release/franzo)
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    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, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
    libc=/lib/libc-2.1.3.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Reply via email to