[Haskell-cafe] Haskell Platform 2014 build problems on OS X

9 views
Skip to first unread message

Nicola Gigante

unread,
Aug 27, 2014, 4:39:47 PM8/27/14
to haskell Cafe
Hello!

I just want to point to your attention this issue of Homebrew:

https://github.com/Homebrew/homebrew/issues/31609

It seems that they’re forced to remove the formula for the
Haskell Platform because, it seems, the build process has
become extremely complicated and they can’t figure out how
to automate it.

Is there someone that know enough internals of the platform
to help them or to give some advice?

Thanks,
Nicola
_______________________________________________
Haskell-Cafe mailing list
Haskel...@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

RodLogic

unread,
Aug 27, 2014, 4:50:20 PM8/27/14
to Nicola Gigante, haskell Cafe

fwiw, instead of waiting for this I created a new set of formulas (based on the stock homebrew one). The main difference is that I created one formula for each version since I want to be able to switch between them using brew link/unlink. 

Nicola Gigante

unread,
Aug 27, 2014, 5:01:50 PM8/27/14
to RodLogic, haskell Cafe
Il giorno 27/ago/2014, alle ore 22:49, RodLogic <d...@rodlogic.net> ha scritto:


fwiw, instead of waiting for this I created a new set of formulas (based on the stock homebrew one). The main difference is that I created one formula for each version since I want to be able to switch between them using brew link/unlink. 




Actually, the formula for ghc 7.8 works well since very few days. 
The problem is with the Haskell Platform. Any idea?

Thanks,
Nicola

Johan Tibell

unread,
Aug 27, 2014, 5:03:33 PM8/27/14
to Nicola Gigante, RodLogic, haskell Cafe

Carter Schonwald

unread,
Aug 27, 2014, 7:34:27 PM8/27/14
to Johan Tibell, RodLogic, haskell Cafe
basically the problem is theres no one actively "owning" the brew formula for ghc or platform AND also famliar with haskell.  if someone was willing to be the "proactive owner" on the brew formula, i'm happy to help them when they hit tricky OS X issues, but baring that development, I avoid using Brew to manage GHC/Haskell platform like the plague, and advise others thusly. 

the Brew GHC formula is painfully out of date and kinda iffy .

It still defaults to 7.6 despite 7.6 being hosed on more modern build envs unless you install userland GCC  (which then in turn breaks any haskell package that assumes a suitable mac friendly / objective ), AND the GHC 7.8 version it provides is 7.8.2 which had many nasty bugs and is no .

Additionally, theres ZERO good reason to expose "build from source" option for the GHC formula.  AND that has a complicated bootstrap process owing to their focus on 7.6 support, which would go away if they switch to a "7.8 only" motif.

the GHC OS X build that Mark used for the newest haskell platform build will work with OS X 10.6-10.1. Doing a binary install of that bindist (./configure --prefix=$brewGHCprefix ; make install; link the executables into path) should be the full extent of the brew formula.


Nicola Gigante

unread,
Aug 28, 2014, 3:20:47 AM8/28/14
to haskell Cafe

Il giorno 28/ago/2014, alle ore 01:33, Carter Schonwald <carter.s...@gmail.com> ha scritto:

basically the problem is theres no one actively "owning" the brew formula for ghc or platform AND also famliar with haskell.  if someone was willing to be the "proactive owner" on the brew formula, i'm happy to help them when they hit tricky OS X issues, but baring that development, I avoid using Brew to manage GHC/Haskell platform like the plague, and advise others thusly. 

the Brew GHC formula is painfully out of date and kinda iffy .

It still defaults to 7.6 despite 7.6 being hosed on more modern build envs unless you install userland GCC  (which then in turn breaks any haskell package that assumes a suitable mac friendly / objective ), AND the GHC 7.8 version it provides is 7.8.2 which had many nasty bugs and is no .

Additionally, theres ZERO good reason to expose "build from source" option for the GHC formula.  AND that has a complicated bootstrap process owing to their focus on 7.6 support, which would go away if they switch to a "7.8 only" motif.

the GHC OS X build that Mark used for the newest haskell platform build will work with OS X 10.6-10.1. Doing a binary install of that bindist (./configure --prefix=$brewGHCprefix ; make install; link the executables into path) should be the full extent of the brew formula.


So, If i can recall correctly:
- They could simplify a lot the process if they’d focus on ghc 7.8 only.
- Anyway, they should forget building from source and provide a formula that installs
  the binary distribution.

Am I correct?

Nicola

Carter Schonwald

unread,
Aug 28, 2014, 1:18:17 PM8/28/14
to Nicola Gigante, haskell Cafe
Pretty much.  But not 7.8 generally, but >= 7.8.3 onwards.  There are some nasty bugs in 7.8.2 that can bite if you're not careful. 
Reply all
Reply to author
Forward
0 new messages