tigetnum etc -- help!

Simon Peyton Jones simonpj at microsoft.com
Mon Mar 5 09:25:27 UTC 2018


My stage-1 build (from clean) has started failing thus (on Linux).  Any ideas?  It's pretty disabling because I can't build GHC any more.
Simon


make

===--- building phase 0

make --no-print-directory -f ghc.mk phase=0 phase_0_builds

make[1]: Nothing to be done for 'phase_0_builds'.

===--- building phase 1

make --no-print-directory -f ghc.mk phase=1 phase_1_builds

"/usr/local/bin/ghc" -o utils/ghc-pkg/dist/build/tmp/ghc-pkg -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall   -package-db libraries/bootstrapping.conf  -hide-all-packages -i -iutils/ghc-pkg/. -iutils/ghc-pkg/dist/build -Iutils/ghc-pkg/dist/build -iutils/ghc-pkg/dist/build/ghc-pkg/autogen -Iutils/ghc-pkg/dist/build/ghc-pkg/autogen    -optP-DWITH_TERMINFO -optP-include -optPutils/ghc-pkg/dist/build/ghc-pkg/autogen/cabal_macros.h -package-id Cabal-2.1.0.0 -package-id base-4.10.0.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 -XHaskell2010  -no-user-package-db -rtsopts        -odir utils/ghc-pkg/dist/build -hidir utils/ghc-pkg/dist/build -stubdir utils/ghc-pkg/dist/build     -static  -O0 -H64m -Wall   -package-db libraries/bootstrapping.conf  -hide-all-packages -i -iutils/ghc-pkg/. -iutils/ghc-pkg/dist/build -Iutils/ghc-pkg/dist/build -iutils/ghc-pkg/dist/build/ghc-pkg/autogen -Iutils/ghc-pkg/dist/build/ghc-pkg/autogen    -optP-DWITH_TERMINFO -optP-include -optPutils/ghc-pkg/dist/build/ghc-pkg/autogen/cabal_macros.h -package-id Cabal-2.1.0.0 -package-id base-4.10.0.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 -XHaskell2010  -no-user-package-db -rtsopts        utils/ghc-pkg/dist/build/Main.o utils/ghc-pkg/dist/build/Version.o

/5playpen/simonpj/HEAD-1/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.1.1.a(Base.o):r6De_info: error: undefined reference to 'tigetnum'

/5playpen/simonpj/HEAD-1/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.1.1.a(Base.o):r6Df_info: error: undefined reference to 'tigetflag'

/5playpen/simonpj/HEAD-1/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.1.1.a(Base.o):r6Dg_info: error: undefined reference to 'tigetstr'

/5playpen/simonpj/HEAD-1/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.1.1.a(Base.o):s6Gn_info: error: undefined reference to 'set_curterm'

/5playpen/simonpj/HEAD-1/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.1.1.a(Base.o):s6Gb_info: error: undefined reference to 'set_curterm'

/5playpen/simonpj/HEAD-1/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.1.1.a(Base.o):s6I7_info: error: undefined reference to 'tparm'

/5playpen/simonpj/HEAD-1/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.1.1.a(Base.o):s6JP_info: error: undefined reference to 'set_curterm'

/5playpen/simonpj/HEAD-1/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.1.1.a(Base.o):s6JA_info: error: undefined reference to 'setupterm'

/5playpen/simonpj/HEAD-1/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.1.1.a(Base.o):s6Jn_info: error: undefined reference to 'set_curterm'

/5playpen/simonpj/HEAD-1/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.1.1.a(Base.o):s6KR_info: error: undefined reference to 'tputs'

/5playpen/simonpj/HEAD-1/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.1.1.a(Base.o)(.data+0xdc8): error: undefined reference to 'del_curterm'

collect2: error: ld returned 1 exit status

`gcc' failed in phase `Linker'. (Exit code: 1)

utils/ghc-pkg/ghc.mk:70: recipe for target 'utils/ghc-pkg/dist/build/tmp/ghc-pkg' failed

make[1]: *** [utils/ghc-pkg/dist/build/tmp/ghc-pkg] Error 1

Makefile:122: recipe for target 'all' failed

make: *** [all] Error 2

simonpj at cam-05-unx:~/5builds/HEAD-1$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20180305/d1949b05/attachment.html>


More information about the ghc-devs mailing list