How to compile git-annex?

Brandon Allbery allbery.b at gmail.com
Sat Apr 25 22:14:37 UTC 2015


>
> parsec-3.1.9 (reinstall) changes: mtl-2.1.3.1 -> 2.2.1


mtl is almost certainly installed globally, and installing a private copy
is likely to cause all sorts of problems (as indeed cabal told you).

Since I see a bunch of yesod dependencies, I suspect you need to throw out
your global Platform installation because yesod does not bother with
Platform compatibility and in fact breaks it completely. Get a minimal ghc
and install Stackage, because that is the only install that yesod will
tolerate. (And get used to a world where your choices are either to let
yesod determine what you're allowed to install, or use a supposed standard
that certain parts of the Haskell world believe they have a mission to
destroy.)


On Sat, Apr 25, 2015 at 6:01 PM, Peng Yu <pengyu.ut at gmail.com> wrote:

> I clean up all Haskell related things in my home directory.
>
> rm -rf ~/.cabal
> rm -rf ~/Library/Haskell
> rm -rf ~.ghc/
> cabal update
> cabal install cabal-install
>
>
> Then I try to install git-annex again, which shows me the following.
> What I should do next?
>
> ~$ cabal install git-annex
> Resolving dependencies...
> In order, the following would be installed:
> HUnit-1.2.5.2 (new package)
> SafeSemaphore-0.10.1 (new package)
> ansi-terminal-0.6.2.1 (new package)
> ansi-wl-pprint-0.6.7.2 (new package)
> appar-0.1.4 (new package)
> async-2.0.2 (new package)
> auto-update-0.1.2.1 (new package)
> base16-bytestring-0.1.1.6 (new package)
> base64-bytestring-1.0.0.1 (new package)
> blaze-builder-0.4.0.1 (new package)
> blaze-markup-0.7.0.2 (new package)
> blaze-html-0.8.0.2 (new package)
> bloomfilter-2.0.0.0 (new package)
> byteable-0.1.1 (new package)
> byteorder-1.0.4 (new package)
> bytestring-builder-0.10.6.0.0 (new package)
> cereal-0.4.1.1 (new package)
> clock-0.4.5.0 (new package)
> cryptohash-0.11.6 (new package)
> data-default-class-0.0.1 (new package)
> data-default-instances-base-0.0.1 (new package)
> data-default-instances-containers-0.0.1 (new package)
> data-default-instances-old-locale-0.0.1 (new package)
> dataenc-0.14.0.7 (new package)
> dlist-0.7.1.1 (new package)
> data-default-instances-dlist-0.0.1 (new package)
> data-default-0.5.3 (new package)
> cookie-0.4.1.4 (new package)
> easy-file-0.2.0 (new package)
> edit-distance-0.2.1.2 (new package)
> entropy-0.3.6 (new package)
> fast-logger-2.3.1 (new package)
> file-embed-0.0.8.2 (new package)
> gnuidn-0.2.1 (new package)
> hashable-1.2.3.2 (new package)
> case-insensitive-1.2.0.4 (new package)
> hourglass-0.2.9 (new package)
> asn1-types-0.3.0 (new package)
> http-types-0.8.6 (new package)
> iproute-1.4.0 (new package)
> mime-mail-0.4.8.2 (new package)
> mime-types-0.1.0.6 (new package)
> monad-loops-0.4.2.1 (new package)
> nats-1 (new package)
> network-info-0.2.0.5 (new package)
> network-multicast-0.0.11 (new package)
> parallel-3.2.0.6 (new package)
> path-pieces-0.2.0 (new package)
> prelude-extras-0.4 (new package)
> reflection-1.5.1.2 (new package)
> safe-0.3.8 (new package)
> scientific-0.3.3.8 (new package)
> attoparsec-0.12.1.6 (new package)
> css-text-0.1.2.1 (new package)
> email-validate-2.1.1 (new package)
> http-date-0.0.6 (new package)
> securemem-0.1.7 (new package)
> crypto-cipher-types-0.0.9 (new package)
> cipher-aes-0.2.10 (new package)
> cipher-des-0.0.6 (new package)
> cipher-rc4-0.1.4 (new package)
> setenv-0.1.1.3 (new package)
> silently-1.2.4.1 (new package)
> simple-sendfile-0.2.18 (new package)
> socks-0.5.4 (new package)
> stm-chans-3.0.0.3 (new package)
> stringsearch-0.3.6.6 (new package)
> system-filepath-0.4.13.3 (new package)
> system-fileio-0.3.16.2 (new package)
> tagged-0.8.0.1 (new package)
> tagsoup-0.13.3 (new package)
> transformers-0.4.3.0 (new version)
> StateVar-1.1.0.0 (new package)
> crypto-api-0.13.2 (new package)
> gsasl-0.3.5 (new package)
> mmorph-1.0.4 (new package)
> monads-tf-0.1.0.2 (new package)
> gnutls-0.1.5 (new package)
> mtl-2.2.1 (new version)
> IfElse-0.85 (new package)
> asn1-encoding-0.9.0 (new package)
> asn1-parse-0.9.0 (new package)
> crypto-pubkey-types-0.4.3 (new package)
> hfsevents-0.1.5 (new package)
> hslogger-1.2.8 (new package)
> parsec-3.1.9 (reinstall) changes: mtl-2.1.3.1 -> 2.2.1
> bencode-0.5.0.1 (new package)
> json-0.9.1 (new package)
> network-uri-2.6.0.1 (reinstall)
> pem-0.2.2 (new package)
> primitive-0.6 (new package)
> regex-base-0.93.2 (new package)
> regex-posix-0.95.2 (new package)
> regex-compat-0.95.1 (new package)
> MissingH-1.3.0.1 (new package)
> regex-tdfa-1.2.0 (new package)
> skein-1.0.9.3 (new package)
> streaming-commons-0.1.12 (new package)
> torrent-10000.0.0 (new package)
> transformers-compat-0.4.0.4 (new package)
> MonadRandom-0.3.0.2 (new package)
> distributive-0.4.4 (new package)
> exceptions-0.8.0.2 (new package)
> optparse-applicative-0.11.0.2 (new package)
> transformers-base-0.4.4 (new package)
> monad-control-1.0.0.4 (new package)
> lifted-base-0.2.3.6 (new package)
> enclosed-exceptions-1.0.1.1 (new package)
> resourcet-1.1.4.1 (new package)
> unix-compat-0.4.1.4 (new package)
> unix-time-0.3.5 (new package)
> unordered-containers-0.2.5.1 (new package)
> semigroups-0.16.2.2 (new package)
> utf8-string-1 (new package)
> language-javascript-0.5.13.3 (new package)
> hjsmin-0.1.4.7 (new package)
> publicsuffixlist-0.1 (new package)
> http-client-0.4.11.1 (new package)
> uuid-types-1.0.1 (new package)
> uuid-1.3.10 (new package)
> vault-0.3.0.4 (new package)
> vector-0.10.12.3 (new package)
> aeson-0.8.0.2 +old-locale (new package)
> crypto-random-0.0.9 (new package)
> cprng-aes-0.6.1 (new package)
> clientsession-0.9.1.1 (new package)
> crypto-numbers-0.2.7 (new package)
> crypto-pubkey-0.2.8 (new package)
> mwc-random-0.13.3.2 (new package)
> resource-pool-0.2.3.2 (new package)
> shakespeare-2.0.4.1 (new package)
> hamlet-1.2.0 (new package)
> void-0.7 (new package)
> conduit-1.2.4 (new package)
> conduit-extra-1.1.7.2 (new package)
> contravariant-1.3.1 (new package)
> comonad-4.2.5 (new package)
> cryptohash-conduit-0.1.1 (new package)
> dns-1.4.5 (new package)
> monad-logger-0.3.13.1 (new package)
> persistent-2.1.3 (new package)
> esqueleto-2.1.3 (new package)
> persistent-sqlite-2.1.4.1 (new package)
> persistent-template-2.1.3 (new package)
> semigroupoids-4.3 (new package)
> bifunctors-4.2.1 (new package)
> profunctors-4.4.1 (new package)
> free-4.11 (new package)
> adjunctions-4.2 (new package)
> either-4.3.3.2 (new package)
> errors-1.4.7 (new package)
> kan-extensions-4.2.1 (new package)
> lens-4.9.1 (new package)
> wai-3.0.2.3 (new package)
> wai-logger-2.2.4 (new package)
> warp-3.0.12.1 (new package)
> word8-0.1.2 (new package)
> wai-extra-3.0.7.1 (new package)
> wai-app-static-3.0.1 (new package)
> x509-1.5.0.1 (new package)
> x509-store-1.5.0 (new package)
> x509-system-1.5.0 (new package)
> x509-validation-1.5.1 (new package)
> tls-1.2.17 (new package)
> connection-0.2.4 (new package)
> http-client-tls-0.2.2 (new package)
> http-conduit-2.1.5 (new package)
> warp-tls-3.0.3 (new package)
> xml-types-0.3.4 (new package)
> libxml-sax-0.7.5 (new package)
> network-protocol-xmpp-0.4.6 (new package)
> xml-conduit-1.2.4 (new package)
> aws-0.11.4 (new package)
> tagstream-conduit-0.5.5.3 (new package)
> authenticate-1.3.2.11 (new package)
> xml-hamlet-0.4.0.10 (new package)
> DAV-1.0.4 (new package)
> xss-sanitize-0.3.5.5 (new package)
> yaml-0.8.11 (new package)
> yesod-core-1.4.9.1 (new package)
> yesod-default-1.2.0 (new package)
> yesod-persistent-1.4.0.2 (new package)
> yesod-form-1.4.4.1 (new package)
> yesod-auth-1.4.4 (new package)
> yesod-1.4.1.5 (new package)
> yesod-static-1.4.0.4 (new package)
> git-annex-5.20150420 -testsuite -feed (new package)
> cabal: The following packages are likely to be broken by the reinstalls:
> HTTP-4000.2.19
> Use --force-reinstalls if you want to install anyway.
>
>
> On Sat, Apr 25, 2015 at 4:18 PM, Brandon Allbery <allbery.b at gmail.com>
> wrote:
> >
> > On Sat, Apr 25, 2015 at 3:45 PM, Peng Yu <pengyu.ut at gmail.com> wrote:
> >>
> >> Why cabal install print so many irrelevant messages? Is it better to
> >> follow Unix "Rule of Silence" to only print usage error messages?
> >
> >
> > This is not an irrelevant message:
> >
> >> asn1-parse-0.9.0 (reinstall) changes: text-1.2.0.4 added
> >
> >
> > It's an indication that things are about to go very wrong, as indeed they
> > did. In fact, the errors you got indicate quite a lot of problems with
> your
> > Haskell installation; you apparently have a bunch of broken packages.
> >
> > --
> > brandon s allbery kf8nh                               sine nomine
> associates
> > allbery.b at gmail.com
> ballbery at sinenomine.net
> > unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
>
>
>
> --
> Regards,
> Peng
>



-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/cabal-devel/attachments/20150425/837e7258/attachment-0001.html>


More information about the cabal-devel mailing list