Subject: | install fails in Cygwin-perl 5.8.8 |
Just updated my cygwin perl to 5.8.8 that came out earlier this
month. Trying to build/test/install Sys::Syslog fails in test:
Show quoted text
cpan> install Sys::Syslog
Running install for module Sys::Syslog
Running make for S/SA/SAPER/Sys-Syslog-0.18.tar.gz
Checksum for
/Share/CPAN/sources/authors/id/S/SA/SAPER/Sys-Syslog-0.18.tar.gz ok
Sys-Syslog-0.18/
Sys-Syslog-0.18/Syslog.pm
Sys-Syslog-0.18/Changes
Sys-Syslog-0.18/t/
Sys-Syslog-0.18/t/distchk.t
Sys-Syslog-0.18/t/constants.t
Sys-Syslog-0.18/t/portfs.t
Sys-Syslog-0.18/t/podspell.t
Sys-Syslog-0.18/t/00-load.t
Sys-Syslog-0.18/t/pod.t
Sys-Syslog-0.18/t/syslog.t
Sys-Syslog-0.18/t/podcover.t
Sys-Syslog-0.18/MANIFEST
Sys-Syslog-0.18/fallback/
Sys-Syslog-0.18/fallback/const-c.inc
Sys-Syslog-0.18/fallback/const-xs.inc
Sys-Syslog-0.18/ppport.h
Sys-Syslog-0.18/Syslog.xs
Sys-Syslog-0.18/README
Sys-Syslog-0.18/Makefile.PL
Sys-Syslog-0.18/META.yml
Removing previously used /var/cache/CPAN/build/Sys-Syslog-0.18
CPAN.pm: Going to build S/SA/SAPER/Sys-Syslog-0.18.tar.gz
WARNING: LICENSE is not a known parameter.
Checking if your kit is complete...
Looks good
'LICENSE' is not a known MakeMaker parameter name.
Writing Makefile for Sys::Syslog
cp Syslog.pm blib/lib/Sys/Syslog.pm
/usr/bin/perl5.8.8.exe /usr/lib/perl5/5.8/ExtUtils/xsubpp -noprototypes
-typemap
/usr/lib/perl5/5.8/ExtUtils/typemap Syslog.xs > Syslog.xsc && mv
Syslog.xsc Sy
slog.c
gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-Wdeclaration-after-s
tatement -DUSEIMPORTLIB -O3 -DVERSION=\"0.18\" -DXS_VERSION=\"0.18\"
"-I/usr/
lib/perl5/5.8/cygwin/CORE" Syslog.c
Running Mkbootstrap for Sys::Syslog ()
chmod 644 Syslog.bs
rm -f blib/arch/auto/Sys/Syslog/Syslog.dll
ld2 -s -L/usr/local/lib Syslog.o -o blib/arch/auto/Sys/Syslog/Syslog.dll \
/usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a \
gcc -shared -o Syslog.dll -Wl,--out-implib=libSyslog.dll.a
-Wl,--export-all-sym
bols -Wl,--enable-auto-import -Wl,--stack,8388608
-Wl,--enable-auto-image-base \
-s -L/usr/local/lib Syslog.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a
Creating library file: libSyslog.dll.a
mv Syslog.dll libSyslog.dll.a blib/arch/auto/Sys/Syslog/
chmod 755 blib/arch/auto/Sys/Syslog/Syslog.dll
cp Syslog.bs blib/arch/auto/Sys/Syslog/Syslog.bs
chmod 644 blib/arch/auto/Sys/Syslog/Syslog.bs
/usr/bin/make -- OK
Running make test
/usr/bin/perl5.8.8.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib
', 'blib/arch')" t/*.t
t/00-load......ok 1/1# Testing Sys::Syslog 0.18, Perl 5.008008,
/usr/bin/perl5.8
.8.exe
t/00-load......ok
t/constants....ok
6/88 skipped: irrelevant test in this case
t/distchk......skipped
all skipped: Test::Distribution required for checking distribution
t/pod..........ok
t/podcover.....ok
t/podspell.....skipped
all skipped: Pod spelling: for developer interest only :)
t/portfs.......skipped
all skipped: Test::Portability::Files required for testing
filenames por
tability
t/syslog.......ok 1/159Use of uninitialized value in -w at
/var/cache/CPAN/build
/Sys-Syslog-0.18/blib/lib/Sys/Syslog.pm line 169.
Use of uninitialized value in concatenation (.) or string at
/var/cache/CPAN/bui
ld/Sys-Syslog-0.18/blib/lib/Sys/Syslog.pm line 170.
Use of uninitialized value in -w at
/var/cache/CPAN/build/Sys-Syslog-0.18/blib/l
ib/Sys/Syslog.pm line 169.
Use of uninitialized value in concatenation (.) or string at
/var/cache/CPAN/bui
ld/Sys-Syslog-0.18/blib/lib/Sys/Syslog.pm line 170.
# Failed test 'setlogsock() should return true: '''
# in t/syslog.t at line 184.t/syslog.......NOK 136
# Looks like you failed 1 test of 159.
t/syslog.......dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 136
Failed 1/159 tests, 99.37% okay (less 60 skipped tests: 98 okay,
61.64%)
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/syslog.t 1 256 159 1 0.63% 136
3 tests and 66 subtests skipped.
Failed 1/8 test scripts, 87.50% okay. 1/250 subtests failed, 99.60% okay.
make: *** [test_dynamic] Error 1
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force