Subject: | Warnings During Build |
Hi there,
When building your module on Debian, we get several warnings. They look
fairly benign, but as a rule, I personally treat warnings rather
seriously (as soft errors). The following build log shows this problem:
dh_auto_test
make[1]: Entering directory
`/build/jon-libsub-wrappackages-perl_1.31-1-i386-JuRIof/libsub-wrappackages-perl-1.31'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_wrap_as_subs.t .......................... ok
t/01_wrap_as_packages.t ...................... ok
t/01b_wrap_as_packages_late_loading.t ........ ok
t/02_wrap_inherited.t ........................ ok
t/03_wrap_inherited_in_same_file.t ........... ok
Prototype mismatch: sub Banana::Tree::cmp_ok ($$$;$) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::isa_ok ($$;$) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::use_ok ($;@) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::isnt ($$;$) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::is ($$;$) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::ok ($;$) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::like ($$;$) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::unlike ($$;$) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::pass (;$) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::can_ok ($@) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::fail (;$) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::require_ok ($) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
t/04_wrap_tree_of_packages.t ................. ok
Prototype mismatch: sub Banana::Tree::cmp_ok ($$$;$) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::isa_ok ($$;$) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::use_ok ($;@) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::isnt ($$;$) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::is ($$;$) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::ok ($;$) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::like ($$;$) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::unlike ($$;$) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::pass (;$) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::can_ok ($@) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::fail (;$) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
Prototype mismatch: sub Banana::Tree::require_ok ($) vs none at
/usr/share/perl5/Hook/LexWrap.pm line 82.
t/04b_wrap_tree_of_packages_after_loading.t .. ok
t/05___DATA__.t .............................. ok
t/09_5.10_use_constant.t ..................... ok
t/pod-coverage.t ............................. ok
t/pod.t ...................................... ok
All tests successful.
Files=11, Tests=42, 1 wallclock secs ( 0.08 usr 0.04 sys + 0.22 cusr
0.10 csys = 0.44 CPU)
Result: PASS
For reference, here is the relevant perl -V information:
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
Platform:
osname=linux, osvers=2.6.31-1-amd64,
archname=x86_64-linux-gnu-thread-multi
uname='linux madeleine 2.6.31-1-amd64 #1 smp mon nov 16 04:44:38 utc
2009 x86_64 gnulinux '
config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN
-Dcccdlflags=-fPIC -Darchname=x86_64-linux-gnu -Dprefix=/usr
-Dprivlib=/usr/share/perl/5.10 -Darchlib=/usr/lib/perl/5.10
-Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5
-Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local
-Dsitelib=/usr/local/share/perl/5.10.1
-Dsitearch=/usr/local/lib/perl/5.10.1 -Dman1dir=/usr/share/man/man1
-Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1
-Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl
-Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio
-Uusenm -DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib
-Dlibperl=libperl.so.5.10.1 -Dd_dosuid -des'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -g',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.3.4', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64
libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
perllibs=-ldl -lm -lpthread -lc -lcrypt
libc=/lib/libc-2.10.1.so, so=so, useshrplib=true,
libperl=libperl.so.5.10.1
gnulibc_version='2.10.1'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib
-fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
USE_64_BIT_ALL
USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_REENTRANT_API
Built under linux
Compiled at Nov 21 2009 19:19:16
@INC:
/etc/perl
/usr/local/lib/perl/5.10.1
/usr/local/share/perl/5.10.1
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.10
/usr/share/perl/5.10
/usr/local/lib/site_perl