I seriously doubt this is a perl problem, but it sure does crash a
perl build, so I thought I'd mention it just in case it becomes
relevant down the line. I'm far from an AFS expert, but it appears to
me that stat() may not be reliable in some versions of AFS, possibly
due to a bug in the AFS caching. I put some debugging information
around lib/Cwd.pm's fastcwd(), and here's what I see in Solaris 2.4,
AFS version unknown, (... denoting deleted information), when trying
to make perl5.001m:
...
cwd = /afs/eos.ncsu.edu/users/w/wsetzer/work/perl/sol/perl5.001m/ext/Fcntl
stat()ing .: target dev = 1, ino = 181141753
...
lstat()ing Fcntl: dev = 1, ino = 181141753
target dev = 1, ino = 181141747
...
lstat()ing ext: dev = 1, ino = 181141747
target dev = 1, ino = 181141731
lstat()ing perl5.001m: dev = 1, ino = 181141731
target dev = 1, ino = 181141729
...
lstat()ing sol: dev = 1, ino = 181141729
target dev = 1, ino = 181141547
...
lstat()ing perl: dev = 1, ino = 181141547
target dev = 1, ino = 181141613
...
lstat()ing work: dev = 1, ino = 181141613
target dev = 1, ino = 13631956
...
lstat()ing wsetzer: dev = 1, ino = 13631956
target dev = 1, ino = 628621358
...
lstat()ing w: dev = 1, ino = 628621358
target dev = 1, ino = 262150
...
lstat()ing users: dev = 1, ino = 262150
target dev = 1, ino = 13631782
...
lstat()ing eos.ncsu.edu: dev = 1, ino = 393222
Oops! (The correct number is 393222). I can consistently get the
13631782 inode when running "make", but can't seem to get it when
running a stat from the command line. Just FYI, in case it comes
up again.
William
perl build, so I thought I'd mention it just in case it becomes
relevant down the line. I'm far from an AFS expert, but it appears to
me that stat() may not be reliable in some versions of AFS, possibly
due to a bug in the AFS caching. I put some debugging information
around lib/Cwd.pm's fastcwd(), and here's what I see in Solaris 2.4,
AFS version unknown, (... denoting deleted information), when trying
to make perl5.001m:
...
cwd = /afs/eos.ncsu.edu/users/w/wsetzer/work/perl/sol/perl5.001m/ext/Fcntl
stat()ing .: target dev = 1, ino = 181141753
...
lstat()ing Fcntl: dev = 1, ino = 181141753
target dev = 1, ino = 181141747
...
lstat()ing ext: dev = 1, ino = 181141747
target dev = 1, ino = 181141731
lstat()ing perl5.001m: dev = 1, ino = 181141731
target dev = 1, ino = 181141729
...
lstat()ing sol: dev = 1, ino = 181141729
target dev = 1, ino = 181141547
...
lstat()ing perl: dev = 1, ino = 181141547
target dev = 1, ino = 181141613
...
lstat()ing work: dev = 1, ino = 181141613
target dev = 1, ino = 13631956
...
lstat()ing wsetzer: dev = 1, ino = 13631956
target dev = 1, ino = 628621358
...
lstat()ing w: dev = 1, ino = 628621358
target dev = 1, ino = 262150
...
lstat()ing users: dev = 1, ino = 262150
target dev = 1, ino = 13631782
...
lstat()ing eos.ncsu.edu: dev = 1, ino = 393222
Oops! (The correct number is 393222). I can consistently get the
13631782 inode when running "make", but can't seem to get it when
running a stat from the command line. Just FYI, in case it comes
up again.
William