[darcs-users] 1.04 RC2: Failing tests on Mac OS X

Pedro Melo melo at simplicidade.org
Sun Nov 13 13:21:17 UTC 2005


Hi,

trying to install RC2 on Mac OS X 10.4.3. The make test fails in the  
pull.pl file, line 46.

Aparently, after the chmod -w of repo temp1, darcs is stil able to  
pull and apply changes.

I tried this again with my own repo and I'm not sure what's going on:

melo at Roadrunner(~/t/darcs-1.0.4rc2/l)$ alias darcs=~/t/darcs-1.0.4rc2/ 
darcs
melo at Roadrunner(~/t/darcs-1.0.4rc2/l)$ mkdir a
melo at Roadrunner(~/t/darcs-1.0.4rc2/l)$ cd a
melo at Roadrunner(~/t/darcs-1.0.4rc2/l/a)$ darcs init
melo at Roadrunner(~/t/darcs-1.0.4rc2/l/a)$ mkdir one
melo at Roadrunner(~/t/darcs-1.0.4rc2/l/a)$ darcs add one
darmelo at Roadrunner(~/t/darcs-1.0.4rc2/l/a)$ darcs  reco -m foo -a
Darcs needs to know what name (conventionally an email address) to  
use as the
patch author, e.g. 'Fred Bloggs <fred at bloggs.invalid>'.  If you  
provide one
now it will be stored in the file '_darcs/prefs/author' and used as a  
default
in the future.  To change your preferred author address, simply  
delete or edit
this file.

What is your email address? me
Finished recording patch 'foo'
melo at Roadrunner(~/t/darcs-1.0.4rc2/l/a)$ cd ..
melo at Roadrunner(~/t/darcs-1.0.4rc2/l)$ darcs get a b
Copying patch 1 of 1... done!
Finished getting.
melo at Roadrunner(~/t/darcs-1.0.4rc2/l)$ chmod -w b/one
melo at Roadrunner(~/t/darcs-1.0.4rc2/l)$ ls -lad b/one
dr-xr-xr-x   2 melo  melo  68 Nov 13 13:16 b/one
melo at Roadrunner(~/t/darcs-1.0.4rc2/l)$ cd a
melo at Roadrunner(~/t/darcs-1.0.4rc2/l/a)$ date > one/hi
melo at Roadrunner(~/t/darcs-1.0.4rc2/l/a)$ darcs add one/hi
melo at Roadrunner(~/t/darcs-1.0.4rc2/l/a)$ darcs reco -m bar -a
Finished recording patch 'bar'
melo at Roadrunner(~/t/darcs-1.0.4rc2/l/a)$ cd ../
melo at Roadrunner(~/t/darcs-1.0.4rc2/l)$ cd a
melo at Roadrunner(~/t/darcs-1.0.4rc2/l/a)$ cd ../b
melo at Roadrunner(~/t/darcs-1.0.4rc2/l/b)$ ls -lad one
dr-xr-xr-x   2 melo  melo  68 Nov 13 13:16 one
melo at Roadrunner(~/t/darcs-1.0.4rc2/l/b)$ darcs pull -a
Pulling from "/Users/melo/t/darcs-1.0.4rc2/l/a"...

darcs failed:  user error (Error applying patch to working dir:
takeFile ./one/hi-0 in /Users/melo/t/darcs-1.0.4rc2/l/b: failed  
(Unknown error: 0))
This may have left your working directory an inconsistent
but recoverable state. If you had no un-recorded changes
by using 'darcs revert' you should be able to make your
working directory consistent again.


melo at Roadrunner(~/t/darcs-1.0.4rc2/l/b)$ darcs wh
{
hunk ./one/hi 1
-Sun Nov 13 13:17:26 WET 2005
rmfile ./one/hi
}
melo at Roadrunner(~/t/darcs-1.0.4rc2/l/b)$ darcs unpull

Sun Nov 13 13:17:49 WET 2005  me
   * bar
Shall I unpull this patch? (1/2) [ynWvpxqadjk], or ? for help: y

Sun Nov 13 13:16:43 WET 2005  me
   * foo
Shall I unpull this patch? (2/2) [ynWvpxqadjk], or ? for help:
d

darcs failed:  Can't unpull patch without reverting some unrecorded  
change.
melo at Roadrunner(~/t/darcs-1.0.4rc2/l/b)$ darcs revert
hunk ./one/hi 1
-Sun Nov 13 13:17:26 WET 2005
Shall I revert this patch? (1/?) [ynWsfqadjkc], or ? for help: y
Do you really want to revert these changes? y

darcs failed:  Unable to apply inverse patch!takeFile ./one/hi-0 in / 
Users/melo/t/darcs-1.0.4rc2/l/b: failed (Unknown error: 0)
melo at Roadrunner(~/t/darcs-1.0.4rc2/l/b)$ darcs --exact-version
darcs compiled on Nov 13 2005, at 01:46:55
unknown
melo at Roadrunner(~/t/darcs-1.0.4rc2/l/b)$ darcs --version
1.0.4rc2 (unknown)

Using ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.4.1

Any ideas?

Thanks,
--
Pedro Melo
JID: melo at simplicidade.org





More information about the darcs-users mailing list