# CMake warning about UpdateGitInfo

**URL:** <https://root-forum.cern.ch/t/cmake-warning-about-updategitinfo/57838>\
**Category:** Newbie\
**Created:** [January 15, 2024, 3:05am UTC](https://root-forum.cern.ch/t/cmake-warning-about-updategitinfo/57838 "2024-01-15T03:05:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hohshita](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/5f9b8f/32.png) [@hohshita](https://root-forum.cern.ch/u/hohshita)\
**Post date:** [January 15, 2024, 3:05am UTC](https://root-forum.cern.ch/t/cmake-warning-about-updategitinfo/57838/1 "2024-01-15T03:05:08Z")

</div>

Dear Root Experts,

Is the following warning during ROOT installation a problem?  
The installation is source build.

CMake Warning at /opt/keksoft/ana/root/root-6.30.02/cmake/modules/UpdateGitInfo.cmake:45 (message):  
Cannot determine git revision info: source is not a release and not a git  
repo. Noting v6-30-02 as commit.  
Call Stack (most recent call first):  
/opt/keksoft/ana/root/root-6.30.02/cmake/modules/UpdateGitInfo.cmake:50 (UPDATE\_GIT\_VERSION)

The installation continues and ROOT then works.

Best regards,  
Ohshita

\_ROOT Version: 6.30/02  
\_Platform: AlmaLinux release 8.9  
\_Compiler: GCC 8.5.0 20210514

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [January 15, 2024, 9:58am UTC](https://root-forum.cern.ch/t/cmake-warning-about-updategitinfo/57838/2 "2024-01-15T09:58:37Z")

</div>

Dear Ohshita,

Not necessarily. Did you try to clone from the GitHub repo, configure and build? The warning is not there, we do not see it in our CI for example.

Cheers,  
D

---

<div class="post-metadata">

**Author:** ![hohshita](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/5f9b8f/32.png) [@hohshita](https://root-forum.cern.ch/u/hohshita)\
**Post date:** [January 15, 2024, 11:13am UTC](https://root-forum.cern.ch/t/cmake-warning-about-updategitinfo/57838/3 "2024-01-15T11:13:35Z")

</div>

Dear Danilo,

Thank you for your quick reply.  
I got the ROOT source file as a tar.gz file from the download site.

As your mention, when I tried installing with the clone from the GitHub repo,  
I also make sure no-warning.

Best regards,  
Ohshita

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [January 15, 2024, 11:29am UTC](https://root-forum.cern.ch/t/cmake-warning-about-updategitinfo/57838/4 "2024-01-15T11:29:41Z")

</div>

Thanks for taking the time to report back!

Cheers,  
D
