Can't get darcs repository
Simon Marlow
simonmarhaskell at gmail.com
Tue Oct 9 04:15:27 EDT 2007
Johan Tibell wrote:
> I can't get the darcs repository. I've tried a few different
> approaches (described here ) including:
>
> 1) partial repo
> 2) complete repo
> 3) complete repo starting with a tarball
>
> Mac OS X 10.4.10
> Darcs version 1.0.9 (release)
>
> Any other info that could be helpful in debugging?
>
> I really need to get this this working for the hackathon. Any ideas?
>
> Cheers,
>
> Johan Tibell
>
> Error output:
>
> $ tar jxf ghc-HEAD-2007-08-29-ghc.tar.bz2
That tarball doesn't have the libraries, I suggest getting:
http://darcs.haskell.org/ghc-HEAD-2007-08-29-ghc-corelibs-testsuite.tar.bz2
> $ ./darcs-all get --complete
> == running darcs get --complete http://darcs.haskell.org/packages/array
> Copying patch 1804 of 1804... done.
> Applying patch 1804 of 1804... done.
> Finished getting.
> == running darcs get --complete http://darcs.haskell.org/packages/base
> Copying patch 1824 of 1824... done.
> Applying patch 1824 of 1824... done.
> Finished getting.
> == running darcs get --complete http://darcs.haskell.org/packages/bytestring
> Copying patch 866 of 866... done.
> Applying patch 866 of 866... done.
> Finished getting.
> == running darcs get --complete http://darcs.haskell.org/packages/Cabal
> This is GHC's branch of the main Cabal repo.
>
> NB. DO NOT push new Cabal patches to this repo, instead use the main
> Cabal repo at
> http://darcs.haskell.org/cabal
>
> Patches to this repo must pass GHC's validate script before being pushed.
> **********************
> Copying patch 1389 of 1389... done.
> Applying patch 549 of 1389... Unapplicable patch:
> Mon May 2 06:20:39 CEST 2005 ijones at syntaxpolice.org
> * working on changelogs; bumped version number
>
> darcs failed: Error applying hunk to file ./Cabal.cabal
> darcs failed: 512 at ./darcs-all line 59.
What happened here is that one of the patches in the Cabal history needs to
be applied using a case-sensitive filesystem, so it fails on Windows or
MacOS. The workaround is to start from the complete tarball instead.
Cheers,
Simon
More information about the Cvs-ghc
mailing list