After checking out 'mozilla/client.mk', I tried to pull out the source
tree (using 'make -f client.mk checkout MOZ_CO_PROJECT=all') only to see
'cvs chekout aborted' errors. Two different errors are reported.
cvs [checkout aborted]: cannot rename file CVS/Entries.Backup to
CVS/Entries: No such file or directory
cvs [checkout aborted]: cannot rename file .new.nsResourc to
nsResourceSet.h: No such file or directory
(everytime I get this error, different files are involved)
Where the above errors show up changes from trial to trial. When I was
'lucky', I got only one error from the checkout of 'security/*' and the
rest of checkouts went through fine. However, in all other cases, I got
multiple errors from multiple cvs checkout (nspr, security/*,
'mozilla-main').
An almost identical issue is dealt with in the Windows build document
(cygwin on Windows). The solution given has something to do with cygwin
trying to emulate Unix permission with NT security model on Windows.
Obviously, this cannot be relevant on OS X. A similar problem was
reported by developers of some opensource developers on Mac OS X, but I
couldn't find any solution.
My environment :
* Mac OS 10.4.8
* Xcode : 2.4.1 (the latest downloaded from Apple)
* DarwinPort
* cvs : 1.11.20 (in /usr/bin/cvs)
I also tried cvs 1.11.22 (compiled from the source
by 'port install cvs' and put in /opt/local/bin/cvs)
* openssh 4.2p1 with openssl 0.9.7l
(OpenSSH_4.2p1, OpenSSL 0.9.7l 28 Sep 2006)
: CVS_RSH was set to 'ssh'
* CVSROOT is set to [my cvs account]@cvs.mozilla.org:/cvsroot
Using pserver(anonymous) didn't make any difference. So, it's not an
'ssh' issue (at least 'ssh' is not the sole party to blame). There
seems to be some 'mismatch' between a cvs client I use on Mac OS X
(intel) and the cvs server at mozilla.org. I have never encountered
this problem on any of three platforms I used before (Linux on ix86, Mac
OS X on ppc, Windows).
At the moment, I worked around the problem by reissuing 'cvs checkout'
commands that failed. (e.g. if it fails in nsprpub, checking out nsprpub
again works).
Has anyone come across this problem? If so, I'd like to share the
experience (especially how to resolve it).
TIA,
P.S. I'm cross posting to m.d.mozilla-org because my problem may have to
do with the cvs servers at mozilla.org
> While trying to build firefox and friends on a shiny new Mac Book pro, I
> came across a very strange problem.
>
> After checking out 'mozilla/client.mk', I tried to pull out the source
> tree (using 'make -f client.mk checkout MOZ_CO_PROJECT=all') only to see
> 'cvs chekout aborted' errors. Two different errors are reported.
>
> cvs [checkout aborted]: cannot rename file CVS/Entries.Backup to
> CVS/Entries: No such file or directory
>
> cvs [checkout aborted]: cannot rename file .new.nsResourc to
> nsResourceSet.h: No such file or directory
> (everytime I get this error, different files are involved)
> * Mac OS 10.4.8
> * Xcode : 2.4.1 (the latest downloaded from Apple)
> * DarwinPort
>
> * cvs : 1.11.20 (in /usr/bin/cvs)
> I also tried cvs 1.11.22 (compiled from the source
> by 'port install cvs' and put in /opt/local/bin/cvs)
I haven't seen any such problems. In fact, I just tried a full
checkout using the same command line you gave above, on my MacBook Pro
15", running 10.4.8, with Apple's CVS, and
anon...@cvs-mirror.mozilla.org and had no problems with the checkout.
The only difference on my system that I can tell compared to what you
list is that I don't have DarwinPorts installed (I do have Fink
installed though).
What filesystem are you using? Mine is on HFS+.
--
Dave Miller http://www.justdave.net/
System Administrator, Mozilla Corporation http://www.mozilla.com/