Ah.

rm utils/hpc
git submodule update

does the job.  Who would have guessed that?  Maybe this thread will help others.

Could hadrian have avoided this, perhaps?

Anyway, I'm rolling again, thanks

Simon

On Wed, 15 Mar 2023 at 12:54, Simon Peyton Jones <simon.peytonjones@gmail.com> wrote:
Oh I didn't know you had to say "--init".  Anyway that fails

git submodule update --init
Submodule 'utils/hpc' (https://gitlab.haskell.org/hpc/hpc-bin.git) registered for path 'utils/hpc'
fatal: destination path '/home/simonpj/code/HEAD-15/utils/hpc' already exists and is not an empty directory.
fatal: clone of 'https://gitlab.haskell.org/hpc/hpc-bin.git' into submodule path '/home/simonpj/code/HEAD-15/utils/hpc' failed
Failed to clone 'utils/hpc'. Retry scheduled
fatal: destination path '/home/simonpj/code/HEAD-15/utils/hpc' already exists and is not an empty directory.
fatal: clone of 'https://gitlab.haskell.org/hpc/hpc-bin.git' into submodule path '/home/simonpj/code/HEAD-15/utils/hpc' failed
Failed to clone 'utils/hpc' a second time, aborting
simonpj@LHR-WD-22561:~/code/HEAD-15$

Simon

On Wed, 15 Mar 2023 at 12:46, Sam Derbyshire <sam.derbyshire@gmail.com> wrote:
Perhaps even `git submodule update --init`.

On Wed, 15 Mar 2023 at 13:41, Matthew Pickering <matthewtpickering@gmail.com> wrote:
You need to run `git submodule update` I think.

On Wed, Mar 15, 2023 at 12:36 PM Simon Peyton Jones
<simon.peytonjones@gmail.com> wrote:
>
> Aargh!  I can't build HEAD!
>
> I get this:
> ./hadrian/build
> Up to date
> ]0;Starting... ]0;Finished in 0.04s Error, file does not exist and no rule available:
>   utils/hpc/hpc-bin.cabal
> Build failed.
>
>
> This is after
> hadrian/build clean
> ./boot
> ./configure
>
> I'm very stalled.  All my trees are borked.  Can anyone help?
>
> Simon
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs