git issues or repository issues?

Karel Gardas karel.gardas at centrum.cz
Tue Aug 24 07:50:06 UTC 2021


Hello,

for around a year or two I do have issues which updating ghc git
repository. There are actually two issues.

The clone is created as recommended by ghc.dev:

$ git clone --recurse-submodules https://gitlab.haskell.org/ghc/ghc.git

Update is performed as recommended too:

$ git pull --recurse-submodules.

After some time (accumulated patches) since I update monthly or
bi-monthly to test I see those two issues:

1. this is what fails first and is able to be "fixed" by running another
pull:

Fetching submodule utils/hsc2hs
fatal: remote error: upload-pack: not our ref
0584d4fd443ac7a8e397895a79d162a55e36ef00
fatal: the remote end hung up unexpectedly
fatal: remote error: upload-pack: not our ref
57d23853806add183308178663c7e22fbef2417f
fatal: the remote end hung up unexpectedly
fatal: remote error: upload-pack: not our ref
5361c3d9503d017d5f42daff793837a017e4f7a7
fatal: the remote end hung up unexpectedly
fatal: remote error: upload-pack: not our ref
e5a6da21382ae76098a4f02148504b9f79e5e2ff
fatal: the remote end hung up unexpectedly
fatal: remote error: upload-pack: not our ref
3373ca908ad059cbadb526e6ed1dcba5679b0d72
fatal: the remote end hung up unexpectedly
fatal: remote error: upload-pack: not our ref
659eb37eb84e9cbdef226726f46a0fa5608eab5c
fatal: the remote end hung up unexpectedly
fatal: remote error: upload-pack: not our ref
40e1c4eb53c1e65be23e91f63139aa16111bbdf3
fatal: the remote end hung up unexpectedly
fatal: remote error: upload-pack: not our ref
b8ae1bf26ee0e74c3e2eeeee7fc2c7dd0dd2b0a2
fatal: the remote end hung up unexpectedly


2. this one is not-fixable, but hard to judge if this is issue at all or
what. Certainly "error" is making me nervous about it.

Fetching submodule utils/haddock
error: cannot lock ref 'refs/remotes/origin/wip/hsyl20/dynflags':
'refs/remotes/origin/wip/hsyl20/dynflags/exception' exists; cannot
create 'refs/remotes/origin/wip/hsyl20/dynflags'
>From https://gitlab.haskell.org/ghc/haddock
 ! [new branch]        wip/hsyl20/dynflags -> origin/wip/hsyl20/dynflags
 (unable to update local ref)
Fetching submodule utils/hsc2hs


This all is run on Ubuntu 20.04.x LTS pretty uptodate. The provided git
is 2.25.1 there.

Does anybody here have any idea why this happens?

Thanks!
Karel


More information about the ghc-devs mailing list