[Haskell-cafe] shakespeare >= 2.0.2 fails to install in OS X 10.6.8, Haskell-platform 2014.2.0.0; cabal-install 1.22.4.0

Christopher Allen cma at bitemyapp.com
Thu Jun 18 20:16:45 UTC 2015


Some of that looks like churn from trying to install an older version of
Yesod over a newer one. Are you using a sandbox? if so, did you wipe it out
before attempting Yesod 1.2.6.1? What we'd be looking for is a package
conflict that tells you which package of what version that is globally
installed is causing the conflict.

Insta-Yesodian conflict implies you're reinstalling into a not-fresh
packgage-db which means you either need to wipe your user package-db or use
a sandbox. (I recommend the latter).

If you haven't done so, do that, then re-attempt that version of Yesod
(1.2.6.1).



On Thu, Jun 18, 2015 at 2:57 PM, Miguel A. Santos <
miguel.a.santos.l at gmail.com> wrote:

> Thanks! No problem. I gave a try to your suggestion. It doesn't look I'll
> get yesod installed without "paying"
> a bigger price than just "downgrading". :-/
>
> Yesod 1.4.0 warns that forcing installing it will likely break pandoc,
> among other things.
> I can give it a try though, but I really use pandoc regularly. Plus, it's
> still not clear that the building process
> will not fail. And installing pandoc took me surprisingly a lot of time
> last time.
>
> Forcing Yesod-1.2.6.1 won't allow cabal to satisfy the dependencies.
>
> I guess I could keep trying other versions and see. But I think I'll try
> the 1.4.0 first. Will post here
> the results so that at least others may hopefully benefit from this.
>
>
> -----------------------------------------------------------------------------------------
>  msantos at MBP-2[15:42]:~/System$cabal install yesod-1.4.0
> Resolving dependencies...
> In order, the following would be installed:
> monad-control-0.3.3.1 (latest: 1.0.0.4) (via: yesod-1.4.0
> yesod-core-1.4.9.1 authenticate-1.3.2.11 xml-conduit-1.3.0
> persistent-template-2.1.3.3 persistent-2.1.6 monad-logger-0.3.13.1
> http-conduit-2.1.5 conduit-extra-1.1.9 resourcet-1.1.5
> resource-pool-0.2.3.2 enclosed-exceptions-1.0.1.1 lifted-base-0.2.3.6) (new
> version)
> lifted-base-0.2.3.6 (via: yesod-auth-1.4.5 yesod-core-1.4.9.1
> wai-extra-3.0.7.1 persistent-2.1.6 monad-logger-0.3.13.1 http-conduit-2.1.5
> conduit-1.2.4.2 resourcet-1.1.5 enclosed-exceptions-1.0.1.1) (reinstall)
> (changes: monad-control-1.0.0.4 -> 0.3.3.1)
> enclosed-exceptions-1.0.1.1 (via: yaml-0.8.11) (reinstall) (changes:
> monad-control-1.0.0.4 -> 0.3.3.1)
> resource-pool-0.2.3.2 (via: yesod-persistent-1.4.0.2 persistent-2.1.6)
> (reinstall) (changes: monad-control-1.0.0.4 -> 0.3.3.1)
> resourcet-1.1.5 (via: yesod-auth-1.4.5 yesod-form-1.4.4.1
> yesod-persistent-1.4.0.2 yesod-core-1.4.9.1 yaml-0.8.11
> authenticate-1.3.2.11 tagstream-conduit-0.5.5.3 xml-conduit-1.3.0
> wai-extra-3.0.7.1 persistent-2.1.6 monad-logger-0.3.13.1 http-conduit-2.1.5
> conduit-extra-1.1.9 conduit-1.2.4.2) (reinstall) (changes:
> monad-control-1.0.0.4 -> 0.3.3.1)
> conduit-1.2.4.2 (via: yesod-auth-1.4.5 yesod-persistent-1.4.0.2
> yesod-core-1.4.9.1 yaml-0.8.11 authenticate-1.3.2.11
> tagstream-conduit-0.5.5.3 xml-conduit-1.3.0 persistent-2.1.6
> monad-logger-0.3.13.1 http-conduit-2.1.5 conduit-extra-1.1.9) (reinstall)
> conduit-extra-1.1.9 (via: yesod-1.4.0 yesod-auth-1.4.5 yesod-core-1.4.9.1
> tagstream-conduit-0.5.5.3 xml-conduit-1.3.0 monad-logger-0.3.13.1)
> (reinstall) (changes: monad-control-1.0.0.4 -> 0.3.3.1)
> http-conduit-2.1.5 (via: yesod-auth-1.4.5 authenticate-1.3.2.11)
> (reinstall) (changes: monad-control-1.0.0.4 -> 0.3.3.1)
> monad-logger-0.3.13.1 (via: yesod-1.4.0 yesod-core-1.4.9.1
> persistent-template-2.1.3.3 persistent-2.1.6) (reinstall) (changes:
> monad-control-1.0.0.4 -> 0.3.3.1)
> persistent-2.1.6 (via: yesod-auth-1.4.5 yesod-form-1.4.4.1
> yesod-persistent-1.4.0.2 persistent-template-2.1.3.3) (reinstall) (changes:
> monad-control-1.0.0.4 -> 0.3.3.1)
> persistent-template-2.1.3.3 (via: yesod-auth-1.4.5
> yesod-persistent-1.4.0.2) (reinstall) (changes: monad-control-1.0.0.4 ->
> 0.3.3.1)
> shakespeare-2.0.5 (via: yesod-1.4.0 yesod-auth-1.4.5 yesod-form-1.4.4.1
> yesod-core-1.4.9.1) (new package)
> wai-extra-3.0.7.1 (via: yesod-1.4.0 yesod-core-1.4.9.1) (reinstall)
> xml-conduit-1.3.0 (via: authenticate-1.3.2.11 tagstream-conduit-0.5.5.3)
> (reinstall) (changes: monad-control-1.0.0.4 -> 0.3.3.1)
> tagstream-conduit-0.5.5.3 (via: authenticate-1.3.2.11) (reinstall)
> authenticate-1.3.2.11 (via: yesod-auth-1.4.5) (reinstall) (changes:
> monad-control-1.0.0.4 -> 0.3.3.1)
> yaml-0.8.11 (via: yesod-1.4.0) (reinstall)
> yesod-core-1.4.9.1 (via: yesod-1.4.0 yesod-auth-1.4.5 yesod-form-1.4.4.1
> yesod-persistent-1.4.0.2) (new package)
> yesod-persistent-1.4.0.2 (via: yesod-1.4.0 yesod-auth-1.4.5
> yesod-form-1.4.4.1) (new package)
> yesod-form-1.4.4.1 (via: yesod-1.4.0 yesod-auth-1.4.5) (new package)
> yesod-auth-1.4.5 (via: yesod-1.4.0) (new package)
> yesod-1.4.0 (latest: 1.4.1.5) (new package)
> cabal: The following packages are likely to be broken by the reinstalls:
> pandoc-citeproc-0.7.1.1
> pandoc-1.14.0.4
> project-template-0.2.0
> http-reverse-proxy-0.4.2
> Use --force-reinstalls if you want to install anyway.
> msantos at MBP-2[15:42]:~/System$cabal install yesod-1.2.6.1
> Resolving dependencies...
> cabal: Could not resolve dependencies:
> next goal: yesod (user goal)
> rejecting: yesod-1.4.1.5, 1.4.1.4, 1.4.1.3, 1.4.1.2, 1.4.1.1, 1.4.1, 1.4.0
> (global constraint requires ==1.2.6.1)
> trying: yesod-1.2.6.1
> trying: streaming-commons-0.1.12.1/installed-200... (dependency of
> yesod-1.2.6.1)
> trying: warp-3.0.13.1/installed-150... (dependency of yesod-1.2.6.1)
> next goal: yesod-form (dependency of yesod-1.2.6.1)
> rejecting: yesod-form-1.4.4.1, 1.4.4, 1.4.3.1, 1.4.3, 1.4.2.1, 1.4.2,
> 1.4.1.1,
> 1.4.1, 1.4.0.2, 1.4.0.1, 1.4.0 (conflict: yesod => yesod-form>=1.3 && <1.4)
> trying: yesod-form-1.3.16
> next goal: persistent (dependency of yesod-form-1.3.16)
> rejecting: persistent-2.1.6/installed-4f9..., 2.1.6, 2.1.5, 2.1.4, 2.1.3,
> 2.1.2, 2.1.1.7, 2.1.1.6, 2.1.1.5, 2.1.1.4, 2.1.1.3, 2.1.1.2, 2.1.1.1,
> 2.1.1,
> 2.1.0.2, 2.1.0.1, 2.1 (conflict: yesod-form => persistent>=1.2 && <2.1)
> trying: persistent-1.3.3
> trying: path-pieces-0.2.0/installed-533... (dependency of persistent-1.3.3)
> next goal: yesod-core (dependency of yesod-1.2.6.1)
> rejecting: yesod-core-1.4.9.1, 1.4.9, 1.4.8.3, 1.4.8.2, 1.4.8.1, 1.4.8,
> 1.4.7.3, 1.4.7.2, 1.4.7.1, 1.4.7, 1.4.6.2, 1.4.6.1, 1.4.6, 1.4.5, 1.4.4.5,
> 1.4.4.4, 1.4.4.3, 1.4.4.2, 1.4.4.1, 1.4.4, 1.4.3.1, 1.4.3, 1.4.2, 1.4.1.1,
> 1.4.1, 1.4.0.2, 1.4.0.1, 1.4.0 (conflict: yesod => yesod-core>=1.2.2 &&
> <1.3)
> rejecting: yesod-core-1.2.20.1, 1.2.20, 1.2.19.2, 1.2.19.1, 1.2.19, 1.2.18,
> 1.2.17, 1.2.16.1, 1.2.16, 1.2.15.2, 1.2.15.1, 1.2.15, 1.2.14, 1.2.13.1,
> 1.2.13, 1.2.12, 1.2.11.1, 1.2.11, 1.2.10, 1.2.9.2, 1.2.9.1, 1.2.9, 1.2.8,
> 1.2.7, 1.2.6.7, 1.2.6.6, 1.2.6.5, 1.2.6.4, 1.2.6.3, 1.2.6.2, 1.2.6.1
> (conflict: path-pieces==0.2.0/installed-533..., yesod-core =>
> path-pieces>=0.1.2 && <0.2)
> rejecting: yesod-core-1.2.6 (conflict: streaming-commons =>
> text==1.1.0.0/installed-9bd..., yesod-core => text>=0.7 && <0.12)
> rejecting: yesod-core-1.2.5, 1.2.4.5, 1.2.4.4, 1.2.4.3, 1.2.4.2, 1.2.4.1,
> 1.2.4, 1.2.3, 1.2.2 (conflict: warp => wai==3.0.2.3/installed-39c...,
> yesod-core => wai>=1.4 && <1.5)
> rejecting: yesod-core-1.2.1, 1.2.0.4, 1.2.0.3, 1.2.0.2, 1.2.0.1, 1.2.0,
> 1.1.8.3, 1.1.8.2, 1.1.8.1, 1.1.8, 1.1.7.2, 1.1.7.1, 1.1.7, 1.1.6.1, 1.1.6,
> 1.1.5, 1.1.4.2, 1.1.4.1, 1.1.4, 1.1.3.1, 1.1.3, 1.1.2.2, 1.1.2.1, 1.1.2,
> 1.1.1.2, 1.1.1.1, 1.1.1, 1.1.0.1, 1.1.0, 1.0.1.3, 1.0.1.2, 1.0.1.1, 1.0.1,
> 1.0.0.2, 1.0.0.1, 1.0.0, 0.10.3, 0.10.2.2, 0.10.2.1, 0.10.2, 0.10.1,
> 0.9.4.1,
> 0.9.4, 0.9.3.6, 0.9.3.5, 0.9.3.4, 0.9.3.3, 0.9.3.2, 0.9.3.1, 0.9.3, 0.9.2,
> 0.9.1.1, 0.9.1, 0.8.3.2, 0.8.3.1, 0.8.3, 0.8.2, 0.8.1, 0.8.0.1, 0.8.0,
> 0.7.0.2, 0.7.0.1, 0.7.0 (conflict: yesod => yesod-core>=1.2.2 && <1.3)
> Backjump limit reached (change with --max-backjumps).
>
> --
> Public key ID: E8FE60D7
> Public key server: see, e.g., hkp://keys.gnupg.net
>
> On Thu, Jun 18, 2015 at 3:32 PM, Christopher Allen <cma at bitemyapp.com>
> wrote:
>
>> Ah that's frustrating, that's my mistake – I'm sorry. I thought you were
>> talking about GHC for Mac OS X not being available for your OS version
>> either.
>>
>> Your best bet on HP is to specify an older version of Yesod that will
>> work with the dependencies that your version of HP comes with.
>>
>> On Thu, Jun 18, 2015 at 2:08 PM, Miguel A. Santos <
>> miguel.a.santos.l at gmail.com> wrote:
>>
>>> Indeed I saw that. That's what I meant with the bindist not being
>>> available for OSX 10.6.8; only for 10.7+
>>> https://www.haskell.org/ghc/download_ghc_7_8_4#macosx_x86_64
>>> My bad, I should have said it before.
>>>
>>>
>>>
>>> --
>>> Public key ID: E8FE60D7
>>> Public key server: see, e.g., hkp://keys.gnupg.net
>>>
>>> On Thu, Jun 18, 2015 at 2:36 PM, Christopher Allen <cma at bitemyapp.com>
>>> wrote:
>>>
>>>> Did you see that the Mac instructions said to follow the "other *nix"
>>>> instructions if you were using an older version of Mac OS X?
>>>>
>>>> Those link here:
>>>> https://www.haskell.org/ghc/download_ghc_7_8_4#binaries
>>>>
>>>> Get rid of all that (GHC, HP, Cabal), then install GHC using the
>>>> bindist for Mac OS X linked above.
>>>>
>>>> On Thu, Jun 18, 2015 at 1:14 PM, Miguel A. Santos <
>>>> miguel.a.santos.l at gmail.com> wrote:
>>>>
>>>>> That is obviously a typo: I meant I *did* do a fresh install of the
>>>>> Haskell Platform and cabal before
>>>>> trying -and failing- to install yesod.
>>>>>
>>>>> On Thu, Jun 18, 2015 at 1:38 PM, Miguel A. Santos <
>>>>> miguel.a.santos.l at gmail.com> wrote:
>>>>>
>>>>>> This corresponds to a fresh install of the HP, ghc, and cabal I
>>>>>> didn't before trying to install yesod.
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Public key ID: E8FE60D7
>>>>> Public key server: see, e.g., hkp://keys.gnupg.net
>>>>>
>>>>> _______________________________________________
>>>>> Haskell-Cafe mailing list
>>>>> Haskell-Cafe at haskell.org
>>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Chris Allen
>>>> Currently working on http://haskellbook.com
>>>>
>>>
>>>
>>
>>
>> --
>> Chris Allen
>> Currently working on http://haskellbook.com
>>
>
>


-- 
Chris Allen
Currently working on http://haskellbook.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150618/527c8354/attachment-0001.html>


More information about the Haskell-Cafe mailing list