Help! Can't build HEAD
Simon Peyton Jones
simon.peytonjones at gmail.com
Wed Mar 15 12:57:03 UTC 2023
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 at 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 at LHR-WD-22561:~/code/HEAD-15$
>
> Simon
>
> On Wed, 15 Mar 2023 at 12:46, Sam Derbyshire <sam.derbyshire at gmail.com>
> wrote:
>
>> Perhaps even `git submodule update --init`.
>>
>> On Wed, 15 Mar 2023 at 13:41, Matthew Pickering <
>> matthewtpickering at 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 at 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 at haskell.org
>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20230315/f83433ff/attachment.html>
More information about the ghc-devs
mailing list