Subject: pkg/20961: new package: pkgsrc/lang/ghc (re-ported)
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/30/2003 21:16:09
>Number:         20961
>Category:       pkg
>Synopsis:       long-time broken lang/ghc package fixed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 30 11:18:00 PST 2003
>Originator:     Urban Boquist
>Release:        NetBSD 1.6L
Carlstedt Research & Technology AB, Sweden
System: NetBSD iller 1.6L NetBSD 1.6L (ILLER-$Revision: 1.55 $) #1: Sat Mar 1 13:56:39 CET 2003 root@iller:/usr/src/sys/arch/i386/compile/ILLER i386
Architecture: i386
Machine: i386
	The NetBSD pkgsrc/lang/ghc package has been broken ever since
	NetBSD/i386 went ELF. GHC is problematic to package since it
	is a compiler for Haskell that is itself written in Haskell,
	so there is a complex bootstrapping problem involved. After some
	struggle I have managed to re-port GHC 5.04.3 to
	NetBSD/i386. An updated pkgsrc package is available here:

	The package builds cleanly for me on NetBSD-1.6L and 1.6.1_RC2.

	Two distfiles are used, the standard GHC source from
	and the following (pre-compiled C files needed for the bootstrap):

	The latter needs to be copied to, it is not
	(yet) available on

	All the patches in the package have been sent in to the GHC maintainers.

	I also put up a binary package, built on 1.6.1_RC2:

	cd /usr/pkgsrc/lang/ghc; make
	see above