Hello,

        I'm receiving the following warnings involving DBI.xs 
when running make on an SGI (IRIX-6.5.11 - DBI-1.32)...

"DBI.xs", line 919: warning(1178): argument is incompatible with
corresponding
          format string conversion
        (IV)DBIc_MY_H(imp_xxh), (IV)SvRVx(DBIc_MY_H(imp_xxh)),
        ^

Is this serious?

Make test fails t/40profile; however, this is likely due to the fact 
Time/HiRes.pm is not installed?
Make test also ends w/   *** Error code 2 (bu21),
this seems wrong?

Is it advisable to make install?
Any suggestions?

Thanks,
Paul


--------------------------------------
1. Makefile.PL
2. make
3. make test
4. perl -V
--------------------------------------

PB gly> perl Makefile.PL
*** Note:
    The optional PlRPC-modules (RPC::PlServer etc) are not installed.
    If you want to use the DBD::Proxy driver and DBI::ProxyServer
    modules, then you'll need to install the RPC::PlServer, RPC::PlClient,
    Storable and Net::Daemon modules. The CPAN Bundle::DBI may help you.
    You can install them any time after installing the DBI.
    You do *not* need these modules for typical DBI usage.

Optional modules are available from any CPAN mirror, in particular
    http://www.perl.com/CPAN/modules/by-module
    http://www.perl.org/CPAN/modules/by-module
    ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module

Creating extra DBI::PurePerl test: t/zz_01basics_pp.t 
Creating extra DBI::PurePerl test: t/zz_02dbidrv_pp.t 
Creating extra DBI::PurePerl test: t/zz_03hleak_pp.t 
Creating extra DBI::PurePerl test: t/zz_04mods_pp.t 
Creating extra DBI::PurePerl test: t/zz_05thrclone_pp.t 
Creating extra DBI::PurePerl test: t/zz_06attrs_pp.t 
Creating extra DBI::PurePerl test: t/zz_07kids_pp.t 
Creating extra DBI::PurePerl test: t/zz_10examp_pp.t 
Creating extra DBI::PurePerl test: t/zz_15array_pp.t 
Creating extra DBI::PurePerl test: t/zz_20meta_pp.t 
Creating extra DBI::PurePerl test: t/zz_30subclass_pp.t 
Creating extra DBI::PurePerl test: t/zz_40profile_pp.t 
Creating extra DBI::PurePerl test: t/zz_41prof_dump_pp.t 
Creating extra DBI::PurePerl test: t/zz_42prof_data_pp.t 
Creating extra DBI::PurePerl test: t/zz_60preparse_pp.t 
Creating extra DBI::PurePerl test: t/zz_70shell_pp.t 
Creating extra DBI::PurePerl test: t/zz_80proxy_pp.t 
Checking if your kit is complete...
Looks good
Writing Makefile for DBI

    Remember to actually *read* the README file!
    Use  'make' to build the software (dmake or nmake on Windows).
    Then 'make test' to execute self tests.
    Then 'make install' to install the DBI and then delete this working
    directory before unpacking and building any DBD::* drivers.

-------------------------------------------------------------

PB gly> make
         /bin/perl -I/usr/freeware/lib/perl5/5.6.1/irix-n32
-I/usr/freeware/lib/perl5/5.6.1 -MExtUtils::Command -e mkpath blib/lib/DBI
         rm -f blib/lib/DBI/Changes.pm
        cp Changes blib/lib/DBI/Changes.pm
cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBI/Format.pm blib/lib/DBI/Format.pm
cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
cp lib/DBI/Shell.pm blib/lib/DBI/Shell.pm
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
        /bin/perl -p -e "s/~DRIVER~/Perl/g" < blib/arch/auto/DBI/Driver.xst
> Perl.xsi
        /bin/perl -I/usr/freeware/lib/perl5/5.6.1/irix-n32
-I/usr/freeware/lib/perl5/5.6.1
/usr/freeware/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap
/usr/freeware/lib/perl5/5.6.1/ExtUtils/typemap Perl.xs > Perl.xsc && mv
Perl.xsc Perl.c
        cc -n32 -mips3 -IPA -c  -D_BSD_TYPES -D_BSD_TIME -woff
1009,1110,1174,1184,1552 -OPT:Olimit=0:space=ON -I/usr/freeware/include
-I/usr/include -O3    -DVERSION=\"1.32\"  -DXS_VERSION=\"1.32\"
-I/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE -DDBI_NO_THREADS Perl.c
        /bin/perl -I/usr/freeware/lib/perl5/5.6.1/irix-n32
-I/usr/freeware/lib/perl5/5.6.1
/usr/freeware/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap
/usr/freeware/lib/perl5/5.6.1/ExtUtils/typemap DBI.xs > DBI.xsc && mv
DBI.xsc DBI.c
        cc -n32 -mips3 -IPA -c  -D_BSD_TYPES -D_BSD_TIME -woff
1009,1110,1174,1184,1552 -OPT:Olimit=0:space=ON -I/usr/freeware/include
-I/usr/include -O3    -DVERSION=\"1.32\"  -DXS_VERSION=\"1.32\"
-I/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE -DDBI_NO_THREADS DBI.c
"DBI.xs", line 919: warning(1178): argument is incompatible with
corresponding
          format string conversion
        (IV)DBIc_MY_H(imp_xxh), (IV)SvRVx(DBIc_MY_H(imp_xxh)),
        ^

"DBI.xs", line 919: warning(1178): argument is incompatible with
corresponding
          format string conversion
        (IV)DBIc_MY_H(imp_xxh), (IV)SvRVx(DBIc_MY_H(imp_xxh)),
                                ^

"DBI.xs", line 920: warning(1178): argument is incompatible with
corresponding
          format string conversion
        (IV)imp_xxh, HvNAME(DBIc_IMP_STASH(imp_xxh)));
        ^

"DBI.xs", line 960: warning(1177): argument is incompatible with formal
          parameter
        SV *inner = dbih_inner(DBIc_MY_H(imp_xxh), msg);
                               ^

"DBI.xs", line 1066: warning(1178): argument is incompatible with
          corresponding format string conversion
                (IV)DBIc_MY_H(imp_xxh), (IV)imp_xxh, DBIc_TYPE(imp_xxh));
                ^

"DBI.xs", line 1066: warning(1178): argument is incompatible with
          corresponding format string conversion
                (IV)DBIc_MY_H(imp_xxh), (IV)imp_xxh, DBIc_TYPE(imp_xxh));
                                        ^

"DBI.xs", line 1355: warning(1177): argument is incompatible with formal
          parameter
        set_trace(h, SvIV(valuesv), Nullch);
                     ^

"DBI.xs", line 1355: warning(1177): argument is incompatible with formal
          parameter
        set_trace(h, SvIV(valuesv), Nullch);
                                    ^

"DBI.xs", line 2389: warning(1178): argument is incompatible with
          corresponding format string conversion
                    PerlIO_printf(logfp, "%ldkeys", HvKEYS(SvRV(s)));
                                                    ^

Running Mkbootstrap for DBI ()
        chmod 644 DBI.bs
        rm -f blib/arch/auto/DBI/DBI.so
        LD_RUN_PATH="" cc -n32 -mips3 -IPA  -n32 -shared
-L/usr/freeware/lib32 -L/usr/lib32 DBI.o  -o blib/arch/auto/DBI/DBI.so     
        chmod 755 blib/arch/auto/DBI/DBI.so
        cp DBI.bs blib/arch/auto/DBI/DBI.bs
        chmod 644 blib/arch/auto/DBI/DBI.bs
        /bin/perl -Iblib/arch -Iblib/lib
-I/usr/freeware/lib/perl5/5.6.1/irix-n32 -I/usr/freeware/lib/perl5/5.6.1
dbiproxy.PL dbiproxy
Extracted dbiproxy from dbiproxy.PL with variable substitutions.
        cp dbiproxy blib/script/dbiproxy
        /bin/perl -I/usr/freeware/lib/perl5/5.6.1/irix-n32
-I/usr/freeware/lib/perl5/5.6.1 -MExtUtils::MakeMaker  -e "MY->fixin(shift)"
blib/script/dbiproxy
        /bin/perl -Iblib/arch -Iblib/lib
-I/usr/freeware/lib/perl5/5.6.1/irix-n32 -I/usr/freeware/lib/perl5/5.6.1
dbish.PL dbish
Extracted dbish from dbish.PL with variable substitutions.
        cp dbish blib/script/dbish
        /bin/perl -I/usr/freeware/lib/perl5/5.6.1/irix-n32
-I/usr/freeware/lib/perl5/5.6.1 -MExtUtils::MakeMaker  -e "MY->fixin(shift)"
blib/script/dbish
        /bin/perl -Iblib/arch -Iblib/lib
-I/usr/freeware/lib/perl5/5.6.1/irix-n32 -I/usr/freeware/lib/perl5/5.6.1
dbiprof.PL dbiprof
Extracted dbiprof from dbiprof.PL with variable substitutions.
        cp dbiprof blib/script/dbiprof
        /bin/perl -I/usr/freeware/lib/perl5/5.6.1/irix-n32
-I/usr/freeware/lib/perl5/5.6.1 -MExtUtils::MakeMaker  -e "MY->fixin(shift)"
blib/script/dbiprof
Manifying blib/man3/DBI::ProfileDumper.3
Manifying blib/man3/DBI::Format.3
Manifying blib/man3/DBI::Const::GetInfoReturn.3
Manifying blib/man3/DBI::Const::GetInfo::ANSI.3
Manifying blib/man1/dbiprof.1
Manifying blib/man3/DBI::PurePerl.3
Manifying blib/man3/DBI::Profile.3
Manifying blib/man3/DBI::Shell.3
Manifying blib/man3/DBI::FAQ.3
Manifying blib/man3/DBI.3
Manifying blib/man3/Bundle::DBI.3
Manifying blib/man3/Win32::DBIODBC.3
Manifying blib/man1/dbiproxy.1
Manifying blib/man3/DBI::W32ODBC.3
Manifying blib/man3/DBI::DBD.3
Manifying blib/man3/DBI::ProfileData.3
Manifying blib/man3/DBD::Proxy.3
Manifying blib/man3/DBI::ProxyServer.3
Manifying blib/man3/DBI::Const::GetInfoType.3
Manifying blib/man1/dbish.1
Manifying blib/man3/DBI::ProfileDumper::Apache.3
Manifying blib/man3/DBI::Const::GetInfo::ODBC.3
PB gly> 

--------------------------------------------------------

PB gly> make test
        PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib
-I/usr/freeware/lib/perl5/5.6.1/irix-n32 -I/usr/freeware/lib/perl5/5.6.1 -e
'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/01basics..........ok

t/02dbidrv..........ok

t/03hleak...........ok

t/04mods............ok

t/05thrclone........skipped: perl 5.006001 not configured to support
iThreads
t/06attrs...........ok

t/07kids............ok

t/10examp...........ok

t/15array...........ok

t/20meta............ok

t/30subclass........ok

t/40profile.........Can't locate Time/HiRes.pm in @INC (@INC contains:
blib/arch blib/lib /usr/freeware/lib/perl5/5.6.1/irix-n32
/usr/freeware/lib/perl5/5.6.1/irix-n32
/usr/freeware/lib/perl5/5.6.1/irix-n32 /usr/freeware/lib/perl5/5.6.1
/usr/freeware/lib/perl5/5.6.1/irix-n32
/usr/freeware/lib/perl5/5.6.1/irix-n32 /usr/freeware/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/irix-n32
/usr/local/lib/perl5/site_perl/5.6.1/irix-n32
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/irix-n32
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl
/usr/freeware/lib/perl5/sgi_perl/5.6.1/irix-n32
/usr/freeware/lib/perl5/sgi_perl/5.6.1 /usr/freeware/lib/perl5/sgi_perl .
/usr/freeware/lib/perl5/5.6.1/irix-n32 /usr/freeware/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/irix-n32
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl
/usr/freeware/lib/perl5/sgi_perl/5.6.1/irix-n32
/usr/freeware/lib/perl5/sgi_perl/5.6.1 /usr/freeware/lib/perl5/sgi_perl .)
at t/40profile.t line 183.
BEGIN failed--compilation aborted at t/40profile.t line 183.
t/40profile.........dubious

        Test returned status 2 (wstat 512, 0x200)
Prototype mismatch: sub Test::Harness::_MIPS_FPSET () vs none at (eval 60)
line 1.
Prototype mismatch: sub Test::Harness::_MIPS_SZINT () vs none at (eval 61)
line 1.
Prototype mismatch: sub Test::Harness::_MIPS_SZLONG () vs none at (eval 62)
line 1.
Prototype mismatch: sub Test::Harness::_MIPS_SZPTR () vs none at (eval 63)
line 1.
Prototype mismatch: sub Test::Harness::_MIPS_ISA () vs none at (eval 64)
line 1.
Prototype mismatch: sub Test::Harness::_MIPS_SIM () vs none at (eval 65)
line 1.
Prototype mismatch: sub Test::Harness::_MIPSEB () vs none at (eval 66) line
1.
Prototype mismatch: sub Test::Harness::MIPSEB () vs none at (eval 67) line
1.
Scalar found where operator expected at (eval 97) line 1, near "*($w"
        (Missing operator before $w?)
DIED. FAILED tests 1-56
        Failed 56/56 tests, 0.00% okay
t/41prof_dump.......ok

t/42prof_data.......ok

t/60preparse........ok

t/70shell...........ok

t/80proxy...........skipped: modules required for proxy are probably not
installed
t/zz_01basics_pp....    Using DBI::PurePerl (DBI_PUREPERL=2)
t/zz_01basics_pp....ok

t/zz_02dbidrv_pp....ok

t/zz_03hleak_pp.....ok

t/zz_04mods_pp......ok

t/zz_05thrclone_pp..skipped: perl 5.006001 not configured to support
iThreads
t/zz_06attrs_pp.....ok

t/zz_07kids_pp......skipped: $h->{Kids} attribute not supported for
DBI::PurePerl
t/zz_10examp_pp.....ok 52/245 Taint mode switching tests skipped

t/zz_10examp_pp.....ok 72/245 Taint attribute tests skipped

t/zz_10examp_pp.....ok

t/zz_15array_pp.....ok

t/zz_20meta_pp......ok

t/zz_30subclass_pp..ok

t/zz_40profile_pp...skipped: profiling not supported for DBI::PurePerl
t/zz_41prof_dump_pp.skipped: profiling not supported for DBI::PurePerl
t/zz_42prof_data_pp.skipped: profiling not supported for DBI::PurePerl
t/zz_60preparse_pp..skipped: preparse not supported for DBI::PurePerl
t/zz_70shell_pp.....ok

t/zz_80proxy_pp.....skipped: modules required for proxy are probably not
installed
Failed Test   Status Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
----
t/40profile.t      2   512    56   56 100.00%  1-56
9 tests skipped.
Failed 1/34 test scripts, 97.06% okay. 56/1108 subtests failed, 94.95% okay.
*** Error code 2 (bu21)

------------------------------------------------------------

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=irix, osvers=6.5, archname=irix-n32
    uname='irix bitbucket 6.5 09180824 ip27 '
    config_args='-der -Dcc="cc -n32 -mips3"
-Dlibpath=/usr/freeware/lib32:/usr/lib32
-Dincpath=/usr/freeware/include/db3:/usr/freeware/include:/usr/include
-Duseshrplib -Dprefix=/usr/freeware -Duse64bitint -Dlibs=-lm
-Dsiteprefix=/usr/local -Dvendorprefix=/usr/freeware -Darchname=irix-n32'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=undef
  Compiler:
    cc='cc -n32 -mips3 -IPA', ccflags ='-D_BSD_TYPES -D_BSD_TIME -woff
1009,1110,1174,1184,1552 -OPT:Olimit=0:space=ON -I/usr/freeware/include
-I/usr/include',
    optimize='-O3',
    cppflags='-D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON
-I/usr/freeware/include -I/usr/include'
    ccversion='', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc -n32 -mips3 -IPA', ldflags =' -L/usr/freeware/lib32 -L/usr/lib32
-Wl,-woff,84'
    libpth=/usr/freeware/lib32 /usr/lib32 /lib32 /lib /usr/lib /usr/lib32
    libs=-lm
    perllibs=-lm
    libc=/usr/lib32/libc.so, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -n32
-Wl,-rpath,/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE:/usr/freeware/lib32'
    cccdlflags=' ', lddlflags='-n32 -shared -L/usr/freeware/lib32
-L/usr/lib32'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
  Built under irix
  Compiled at Jun 25 2002 15:22:04
  @INC:
    /usr/freeware/lib/perl5/5.6.1/irix-n32
    /usr/freeware/lib/perl5/5.6.1
    /usr/local/lib/perl5/site_perl/5.6.1/irix-n32
    /usr/local/lib/perl5/site_perl/5.6.1
    /usr/local/lib/perl5/site_perl
    /usr/freeware/lib/perl5/sgi_perl/5.6.1/irix-n32
    /usr/freeware/lib/perl5/sgi_perl/5.6.1
    /usr/freeware/lib/perl5/sgi_perl
    .


Reply via email to