Hi Simon,

I had that very issue a few days ago, but saw this thread too late.
For me it was enough to cd into utils/hpc and do a `git checkout .`.

Sebastian

------ Originalnachricht ------
Von: "Simon Peyton Jones" <[email protected]>
An: "Sam Derbyshire" <[email protected]>
Cc: "Sam Derbyshire" <[email protected]>; "GHC developers" <[email protected]>
Gesendet: 15.03.2023 13:57:03
Betreff: Re: Help! Can't build HEAD

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 <[email protected]> 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 <[email protected]> wrote:
Perhaps even `git submodule update --init`.

On Wed, 15 Mar 2023 at 13:41, Matthew Pickering <[email protected]> wrote:
You need to run `git submodule update` I think.

On Wed, Mar 15, 2023 at 12:36 PM Simon Peyton Jones
<[email protected]> 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
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
_______________________________________________
ghc-devs mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to