#36888 closed defect (fixed)
ghc and hs-platform-ghc are in conflict
Reported by: | jasonh@… | Owned by: | neverpanic (Clemens Lang) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | kitchen.andy@…, cooljeanius (Eric Gallager), kmichael.aye@…, gnw3, shami.chatterjee@…, bernhard.fisseni@…, maehne (Torsten Maehne), cmconnelly (Claire Connelly) | |
Port: | ghc hs-platform-ghc pandoc |
Description
I'm trying to build the "pandoc" port, which depends on "ghc" and "hs-pandoc-types", but "hs-pandoc-types" depends on "hs-platform-ghc".
ghc and hs-platform-ghc are incompatible, so "pandoc" doesn't install. I assume this is temporary, that one of the ports (probably "ghc") is deprecated. I'd like to use "pandoc", so I'm requesting a cleanup to get this to work.
Thanks! Jason
Attachments (1)
Change History (17)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | cal@… added |
---|---|
Keywords: | pandoc ghc removed |
comment:2 follow-up: 3 Changed 12 years ago by neverpanic (Clemens Lang)
Owner: | changed from macports-tickets@… to cal@… |
---|
comment:3 Changed 12 years ago by jasonh@…
Thanks Cal,
The dependency error is transitive, pandoc -> hs-pandoc-types -> syb. AFAICT, the only "syb" package is "hs-platform-syb", which depends on "hs-platform-ghc".
So maybe the real error is not what I reported, but that the package "syb" is simply missing. However, trying to get hs-platform-syb to stand in for it might be a problem, and leads to this issue of ghc vs. hs-platform-ghc.
comment:5 Changed 12 years ago by jmroot (Joshua Root)
Cc: | kitchen.andy@… added; cal@… removed |
---|---|
Port: | ghc hs-platform-ghc added |
comment:8 Changed 12 years ago by gnurser (George Nurser)
Pandoc is necessary for the nbconvert program that allows ipython notebooks to be exported in a variety of formats. It would be great if this could be sorted:)
comment:9 Changed 12 years ago by andy@…
Syb doesn't have any complex dependencies, a quick fix for this would be to just create a syb-devel
port that
is not dependent on the haskell-platform-ghc (because it really isn't)
comment:14 follow-up: 15 Changed 12 years ago by cooljeanius (Eric Gallager)
Pandoc was updated in r104342; not sure if that fixes this though
comment:15 follow-up: 16 Changed 12 years ago by seanfarley (Sean Farley)
Resolution: | → fixed |
---|---|
Status: | new → closed |
My
hs-pandoc-types
port does not depend onhs-platform-ghc
. Did you modify yourhs-pandoc-types
port?The
ghc
andhs-platform-ghc
ports are not deprecated; the ghc currently in the haskell platform is older than theghc
port (and provided inhs-platform-ghc
). The ideal solution for this problem would be to install the haskell-platform ghc using a pre- or suffix, e.g. ashs-platform-ghc
, so theghc
andhs-platform-ghc
ports would no longer conflict.A different solution for the problem would be to only provide the haskell platform, or to stop providing the haskell platform completely (which the haskell community apprently does not encourage).