Build error recovery?


#1

Is there a way to recover a build when this happens? It has happened a couple times now while restarting builds after crashes.

DetermineHaikuRevision1 build/haiku-revision 
error: bad signature
fatal: index file corrupt
Error: you are using a Haiku clone without tags, please set
       the revision tag to use (e.g. HAIKU_REVISION=hrev43210)

../build/scripts/determine_haiku_revision .. build/haiku-revision

...failed DetermineHaikuRevision1 build/haiku-revision ...

BUILD FAILURE:
...failed updating 1 target(s)...
...skipped 5 target(s)...
...updated 13 target(s)...


#2

“index file corrupt” is a Git error; it seems you’ve corrupted your Git checkout. Run a checkfs, but it probably won’t be able to repair it, and you’ll have to delete the entire checkout and start over.


#3

Thanks. Checkfs worked.


#4

Strike that. I thought it worked. It only kind of worked, then the same error came back a bit further. Git clone here I come.