[darcs-users] Building under OS X 10.6

Florian Gilcher darcs-lists at andersground.net
Sun Oct 18 14:19:50 UTC 2009


Just before someone cares about this too much:

Darcs eats meaningful errors, like this one:

  darcs failed:  Codec.Compression.Zlib: incompatible zlib version

Removing `catchall` in Cache.hs did the trick.

I will have to sort that out on my own, still seems to be an  
architectural problem.

Regards,
Florian Gilcher

On Oct 17, 2009, at 4:20 PM, Florian Gilcher wrote:

> Hi,
>
> after managing to get a (hopefully) somewhat well-behaving  
> installation of GHC and cabal on Snow Leopard, I tried compiling and  
> testing by using `cabal build` and `cabal test`. Sadly, I get the  
> high number of 173 failing test cases, that all fail with a error  
> similar to the following:
>
>  darcs failed:  Couldn't write  
> ` 
> 0000000119 
> -865625c26449c36634aec9c67463985548c510db292d877f60d6b753cb2c66fb'
>  in subdir patches to sources:
>
>  thisrepo:/Users/skade/src/darcs.net/tests-darcs-2.dir/temp1
>  cache:/Users/skade/src/darcs.net/tests-darcs-2.dir/.darcs/cache
>
> ...usually preceded by a call to darcs record. It seems like record  
> does not work.
>
> I couldn't find this exact problem on the mailing list. I assume it  
> to be a problem on my side, especially because the same happens for  
> the 2.2.0 and 2.3.0 tags, but I am not able to nail it down.
>
> Strangely, the static build of darcs 2.3.1 provided on the wiki  
> works, but I don't seem to be able to build it correctly myself...
>
> Well, sysinfo:
>
> $ uname -a
> Darwin HIPE-Machine.local 10.0.0 Darwin Kernel Version 10.0.0: Fri  
> Jul 31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 i386
> $ ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.10.4
> $ cabal --version
> cabal-install version 0.6.0
> using version 1.6.0.1 of the Cabal library
> $ gcc --version
> i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646)
>
> Additional ghc flags to force 32 bit build:
> -optc-m32 -opta-m32 -optl-m32
>
> Is there anything I missed?
>
> Regards,
> Florian Gilcher
> _______________________________________________
> darcs-users mailing list
> darcs-users at darcs.net
> http://lists.osuosl.org/mailman/listinfo/darcs-users



More information about the darcs-users mailing list