Skip to content

packages-array mirror on github not working

Summary

I and Travis CI are unable to fully clone github mirror of ghc repo because packages-array submodule seems corrupt. As a result, I was unable to validate my ghc fork using Travis CI.

Steps to reproduce

Locally:

$ git clone --recursive https://github.com/ghc/ghc.git
...
error: Server does not allow request for unadvertised object 58a7ea0336363b29513164487190f6570b8ea834
Fetched in submodule path 'libraries/array', but it did not contain 58a7ea0336363b29513164487190f6570b8ea834. Direct fetching of that commit failed.

On Travis CI:

  1. Fork GHC repo on github
  2. register on Travis CI and enable the forked repo
  3. Push to the forked repo
  4. Wait for the error report from Travis CI

Expected behavior

  1. git clone --recursive should finish successfully
  2. Travis CI should build the repo successfully

Environment

My local env:

$ git --version
git version 2.17.1

I don't know what Travis CI uses.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information