This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [ANN] Dynamically linked perl5.005_03 binary & patches


"Dr. Volker Zell" wrote:

> <snip>
> op/pack.............Cannot compress negative numbers at op/pack.t line 59.
> dubious
>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 10-142
>         Failed 133/142 tests, 6.34% okay

The relevant lines from op/pack.t:

my @x = (5,130,256,560,32000,3097152,268435455,1073741844,
         '4503599627365785','23728385234614992549757750638446');
my $x = pack('w*', @x);

No negative numbers there, unless you're getting overflow. Why you would be getting overflow and I'm not, I dunno. Any ideas from the rest of the list?

> <snip>
> op/taint............ok, 13/149 subtests skipped
>

Did you copy your cygwin1.dll into <PERL-SRCDIR> or into your windows system dirs (WINNT, WINNT\System32, etc) ? If you did not, then I'm really curious as to why you passed this test.

> <snip>
> Failed Test  Status Wstat Total Fail  Failed  List of failed
> -------------------------------------------------------------------------------
> op/pack.t       255 65280   142  133  93.66%  10-142
> 5 tests skipped, plus 35 subtests skipped.
> Failed 1/190 test scripts, 99.47% okay. 133/6696 subtests failed, 98.01% okay.
> vzell:/gnu/src/perl5.005_03/t>
>
> Anyway I installed perl and tried compiling
>
>   DBI-1.08 - http://www.symbolstone.org/technology/perl/DBI/index.html
>
> Here I got:
>
> PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.00503/cygwin32 -I/usr/local/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/basics............ok
> t/dbidrv............ok
> t/examp.............Insecure $ENV{PATH} while running with -T switch at /usr/local/lib/perl5/5.00503/Cwd.pm line 82.
> dubious
>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 30-186
>         Failed 157/186 tests, 15.59% okay
>

This *may* be related to the patches applied to miniperlmain.c, mg.c, and util.c that were put there work around an environment handling problem in Cygwin. That's just based on the ${ENV} comment. Looking at the
code, it doesn't seem to apply:

sub _backtick_pwd {
    my $cwd;
    chop($cwd = `pwd`); <<<< line 82
    $cwd;
}

I'm sorry, I'm not much help...

> t/meta..............ok
> t/proxy.............skipping test on this platform
> t/shell.............ok
> t/subclass..........ok
> Failed Test  Status Wstat Total Fail  Failed  List of failed
> -------------------------------------------------------------------------------
> t/examp.t       255 65280   186  157  84.41%  30-186
> 1 test skipped.
> Failed 1/7 test scripts, 85.71% okay. 157/247 subtests failed, 36.44% okay.
> make: *** [test_dynamic] Error 2
>
> So there seems to be a problem with my build, again this
>
>         Test returned status 255 (wstat 65280, 0xff00)
>
> message.
>
> Any hints ??
>
> My configuration:
>
> System:   WinNT 4.0/SP3
>           Cygwin B20.1 with egcs-1.1.2
>            - cygwin1.dll - ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Vinschen_Corinna/B20
>            - everything mounted binary,
>            - CYGWIN = tty title binmode ntea

We have seen a few problems with "non-standard" cygwin1.dll's. We've tested with Sergey's coolview and with the stock dll. I've had a report that the 0524 snapshot fails, and the problem was resolved by going back
to the 0504 snapshot.

Try downgrading back to the stock dll and see if that fixes it. If so, then that gives us an easier avenue to track down the problem.

--Chuck

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]