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.

-- 
Uses the deprecated "sv_undef" instead of the preferred "PL_sv_undef":

gcc -c -I/usr/include/rpm -fno-strict-aliasing -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2     -DVERSION=\"0.1\" 
-DXS_VERSION=\"0.1\" -fpic -I/usr/local/lib/perl5/5.6.0/ppc-linux/CORE  Header/Header.c
Header.xs: In function `rpmhdr_create':
Header.xs:150: `sv_undef' undeclared (first use in this function)
Header.xs:150: (Each undeclared identifier is reported only once
Header.xs:150: for each function it appears in.)
Header.xs: In function `rpmhdr_TIEHASH':
Header.xs:239: `sv_undef' undeclared (first use in this function)
Header.xs: In function `rpmhdr_FETCH':
Header.xs:296: `sv_undef' undeclared (first use in this function)
Header.xs: In function `XS_RPM__Header_FIRSTKEY':
Header.xs:932: `sv_undef' undeclared (first use in this function)
Header.xs: In function `XS_RPM__Header_NEXTKEY':
Header.xs:953: `sv_undef' undeclared (first use in this function)
make: *** [Header/Header.o] Error 1
  /usr/bin/make  -- NOT OK
Running make test
  Oops, make had returned bad status
Running make install
  Oops, make had returned bad status

Using "perl Makefile.PL POLLUTE=1" allows the module to build, but the
test still fail:

bin@schinder% make test
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/01_database.......dubious                                                  
        Test returned status 0 (wstat 11, 0xb)
t/02_headers........rpmdb_TIEHASH: rpmdbOpen failed at t/02_headers.t line 8.
t/02_headers........dubious                                                  
        Test returned status 0 (wstat 11, 0xb)
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/01_database.t   0    11    ??   ??       %  ??
t/02_headers.t    0    11    ??   ??       %  ??
Failed 2/3 test scripts, 33.33% okay. 0/4 subtests failed, 100.00% okay.
make: *** [test_dynamic] Error 2


bin@schinder% perl -Mblib t/01_database.t 
Using /usr/local/src/.cpan/build/Perl-RPM-0.1/blib
1..11
Segmentation fault

(gdb) r -Mblib t/01_database.t
Starting program: /usr/local/bin/perl -Mblib t/01_database.t
Using /usr/local/src/.cpan/build/Perl-RPM-0.1/blib
1..11

Program received signal SIGSEGV, Segmentation fault.
0x1006c040 in Perl_newRV_noinc ()
(gdb) bt
#0  0x1006c040 in Perl_newRV_noinc ()
#1  0xfd3dacc in XS_RPM__Database_TIEHASH ()
   from /usr/local/src/.cpan/build/Perl-RPM-0.1/blib/arch/auto/RPM/RPM.so
#2  0x1006245c in Perl_pp_entersub ()
#3  0x10014d84 in S_call_body ()
#4  0x10014834 in perl_call_sv ()
#5  0x10090dcc in Perl_pp_tie ()
#6  0x1005b48c in Perl_runops_standard ()
#7  0x100141a0 in S_run_body ()
#8  0x10013e18 in perl_run ()
#9  0x100113d4 in main ()
#10 0xfdd47dc in __libc_start_main (argc=3, argv=0x7ffff9f4, envp=0x7ffffa04, 
    auxvec=0x7ffffaa8, rtld_fini=0x1, stinfo=0x100b4660, 
    stack_on_entry=0x100bd8f0) at ../sysdeps/powerpc/elf/libc-start.c:106
#11 0x0 in ?? ()


bin@schinder% perl -Mblib t/02_headers.t 
Using /usr/local/src/.cpan/build/Perl-RPM-0.1/blib
rpmdb_TIEHASH: rpmdbOpen failed at t/02_headers.t line 8.
Segmentation fault

(gdb) r -Mblib t/02_headers.t
Starting program: /usr/local/bin/perl -Mblib t/02_headers.t
Using /usr/local/src/.cpan/build/Perl-RPM-0.1/blib
rpmdb_TIEHASH: rpmdbOpen failed at t/02_headers.t line 8.

Program received signal SIGSEGV, Segmentation fault.
0x1006c040 in Perl_newRV_noinc ()
(gdb) bt
#0  0x1006c040 in Perl_newRV_noinc ()
#1  0xfd3dacc in XS_RPM__Database_TIEHASH ()
   from /usr/local/src/.cpan/build/Perl-RPM-0.1/blib/arch/auto/RPM/RPM.so
#2  0x1006245c in Perl_pp_entersub ()
#3  0x10014d84 in S_call_body ()
#4  0x10014834 in perl_call_sv ()
#5  0x10090dcc in Perl_pp_tie ()
#6  0x1005b48c in Perl_runops_standard ()
#7  0x100141a0 in S_run_body ()
#8  0x10013e18 in perl_run ()
#9  0x100113d4 in main ()
#10 0xfdd47dc in __libc_start_main (argc=3, argv=0x7ffff9f4, envp=0x7ffffa04, 
    auxvec=0x7ffffaa8, rtld_fini=0x1, stinfo=0x100b4660, 
    stack_on_entry=0x100bd8f0) at ../sysdeps/powerpc/elf/libc-start.c:106
#11 0x0 in ?? ()

bin@schinder% rpm --version
RPM version 3.0.4



--

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