<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Simon,<br>
    </p>
    <p>IIRC you have to delete "libraries/ghc-prim/configure" which is a
      left-over after d7fa8695324d6e0c3ea77228f9de93d529afc23e</p>
    <p>Sylvain<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 26/10/2018 13:42, Simon Peyton Jones
      via ghc-devs wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:AM0PR83MB03089EF9335C6260CC7F459CADF00@AM0PR83MB0308.EURPRD83.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <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;
        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]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
            style="font-family:"Calibri",sans-serif">This has
            started happening when I do ‘sh validate –no-clean’<o:p></o:p></span></p>
        <p class="Code">"inplace/bin/ghc-cabal" configure
          libraries/ghc-prim dist-install
          --with-ghc="/home/simonpj/5builds/HEAD-5/inplace/bin/ghc-stage1"
--with-ghc-pkg="/home/simonpj/5builds/HEAD-5/inplace/bin/ghc-pkg" 
          --disable-library-for-ghci --enable-library-vanilla
          --enable-library-for-ghci --disable-library-profiling
          --enable-shared
          --with-hscolour="/home/simonpj/.cabal/bin/HsColour"
          --configure-option=CFLAGS="-Wall -fno-stack-protector   
          -Werror=unused-but-set-variable -Wno-error=inline"
          --configure-option=LDFLAGS="  "
          --configure-option=CPPFLAGS="   " --gcc-options="-Wall
          -fno-stack-protector    -Werror=unused-but-set-variable
          -Wno-error=inline   " --with-gcc="gcc" --with-ld="ld.gold"
          --with-ar="ar" --with-alex="/home/simonpj/.cabal/bin/alex"
          --with-happy="/home/simonpj/.cabal/bin/happy"<o:p></o:p></p>
        <p class="Code">Configuring ghc-prim-0.5.3...<o:p></o:p></p>
        <p class="Code">configure: WARNING: unrecognized options:
          --with-compiler<o:p></o:p></p>
        <p class="Code">checking for gcc... /usr/bin/gcc<o:p></o:p></p>
        <p class="Code">checking whether the C compiler works... yes<o:p></o:p></p>
        <p class="Code">checking for C compiler default output file
          name... a.out<o:p></o:p></p>
        <p class="Code">checking for suffix of executables... <o:p></o:p></p>
        <p class="Code">checking whether we are cross compiling... no<o:p></o:p></p>
        <p class="Code">checking for suffix of object files... o<o:p></o:p></p>
        <p class="Code">checking whether we are using the GNU C
          compiler... yes<o:p></o:p></p>
        <p class="Code">checking whether /usr/bin/gcc accepts -g... yes<o:p></o:p></p>
        <p class="Code">checking for /usr/bin/gcc option to accept ISO
          C89... none needed<o:p></o:p></p>
        <p class="Code">checking whether GCC supports __atomic_
          builtins... no<o:p></o:p></p>
        <p class="Code">configure: creating ./config.status<o:p></o:p></p>
        <p class="Code">config.status: error: cannot find input file:
          `ghc-prim.buildinfo.in'<o:p></o:p></p>
        <p class="Code"><b><span style="color:red">libraries/ghc-prim/ghc.mk:4:
              recipe for target
              'libraries/ghc-prim/dist-install/package-data.mk' failed<o:p></o:p></span></b></p>
        <p class="Code">make[1]: ***
          [libraries/ghc-prim/dist-install/package-data.mk] 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"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Calibri",sans-serif">I think
            it is fixed by saying ‘sh validate’ (i.e. start from
            scratch).  But that is slow.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Calibri",sans-serif">I’m not
            100% certain about the circumstances under which it happens,
            but can anyone help me diagnose what is going on when it
            does?<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Calibri",sans-serif">Thanks<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="Code"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
ghc-devs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a>
<a class="moz-txt-link-freetext" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a>
</pre>
    </blockquote>
  </body>
</html>