From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 25 10:20:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7E9216A40B for ; Mon, 25 Feb 2008 10:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9FC2D13C46E for ; Mon, 25 Feb 2008 10:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1PAK105028535 for ; Mon, 25 Feb 2008 10:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1PAK1WH028534; Mon, 25 Feb 2008 10:20:01 GMT (envelope-from gnats) Resent-Date: Mon, 25 Feb 2008 10:20:01 GMT Resent-Message-Id: <200802251020.m1PAK1WH028534@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jacula Modyun Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 346F916A405 for ; Mon, 25 Feb 2008 10:14:33 +0000 (UTC) (envelope-from jacula@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id AA7ED13C46B for ; Mon, 25 Feb 2008 10:14:32 +0000 (UTC) (envelope-from jacula@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so1201508fgg.35 for ; Mon, 25 Feb 2008 02:14:31 -0800 (PST) Received: by 10.86.53.8 with SMTP id b8mr2716978fga.32.1203934471357; Mon, 25 Feb 2008 02:14:31 -0800 (PST) Received: from splork.wirewater.yow ( [79.23.238.152]) by mx.google.com with ESMTPS id e20sm6012439fga.1.2008.02.25.02.14.28 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 25 Feb 2008 02:14:30 -0800 (PST) Received: from localhost.wirewater.yow [127.0.0.1] by splork.wirewater.yow (Sendmail: 8.14.2/8.14.2) with ESMTP id m1PAEQsO066232 for ; Mon, 25 Feb 2008 10:14:26 GMT Received: by splork.wirewater.yow (Sendmail: 8.14.2/8.14.2/Submit) id m1PAEQde066226 ; Mon, 25 Feb 2008 10:14:26 GMT Message-Id: <200802251014.m1PAEQde066226@splork.wirewater.yow> Date: Mon, 25 Feb 2008 02:14:30 -0800 (PST) From: Jacula Modyun To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/121075: devel/hs-hmake: Can't find ghc includes X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jacula Modyun List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2008 10:20:02 -0000 >Number: 121075 >Category: ports >Synopsis: devel/hs-hmake: Can't find ghc includes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 25 10:20:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Jacula Modyun >Release: FreeBSD 7.0-PRERELEASE i386 >Organization: >Environment: System: FreeBSD splork.wirewater.yow 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Sat Jan 19 15:48:03 UTC 2008 root@splork.wirewater.yow:/usr/obj/usr/src/sys/JACULA i386 >Description: Building the port devel/hs-hmake I obtain this error: ghc -i../cpphs -o /usr/portsbuild/usr/ports/devel/hs-hmake/work/hmake-3.13/lib/ix86-FreeBSD/runhs /usr/portsbuild/usr/ports/devel/hs-hmake/work/hmake-3.13/targets/ix86-FreeBSD/obj/hmake/runhs.o sh /usr/portsbuild/usr/ports/devel/hs-hmake/work/hmake-3.13/targets/ix86-FreeBSD/hmake3.config hmake-config: Starting new config file in /usr/portsbuild/usr/ports/devel/hs-hmake/work/hmake-3.13/lib/ix86-FreeBSD/hmakerc MkConfig: user error (Can't find ghc includes at /usr/local/lib/ghc-6.8.2/imports) MkConfig: user error (Can't find ghc includes at /usr/local/lib/ghc-6.8.2/imports) MkConfig: user error (Can't find ghc includes at /usr/local/lib/ghc-6.8.2/imports) MkConfig: user error (Can't find ghc includes at /usr/local/lib/ghc-6.8.2/imports) hmake-config: compiler not known: 'ghc' gmake[1]: *** [config] Error 2 gmake[1]: Leaving directory `/usr/portsbuild/usr/ports/devel/hs-hmake/work/hmake-3.13/src/hmake' gmake: *** [targets/ix86-FreeBSD/hmake-ghc] Error 2 *** Error code 2 Stop in /usr/ports/devel/hs-hmake. >How-To-Repeat: >Fix: --- patch-devel-hs-hmake begins here --- diff -uNr hs-hmake.orig/files/patch-src-hmake-Config.hs hs-hmake/files/patch-src-hmake-Config.hs --- hs-hmake.orig/files/patch-src-hmake-Config.hs 1970-01-01 00:00:00.000000000 +0000 +++ hs-hmake/files/patch-src-hmake-Config.hs 2008-02-25 09:49:19.000000000 +0000 @@ -0,0 +1,11 @@ +--- src/hmake/Config.hs.orig 2006-07-07 16:01:16.000000000 +0000 ++++ src/hmake/Config.hs 2008-02-25 09:48:20.000000000 +0000 +@@ -267,7 +267,7 @@ + else do -- 5.00 and above + pkgcfg <- runAndReadStdout (escape ghcpath++" --print-libdir") + let libdir = escape pkgcfg +- incdir1 = libdir++"/imports" ++ incdir1 = if ghcsym < 608 then libdir++"/imports" else libdir++"/lib" + ok <- doesDirectoryExist incdir1 + if ok + then do diff -uNr hs-hmake.orig/files/patch-src-hmake-PackageConfig.hs hs-hmake/files/patch-src-hmake-PackageConfig.hs --- hs-hmake.orig/files/patch-src-hmake-PackageConfig.hs 1970-01-01 00:00:00.000000000 +0000 +++ hs-hmake/files/patch-src-hmake-PackageConfig.hs 2008-02-25 09:51:53.000000000 +0000 @@ -0,0 +1,11 @@ +--- src/hmake/PackageConfig.hs.orig 2006-08-21 15:30:46.000000000 +0000 ++++ src/hmake/PackageConfig.hs 2008-02-25 09:51:14.000000000 +0000 +@@ -51,7 +51,7 @@ + else unsafePerformIO $ do + pkgcfg <- runAndReadStdout (ghc++" --print-libdir") + let libdir = escape pkgcfg +- incdir1 = libdir++"/imports" ++ incdir1 = if ghcsym < 608 then libdir++"/imports" else libdir++"/lib" + ok <- doesDirectoryExist incdir1 + if ok + then do --- patch-devel-hs-hmake ends here --- >Release-Note: >Audit-Trail: >Unformatted: