ANN: ghc 6.8.2 from MacPorts

Gregory Wright gwright at comcast.net
Fri Mar 7 17:34:37 EST 2008


Hi Wouter,

On Mar 6, 2008, at 12:57 PM, Wouter Swierstra wrote:

> Hi Greg,
>
> Thanks again for maintaining ghc in macports!
>
> I tried installing ghc through macports. Unfortunately, the build  
> failed with the following error message below. I'd be happy to send  
> you a complete log, if you think it would help. Many thanks,
>
>  Wouter
>
>
>
> main/ParsePkgConf.hs:296:35: Not in scope: `extraLibraries'
>
> main/ParsePkgConf.hs:297:35: Not in scope: `extraGHCiLibraries'
>
> main/ParsePkgConf.hs:298:35: Not in scope: `includeDirs'
>
> main/ParsePkgConf.hs:299:35: Not in scope: `includes'
>
> main/ParsePkgConf.hs:300:35: Not in scope: `hugsOptions'
>
> main/ParsePkgConf.hs:301:35: Not in scope: `ccOptions'
>
> main/ParsePkgConf.hs:302:35: Not in scope: `ldOptions'
>
> main/ParsePkgConf.hs:303:35: Not in scope: `frameworkDirs'
>
> main/ParsePkgConf.hs:304:35: Not in scope: `frameworks'
>
> main/ParsePkgConf.hs:305:35: Not in scope: `haddockInterfaces'
>
> main/ParsePkgConf.hs:306:35: Not in scope: `haddockHTMLs'
>
> main/ParsePkgConf.hs:307:34: Not in scope: `depends'
>
> main/ParsePkgConf.hs:320:43: Not in scope: `depends'
> <<ghc: 73406780 bytes, 11 GCs, 759125/1814528 avg/max bytes  
> residency (3 samples), 18M in use, 0.00 INIT (0.00 elapsed), 0.09  
> MUT (0.13 elapsed), 0.06 GC (0.07 elapsed) :ghc>>
> make[2]: *** [stage2/main/ParsePkgConf.o] Error 1
> make[1]: *** [stage2] Error 2
> make: *** [bootstrap2] Error 2
>
> Warning: the following items did not execute (for ghc):  
> org.macports.activate org.macports.build org.macports.destroot  
> org.macports.install
> Error: Status 1 encountered during processing.
>

This is odd.  What platform (intel/ppc and OS X version) are you  
running on?

A complete log would help too. The output of

	# sudo port -dv destroot ghc > dest.log 2>&1

is good.  You will probably want to compress the log file before  
sending.

One thing you might try is to ensure that you have no failed build  
lying around
by running

	# sudo port clean ghc
	# sudo port install ghc

The combination of ghc Makefiles and MacPorts infrastructure is not  
able to recover
from a failed or interrupted build.  You need to clean up and start  
over.  You should
also clean before recording the log.

Best,
greg



More information about the Glasgow-haskell-users mailing list