#19739: ghc: uses happy during configure -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ghc -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Replying to [comment:1 gale@…]:
GHC itself is written in Haskell. Every modern version of GHC requires a fairly recent previous version of itself to be already installed in order to compile. So this circularity is inherent to GHC, far beyond the issue with happy.
Well I know, but the ghc port does download a bootstrap version of ghc in order to compile the real version of ghc. So this is not at issue here.
It would be nice if the way that MacPorts deals with this issue were documented somewhere. If it already is documented, it would be nice if the port description for ghc would include a link to that page.
I'm not sure how much of this is documented, but ports cannot declare dependencies on themselves, it is not proper for a port to use a previous installed version of itself, it is not ok for a port to use software on which it does not declare a dependency, and there cannot be circular dependencies. -- Ticket URL: <http://trac.macports.org/ticket/19739#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS