JeffersonLab / JANA2

Multi-threaded HENP Event Reconstruction
https://jeffersonlab.github.io/JANA2/
Other
6 stars 9 forks source link

fatal: not a git repository (or any of the parent directories): .git #316

Closed DraTeots closed 3 months ago

DraTeots commented 3 months ago

When building jana from tar.gz (downloaded from github) CMake output reports this:

-- -----------------------
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
-- Generating JVersion.h

I used

https://github.com/JeffersonLab/JANA2/archive/refs/tags/v2.2.1-rc1.tar.gz

The version was wrong:

> jana --version
JANA2 version:  2.2.0

It is probably not fatal as jana builds and runs after this. IDK if the version was wrong because of RC or because of the problem above.

nathanwbrei commented 3 months ago

The wrong version number is because I forgot to update the version number in the CMakeLists when cutting the last release. It's unrelated to all of the spurious error messages you are seeing.