Subject: | make test failes on Mac OS X 10.5.7 |
test protocol:
# make test
PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00_setup...........ok
t/01_defined_subs....Can't load 'blib/arch/auto/Proc/UID/UID.bundle' for
module Proc::UID: dlopen(blib/arch/auto/Proc/UID/UID.bundle, 2): Symbol
not found: _getresgid
Referenced from:
/Users/md/.cpan/build/Proc-UID-0.05-IM_Ajm/blib/arch/auto/Proc/UID/UID.bundle
Expected in: dynamic lookup
at t/01_defined_subs.t line 25
Compilation failed in require at t/01_defined_subs.t line 25.
BEGIN failed--compilation aborted at t/01_defined_subs.t line 25.
t/01_defined_subs....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-25
Failed 25/25 tests, 0.00% okay
t/02_user_tests......Can't load 'blib/arch/auto/Proc/UID/UID.bundle' for
module Proc::UID: dlopen(blib/arch/auto/Proc/UID/UID.bundle, 2): Symbol
not found: _getresgid
Referenced from:
/Users/md/.cpan/build/Proc-UID-0.05-IM_Ajm/blib/arch/auto/Proc/UID/UID.bundle
Expected in: dynamic lookup
at t/02_user_tests.t line 14
Compilation failed in require at t/02_user_tests.t line 14.
BEGIN failed--compilation aborted at t/02_user_tests.t line 14.
t/02_user_tests......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-18
Failed 18/18 tests, 0.00% okay
t/03_root_tests......Can't load 'blib/arch/auto/Proc/UID/UID.bundle' for
module Proc::UID: dlopen(blib/arch/auto/Proc/UID/UID.bundle, 2): Symbol
not found: _getresgid
Referenced from:
/Users/md/.cpan/build/Proc-UID-0.05-IM_Ajm/blib/arch/auto/Proc/UID/UID.bundle
Expected in: dynamic lookup
at t/03_root_tests.t line 28
Compilation failed in require at t/03_root_tests.t line 28.
BEGIN failed--compilation aborted at t/03_root_tests.t line 28.
t/03_root_tests......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-36
Failed 36/36 tests, 0.00% okay
t/04_suid_tests......setruid() not implemented at t/04_suid_tests.t line 15.
t/04_suid_tests......dubious
Test returned status 255 (wstat 65280, 0xff00)
t/05_sgid_tests......setruid() not implemented at t/05_sgid_tests.t line 15.
t/05_sgid_tests......dubious
Test returned status 255 (wstat 65280, 0xff00)
t/pod................skipped
all skipped: Author test. Set $ENV{TEST_AUTHOR} to true to run.
t/pod_coverage.......skipped
all skipped: Author test. Set $ENV{TEST_AUTHOR} to true to run.
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/01_defined_subs.t 255 65280 25 50 1-25
t/02_user_tests.t 255 65280 18 36 1-18
t/03_root_tests.t 255 65280 36 72 1-36
t/04_suid_tests.t 255 65280 ?? ?? ??
t/05_sgid_tests.t 255 65280 ?? ?? ??
2 tests skipped.
Failed 5/8 test scripts. 79/83 subtests failed.
Files=8, Tests=83, 0 wallclock secs ( 0.08 cusr + 0.03 csys = 0.11 CPU)
Failed 5/8 test programs. 79/83 subtests failed.
make: *** [test_dynamic] Error 255
My Perl:
# perl -V
Summary of my perl5 (revision 5 version 8 subversion 9) configuration:
Platform:
osname=darwin, osvers=9.6.0, archname=darwin-2level
uname='darwin rainboxx-pro.local 9.6.0 darwin kernel version 9.6.0:
mon nov 24 17:37:00 pst 2008; root:xnu-1228.9.59~1release_i386 i386 '
config_args='-des -D prefix=/opt/local -D scriptdir=/opt/local/bin
-D cppflags=-I/opt/local/include -D ldflags=-L/opt/local/lib -D
vendorprefix=/opt/local -D man1ext=1pm -D man3ext=3pm -D
cc=/usr/bin/gcc-4.0 -D ld=/usr/bin/gcc-4.0 -D
man1dir=/opt/local/share/man/man1p -D man3dir=/opt/local/share/man/man3p
-D siteman1dir=/opt/local/share/man/man1 -D
siteman3dir=/opt/local/share/man/man3 -D
vendorman1dir=/opt/local/share/man/man1 -D
vendorman3dir=/opt/local/share/man/man3 -D inc_version_list=5.8.8
5.8.8/darwin-2level -U i_bind -U i_gdbm -U i_db'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='/usr/bin/gcc-4.0', ccflags ='-fno-common -DPERL_DARWIN
-I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe
-I/usr/local/include -I/opt/local/include',
optimize='-O3',
cppflags='-I/opt/local/include -no-cpp-precomp -fno-common
-DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing
-pipe -I/usr/local/include -I/opt/local/include'
ccversion='', gccversion='4.0.1 (Apple Inc. build 5465)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 /usr/bin/gcc-4.0', ldflags
='-L/opt/local/lib -L/usr/local/lib'
libpth=/usr/local/lib /opt/local/lib /usr/lib
libs=-ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-L/opt/local/lib -bundle -undefined
dynamic_lookup -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: PERL_MALLOC_WRAP USE_FAST_STDIO USE_LARGE_FILES
USE_PERLIO
Built under darwin
Compiled at May 7 2009 18:07:09
@INC:
/opt/local/lib/perl5/site_perl/5.8.9/darwin-2level
/opt/local/lib/perl5/site_perl/5.8.9
/opt/local/lib/perl5/site_perl/5.8.8
/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level
/opt/local/lib/perl5/site_perl
/opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level
/opt/local/lib/perl5/vendor_perl/5.8.9
/opt/local/lib/perl5/vendor_perl/5.8.8
/opt/local/lib/perl5/vendor_perl/5.8.8/darwin-2level
/opt/local/lib/perl5/vendor_perl
/opt/local/lib/perl5/5.8.9/darwin-2level
/opt/local/lib/perl5/5.8.9
.