<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.Code, li.Code, div.Code
        {mso-style-name:Code;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:9.0pt;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
.MsoPapDefault
        {mso-style-type:export-only;
        margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">Simon<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="Code">make<o:p></o:p></p>
<p class="Code">===--- building phase 0<o:p></o:p></p>
<p class="Code">make --no-print-directory -f ghc.mk phase=0 phase_0_builds<o:p></o:p></p>
<p class="Code">make[1]: Nothing to be done for 'phase_0_builds'.<o:p></o:p></p>
<p class="Code">===--- building phase 1<o:p></o:p></p>
<p class="Code">make --no-print-directory -f ghc.mk phase=1 phase_1_builds<o:p></o:p></p>
<p class="Code">"/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   
<o:p></o:p></p>
<p class="Code">/5playpen/simonpj/HEAD-1/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.1.1.a(Base.o):r6De_info: error: undefined reference to 'tigetnum'<o:p></o:p></p>
<p class="Code">/5playpen/simonpj/HEAD-1/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.1.1.a(Base.o):r6Df_info: error: undefined reference to 'tigetflag'<o:p></o:p></p>
<p class="Code">/5playpen/simonpj/HEAD-1/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.1.1.a(Base.o):r6Dg_info: error: undefined reference to 'tigetstr'<o:p></o:p></p>
<p class="Code">/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'<o:p></o:p></p>
<p class="Code">/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'<o:p></o:p></p>
<p class="Code">/5playpen/simonpj/HEAD-1/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.1.1.a(Base.o):s6I7_info: error: undefined reference to 'tparm'<o:p></o:p></p>
<p class="Code">/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'<o:p></o:p></p>
<p class="Code">/5playpen/simonpj/HEAD-1/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.1.1.a(Base.o):s6JA_info: error: undefined reference to 'setupterm'<o:p></o:p></p>
<p class="Code">/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'<o:p></o:p></p>
<p class="Code">/5playpen/simonpj/HEAD-1/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.1.1.a(Base.o):s6KR_info: error: undefined reference to 'tputs'<o:p></o:p></p>
<p class="Code">/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'<o:p></o:p></p>
<p class="Code">collect2: error: ld returned 1 exit status<o:p></o:p></p>
<p class="Code">`gcc' failed in phase `Linker'. (Exit code: 1)<o:p></o:p></p>
<p class="Code">utils/ghc-pkg/ghc.mk:70: recipe for target 'utils/ghc-pkg/dist/build/tmp/ghc-pkg' failed<o:p></o:p></p>
<p class="Code">make[1]: *** [utils/ghc-pkg/dist/build/tmp/ghc-pkg] Error 1<o:p></o:p></p>
<p class="Code">Makefile:122: recipe for target 'all' failed<o:p></o:p></p>
<p class="Code">make: *** [all] Error 2<o:p></o:p></p>
<p class="Code">simonpj@cam-05-unx:~/5builds/HEAD-1$<span style="font-size:12.0pt"><o:p></o:p></span></p>
</div>
</body>
</html>