[darcs-devel] Failed to build darcs with cabal v2-install
Rui Chen
rui at meetup.com
Sun Aug 16 23:44:32 UTC 2020
Hi Folks,
I have some trouble upgrading the homebrew formula to the latest.
Here is the PR reference,
https://github.com/Homebrew/homebrew-core/pull/59702
Error message is with Color package:
==> cabal v2-update
Config file path source is default config file.
Config file
/private/tmp/darcs-20200815-93928-lfe5vc/darcs-2.16.1/.brew_home/.cabal/config
not found.
Writing default configuration to
/private/tmp/darcs-20200815-93928-lfe5vc/darcs-2.16.1/.brew_home/.cabal/config
Downloading the latest package list from hackage.haskell.org
==> cabal v2-install --jobs=6 --max-backjumps=100000
--install-method=copy --installdir=/usr/local/Cellar/darcs/2.16.1/bin
Wrote tarball sdist to
/private/tmp/darcs-20200815-93928-lfe5vc/darcs-2.16.1/dist-newstyle/sdist/darcs-2.16.1.tar.gz
cabal: color.hs doesn't exist
I was also trying to use Stack to do the installation in my local, running
into a similar build issue.
```
Error: While constructing the build plan, the following exceptions were
encountered:
In the dependencies for darcs-2.16.1:
sandi must match >=0.4 && <0.6, but the stack configuration has no
specified version (latest
matching version is 0.5)
needed since darcs is a build target.
Some different approaches to resolving this:
* Recommended action: try adding the following to your extra-deps
in /Users/rchen/.stack/global-project/stack.yaml:
- sandi-0.5 at sha256
:b278d072ca717706ea38f9bd646e023f7f2576a778fb43565b434f93638849aa,3010
Plan construction failed.
```
Let me know I need to provide more information.
Thanks,
Rui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20200816/b0b0f26b/attachment.html>
More information about the darcs-devel
mailing list