Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#30364 closed defect (fixed)

ghc does not compile under lion

Reported by: ReneThiemann@… Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: lion Cc: thomas@…, jowens@…, cmconnelly (Claire Connelly), rob.patro@…, rod@…, easye, randompeach@…, kent@…, zhaomeng.zhu@…, jean-philippe.humbert@…, paul.vernaza@…, alun.j.carr@…, schinder@…, cjlacz@…, birk@…
Port: ghc

Description

Hi there,

I got the following error message when trying to install ghc @6.10.4 under lion using macports 2.0.0:

:error:patch Target org.macports.patch returned: can't read "ghc_bootversion": no such variable

Note, that to compile the prerequisite perl5.8, I used the patch described under ticket #30032. Moreover, when first installing ghc under snow leopard with older macports version, and then updating to lion, ghc works fine.

Any help is appreciated, René

Attachments (1)

ghc-Portfile.diff (3.6 KB) - added by easye 13 years ago.

Download all attachments as: .zip

Change History (22)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Keywords: lion added
Owner: changed from macports-tickets@… to gwright@…

Please remember to cc the maintainer.

comment:2 Changed 13 years ago by thomas@…

I would like to second this bug report. I also managed to install perl5.8 by manually applying r76831, but then ghc failed to compile because of the same reason as stated by René in this bug report.

-- Thomas

comment:3 Changed 13 years ago by thomas@…

Cc: thomas@… added

Cc Me!

comment:4 Changed 13 years ago by jowens@…

Cc: jowens@… added

Cc Me!

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

Cc: cmc@… added

Cc Me!

comment:6 Changed 13 years ago by rob.patro@…

Cc: rob.patro@… added

Cc Me!

comment:7 Changed 13 years ago by rod@…

Cc: rod@… added

Cc Me!

comment:8 Changed 13 years ago by easye

Cc: easieste@… added

Cc Me!

comment:9 Changed 13 years ago by evandrix (Lee Wei Yeong)

Cc Me!

comment:10 Changed 13 years ago by jjramsey@…

Cc: jjramsey@… added

Cc Me!

comment:11 Changed 13 years ago by randompeach@…

Cc: randompeach@… added

Cc Me!

comment:12 Changed 13 years ago by kent@…

Cc Me!

comment:13 Changed 13 years ago by kent@…

Cc: kent@… added

Cc Me!

comment:14 Changed 13 years ago by zhaomeng.zhu@…

Cc: zhaomeng.zhu@… added

Cc Me!

comment:15 Changed 13 years ago by easye

By copying the darwin 10 platform clause and forcing the use of gcc-4.2, ghc installs under OS X 10.7 Lion

Changed 13 years ago by easye

Attachment: ghc-Portfile.diff added

comment:16 Changed 13 years ago by jean-philippe.humbert@…

Cc: jean-philippe.humbert@… added

Cc Me!

comment:17 Changed 13 years ago by paul.vernaza@…

Cc: paul.vernaza@… added

Cc Me!

comment:18 Changed 13 years ago by alun.j.carr@…

Cc: alun.j.carr@… added

Cc Me!

comment:19 Changed 13 years ago by jjramsey@…

Cc: jjramsey@… removed

Cc Me!

comment:20 Changed 13 years ago by easye

Resolution: fixed
Status: newclosed

Fix committed in r83397.

comment:21 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: schinder@… cjlacz@… birk@… added

Has duplicate #30648.

Note: See TracTickets for help on using tickets.