On Nov 6, 2007, at 17:19, Brad Miller wrote:

Hello,  I'm trying to upgrade ghc but I get the following error:

$ sudo port upgrade ghc

[snip]

../compiler/stage1/ghc-inplace -H16m -O -I/opt/local/include -I/usr/ include -L/opt/local/lib -L/usr/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.1 -fgenerics -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: 22897732 bytes, 4 GCs, 140132/140132 avg/max bytes residency (1 samples), 16M in use, 0.00 INIT (0.00 elapsed), 0.03 MUT (0.07 elapsed), 0.02 GC (0.02 elapsed) :ghc>>
make[2]: *** [stage2/basicTypes/OccName.o-boot] Error 1
make[1]: *** [stage2] Error 2
make: *** [bootstrap2] Error 2

Error: Unable to upgrade port: 1

You did not indicate your version of Mac OS X, Xcode and MacPorts, but if you're running Mac OS X 10.5 Leopard, then I think you've found this bug:

https://svn.macports.org/projects/macports/ticket/13039#preview

I've added your email address to the bug's Cc list so that you'll be informed of its progress.

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to