Skip to content

Panic building GHC version 6.8.3 for powerpc-apple-darwin

Trying to install GHC using macports (1.600).

Bimini:~ jim$ sudo port install darcs
--->  Fetching ghc
--->  Verifying checksum(s) for ghc
--->  Extracting ghc
--->  Applying patches to ghc
--->  Configuring ghc
--->  Building ghc with target all
Error: Target org.macports.build returned: shell command "env DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib make" returned error 2
Command output: 	  cmp -s GNUmakefile GNUmakefile.tmp && mv GNUmakefile.tmp GNUmakefile; \
	  make -r && \
	  setup/Setup register --inplace; \
	fi
mv: rename GNUmakefile to GNUmakefile.tmp: No such file or directory
Preprocessing library haskell-src-1.0.1.2...
Generating Makefile haskell-src-1.0.1.2...
GNUmakefile:71: dist/build/.depend: No such file or directory
../../compiler/stage1/ghc-inplace -M -optdep-f -optdepdist/build/.depend -optdep-s -optdepp  -package-name haskell-src-1.0.1.2 -hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics Language.Haskell.Lexer Language.Haskell.Parser Language.Haskell.ParseMonad Language.Haskell.Pretty Language.Haskell.Syntax Language.Haskell.ParseUtils
<<ghc: 22087740 bytes, 4 GCs, 139264/139264 avg/max bytes residency (1 samples), 16M in use, 0.00 INIT (0.00 elapsed), 0.05 MUT (0.32 elapsed), 0.03 GC (0.04 elapsed) :ghc>>
for dir in dist/build/Language/Haskell/; do \
		if test ! -d $dir; then mkdir -p $dir; fi \
	done
../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP -idist/build  -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c Language/Haskell/Syntax.hs -o dist/build/Language/Haskell/Syntax.o  -ohi dist/build/Language/Haskell/Syntax.hi
<<ghc: 3586064124 bytes, 5984 GCs, 14952155/33591296 avg/max bytes residency (21 samples), 86M in use, 0.00 INIT (0.00 elapsed), 20.37 MUT (136.53 elapsed), 8.96 GC (11.76 elapsed) :ghc>>
../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP -idist/build  -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c Language/Haskell/ParseMonad.hs -o dist/build/Language/Haskell/ParseMonad.o  -ohi dist/build/Language/Haskell/ParseMonad.hi
<<ghc: 118050056 bytes, 19 GCs, 4239360/6983680 avg/max bytes residency (3 samples), 20M in use, 0.00 INIT (0.00 elapsed), 0.62 MUT (11.64 elapsed), 0.22 GC (0.27 elapsed) :ghc>>
../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP -idist/build  -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c Language/Haskell/Lexer.hs -o dist/build/Language/Haskell/Lexer.o  -ohi dist/build/Language/Haskell/Lexer.hi
<<ghc: 565453064 bytes, 312 GCs, 8036352/12738560 avg/max bytes residency (6 samples), 33M in use, 0.00 INIT (0.00 elapsed), 3.22 MUT (44.55 elapsed), 1.32 GC (1.75 elapsed) :ghc>>
../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP -idist/build  -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c Language/Haskell/Pretty.hs -o dist/build/Language/Haskell/Pretty.o  -ohi dist/build/Language/Haskell/Pretty.hi
ghc-6.8.3: panic! (the 'impossible' happened)
  (GHC version 6.8.3 for powerpc-apple-darwin):
	initC: srt_lbl

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

<<ghc: 465794756 bytes, 205 GCs, 7245238/10625024 avg/max bytes residency (7 samples), 29M in use, 0.00 INIT (0.00 elapsed), 2.42 MUT (3.47 elapsed), 1.44 GC (1.75 elapsed) :ghc>>
make[2]: *** [dist/build/Language/Haskell/Pretty.o] Error 1
make[1]: *** [make.library.haskell-src] Error 2
make: *** [stage1] Error 2

Error: The following dependencies failed to build: ghc
Error: Status 1 encountered during processing.

System is PowerMac G5 (2x2.5GHz)

The first time I got:

Bimini:~ jim$ sudo port install darcs
--->  Fetching ghc
--->  Verifying checksum(s) for ghc
--->  Extracting ghc
--->  Applying patches to ghc
--->  Configuring ghc
--->  Building ghc with target all
Error: Target org.macports.build returned: shell command "env DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib make" returned error 2
Command output: 	  cmp -s GNUmakefile GNUmakefile.tmp && mv GNUmakefile.tmp GNUmakefile; \
	  make -r && \
	  setup/Setup register --inplace; \
	fi
mv: rename GNUmakefile to GNUmakefile.tmp: No such file or directory
Preprocessing library haskell-src-1.0.1.2...
Generating Makefile haskell-src-1.0.1.2...
GNUmakefile:71: dist/build/.depend: No such file or directory
../../compiler/stage1/ghc-inplace -M -optdep-f -optdepdist/build/.depend -optdep-s -optdepp  -package-name haskell-src-1.0.1.2 -hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics Language.Haskell.Lexer Language.Haskell.Parser Language.Haskell.ParseMonad Language.Haskell.Pretty Language.Haskell.Syntax Language.Haskell.ParseUtils
<<ghc: 22087740 bytes, 4 GCs, 139264/139264 avg/max bytes residency (1 samples), 16M in use, 0.00 INIT (0.00 elapsed), 0.05 MUT (0.32 elapsed), 0.03 GC (0.04 elapsed) :ghc>>
for dir in dist/build/Language/Haskell/; do \
		if test ! -d $dir; then mkdir -p $dir; fi \
	done
../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP -idist/build  -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c Language/Haskell/Syntax.hs -o dist/build/Language/Haskell/Syntax.o  -ohi dist/build/Language/Haskell/Syntax.hi
<<ghc: 3586064124 bytes, 5984 GCs, 14952155/33591296 avg/max bytes residency (21 samples), 86M in use, 0.00 INIT (0.00 elapsed), 20.37 MUT (136.53 elapsed), 8.96 GC (11.76 elapsed) :ghc>>
../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP -idist/build  -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c Language/Haskell/ParseMonad.hs -o dist/build/Language/Haskell/ParseMonad.o  -ohi dist/build/Language/Haskell/ParseMonad.hi
<<ghc: 118050056 bytes, 19 GCs, 4239360/6983680 avg/max bytes residency (3 samples), 20M in use, 0.00 INIT (0.00 elapsed), 0.62 MUT (11.64 elapsed), 0.22 GC (0.27 elapsed) :ghc>>
../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP -idist/build  -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c Language/Haskell/Lexer.hs -o dist/build/Language/Haskell/Lexer.o  -ohi dist/build/Language/Haskell/Lexer.hi
<<ghc: 565453064 bytes, 312 GCs, 8036352/12738560 avg/max bytes residency (6 samples), 33M in use, 0.00 INIT (0.00 elapsed), 3.22 MUT (44.55 elapsed), 1.32 GC (1.75 elapsed) :ghc>>
../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP -idist/build  -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c Language/Haskell/Pretty.hs -o dist/build/Language/Haskell/Pretty.o  -ohi dist/build/Language/Haskell/Pretty.hi
ghc-6.8.3: panic! (the 'impossible' happened)
  (GHC version 6.8.3 for powerpc-apple-darwin):
	initC: srt_lbl

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

<<ghc: 465794756 bytes, 205 GCs, 7245238/10625024 avg/max bytes residency (7 samples), 29M in use, 0.00 INIT (0.00 elapsed), 2.42 MUT (3.47 elapsed), 1.44 GC (1.75 elapsed) :ghc>>
make[2]: *** [dist/build/Language/Haskell/Pretty.o] Error 1
make[1]: *** [make.library.haskell-src] Error 2
make: *** [stage1] Error 2

Error: The following dependencies failed to build: ghc
Error: Status 1 encountered during processing.

I ran "clean" and tried again. This time it went quite a while longer then paniced.

Trac metadata
Trac field Value
Version 6.8.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
Fetching ghc\r\n---> Verifying checksum(s) for ghc\r\n---> Extracting ghc\r\n---> Applying patches to ghc\r\n---> Configuring ghc\r\n---> Building ghc with target all\r\nError: Target org.macports.build returned: shell command \"env DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib make\" returned error 2\r\nCommand output: \t cmp -s GNUmakefile GNUmakefile.tmp && mv GNUmakefile.tmp GNUmakefile; \\\r\n\t make -r && \\\r\n\t setup/Setup register --inplace; \\\r\n\tfi\r\nmv: rename GNUmakefile to GNUmakefile.tmp: No such file or directory\r\nPreprocessing library haskell-src-1.0.1.2...\r\nGenerating Makefile haskell-src-1.0.1.2...\r\nGNUmakefile:71: dist/build/.depend: No such file or directory\r\n../../compiler/stage1/ghc-inplace -M -optdep-f -optdepdist/build/.depend -optdep-s -optdepp -package-name haskell-src-1.0.1.2 -hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics Language.Haskell.Lexer Language.Haskell.Parser Language.Haskell.ParseMonad Language.Haskell.Pretty Language.Haskell.Syntax Language.Haskell.ParseUtils\r\n<>\r\nfor dir in dist/build/Language/Haskell/; do \\\r\n\t\tif test ! -d $dir; then mkdir -p $dir; fi \\\r\n\tdone\r\n../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c Language/Haskell/Syntax.hs -o dist/build/Language/Haskell/Syntax.o -ohi dist/build/Language/Haskell/Syntax.hi\r\n<>\r\n../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c Language/Haskell/ParseMonad.hs -o dist/build/Language/Haskell/ParseMonad.o -ohi dist/build/Language/Haskell/ParseMonad.hi\r\n<>\r\n../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c Language/Haskell/Lexer.hs -o dist/build/Language/Haskell/Lexer.o -ohi dist/build/Language/Haskell/Lexer.hi\r\n<>\r\n../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c Language/Haskell/Pretty.hs -o dist/build/Language/Haskell/Pretty.o -ohi dist/build/Language/Haskell/Pretty.hi\r\nghc-6.8.3: panic! (the 'impossible' happened)\r\n (GHC version 6.8.3 for powerpc-apple-darwin):\r\n\tinitC: srt_lbl\r\n\r\nPlease report this as a GHC bug: http://www.haskell.org/ghc/reportabug\r\n\r\n<>\r\nmake[2]: *** [dist/build/Language/Haskell/Pretty.o] Error 1\r\nmake[1]: *** [make.library.haskell-src] Error 2\r\nmake: *** [stage1] Error 2\r\n\r\nError: The following dependencies failed to build: ghc\r\nError: Status 1 encountered during processing.\r\n}}}\r\n\r\nSystem is PowerMac G5 (2x2.5GHz) \r\n\r\nThe first time I got:\r\n{{{\r\nBimini:~ jim$ sudo port install darcs\r\n---> Fetching ghc\r\n---> Verifying checksum(s) for ghc\r\n---> Extracting ghc\r\n---> Applying patches to ghc\r\n---> Configuring ghc\r\n---> Building ghc with target all\r\nError: Target org.macports.build returned: shell command \"env DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib make\" returned error 2\r\nCommand output: \t cmp -s GNUmakefile GNUmakefile.tmp && mv GNUmakefile.tmp GNUmakefile; \\\r\n\t make -r && \\\r\n\t setup/Setup register --inplace; \\\r\n\tfi\r\nmv: rename GNUmakefile to GNUmakefile.tmp: No such file or directory\r\nPreprocessing library haskell-src-1.0.1.2...\r\nGenerating Makefile haskell-src-1.0.1.2...\r\nGNUmakefile:71: dist/build/.depend: No such file or directory\r\n../../compiler/stage1/ghc-inplace -M -optdep-f -optdepdist/build/.depend -optdep-s -optdepp -package-name haskell-src-1.0.1.2 -hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics Language.Haskell.Lexer Language.Haskell.Parser Language.Haskell.ParseMonad Language.Haskell.Pretty Language.Haskell.Syntax Language.Haskell.ParseUtils\r\n<>\r\nfor dir in dist/build/Language/Haskell/; do \\\r\n\t\tif test ! -d $dir; then mkdir -p $dir; fi \\\r\n\tdone\r\n../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c Language/Haskell/Syntax.hs -o dist/build/Language/Haskell/Syntax.o -ohi dist/build/Language/Haskell/Syntax.hi\r\n<>\r\n../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c Language/Haskell/ParseMonad.hs -o dist/build/Language/Haskell/ParseMonad.o -ohi dist/build/Language/Haskell/ParseMonad.hi\r\n<>\r\n../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c Language/Haskell/Lexer.hs -o dist/build/Language/Haskell/Lexer.o -ohi dist/build/Language/Haskell/Lexer.hi\r\n<>\r\n../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c Language/Haskell/Pretty.hs -o dist/build/Language/Haskell/Pretty.o -ohi dist/build/Language/Haskell/Pretty.hi\r\nghc-6.8.3: panic! (the 'impossible' happened)\r\n (GHC version 6.8.3 for powerpc-apple-darwin):\r\n\tinitC: srt_lbl\r\n\r\nPlease report this as a GHC bug: http://www.haskell.org/ghc/reportabug\r\n\r\n<>\r\nmake[2]: *** [dist/build/Language/Haskell/Pretty.o] Error 1\r\nmake[1]: *** [make.library.haskell-src] Error 2\r\nmake: *** [stage1] Error 2\r\n\r\nError: The following dependencies failed to build: ghc\r\nError: Status 1 encountered during processing.\r\n}}}\r\nI ran \"clean\" and tried again. This time it went quite a while longer then paniced.\r\n\r\n","type_of_failure":"OtherFailure","blocking":[]} -->
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information