[MacPorts] #52582: GHC RTS incompatibility with Sierra
#52582: GHC RTS incompatibility with Sierra ---------------------------+-------------------------------- Reporter: shanemikel1@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: ghc ---------------------------+-------------------------------- Looks like we have a problem with Sierra. GHC won't build, and it looks like a problem in the RTS that doesn't account for some symbol change in some OS time library... I don't really know what's going on here, but I've found a few things that might help: https://mail.haskell.org/pipermail/ghc-devs/2016-July/012508.html If you follow through that mailing list, you'll find what looks to me like a few proposed patches.. I've also attached my build logs. -- Ticket URL: <https://trac.macports.org/ticket/52582> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52582: GHC RTS incompatibility with Sierra ----------------------------+-------------------------------- Reporter: shanemikel1@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ghc | ----------------------------+-------------------------------- Comment (by shanemikel1@…): The corresponding ticket in GHCs system: https://ghc.haskell.org/trac/ghc/ticket/12195 It looks like this patch was merged into GHC 8 sources, but I don't know if we want to push the port that far ahead. I've applied that patch to the current macports version, and I'm building it now. I'll post if it succeeds.. -- Ticket URL: <https://trac.macports.org/ticket/52582#comment:1> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52582: GHC RTS incompatibility with Sierra ----------------------------+-------------------------------- Reporter: shanemikel1@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ghc | ----------------------------+-------------------------------- Comment (by shanemikel1@…): I've rebuilt with the mentioned patch. I'm uploading the log as `new_install.log`, and the patch. -- Ticket URL: <https://trac.macports.org/ticket/52582#comment:2> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52582: ghc @7.8.3_4: RTS incompatibility with Sierra ----------------------------+----------------------------- Reporter: shanemikel1@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra haspatch Port: ghc | ----------------------------+----------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => cal@… * priority: High => Normal * keywords: => sierra haspatch * cc: cal@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/52582#comment:3> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52582: ghc @7.8.3_4: RTS incompatibility with Sierra ----------------------------+----------------------------- Reporter: shanemikel1@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra haspatch Port: ghc | ----------------------------+----------------------------- Comment (by cal@…): Since upstream seems to have applied this to GHC 8.0, I think it's fine to backport. Thanks for the analysis, I'll include this in my patches. -- Ticket URL: <https://trac.macports.org/ticket/52582#comment:4> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52582: ghc @7.8.3_4: RTS incompatibility with Sierra ----------------------------+----------------------------- Reporter: shanemikel1@… | Owner: neverpanic Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra haspatch Port: ghc | ----------------------------+----------------------------- Comment (by favadi): Replying to [comment:4 neverpanic]:
Since upstream seems to have applied this to GHC 8.0, I think it's fine to backport. Thanks for the analysis, I'll include this in my patches. What else need to be done to fix ghc build on Sierra?
-- Ticket URL: <https://trac.macports.org/ticket/52582#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts