Details
-
Bug
-
Resolution: Works as Designed
-
Major - P3
-
None
-
None
-
None
-
None
Description
Not entirely sure if this is a build team problem or not but one of the steps we run in our Archlinux build images is to install the mongo-cxx-driver.
We install it via Ansible, which runs commands similar to the following:
curl -O -L https://aur.archlinux.org/cgit/aur.git/snapshot/mongo-cxx-driver.tar.gz
|
tar -zxvf mongo-cxx-driver.tar.gz
|
cd mongo-cxx-driver
|
makepkg -si --noconfirm
|
This outputs the following error:
fatal: not a git repository (or any of the parent directories): .git
|
Traceback (most recent call last):
|
File "etc/calc_release_version.py", line 171, in <module>
|
RELEASE_VER = main()
|
File "etc/calc_release_version.py", line 108, in main
|
head_tag_ver = check_head_tag()
|
File "etc/calc_release_version.py", line 68, in check_head_tag
|
tags = check_output(['git', 'tag', '-l']).split()
|
File "etc/calc_release_version.py", line 46, in check_output
|
return subprocess.check_output(args)
|
File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
|
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
|
File "/usr/lib/python3.8/subprocess.py", line 512, in run
|
raise CalledProcessError(retcode, process.args,
|
subprocess.CalledProcessError: Command '['git', 'tag', '-l']' returned non-zero exit status 128.
|
CMake Error at CMakeLists.txt:162 (message):
|
BUILD_VERSION not specified and could not be calculated (script invocation
|
failed); specify in CMake command, -DBUILD_VERSION=<version>
|
I looked into the
etc/calc_release_version.py
|
git tag -l
|