[EOSIO/eos] Build version 1.2.1 on Ubuntu 18.04LTS failed (#5345)

Part of error message is :
«`
[ 6%] Built target chainbase
fatal: No names found, cannot describe anything.
CMake Error at version.cmake:11 (message):
git describe failed

libraries/appbase/CMakeFiles/appbase_version.dir/build.make:57: recipe for target ‘libraries/appbase/CMakeFiles/appbase_version’ failed
make[2]: *** [libraries/appbase/CMakeFiles/appbase_version] Error 1
CMakeFiles/Makefile2:1746: recipe for target ‘libraries/appbase/CMakeFiles/appbase_version.dir/all’ failed
make[1]: *** [libraries/appbase/CMakeFiles/appbase_version.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs….
[ 29%] Built target softfloat
[ 31%] Built target libc++
[ 35%] Built target fc
Makefile:162: recipe for target ‘all’ failed
make: *** [all] Error 2

>>>>>>>>>>>>>>>>>>>> MAKE building EOSIO has exited with the above error.
«`