<html><head><style id="css_styles" type="text/css"><!--blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
li[style='text-align: center;'], li[style='text-align: right;'] {  list-style-position: inside;}
body { font-family: Segoe UI; font-size: 12pt;   }--></style></head><body><div>Hi Simon,</div><div><br /></div><div>I had that very issue a few days ago, but saw this thread too late.</div><div>For me it was enough to cd into utils/hpc and do a `git checkout .`.</div><div><br /></div><div>Sebastian</div>
<div><br /></div>
<div>------ Originalnachricht ------</div>
<div>Von: "Simon Peyton Jones" <<a href="mailto:simon.peytonjones@gmail.com">simon.peytonjones@gmail.com</a>></div>
<div>An: "Sam Derbyshire" <<a href="mailto:sam.derbyshire@gmail.com">sam.derbyshire@gmail.com</a>></div>
<div>Cc: "Sam Derbyshire" <<a href="mailto:sam@well-typed.com">sam@well-typed.com</a>>; "GHC developers" <<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a>></div>
<div>Gesendet: 15.03.2023 13:57:03</div>
<div>Betreff: Re: Help! Can't build HEAD</div><div><br /></div>
<div id="x556e12bf8b6943e"><blockquote cite="CAJKmMz9y5cmPZ+8ecc4Rri7w+kV-Je+kJ56uumFzZO_wrB04dg@mail.gmail.com" type="cite" class="cite2">
<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Ah.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br /></div><div class="gmail_default" style="font-family:tahoma,sans-serif;margin-left:40px">rm utils/hpc</div><div class="gmail_default" style="font-family:tahoma,sans-serif;margin-left:40px">git submodule update</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br /></div><div class="gmail_default" style="font-family:tahoma,sans-serif">does the job.  Who would have guessed that?  Maybe this thread will help others.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br /></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Could hadrian have avoided this, perhaps?</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br /></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Anyway, I'm rolling again, thanks</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br /></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Simon<br /></div></div><br /><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 15 Mar 2023 at 12:54, Simon Peyton Jones <<a href="mailto:simon.peytonjones@gmail.com">simon.peytonjones@gmail.com</a>> wrote:<br /></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Oh I didn't know you had to say "--init".  Anyway that fails</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br /></div><div class="gmail_default" style="font-family:tahoma,sans-serif">git submodule update --init<br />Submodule 'utils/hpc' (<a href="https://gitlab.haskell.org/hpc/hpc-bin.git">https://gitlab.haskell.org/hpc/hpc-bin.git</a>) registered for path 'utils/hpc'<br />fatal: destination path '/home/simonpj/code/HEAD-15/utils/hpc' already exists and is not an empty directory.<br />fatal: clone of '<a href="https://gitlab.haskell.org/hpc/hpc-bin.git">https://gitlab.haskell.org/hpc/hpc-bin.git</a>' into submodule path '/home/simonpj/code/HEAD-15/utils/hpc' failed<br />Failed to clone 'utils/hpc'. Retry scheduled<br />fatal: destination path '/home/simonpj/code/HEAD-15/utils/hpc' already exists and is not an empty directory.<br />fatal: clone of '<a href="https://gitlab.haskell.org/hpc/hpc-bin.git">https://gitlab.haskell.org/hpc/hpc-bin.git</a>' into submodule path '/home/simonpj/code/HEAD-15/utils/hpc' failed<br />Failed to clone 'utils/hpc' a second time, aborting<br />simonpj@LHR-WD-22561:~/code/HEAD-15$ <br /></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br /></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Simon<br /></div></div><br /><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 15 Mar 2023 at 12:46, Sam Derbyshire <<a href="mailto:sam.derbyshire@gmail.com">sam.derbyshire@gmail.com</a>> wrote:<br /></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Perhaps even `git submodule update --init`.<br /></div><br /><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 15 Mar 2023 at 13:41, Matthew Pickering <<a href="mailto:matthewtpickering@gmail.com">matthewtpickering@gmail.com</a>> wrote:<br /></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">You need to run `git submodule update` I think.<br />
<br />
On Wed, Mar 15, 2023 at 12:36 PM Simon Peyton Jones<br />
<<a href="mailto:simon.peytonjones@gmail.com">simon.peytonjones@gmail.com</a>> wrote:<br />
><br />
> Aargh!  I can't build HEAD!<br />
><br />
> I get this:<br />
> ./hadrian/build<br />
> Up to date<br />
> ]0;Starting... ]0;Finished in 0.04s Error, file does not exist and no rule available:<br />
>   utils/hpc/hpc-bin.cabal<br />
> Build failed.<br />
><br />
><br />
> This is after<br />
> hadrian/build clean<br />
> ./boot<br />
> ./configure<br />
><br />
> I'm very stalled.  All my trees are borked.  Can anyone help?<br />
><br />
> Simon<br />
_______________________________________________<br />
ghc-devs mailing list<br />
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br />
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br />
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</body></html>