Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git errors while building vt #1742

Closed
cz4rs opened this issue Apr 21, 2022 · 2 comments · Fixed by #1784
Closed

git errors while building vt #1742

cz4rs opened this issue Apr 21, 2022 · 2 comments · Fixed by #1784
Assignees

Comments

@cz4rs
Copy link
Contributor

cz4rs commented Apr 21, 2022

Describe the bug
In recent CI builds we are getting following errors while generating git information:

-- Found Git: /usr/bin/git (found version "2.17.1") 
fatal: unsafe repository ('/vt' is owned by someone else)
To add an exception for this directory, call:

	git config --global --add safe.directory /vt
-- git invocation failed, git info cannot be obtained
[ninja][73/374] Generating vt/configs/generated/vt_git_revision.cc
-- Reading head file 
-- Using git executable at "/usr/bin/git"
-- GIT_REFSPEC: ""
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- could not get the git sha1
-- GIT_SHA1: ""
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- could not get the exact git tag
-- GIT_EXACT_TAG: ""
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- could not get the description
-- GIT_DESCRIPTION: ""
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- Git Clean Status: "DIRTY"
-- Configuring /vt/vt_git_revision.cc.in to generate /build/vt/src/vt/configs/generated/vt_git_revision.cc.
@cz4rs
Copy link
Contributor Author

cz4rs commented Nov 29, 2022

Spotted again in the documentation build:
https://github.com/DARMA-tasking/vt/actions/runs/3576844892/jobs/6015136584

@cz4rs cz4rs reopened this Nov 29, 2022
@cz4rs
Copy link
Contributor Author

cz4rs commented Nov 29, 2022

Closing as this is already covered in #2024.

@cz4rs cz4rs closed this as completed Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants