public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: "krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <krulis.tomas.tk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Install with cabal fails with ghc 9.0.1, ghc 8.10.5 OK
Date: Tue, 15 Jun 2021 13:56:56 -0700 (PDT)	[thread overview]
Message-ID: <649e1e26-1e08-4d95-a69f-8ee88d4643f7n@googlegroups.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 3147 bytes --]

As Manjaro (Arch derivative) user learning Haskell I am a little struggling 
to set up functional environment for working with Haskell. Currently, I 
have landed on using `ghcup` + `cabal` to manage everything haskell 
related. I have good experience with `rustup` + `cargo`, so I hope my 
experience with `ghcup` will be also "UP."

With that, I am landing on compiling pandoc from source, not downloading 
binary package. Compilation with ghc v. 8.10.5 works as expected, but with 
ghc 9.0.1 (latest I believe) it fails with this output:

```
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: pandoc-2.14.0.2 (user goal)
[__1] trying: unicode-collation-0.1.3 (dependency of pandoc)
[__2] trying: template-haskell-2.17.0.0/installed-2.17.0.0 (dependency of
unicode-collation)
[__3] trying: skylighting-core-0.10.5.1 (dependency of pandoc)
[__4] trying: transformers-0.5.6.2/installed-0.5.6.2 (dependency of
skylighting-core)
[__5] trying: containers-0.6.4.1/installed-0.6.4.1 (dependency of pandoc)
[__6] trying: base-4.15.0.0/installed-4.15.0.0 (dependency of pandoc)
[__7] trying: pandoc-crossref-0.3.11.0 (user goal)
[__8] next goal: data-accessor-template (dependency of pandoc-crossref)
[__8] rejecting: data-accessor-template-0.2.1.16 (conflict:
template-haskell==2.17.0.0/installed-2.17.0.0, data-accessor-template =>
template-haskell>=2.11 && <2.17)
[__8] skipping: data-accessor-template-0.2.1.15,
data-accessor-template-0.2.1.14, data-accessor-template-0.2.1.13,
data-accessor-template-0.2.1.12, data-accessor-template-0.2.1.11,
data-accessor-template-0.2.1.10, data-accessor-template-0.2.1.9,
data-accessor-template-0.2.1.8, data-accessor-template-0.2.1.7,
data-accessor-template-0.2.1.6, data-accessor-template-0.2.1.5,
data-accessor-template-0.2.1.4, data-accessor-template-0.2.1.3,
data-accessor-template-0.2.1.2, data-accessor-template-0.2.1.1,
data-accessor-template-0.2.1, data-accessor-template-0.2,
data-accessor-template-0.1.4, data-accessor-template-0.1.3,
data-accessor-template-0.1.2, data-accessor-template-0.1.1 (has the same
characteristics that caused the previous version to fail: excludes
'template-haskell' version 2.17.0.0)
[__8] fail (backjumping, conflict set: data-accessor-template,
pandoc-crossref, template-haskell)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: pandoc, yaml, pandoc-crossref, base,
template-haskell, data-accessor-template, transformers, skylighting-core,
containers, unicode-collation
Try running with --minimize-conflict-set to improve the error message.
```

Is it known state of things, or is it some error on my side?
Thanks in advance for any guidance in this, regards
Tomas

-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/649e1e26-1e08-4d95-a69f-8ee88d4643f7n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 3888 bytes --]

             reply	other threads:[~2021-06-15 20:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-15 20:56 krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org [this message]
     [not found] ` <649e1e26-1e08-4d95-a69f-8ee88d4643f7n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-06-15 22:16   ` John MacFarlane
     [not found]     ` <m2tuly3h9i.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
2021-06-16  5:47       ` krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
     [not found]         ` <57f79311-99d1-4ba7-983a-58b530bad1e6n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-06-16  8:14           ` krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

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=649e1e26-1e08-4d95-a69f-8ee88d4643f7n@googlegroups.com \
    --to=krulis.tomas.tk-re5jqeeqqe8avxtiumwx3w@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).