Hi,

I can't get ghc-6.6-2 to build no matter how many times I do fink selfupdate, 
etc. It seems to get through the stage1 bootstrap happily, but fails at the 
beginning of stage2. I think I've identified the first failure point below (and 
the final error message). I am running 10.6.4 and fink v. 0.29.13 (Distribution 
version: selfupdate-rsync Tue Jul 13 16:39:30 2010, 10.6, i386). Any hints 
welcome.

Cheers,

Richard.

First failure:

> ------------------------------------------------------------------------
> == Recursively making `all' in base haskell98 template-haskell readline 
> regex-base regex-posix regex-compat parsec Cabal unix haskell-src html 
> network QuickCheck HUnit mtl fgl X11 time HGL OpenGL GLUT OpenAL ALUT stm 
> xhtml cgi ...
> PWD = /sw/src/fink.build/ghc-6.6-2/ghc-6.6/libraries
> ------------------------------------------------------------------------
> ------------------------------------------------------------------------
> == make all -r -f Makefile;
>  in /sw/src/fink.build/ghc-6.6-2/ghc-6.6/libraries/base
> ------------------------------------------------------------------------
> ../../compiler/ghc-inplace -H16m -O -I/sw/include -L/sw/lib -fglasgow-exts 
> -cpp -Iinclude -"#include" HsBase.h -funbox-strict-fields -package-name  
> base-2.0 -O -Rghc-timing -fgenerics  -fgenerics -split-objs   -H128M -c 
> Data/Typeable.hs-boot -o Data/Typeable.o-boot  -ohi Data/Typeable.hi-boot
> <<ghc: 15497280 bytes, 4 GCs, 107324/107324 avg/max bytes residency (1 
> samples), 125M in use, 0.00 INIT (0.00 elapsed), 0.02 MUT (0.04 elapsed), 
> 0.01 GC (0.01 elapsed) :ghc>>
> ../../compiler/ghc-inplace -H16m -O -I/sw/include -L/sw/lib -fglasgow-exts 
> -cpp -Iinclude -"#include" HsBase.h -funbox-strict-fields -package-name  
> base-2.0 -O -Rghc-timing -fgenerics  -fgenerics -split-objs   -H128M -c 
> Data/Dynamic.hs-boot -o Data/Dynamic.o-boot  -ohi Data/Dynamic.hi-boot
> <<ghc: 15575900 bytes, 4 GCs, 108492/108492 avg/max bytes residency (1 
> samples), 125M in use, 0.00 INIT (0.00 elapsed), 0.02 MUT (0.04 elapsed), 
> 0.01 GC (0.01 elapsed) :ghc>>
> ../../compiler/ghc-inplace -H16m -O -I/sw/include -L/sw/lib -fglasgow-exts 
> -cpp -Iinclude -"#include" HsBase.h -funbox-strict-fields -package-name  
> base-2.0 -O -Rghc-timing -fgenerics  -fgenerics -split-objs   -H128M -c 
> GHC/Err.lhs-boot -o GHC/Err.o-boot  -ohi GHC/Err.hi-boot
> <<ghc: 15862152 bytes, 4 GCs, 108320/108320 avg/max bytes residency (1 
> samples), 125M in use, 0.00 INIT (0.00 elapsed), 0.02 MUT (0.04 elapsed), 
> 0.01 GC (0.01 elapsed) :ghc>>
> ../../compiler/ghc-inplace -H16m -O -I/sw/include -L/sw/lib -fglasgow-exts 
> -cpp -Iinclude -"#include" HsBase.h -funbox-strict-fields -package-name  
> base-2.0 -O -Rghc-timing -fgenerics  -fgenerics -split-objs   -H128M -c 
> GHC/Base.lhs -o GHC/Base.o  -ohi GHC/Base.hi
> 
> /tmp/ghc67304_0/ghc67304_0.split__1.s:64:0:
>     FATAL:Symbol L_stg_ap_0_fast$non_lazy_ptr already defined.
> <<ghc: 139759204 bytes, 5 GCs, 108184/108184 avg/max bytes residency (1 
> samples), 127M in use, 0.00 INIT (0.00 elapsed), 0.35 MUT (2.48 elapsed), 
> 0.02 GC (0.02 elapsed) :ghc>>
> make[2]: *** [GHC/Base.o] Error 1


Final error:
> ../compiler/ghc-inplace -H16m -O -I/sw/include -L/sw/lib  -istage2/utils  
> -istage2/basicTypes  -istage2/types  -istage2/hsSyn  -istage2/prelude  
> -istage2/rename  -istage2/typecheck  -istage2/deSugar  -istage2/coreSyn  
> -istage2/specialise  -istage2/simplCore  -istage2/stranal  -istage2/stgSyn  
> -istage2/simplStg  -istage2/codeGen  -istage2/main  -istage2/profiling  
> -istage2/parser  -istage2/cprAnalysis  -istage2/ndpFlatten  -istage2/iface  
> -istage2/cmm  -istage2/nativeGen  -istage2/ghci -Istage2 -DGHCI -DBREAKPOINT 
> -package template-haskell -threaded -package readline -DUSE_READLINE -cpp 
> -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package 
> Cabal -package regex-compat -ignore-package lang -recomp -Rghc-timing  -H16M 
> '-#include "cutils.h"' -package-name  ghc-6.6   -fgenerics   -H128M -c 
> basicTypes/OccName.lhs-boot -o stage2/basicTypes/OccName.o-boot  -ohi 
> stage2/basicTypes/OccName.hi-boot
> 
> basicTypes/OccName.lhs-boot:1:0:
>     Failed to load interface for `Prelude':
>       Use -v to see a list of the files searched for.
> <<ghc: 17483600 bytes, 3 GCs, 122968/122968 avg/max bytes residency (1 
> samples), 124M in use, 0.00 INIT (0.00 elapsed), 0.02 MUT (0.05 elapsed), 
> 0.01 GC (0.01 elapsed) :ghc>>
> make[2]: *** [stage2/basicTypes/OccName.o-boot] Error 1
> make[1]: *** [stage2] Error 2
> make: *** [bootstrap2] Error 2
> ### execution of make failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-ghc-6.6-2
> (Reading database ... 114490 files and directories currently installed.)
> Removing fink-buildlock-ghc-6.6-2 ...
> Failed: phase compiling: ghc-6.6-2 failed

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to