Hi,

----- On 8 Jan, 2015, at 11:11, Ryan Schmidt [email protected] wrote:

>> ghc: attempt to fix build on ML and below
>> 
>> Error is:
>>      libraries/Cabal/Cabal/Distribution/Version.hs:700:19:
>>              Parse error in pattern: Parse.skipSpaces
>>      make[1]: *** [utils/ghc-cabal/dist/build/tmp/ghc-cabal] Error 1
>> which is caused by GHC's uncommon requirements towards the C preprocessor. 
>> Only
>> recent clang versions are compatible with GHC.
> 
> Would using the traditional C preprocessor in the tradcpp port help, like it 
> did
> for imake?

It might, but I'm not sure how to configure GHC to use a preprocessor that is 
not
also the C compiler. Especially since I can either (a) add a dependency on a 
newer
clang, or (b) add a dependency on tradcpp, I'd rather go with clang to make the
port behave as similar to Mavericks and Yosemite as possible.

The build currently fails on SL, because the newer clang generates load commands
that aren't supported by the host's cctools, so I might try tradcpp there 
instead
of adding a dependency on cctools and making sure they are actually being used
over the host ones.

-- 
Clemens Lang
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to