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

Prob in CPAN make/gen & test...multiple mods appear affected.

Thread Next
From:
Linda W
Date:
February 26, 2008 16:41
Subject:
Prob in CPAN make/gen & test...multiple mods appear affected.
Message ID:
47C4B1B3.1000300@tlinx.org
The last time I tried to rebuild a bunch of modules in cpan, I noticed this 
problem, but didn't track it down.

This is a problem that is "partly" specific to cygwin, or any other system
where "//var/..." is not equivalent to "/var/..." (or \\var isn't
equivalent to \var, i.e. Win32).

I'm not sure exactly where it happens, other than it happens "virtually"
continuously -- copying files, in running tests...

I've wondered why my cpan "generations" were "so slow" -- I've finally
seen the main clue, but now where in the various places the sources it
is being generated.  When I say "generations", I mean the making and
testing of various modules in CPAN.  (Note, when in CPAN, going into the install 
dir and trying a manual build results in the same problem).

What I'm seeing is via monitoring my local network and I'm seeing
continual NetBios broadcasts looking for host "VAR".  I have no
host var, but I do have my CPAN cache directory in "/var/cache/CPAN".

What something "appears" to be doing is looking or trying to access
something in "//var", which tries a host lookup for a host named "VAR".

I checked my cpan config file to see if any paths had //var in them, but
no luck.

Attaching to the perl process running the "build" (in this case was trying
to install "Tk" -- but it happens in other packages -- like when I did
an install of the CPAN bundle) with strace, I see:

   667 19052263 [main] perl 888 symlink_info::check: GetFileAttributes 
(\\var\cache\CPAN) failed
   282 19052545 [main] perl 888 geterrno_from_win_error: windows error 53 == 
errno 136
   442 19052987 [main] perl 888 symlink_info::check: GetFileAttributes 
(\\var\cache\CPAN.lnk) failed
   271 19053258 [main] perl 888 geterrno_from_win_error: windows error 53 == 
errno 136
   254 19053512 [main] perl 888 symlink_info::check: 0 = symlink.check 
(\\var\cache\CPAN, 0xC0C3F0) (0x0)
   268 19053780 [main] perl 888 mount_info::conv_to_win32_path: 
conv_to_win32_path (//var/cache)
   260 19054040 [main] perl 888 mount_info::conv_to_win32_path: src_path 
//var/cache, dst \\var\cache, flags 0x0, rc 0

Any ideas of how to 'proceed'?  I tried placing a "C:\\" in front of
any path in the cpan config that started with "/var" (histfile
and build_dir), but it had no effect (maybe stripped off in path
normalization?).

It doesn't "appear" to be a "cygwin" specific problem but use of "//"
as an equivalent for "/".


Linda



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