While building Samba to target "dist", the build fails with the
following
error:
touch .tmplock
WAFLOCK=.tmplock PYTHONHASHSEED=1 WAF_MAKE=1 ./buildtools/bin/waf dist
invalid lock file in /usr/src/samba-4.20.2
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent
make
rule.
make[1]: Entering directory '/usr/src/samba-4.20.2/ctdb'
touch .tmplock
WAFLOCK=.tmplock PYTHONHASHSEED=1 WAF_MAKE=1 ../buildtools/bin/waf manpages
invalid lock file in /usr/src/samba-4.20.2/ctdb
An empty .tar.gz file is created and the following error appears at the end:
unable to get contents of /usr/src/samba-4.20.2/.: unsupported or no vcs for
/usr/src/samba-4.20.2/.
make: *** [Makefile:64: dist] Error 1
I tried the same with an old version of Samba (4.13) in a machine running
CentOS 7 and the result was exactly the same.
Does someone have any advice on how to solve this, please?