Skip to content

Mac OS X build fails: ghc.mk:96: *** Make has restarted itself 3 times; is there a makefile bug?

The tn23 GHC builder

thorkil-naurs-intel-mac-mini:~ thorkilnaur$ uname -a
Darwin thorkil-naurs-intel-mac-mini.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
thorkil-naurs-intel-mac-mini:~ thorkilnaur$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.10.4
thorkil-naurs-intel-mac-mini:~ thorkilnaur$

fails with:

chmod +x                               inplace/bin/hsc2hs
"inplace/bin/hsc2hs" --cc=/usr/bin/gcc --ld=/usr/bin/gcc  --cflag=-m32   --cflag=-D__GLASGOW_HASKELL__=613 '--cflag=-m32' '--cflag=-Ilibraries/hpc/.' '--cflag=-isystem/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/directory-1.0.0.3/include' '--cflag=-isystem/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/unix-2.3.2.0/include' '--cflag=-isystem/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/old-time-1.0.0.2/include' '--cflag=-isystem/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/base-4.1.0.0/include' '--cflag=-isystem/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/include' '--lflag=-m32' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/directory-1.0.0.3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/unix-2.3.2.0' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/old-time-1.0.0.2' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/old-locale-1.0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/filepath-1.1.0.2' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/containers-0.2.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/array-0.2.0.0' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/syb-0.1.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/base-4.1.0.0' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/integer-0.1.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/ghc-prim-0.1.0.0' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4' '--lflag=-ldl' '--lflag=-lm' '--lflag=-lffi' '--lflag=-lgmp' '--lflag=-ldl'   libraries/hpc/./Trace/Hpc/Reflect.hsc -o libraries/hpc/dist-boot/build/Trace/Hpc/Reflect.hs
"rm" -f libraries/hpc/dist-boot/build/.depend-v.haskell.tmp
touch libraries/hpc/dist-boot/build/.depend-v.haskell.tmp
"/Library/Frameworks/GHC.framework/Versions/610/usr/bin/ghc" -M -include-pkg-deps -dep-makefile libraries/hpc/dist-boot/build/.depend-v.haskell.tmp  -H32m -O -package-conf libraries/bootstrapping.conf -package-name hpc-0.5.0.5 -hide-all-packages -i -ilibraries/hpc/. -ilibraries/hpc/dist-boot/build -ilibraries/hpc/dist-boot/build/autogen -Ilibraries/hpc/dist-boot/build -Ilibraries/hpc/dist-boot/build/autogen -Ilibraries/hpc/. -optP-include -optPlibraries/hpc/dist-boot/build/autogen/cabal_macros.h -package base-4.1.0.0 -package containers-0.2.0.1 -package directory-1.0.0.3 -package old-time-1.0.0.2 -Wall -XCPP -fno-warn-deprecated-flags -odir libraries/hpc/dist-boot/build -hidir libraries/hpc/dist-boot/build -stubdir libraries/hpc/dist-boot/build -hisuf hi -osuf o -hcsuf hc  libraries/hpc/./Trace/Hpc/Util.hs  libraries/hpc/./Trace/Hpc/Mix.hs  libraries/hpc/./Trace/Hpc/Tix.hs  libraries/hpc/dist-boot/build/Trace/Hpc/Reflect.hs
echo "libraries/hpc_dist-boot_depfile_haskell_EXISTS = YES" >> libraries/hpc/dist-boot/build/.depend-v.haskell.tmp
for dir in libraries/hpc/dist-boot/build/Trace/Hpc/; do if test ! -d $dir; then mkdir -p $dir; fi done
mv libraries/hpc/dist-boot/build/.depend-v.haskell.tmp libraries/hpc/dist-boot/build/.depend-v.haskell
ghc.mk:96: *** Make has restarted itself 3 times; is there a makefile bug?.  Stop.
make: *** [all] Error 2

First time: http://darcs.haskell.org/ghcBuilder/builders/tn23/20.html

Trac metadata
Trac field Value
Version 6.13
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information