I suddenly can't seem to build. make imports
gives lots of I/O, find dir errors errors while the dirs and objects are actually there.
# make imports
GOPROXY=off
echo BUILD_DATE=`date +%FT%T%z`
BUILD_DATE=2022-08-03T11:30:35+0000
echo GIT_COMMIT=`git rev-parse --short HEAD`
error: unable to open .git/objects/aa: I/O error
GIT_COMMIT=aab472df
echo GIT_DIRTY=`git diff-index --quiet HEAD -- || echo "dirty-"`
error: unable to open object pack directory: .git/objects/pack: I/O error
error: unable to open object pack directory: .git/objects/pack: I/O error
error: unable to open object pack directory: .git/objects/pack: I/O error
fatal: failed to read object aab472df17c5d73b2a5d312fc1aa8c1a53825255: I/O error
GIT_DIRTY=dirty-
echo VERSION=`git describe --always`
error: unable to open object pack directory: .git/objects/pack: I/O error
... etc.
fatal: Not a valid object name HEAD
Never seen this before. Anyone who can point me into the right direction?