[MacPorts] #42091: ghc does not build
#42091: ghc does not build --------------------------+---------------------------- Reporter: ryandesign@… | Owner: kitchen.andy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: ghc --------------------------+---------------------------- See log. -- Ticket URL: <https://trac.macports.org/ticket/42091> MacPorts <http://www.macports.org/> Ports system for OS X
#42091: ghc does not build ---------------------------+---------------------------- Reporter: ryandesign@… | Owner: kitchen.andy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ghc | ---------------------------+---------------------------- Comment (by ryandesign@…): This was on OS X 10.9.1 Mavericks with Xcode 5.0.2; I have not tested other versions. -- Ticket URL: <https://trac.macports.org/ticket/42091#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42091: ghc does not build ---------------------------+---------------------------- Reporter: ryandesign@… | Owner: kitchen.andy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ghc | ---------------------------+---------------------------- Comment (by cal@…): That looks a lot like the error you'd get when building GHC with clang, because its C preprocessor is much more strict in what it accepts. I'm not sure why this happens, since GHC should use MacPorts GCC to build itself. Do you have a file called "settings" somewhere below `$prefix/share/ghc- bootstrap`? -- Ticket URL: <https://trac.macports.org/ticket/42091#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42091: ghc does not build ---------------------------+---------------------------- Reporter: ryandesign@… | Owner: kitchen.andy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ghc | ---------------------------+---------------------------- Comment (by ryandesign@…): Nope, no settings file. I see the log says {{{ checking how to run the C preprocessor... /opt/local/bin/gcc-mp-4.8 -E }}} but maybe it's falling back on /usr/bin/cpp at some point. -- Ticket URL: <https://trac.macports.org/ticket/42091#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42091: ghc does not build ---------------------------+---------------------------- Reporter: ryandesign@… | Owner: kitchen.andy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ghc | ---------------------------+---------------------------- Comment (by cal@…): This problem occurs if the bootstrap GHC compiler tries to use clang to bootstrap. Currently, the ghc-bootstrap port has GCC variants, that should be used instead. Maybe those are broken? Anyway, it doesn't really matter, because #44891 will supersede that and has a fix for ghc-bootstrap. -- Ticket URL: <https://trac.macports.org/ticket/42091#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts