[MacPorts] #51766: ghc build fails on OS X 10.6
#51766: ghc build fails on OS X 10.6 --------------------------+-------------------------------- Reporter: borre.gaup@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: --------------------------+-------------------------------- A fresh install of ghc fails {{{ sudo port install ghc ---> Computing dependencies for ghc ---> Building ghc Error: org.macports.build for port ghc returned: command execution failed }}} I cleaned the ghc port and tried again, but the same error occurred. Attached is the ghc build log. -- Ticket URL: <https://trac.macports.org/ticket/51766> MacPorts <https://www.macports.org/> Ports system for OS X
#51766: ghc build fails on OS X 10.6 ---------------------------+-------------------------------- Reporter: borre.gaup@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by borre.gaup@…): This may be the same issue as this: https://trac.macports.org/ticket/51439 as a macports installed clang-3.4 is used to compile ghc, it seems. -- Ticket URL: <https://trac.macports.org/ticket/51766#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51766: ghc build fails on OS X 10.6 ---------------------------+---------------------------- Reporter: borre.gaup@… | Owner: kitchen.andy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ghc | ---------------------------+---------------------------- Changes (by mf2k@…): * owner: macports-tickets@… => kitchen.andy@… * cc: cal@… (added) * port: => ghc Comment: In the future, please fill in the Port field and Cc the port maintainers ({{{port info --maintainers ghc}}}), if any. -- Ticket URL: <https://trac.macports.org/ticket/51766#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#51766: ghc build fails on OS X 10.6 ---------------------------+---------------------------- Reporter: borre.gaup@… | Owner: kitchen.andy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ghc | ---------------------------+---------------------------- Comment (by cal@…): Error seems to be {{{ :info:build /usr/bin/ranlib: object: libraries/terminfo/dist- boot/build/libHSterminfo-0.4.0.0.a(Base.o) malformed object (unknown load command 3) }}} You could try installing the cctools port, which should provide a newer ranlib, which hopefully doesn't have the problem. I'm probably not going to attempt fixing the GHC build on 10.6, especially because (a) I don't have a 10.6 system and (b) I'm working on upgrading GHC to 8.x and would rather get that done than spending time on debugging old versions. -- Ticket URL: <https://trac.macports.org/ticket/51766#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#51766: ghc build fails on OS X 10.6 ---------------------------+---------------------------- Reporter: borre.gaup@… | Owner: kitchen.andy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ghc | ---------------------------+---------------------------- Comment (by borre.gaup@…): After installing cctools, the ghc install worked flawlessly. Thanks for the tip! -- Ticket URL: <https://trac.macports.org/ticket/51766#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#51766: ghc build fails on OS X 10.6 ---------------------------+------------------- Reporter: borre.gaup@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ghc | ---------------------------+------------------- Changes (by mf2k@…): * owner: kitchen.andy@… => cal@… * cc: cal@… (removed) Comment: Assigning to current maintainer. See #51780. -- Ticket URL: <https://trac.macports.org/ticket/51766#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#51766: ghc build fails on OS X 10.6 ---------------------------+------------------- Reporter: borre.gaup@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ghc | ---------------------------+------------------- Comment (by cal@…): OK, so since a workaround is available, I will not fix this in the current GHC port. Let me know if that still occurs after I update GHC to 8.x. -- Ticket URL: <https://trac.macports.org/ticket/51766#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#51766: ghc build fails on OS X 10.6 ---------------------------+------------------- Reporter: borre.gaup@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ghc | ---------------------------+------------------- Comment (by mrfavadi@…): We should apply the patch to current port, or just upgrade ghc to 8.x? -- Ticket URL: <https://trac.macports.org/ticket/51766#comment:7> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#51766: ghc build fails on OS X 10.6 ---------------------------+------------------- Reporter: borre.gaup@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: ghc | ---------------------------+------------------- Comment (by cal@…): Which patch? There is no patch in this ticket. The GHC 8.x update still needs a decision on what to do with the 'stack' tool that's new in haskell-platform. It wasn't ported yet. -- Ticket URL: <https://trac.macports.org/ticket/51766#comment:8> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
participants (1)
-
MacPorts