develooper Front page | perl.perl5.porters | Postings from December 2008

RE: Smoke [5.11.0] 35106 FAIL(F) MSWin32 WinXP/.Net SP3 (x86/2 cpu)

Thread Previous | Thread Next
From:
Steve Hay
Date:
December 16, 2008 03:30
Subject:
RE: Smoke [5.11.0] 35106 FAIL(F) MSWin32 WinXP/.Net SP3 (x86/2 cpu)
Message ID:
1B32FF956ABF414C9BCE5E487A1497E702BC8A05@ukmail02.planit.group
Jos I. Boumans wrote:
> On Dec 16, 2008, at 7:26 AM, Steve Hay wrote:
>> 
>> [default] -DDEBUGGING -Duseithreads -Duselargefiles
>> ../ext/PerlIO/t/ioleaks.t...................................FAILED
>> ../lib/Archive/Extract/t/01_Archive-Extract.t...............FAILED
>>     126, 128-129, 131-133, 190, 192-193, 195-197
> 
> This is with your fix to A::E already isn't it? Any clue what's
> causing tis failure? Might it be related to the PerlIO failure?
> 

Yes, that's with my fix. The failures are not related to the PerlIO
"failure" (which is actually a passed TODO, which Test::Smoke wrongly
shows as a FAIL whenever anything else fails), but are actually caused
by my smoke environment having a Cygwin bin/ folder in its PATH (used
for the rsync). The Archive::Extract tests therefore picked up some
binaries (tar, gzip, etc.) that weren't available in my PATH when I was
testing manually, and it seems that these Cygwin binaries don't work
nicely in a DOS window.

Specifically, the first failing test is a failure to extract the y.tar
test file. The command being run is something like

C:\cygwin\bin\tar.EXE -xf
C:\p5p\BLEADP~1\lib\Archive\Extract\t\src\y.tar

which causes an error from the Cygwin binary:

C: Unknown Host
/usr/bin/tar: C\:\\p5p\\BLEADP~1\\lib\\Archive\\Extract\\t\\src\\y.tar:
Cannot open: Input/Output error
/usr/bin/tar: Error is not recoverable: exiting now

I tried various other combinations (forward slashes instead of
backslashes, "long pathnames" instead of "short pathnames" (i.e.
"bleadperl" instead of "BLEADP~1"), but nothing works other than the
insane /cygdrive nonsense:

C:\cygwin\bin\tar.EXE -xf
/cygdrive/C/p5p/bleadperl/lib/Archive/Extract/t/src/y.tar

or a relative path:

C:\cygwin\bin\tar.EXE -xf ../src/y.tar

I think I'm just going to duck the issue by removing the Cygwin bin/
folder from my PATH after the rsync has completed!

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About