Closed izgzhen closed 6 years ago
| Run Ghc LinkHs Stage0: _build/stage0/utils/ghc-pkg/Main.o (and 1 more) => inplace/lib/bin/ghc-pkg /usr/local/bin/ghc -Wall -hisuf hi -osuf o -hcsuf hc -static -hide-all-packages -no-user-package-db '-package-db /home/zhen/repos/ghc/_build/stage0/bootstrapping.conf' '-package-id Cabal-2.1.0.0' '-package-id base-4.10.1.0' '-package-id binary-0.8.5.1' '-package-id bytestring-0.10.8.2' '-package-id containers-0.5.10.2' '-package-id directory-1.3.0.2' '-package-id filepath-1.4.1.2' '-package-id ghc-boot-8.5' '-package-id process-1.6.1.0' '-package-id terminfo-0.4.1.1' '-package-id unix-2.7.2.2' -i -i_build/stage0/utils/ghc-pkg -i_build/stage0/utils/ghc-pkg/build/ghc-pkg/autogen -iutils/ghc-pkg/. -Iincludes -I_build/generated -I_build/stage0/utils/ghc-pkg -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/process-1.6.1.0/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/process-1.6.1.0/dist-install/build/include -I/home/zhen/repos/ghc/libraries/text/include -I/home/zhen/repos/ghc/libraries/text/dist-install/build/include -I/home/zhen/repos/ghc/_build/stage0/libraries/text/include -I/home/zhen/repos/ghc/_build/stage0/libraries/text/dist-install/build/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/directory-1.3.0.2/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/directory-1.3.0.2/dist-install/build/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/unix-2.7.2.2/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/unix-2.7.2.2/dist-install/build/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/time-1.8.0.2/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/time-1.8.0.2/dist-install/build/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/bytestring-0.10.8.2/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/bytestring-0.10.8.2/dist-install/build/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/base-4.10.1.0/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/base-4.10.1.0/dist-install/build/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/integer-gmp-1.0.1.0/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/integer-gmp-1.0.1.0/dist-install/build/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/dist-install/build/include -I_build/generated -optc-I_build/generated -optP-include -optP_build/stage0/utils/ghc-pkg/build/ghc-pkg/autogen/cabal_macros.h -optc-fno-stack-protector -optP-DWITH_TERMINFO -odir _build/stage0/utils/ghc-pkg -hidir _build/stage0/utils/ghc-pkg -stubdir _build/stage0/utils/ghc-pkg -no-auto-link-packages -rtsopts -optc-Werror=unused-but-set-variable -optc-Wno-error=inline _build/stage0/utils/ghc-pkg/Main.o _build/stage0/utils/ghc-pkg/Version.o -o inplace/lib/bin/ghc-pkg -O -H32m -XHaskell2010 _build/stage0/utils/ghc-pkg/Main.o:rpOD_info: error: undefined reference to 'set_curterm' _build/stage0/utils/ghc-pkg/Main.o:rpOD_info: error: undefined reference to 'set_curterm' _build/stage0/utils/ghc-pkg/Main.o:rpOD_info: error: undefined reference to 'set_curterm' _build/stage0/utils/ghc-pkg/Main.o:rpOD_info: error: undefined reference to 'set_curterm' /home/zhen/repos/ghc/_build/stage0/libraries/terminfo/libHSterminfo-0.4.1.1.a(Base.o):r9qR_info: error: undefined reference to 'tigetnum' /home/zhen/repos/ghc/_build/stage0/libraries/terminfo/libHSterminfo-0.4.1.1.a(Base.o):r9qS_info: error: undefined reference to 'tigetflag' /home/zhen/repos/ghc/_build/stage0/libraries/terminfo/libHSterminfo-0.4.1.1.a(Base.o):r9qT_info: error: undefined reference to 'tigetstr' /home/zhen/repos/ghc/_build/stage0/libraries/terminfo/libHSterminfo-0.4.1.1.a(Base.o):s9Aq_info: error: undefined reference to 'tparm' /home/zhen/repos/ghc/_build/stage0/libraries/terminfo/libHSterminfo-0.4.1.1.a(Base.o):s9CB_info: error: undefined reference to 'del_curterm' /home/zhen/repos/ghc/_build/stage0/libraries/terminfo/libHSterminfo-0.4.1.1.a(Base.o):s9CB_info: error: undefined reference to 'setupterm' /home/zhen/repos/ghc/_build/stage0/libraries/terminfo/libHSterminfo-0.4.1.1.a(Base.o):s9Et_info: error: undefined reference to 'tputs' collect2: error: ld returned 1 exit status `gcc' failed in phase `Linker'. (Exit code: 1) shakeArgsWith 0.000s 0% Function shake 0.137s 0% Database read 0.092s 0% With database 0.041s 0% Running rules 24.869s 98% ========================= Total 25.140s 100% Error when running Shake build system: * inplace/bin/ghc-pkg * inplace/lib/bin/ghc-pkg user error (Development.Shake.cmd, system command failed Command: /usr/local/bin/ghc -Wall -hisuf hi -osuf o -hcsuf hc -static -hide-all-packages -no-user-package-db '-package-db /home/zhen/repos/ghc/_build/stage0/bootstrapping.conf' '-package-id Cabal-2.1.0.0' '-package-id base-4.10.1.0' '-package-id binary-0.8.5.1' '-package-id bytestring-0.10.8.2' '-package-id containers-0.5.10.2' '-package-id directory-1.3.0.2' '-package-id filepath-1.4.1.2' '-package-id ghc-boot-8.5' '-package-id process-1.6.1.0' '-package-id terminfo-0.4.1.1' '-package-id unix-2.7.2.2' -i -i_build/stage0/utils/ghc-pkg -i_build/stage0/utils/ghc-pkg/build/ghc-pkg/autogen -iutils/ghc-pkg/. -Iincludes -I_build/generated -I_build/stage0/utils/ghc-pkg -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/process-1.6.1.0/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/process-1.6.1.0/dist-install/build/include -I/home/zhen/repos/ghc/libraries/text/include -I/home/zhen/repos/ghc/libraries/text/dist-install/build/include -I/home/zhen/repos/ghc/_build/stage0/libraries/text/include -I/home/zhen/repos/ghc/_build/stage0/libraries/text/dist-install/build/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/directory-1.3.0.2/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/directory-1.3.0.2/dist-install/build/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/unix-2.7.2.2/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/unix-2.7.2.2/dist-install/build/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/time-1.8.0.2/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/time-1.8.0.2/dist-install/build/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/bytestring-0.10.8.2/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/bytestring-0.10.8.2/dist-install/build/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/base-4.10.1.0/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/base-4.10.1.0/dist-install/build/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/integer-gmp-1.0.1.0/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/integer-gmp-1.0.1.0/dist-install/build/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/include -I/usr/local/haskell/ghc-8.2.2-x86_64/lib/ghc-8.2.2/dist-install/build/include -I_build/generated -optc-I_build/generated -optP-include -optP_build/stage0/utils/ghc-pkg/build/ghc-pkg/autogen/cabal_macros.h -optc-fno-stack-protector -optP-DWITH_TERMINFO -odir _build/stage0/utils/ghc-pkg -hidir _build/stage0/utils/ghc-pkg -stubdir _build/stage0/utils/ghc-pkg -no-auto-link-packages -rtsopts -optc-Werror=unused-but-set-variable -optc-Wno-error=inline _build/stage0/utils/ghc-pkg/Main.o _build/stage0/utils/ghc-pkg/Version.o -o inplace/lib/bin/ghc-pkg -O -H32m -XHaskell2010 Exit code: 1 Stderr: _build/stage0/utils/ghc-pkg/Main.o:rpOD_info: error: undefined reference to 'set_curterm' _build/stage0/utils/ghc-pkg/Main.o:rpOD_info: error: undefined reference to 'set_curterm' _build/stage0/utils/ghc-pkg/Main.o:rpOD_info: error: undefined reference to 'set_curterm' _build/stage0/utils/ghc-pkg/Main.o:rpOD_info: error: undefined reference to 'set_curterm' /home/zhen/repos/ghc/_build/stage0/libraries/terminfo/libHSterminfo-0.4.1.1.a(Base.o):r9qR_info: error: undefined reference to 'tigetnum' /home/zhen/repos/ghc/_build/stage0/libraries/terminfo/libHSterminfo-0.4.1.1.a(Base.o):r9qS_info: error: undefined reference to 'tigetflag' /home/zhen/repos/ghc/_build/stage0/libraries/terminfo/libHSterminfo-0.4.1.1.a(Base.o):r9qT_info: error: undefined reference to 'tigetstr' /home/zhen/repos/ghc/_build/stage0/libraries/terminfo/libHSterminfo-0.4.1.1.a(Base.o):s9Aq_info: error: undefined reference to 'tparm' /home/zhen/repos/ghc/_build/stage0/libraries/terminfo/libHSterminfo-0.4.1.1.a(Base.o):s9CB_info: error: undefined reference to 'del_curterm' /home/zhen/repos/ghc/_build/stage0/libraries/terminfo/libHSterminfo-0.4.1.1.a(Base.o):s9CB_info: error: undefined reference to 'setupterm' /home/zhen/repos/ghc/_build/stage0/libraries/terminfo/libHSterminfo-0.4.1.1.a(Base.o):s9Et_info: error: undefined reference to 'tputs' collect2: error: ld returned 1 exit status `gcc' failed in phase `Linker'. (Exit code: 1) )
./build.sh -j --verbose --no-progress --progress-colour=never --progress-info=brief --profile=-
See PR #531.
I will close this now, please reopen if something is left to be done
./build.sh -j --verbose --no-progress --progress-colour=never --progress-info=brief --profile=-