Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#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)

main.log (3.8 KB) - added by jasonh@… 12 years ago.
Error log for "pandoc" install

Download all attachments as: .zip

Change History (17)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: cal@… added
Keywords: pandoc ghc removed

comment:2 Changed 12 years ago by neverpanic (Clemens Lang)

Owner: changed from macports-tickets@… to cal@…

My hs-pandoc-types port does not depend on hs-platform-ghc. Did you modify your hs-pandoc-types port?

The ghc and hs-platform-ghc ports are not deprecated; the ghc currently in the haskell platform is older than the ghc port (and provided in hs-platform-ghc). The ideal solution for this problem would be to install the haskell-platform ghc using a pre- or suffix, e.g. as hs-platform-ghc, so the ghc and hs-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).

Changed 12 years ago by jasonh@…

Attachment: main.log added

Error log for "pandoc" install

comment:3 in reply to:  2 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:4 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:5 Changed 12 years ago by jmroot (Joshua Root)

Cc: kitchen.andy@… added; cal@… removed
Port: ghc hs-platform-ghc added

comment:6 Changed 12 years ago by kmichael.aye@…

Cc: kmichael.aye@… added

Cc Me!

comment:7 Changed 12 years ago by gnw3

Cc: gnwiii@… added

Cc Me!

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:10 Changed 12 years ago by shami.chatterjee@…

Cc: shami.chatterjee@… added

Cc Me!

comment:11 Changed 12 years ago by bernhard.fisseni@…

Cc: bernhard.fisseni@… added

Cc Me!

comment:12 Changed 12 years ago by maehne (Torsten Maehne)

Cc: Torsten.Maehne@… added

Cc Me!

comment:13 Changed 12 years ago by cmconnelly (Claire Connelly)

Cc: cmc@… added

Cc Me!

comment:14 Changed 12 years ago by cooljeanius (Eric Gallager)

Pandoc was updated in r104342; not sure if that fixes this though

comment:15 in reply to:  14 ; Changed 12 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: newclosed

Replying to egall@…:

Pandoc was updated in r104342; not sure if that fixes this though

It should work out this particular issue, so I'm closing it for now.

comment:16 in reply to:  15 Changed 12 years ago by cooljeanius (Eric Gallager)

Replying to sean@…:

Replying to egall@…:

Pandoc was updated in r104342; not sure if that fixes this though

It should work out this particular issue, so I'm closing it for now.

OK, if it works out this issue, you should probably check out #29961, #36608, and #37403, too.

Note: See TracTickets for help on using tickets.