public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: cabal install: mmorph dependency hell?
Date: Sat, 4 Jan 2014 17:09:56 -0800	[thread overview]
Message-ID: <20140105010956.GA19596@protagoras.phil.berkeley.edu> (raw)
In-Reply-To: <4abea295-706b-4186-93e7-0dc10bbdacfe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

Odd, it's trying to downgrade the version of transformers
that mmorph depends on.  I'm not sure why.  It could be that
one of the other packages it needs to install is incompatible
with the latest transformers (though I don't think that's the
case).  Or maybe one of the other pandoc dependencies that you
compiled earlier is linked against transformers-0.2.2.0.

Have you tried doing a 'cabal clean' before 'cabal install --reinstall'?

+++ Ben Bolker [Jan 04 14 15:30 ]:
>    I  have pandoc 1.11.1 installed via cabal on Ubuntu 12.04, trying to
>    update (I really want the "pause" functionality for slide shows).
>    I'm having trouble with the 'mmorph' dependency, which is reported to
>    fail when I 'cabal install pandoc' (after 'cabal update').   If I
>    'cabal install mmorph' it tells me it's already installed. If I 'cabal
>    install mmorph --reinstall' it appears to install correctly (see
>    below), but 'cabal install pandoc' still fails.
>    I only use cabal/haskell for pandoc, so I'm pretty clueless -- any help
>    would be greatly appreciated.
>    Two possible clues:
>    1. in the output below I see both
>         (mmorph reinstall): mmorph-1.0.1 (reinstall) changes:
>    transformers-0.3.0.0 -> 0.2.2.0
>    and
>       (failed mmorph install):
>        Could not find module `Control.Applicative.Backwards'
>        [...]
>        It is a member of the hidden package `transformers-0.3.0.0'.
>    Is there a dependency mismatch here somewhere?
>    2. I see from https://github.com/Gabriel439/Haskell-MMorph-Library that
>    mmorph 1.0.1 was only released 5 days ago, so maybe I'm among the first
>    to stumble on a new problem?
>      sincerely
>        Ben Bolker
>    $ cabal install pandoc
>    Resolving dependencies...
>    In order, the following will be installed:
>    mmorph-1.0.1 (reinstall) changes: transformers-0.3.0.0 -> 0.2.2.0
>    resourcet-0.4.10 (new package)
>    conduit-1.0.9.3 (new package)
>    blaze-builder-conduit-1.0.0 (new package)
>    yaml-0.8.5.2 (new package)
>    zlib-conduit-1.0.0 (new package)
>    http-conduit-1.9.6 (new package)
>    pandoc-1.12.2.1 (new package)
>    Warning: Note that reinstalls are always dangerous. Continuing
>    anyway...
>    Configuring mmorph-1.0.1...
>    Building mmorph-1.0.1...
>    Preprocessing library mmorph-1.0.1...
>    src/Control/Monad/Morph.hs:76:8:
>        Could not find module `Control.Applicative.Backwards'
>        It is a member of the hidden package `applicative-extras-0.1.8'.
>        Perhaps you need to add `applicative-extras' to the build-depends
>    in your .cabal file.
>        It is a member of the hidden package `transformers-0.3.0.0'.
>        Perhaps you need to add `transformers' to the build-depends in your
>    .cabal file.
>        Use -v to see a list of the files searched for.
>    cabal: Error: some packages failed to install:
>    blaze-builder-conduit-1.0.0 depends on mmorph-1.0.1 which failed to
>    install.
>    conduit-1.0.9.3 depends on mmorph-1.0.1 which failed to install.
>    http-conduit-1.9.6 depends on mmorph-1.0.1 which failed to install.
>    mmorph-1.0.1 failed during the building phase. The exception was:
>    ExitFailure 1
>    pandoc-1.12.2.1 depends on mmorph-1.0.1 which failed to install.
>    resourcet-0.4.10 depends on mmorph-1.0.1 which failed to install.
>    yaml-0.8.5.2 depends on mmorph-1.0.1 which failed to install.
>    zlib-conduit-1.0.0 depends on mmorph-1.0.1 which failed to install.
>     cabal install mmorph --reinstall
>    Resolving dependencies...
>    In order, the following will be installed:
>    mmorph-1.0.1 (reinstall)
>    Warning: Note that reinstalls are always dangerous. Continuing
>    anyway...
>    Configuring mmorph-1.0.1...
>    Building mmorph-1.0.1...
>    Preprocessing library mmorph-1.0.1...
>    [1 of 2] Compiling Control.Monad.Morph ( src/Control/Monad/Morph.hs,
>    dist/build/Control/Monad/Morph.o )
>    [2 of 2] Compiling Control.Monad.Trans.Compose (
>    src/Control/Monad/Trans/Compose.hs,
>    dist/build/Control/Monad/Trans/Compose.o )
>    Registering mmorph-1.0.1...
>    Installing library in /home/bolker/.cabal/lib/mmorph-1.0.1/ghc-7.4.1
>    Registering mmorph-1.0.1...
> 
>    --
>    You received this message because you are subscribed to the Google
>    Groups "pandoc-discuss" group.
>    To unsubscribe from this group and stop receiving emails from it, send
>    an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>    To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>    To view this discussion on the web visit
>    [1]https://groups.google.com/d/msgid/pandoc-discuss/4abea295-706b-4186-
>    93e7-0dc10bbdacfe%40googlegroups.com.
>    For more options, visit [2]https://groups.google.com/groups/opt_out.
> 
> References
> 
>    1. https://groups.google.com/d/msgid/pandoc-discuss/4abea295-706b-4186-93e7-0dc10bbdacfe%40googlegroups.com
>    2. https://groups.google.com/groups/opt_out


  parent reply	other threads:[~2014-01-05  1:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-04 23:30 Ben Bolker
     [not found] ` <4abea295-706b-4186-93e7-0dc10bbdacfe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-01-05  0:06   ` kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg
     [not found]     ` <01d34fec-f7e7-4c8e-8d7e-5bd92f60a963-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-01-05  0:10       ` Ben Bolker
2014-01-05  1:09   ` John MacFarlane [this message]
     [not found]     ` <20140105010956.GA19596-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2014-01-05  2:37       ` Ben Bolker
     [not found]         ` <52C8C576.9070708-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-01-05 19:59           ` John MacFarlane
     [not found]             ` <20140105195901.GB30945-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2014-01-05 20:39               ` Ben Bolker
     [not found]                 ` <52C9C2E5.805-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-01-05 21:58                   ` Josef Svenningsson
     [not found]                     ` <CAGF=PZ+ENyT4uLTDtT8VKAAV+=1Zgq7_kUE0RSAYTXQChO8+oQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-05 22:04                       ` Ben Bolker
     [not found]                         ` <52C9D6D6.5050001-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-01-05 22:28                           ` Ben Bolker
     [not found]                             ` <f015423a-7676-4adc-9933-f8e27107d821-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-01-05 22:49                               ` Ben Bolker
     [not found]                                 ` <15eeb1bf-2376-49aa-8091-230149ce56c5-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-01-06  4:57                                   ` John MacFarlane
     [not found]                                     ` <20140106045701.GA15596-9Rnp8PDaXcZ2EAH53EmH34tHsfhOvSUSZkel5v8DVj8@public.gmane.org>
2014-01-18  0:21                                       ` Mario Marić
2014-01-22 18:25                       ` Josef Svenningsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140105010956.GA19596@protagoras.phil.berkeley.edu \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).