[darcs-users] cabal-install failure with darcs darcs

Trent W. Buck trentbuck at gmail.com
Mon Jan 5 00:36:20 UTC 2009


"Gwern Branwen" <gwern0 at gmail.com> writes:

> With current darcs and a clean repo, I see:
>
> Linking dist/build/witnesses/witnesses ...
> [  1 of 134] Compiling Context          (
> dist/build/autogen/Context.hs, dist/build/darcs/darcs-tmp/Context.p_o
> )
>
> dist/build/autogen/Context.hs:3:22: Not in scope: `available'
> cabal: Error: some packages failed to install:
> darcs-2.1.98.2 failed during the building phase. The exception was:
> exit: ExitFailure 1
> cabal install  222.14s user 11.81s system 97% cpu 4:00.20 total
>
> However, doing a configure && make && cabal install does work. I guess
> there is an omission in the .cabal?

"cabal install" can't see the binaries built by "make", because they're
in a different place (./ versus dist/build/darcs/).  So I'm not sure why
"cabal install" worked, unless maybe you didn't run "cabal clean", which
likewise cleans different things to "make maintainer-clean".



More information about the darcs-users mailing list