Closed olantwin closed 4 months ago
Using aliBuild from CVMFS, I can not reproduce this.
Finally managed to reproduce this, the underlying issue is the new git security feature:
fatal: detected dubious ownership in repository at '/cvmfs/ship.cern.ch/24.05/shipdist'
To add an exception for this directory, call:
git config --global --add safe.directory /cvmfs/ship.cern.ch/24.05/shipdist
Adding the exception fixes the issue.
Sometimes (not sure how to reproduce yet), aliBuild fails with this error.
The error originates here, and is probably due to git failing for some reason while getting the commit hash using
git rev-parse HEAD
, see also https://github.com/alisw/alibuild/blob/0f62890b388f00e4acebb2c6aab3bdf5eda3f2e3/alibuild_helpers/git.py#L77Reported by @eduard322