Skip Menu |

This queue is for tickets about the IO-Interface CPAN distribution.

Report information
The Basics
Id: 48101
Status: open
Priority: 0/
Queue: IO-Interface

People
Owner: Nobody in particular
Requestors: RBOWES [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.05
Fixed in: (no value)



Subject: Build failure on cygwin
I've been unable to get IO::Interface to pass the test suite on cygwin. This is the output: robin@phoenix ~/tmp/IO-Interface-1.05 $ perl Makefile.PL Checking if your kit is complete... Looks good Checking for getifaddrs()... Okay, I will use it. Checking for sockaddr_dl... Nope, will not use it. Writing Makefile for IO::Interface robin@phoenix ~/tmp/IO-Interface-1.05 $ make cp Interface/Simple.pm blib/lib/IO/Interface/Simple.pm cp Interface.pm blib/lib/IO/Interface.pm AutoSplitting blib/lib/IO/Interface.pm (blib/lib/auto/IO/Interface) /usr/bin/perl.exe /usr/lib/perl5/5.10/ExtUtils/xsubpp - typemap /usr/lib/perl5/5.10/ExtUtils/typemap Interface.xs > Interface.xsc && mv Interface.xsc Interface.c gcc -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing - pipe -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"1.05\" - DXS_VERSION=\"1.05\" "-I/usr/lib/perl5/5.10/i686-cygwin/CORE" - DUSE_GETIFADDRS Interface.c rm -f blib/arch/auto/IO/Interface/Interface.dll g++ --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,-- stack,8388608 -Wl,--enable-auto-image-base -L/usr/local/lib Interface.o -o blib/arch/auto/IO/Interface/Interface.dll \ /usr/lib/perl5/5.10/i686-cygwin/CORE/libperl.dll.a \ chmod 755 blib/arch/auto/IO/Interface/Interface.dll test -s Interface.bs && cp Interface.bs blib/arch/auto/IO/Interface/Interface.bs && \ chmod 644 blib/arch/auto/IO/Interface/Interface.bs make: [blib/arch/auto/IO/Interface/Interface.dll] Error 1 (ignored) robin@phoenix ~/tmp/IO-Interface-1.05 $ make test /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness (0, 'blib/lib', 'blib/arch')" t/*.t t/basic.......1/5 Use of uninitialized value in subroutine entry at t/basic.t line 36. Use of uninitialized value in string eq at t/basic.t line 36. t/basic....... Failed 2/5 subtests t/simple......1/11 # Failed test 'loopback device' # at t/simple.t line 24. Can't call method "address" on an undefined value at t/simple.t line 25. # Looks like you planned 11 tests but only ran 6. # Looks like you failed 1 test of 6 run. # Looks like your test died just after 6. t/simple...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 6/11 subtests Test Summary Report ------------------- t/basic.t (Wstat: 0 Tests: 5 Failed: 2) Failed tests: 4-5 t/simple.t (Wstat: 65280 Tests: 6 Failed: 1) Failed test: 6 Non-zero exit status: 255 Parse errors: Bad plan. You planned 11 tests but ran 6. Files=2, Tests=11, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.39 cusr 0.50 csys = 0.90 CPU) Result: FAIL Failed 2/2 test programs. 3/11 subtests failed. make: *** [test_dynamic] Error 255 Am I simply missing something, ie. a package that needs to be installed, or is IO::Interface broken on cygwin? Thanks, R.
I should add that this was on the cygwin 1.7.0 beta. I then tried it on 1.5.25-15 and it worked OK. R.