[MacPorts] #13407: RFE: ghc 6.8.1 update ghc version in MacPorts
#13407: RFE: ghc 6.8.1 update ghc version in MacPorts -------------------------------+-------------------------------------------- Reporter: wss@cs.nott.ac.uk | Owner: macports-dev@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.5.2 Keywords: ghc | -------------------------------+-------------------------------------------- A new version of ghc is now available. I realize there are plenty of issues with Tiger vs Leopard, Intel vs PPC, etc. There's been quite a lot of discussion recently on the ghc-users list about building ghc on a Mac. That might be a good place to start... http://www.haskell.org/pipermail/glasgow-haskell- users/2007-November/thread.html -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13407> MacPorts </projects/macports> Ports system for Mac OS
#13407: RFE: ghc 6.8.1 update ghc version in MacPorts --------------------------------+------------------------------------------- Reporter: wss@cs.nott.ac.uk | Owner: macports-dev@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.5.2 Resolution: | Keywords: ghc --------------------------------+------------------------------------------- Changes (by waqar@macports.org): * cc: waqar@macports.org (added) -- Ticket URL: <http://trac.macports.org/projects/macports/ticket/13407#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13407: RFE: ghc update to 6.8.1 --------------------------------+------------------------------------------- Reporter: wss@cs.nott.ac.uk | Owner: gwright@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.5.2 Resolution: | Keywords: ghc --------------------------------+------------------------------------------- Changes (by ryandesign@macports.org): * cc: gwright@macports.org (removed) * owner: macports-tickets@lists.macosforge.org => gwright@macports.org * summary: RFE: ghc 6.8.1 update ghc version in MacPorts => RFE: ghc update to 6.8.1 * milestone: => Port Enhancements Comment: Assign to maintainer. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13407#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13407: RFE: ghc update to 6.8.1 --------------------------------+------------------------------------------- Reporter: wss@cs.nott.ac.uk | Owner: gwright@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.5.2 Resolution: | Keywords: ghc --------------------------------+------------------------------------------- Comment (by bfulgham@macports.org): Note that ghc 6.8.2 is now available. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13407#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13407: RFE: ghc update to 6.8.1 --------------------------------+------------------------------------------- Reporter: wss@cs.nott.ac.uk | Owner: gwright@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.5.2 Resolution: | Keywords: ghc --------------------------------+------------------------------------------- Comment (by bfulgham@macports.org): These patches are not complete, as they are untested under PowerPC and under anything besides Leopard. I'm attaching them on the off chance they might be helpful to other Haskell users who would like to update GHC under Leopard. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13407#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13407: RFE: ghc update to 6.8.1 --------------------------------+------------------------------------------- Reporter: wss@cs.nott.ac.uk | Owner: gwright@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.5.2 Resolution: | Keywords: ghc --------------------------------+------------------------------------------- Comment (by olsner@gmail.com): Patch for Tiger, tested and built successfully on i386 Tiger 10.4.11. This uses the ghc-6.6 bootstrap so I needed to add a couple of reinplace - the GHCBIN and TOPDIR variables are quoted with " in the ghc-6.6 bootstrap tarball, but apparently not in the 6.8.2 bootstrap. This patch should work with both bootstraps though. Still not tested on PowerPC since I don't have any such machine available to me. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13407#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#13407: RFE: ghc update to 6.8.1 --------------------------------+------------------------------------------- Reporter: wss@cs.nott.ac.uk | Owner: gwright@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.5.2 Resolution: | Keywords: ghc --------------------------------+------------------------------------------- Comment (by eridius@macports.org): The Patchfile really needs to put a "cd ${worksrcpath} && " at the beginning of the system calls in the build and destroot targets. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13407#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#13407: RFE: ghc update to 6.8.1 --------------------------------+------------------------------------------- Reporter: wss@cs.nott.ac.uk | Owner: gwright@macports.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.5.2 Resolution: fixed | Keywords: ghc --------------------------------+------------------------------------------- Changes (by gwright@macports.org): * status: new => closed * resolution: => fixed Comment: The ghc port has been upgraded to 6.8.2. It should work on Tiger/ppc, Tiger/intel and Leopard/intel. Leopard/ppc is not supported since there seem to be bugs in the Apple toolchain on that platform that prevent building the compiler. (If these are solved and I can get access to a machine to test on, I will add Leopard/ppc.) The delay in updating ghc is mainly due to three bugs: two file locking bugs in ghc (patched in this commit) and an OS bug that in rare circumstances would cause the build fail. The OS bug is fixed in 10.5.2; users on Leopard should update to avoid possible problems. (The symptom of the OS bug is that the linker will report that an archive file will have no table of contents, even though ghc tries to run ranlib.) Other patches ensure that the libraries link with the correct libgmp. OpenGL support is built by default. OpenAL support is disabled because of name clashes between Apple's OpenAL and the freealut library required by ghc. It should be possible to fix this eventually. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13407#comment:7> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts