Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dredozubov/3a04b0c66117d73b99941c30ed47b6ab to your computer and use it in GitHub Desktop.
Save dredozubov/3a04b0c66117d73b99941c30ed47b6ab to your computer and use it in GitHub Desktop.
Configuring ghc-pkg-6.9...
Configuring ghc-8.11.0.20200619...
"/usr/local/bin/ghc-pkg" update -v0 --force --package-db=libraries/bootstrapping.conf compiler/stage1/inplace-pkg-config
"inplace/bin/ghc-cabal" configure ghc stage1 --with-ghc="/usr/local/bin/ghc" --with-ghc-pkg="/usr/local/bin/ghc-pkg" --flags=stage1 --package-db=/Users/dr/workspace/ghc/libraries/bootstrapping.conf --disable-library-for-ghci --disable-library-vanilla --disable-library-profiling --disable-shared --configure-option=CFLAGS="-Wall -Wno-unknown-pragmas -iquote /Users/dr/workspace/ghc/ghc" --configure-option=LDFLAGS=" " --configure-option=CPPFLAGS=" " --gcc-options="-Wall -Wno-unknown-pragmas -iquote /Users/dr/workspace/ghc/ghc " --configure-option=--with-gmp --constraint "binary == 0.8.7.0" --constraint "transformers == 0.5.6.2" --constraint "mtl == 2.2.2" --constraint "hpc == 0.6.1.0" --constraint "ghc-boot-th == 8.11.0.20200619" --constraint "ghc-boot == 8.11.0.20200619" --constraint "template-haskell == 2.17.0.0" --constraint "text == 1.2.4.0" --constraint "parsec == 3.1.14.0" --constraint "Cabal == 3.3.0.0" --constraint "ghc-heap == 8.11.0.20200619" --constraint "exceptions == 0.10.4" --constraint "ghci == 8.11.0.20200619" --constraint "terminfo == 0.4.1.4" --with-gcc="gcc" --with-ld="ld" --with-ar="ar" --with-alex="/Users/dr/.local/bin/alex" --with-happy="/Users/dr/.local/bin/happy"
Configuring ghc-bin-8.11.0.20200619...
Warning: 'data-dir: ..' is a relative path outside of the source tree. This
will not work when generating a tarball with 'sdist'.
"rm" -f utils/hsc2hs/dist/build/.depend.haskell.tmp
"rm" -f utils/hsc2hs/dist/build/.depend.c_asm.tmp
"/Users/dr/.local/bin/alex" -g utils/genprimopcode/./Lexer.x -o utils/genprimopcode/dist/build/Lexer.hs
"/Users/dr/.local/bin/happy" -agc --strict utils/genprimopcode/./Parser.y -o utils/genprimopcode/dist/build/Parser.hs
"rm" -f utils/genprimopcode/dist/build/.depend.c_asm.tmp
"rm" -f utils/deriveConstants/dist/build/.depend.haskell.tmp
"rm" -f utils/deriveConstants/dist/build/.depend.c_asm.tmp
"/usr/local/bin/ghc" -M -static -O0 -H64m -Wall -package-db libraries/bootstrapping.conf -hide-all-packages -i -iutils/hsc2hs/. -iutils/hsc2hs/dist/build -Iutils/hsc2hs/dist/build -iutils/hsc2hs/dist/build/hsc2hs/autogen -Iutils/hsc2hs/dist/build/hsc2hs/autogen -optP-include -optPutils/hsc2hs/dist/build/hsc2hs/autogen/cabal_macros.h -package-id base-4.13.0.0 -package-id containers-0.6.2.1 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id process-1.6.8.0 -Wall -XHaskell2010 -no-user-package-db -rtsopts -outputdir utils/hsc2hs/dist/build -dep-makefile utils/hsc2hs/dist/build/.depend.haskell.tmp -dep-suffix "" -include-pkg-deps utils/hsc2hs/./Main.hs utils/hsc2hs/./C.hs utils/hsc2hs/./Common.hs utils/hsc2hs/./CrossCodegen.hs utils/hsc2hs/./DirectCodegen.hs utils/hsc2hs/./Flags.hs utils/hsc2hs/./HSCParser.hs utils/hsc2hs/./ATTParser.hs utils/hsc2hs/./UtilsCodegen.hs utils/hsc2hs/./Compat/ResponseFile.hs utils/hsc2hs/./Compat/TempFile.hs utils/hsc2hs/dist/build/hsc2hs/autogen/Paths_hsc2hs.hs
cc -E -I/usr/local/opt/icu4c/include -I/usr/local/opt/openssl/include -Wall -Iutils/hsc2hs/dist/build/hsc2hs/autogen -I'/Users/dr/.stack/programs/x86_64-osx/ghc-8.8.3/lib/ghc-8.8.3/process-1.6.8.0/include' -I'/Users/dr/.stack/programs/x86_64-osx/ghc-8.8.3/lib/ghc-8.8.3/process-1.6.8.0/dist-install/build/include' -I'/Users/dr/.stack/programs/x86_64-osx/ghc-8.8.3/lib/ghc-8.8.3/unix-2.7.2.2/include' -I'/Users/dr/.stack/programs/x86_64-osx/ghc-8.8.3/lib/ghc-8.8.3/unix-2.7.2.2/dist-install/build/include' -I'/Users/dr/.stack/programs/x86_64-osx/ghc-8.8.3/lib/ghc-8.8.3/time-1.9.3/include' -I'/Users/dr/.stack/programs/x86_64-osx/ghc-8.8.3/lib/ghc-8.8.3/time-1.9.3/dist-install/build/include' -I'/Users/dr/.stack/programs/x86_64-osx/ghc-8.8.3/lib/ghc-8.8.3/bytestring-0.10.10.0/include' -I'/Users/dr/.stack/programs/x86_64-osx/ghc-8.8.3/lib/ghc-8.8.3/bytestring-0.10.10.0/dist-install/build/include' -I'/Users/dr/.stack/programs/x86_64-osx/ghc-8.8.3/lib/ghc-8.8.3/base-4.13.0.0/include' -I'/Users/dr/.stack/programs/x86_64-osx/ghc-8.8.3/lib/ghc-8.8.3/base-4.13.0.0/dist-install/build/include' -I'/Users/dr/.stack/programs/x86_64-osx/ghc-8.8.3/lib/ghc-8.8.3/integer-gmp-1.0.2.0/include' -I'/Users/dr/.stack/programs/x86_64-osx/ghc-8.8.3/lib/ghc-8.8.3/integer-gmp-1.0.2.0/dist-install/build/include' -I'/Users/dr/.stack/programs/x86_64-osx/ghc-8.8.3/lib/ghc-8.8.3/include' -I'/Users/dr/.stack/programs/x86_64-osx/ghc-8.8.3/lib/ghc-8.8.3/dist-install/build/include' -Wno-unknown-pragmas -MM -x c utils/hsc2hs/cbits/utils.c -MF utils/hsc2hs/dist/build/.depend.c_asm.bit
"rm" -f utils/genprimopcode/dist/build/.depend.c_asm.bit
"/usr/local/bin/ghc" -M -static -O0 -H64m -Wall -package-db libraries/bootstrapping.conf -hide-all-packages -i -iutils/deriveConstants/. -iutils/deriveConstants/dist/build -Iutils/deriveConstants/dist/build -iutils/deriveConstants/dist/build/deriveConstants/autogen -Iutils/deriveConstants/dist/build/deriveConstants/autogen -optP-include -optPutils/deriveConstants/dist/build/deriveConstants/autogen/cabal_macros.h -package-id base-4.13.0.0 -package-id containers-0.6.2.1 -package-id filepath-1.4.2.1 -package-id process-1.6.8.0 -XHaskell2010 -no-user-package-db -rtsopts -outputdir utils/deriveConstants/dist/build -dep-makefile utils/deriveConstants/dist/build/.depend.haskell.tmp -dep-suffix "" -include-pkg-deps utils/deriveConstants/./Main.hs
"rm" -f utils/deriveConstants/dist/build/.depend.c_asm.bit
echo "utils/genprimopcode_dist_depfile_c_asm_EXISTS = YES" >> utils/genprimopcode/dist/build/.depend.c_asm.tmp
echo "utils/deriveConstants_dist_depfile_c_asm_EXISTS = YES" >> utils/deriveConstants/dist/build/.depend.c_asm.tmp
mv utils/genprimopcode/dist/build/.depend.c_asm.tmp utils/genprimopcode/dist/build/.depend.c_asm
mv utils/deriveConstants/dist/build/.depend.c_asm.tmp utils/deriveConstants/dist/build/.depend.c_asm
happy: /Users/dr/.stack/snapshots/x86_64-osx/c209637d348556ce1f6681bd3e0a5bdccb6953d7e74a4bfed0aa0b41d8bcf33e/8.8.3/share/x86_64-osx-ghc-8.8.3/happy-1.19.12/HappyTemplate-arrays-coerce: openFile: does not exist (No such file or directory)
make[1]: *** [utils/genprimopcode/dist/build/Parser.hs] Error 1
make[1]: *** Waiting for unfinished jobs....
sed -e 's|\\|/|g' -e 's| /$| \\|' -e "1s|\.o|\.o|" -e "1s|^|utils/hsc2hs/cbits/|" -e "1s|utils/hsc2hs/|utils/hsc2hs/dist/build/|" -e "1s|dist/build/dist/build|dist/build|g" -e "s|^/Users/dr/workspace/ghc/||g" utils/hsc2hs/dist/build/.depend.c_asm.bit >> utils/hsc2hs/dist/build/.depend.c_asm.tmp && true
"rm" -f utils/hsc2hs/dist/build/.depend.c_asm.bit
echo "utils/hsc2hs_dist_depfile_c_asm_EXISTS = YES" >> utils/hsc2hs/dist/build/.depend.c_asm.tmp
mv utils/hsc2hs/dist/build/.depend.c_asm.tmp utils/hsc2hs/dist/build/.depend.c_asm
echo "utils/deriveConstants_dist_depfile_haskell_EXISTS = YES" >> utils/deriveConstants/dist/build/.depend.haskell.tmp
for dir in utils/deriveConstants/dist/build/./; do if test ! -d $dir; then mkdir -p $dir; fi done
grep -v ' : [a-zA-Z]:/' utils/deriveConstants/dist/build/.depend.haskell.tmp > utils/deriveConstants/dist/build/.depend.haskell.tmp2
sed -e '/hs$/ p' -e '/hs$/ s/o /hi /g' -e '/hs$/ s/:/ : %hi: %o /' -e '/hs$/ s/^/$(eval $(call hi-rule,/' -e '/hs$/ s/$/))/' -e '/hs-boot$/ p' -e '/hs-boot$/ s/o-boot /hi-boot /g' -e '/hs-boot$/ s/:/ : %hi-boot: %o-boot /' -e '/hs-boot$/ s/^/$(eval $(call hi-rule,/' -e '/hs-boot$/ s/$/))/' utils/deriveConstants/dist/build/.depend.haskell.tmp2 > utils/deriveConstants/dist/build/.depend.haskell
alex: /Users/dr/.stack/snapshots/x86_64-osx/c209637d348556ce1f6681bd3e0a5bdccb6953d7e74a4bfed0aa0b41d8bcf33e/8.8.3/share/x86_64-osx-ghc-8.8.3/alex-3.2.5/AlexTemplate-ghc-nopred: openFile: does not exist (No such file or directory)
make[1]: *** [utils/genprimopcode/dist/build/Lexer.hs] Error 1
echo "utils/hsc2hs_dist_depfile_haskell_EXISTS = YES" >> utils/hsc2hs/dist/build/.depend.haskell.tmp
for dir in utils/hsc2hs/dist/build/./ utils/hsc2hs/dist/build/Compat/; do if test ! -d $dir; then mkdir -p $dir; fi done
grep -v ' : [a-zA-Z]:/' utils/hsc2hs/dist/build/.depend.haskell.tmp > utils/hsc2hs/dist/build/.depend.haskell.tmp2
sed -e '/hs$/ p' -e '/hs$/ s/o /hi /g' -e '/hs$/ s/:/ : %hi: %o /' -e '/hs$/ s/^/$(eval $(call hi-rule,/' -e '/hs$/ s/$/))/' -e '/hs-boot$/ p' -e '/hs-boot$/ s/o-boot /hi-boot /g' -e '/hs-boot$/ s/:/ : %hi-boot: %o-boot /' -e '/hs-boot$/ s/^/$(eval $(call hi-rule,/' -e '/hs-boot$/ s/$/))/' utils/hsc2hs/dist/build/.depend.haskell.tmp2 > utils/hsc2hs/dist/build/.depend.haskell
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment