<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Simon,</p>
<p>You have to re-run `./configure` in cases like this. It's because
`compiler/ghc.cabal` is generated from `compiler/ghc.cabal.in` by
`./configure`. This isn't tracked by Hadrian.<br>
</p>
<p>><span class="gmail_default"
style="font-family:tahoma,sans-serif">Surely that should not
happen?</span><span class="gmail_default"
style="font-family:tahoma,sans-serif"> I'll try make clean; but
isn't this a bug?</span></p>
<p>Hopefully when `make` build system will be removed it should be
easy to make Hadrian (instead of `./configure`) generate and track
this file. In fact I already did this in a MR more than a year ago
but it was blocked on make-removal.</p>
<p>Sylvain<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 11/07/2022 17:09, Simon Peyton Jones
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJKmMz_ifwt_2J3jL5=H6dD1=eGdXDhmtD8iYDecJO4zRJrFjA@mail.gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_default"
style="font-family:tahoma,sans-serif">
<span class="gmail_default"
style="font-family:tahoma,sans-serif"></span><span
class="gmail_default"
style="font-family:tahoma,sans-serif">
<span class="gmail_default"
style="font-family:tahoma,sans-serif"></span>(apols for
premature send)</span></div>
<div class="gmail_default"
style="font-family:tahoma,sans-serif"><span
class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
</span></div>
<div class="gmail_default"
style="font-family:tahoma,sans-serif"><span
class="gmail_default"
style="font-family:tahoma,sans-serif">I am working on a
branch of GHC, actually on !8210. I have rebased on
master. Then I say <br>
</span></div>
<div class="gmail_default"
style="font-family:tahoma,sans-serif"><span
class="gmail_default"
style="font-family:tahoma,sans-serif">hadrian/build</span></div>
<div class="gmail_default"
style="font-family:tahoma,sans-serif"><span
class="gmail_default"
style="font-family:tahoma,sans-serif">and I get the log
below. It falls over saying <br>
</span></div>
<div class="gmail_default"
style="font-family:tahoma,sans-serif;margin-left:40px"><span
class="gmail_default"
style="font-family:tahoma,sans-serif">No generator for
_build/stage0/compiler/build/GHC/Unit/Module/Name.hs.</span>
</div>
</div>
<br>
<div class="gmail_quote">
<div class="gmail_attr"><span class="gmail_default"
style="font-family:tahoma,sans-serif">Surely that should
not happen?</span></div>
<div class="gmail_attr"><span class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
</span></div>
<div class="gmail_attr"><span class="gmail_default"
style="font-family:tahoma,sans-serif">I'll try make clean;
but isn't this a bug?</span></div>
<div class="gmail_attr"><span class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
</span></div>
<div class="gmail_attr"><span class="gmail_default"
style="font-family:tahoma,sans-serif">Simon<br>
</span></div>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></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>