Build from the tarball fails with git executable present :
[ 10%] Building CXX object src/CMakeFiles/pcm-objlib.dir/green/AnisotropicLiquid.cpp.o
Traceback (most recent call last):
File "/disk-samsung/freebsd-ports/science/pcmsolver/work/pcmsolver-1.3.0/tools/versioner.py", line 367, in <module>
ans = reconcile_and_compute_version_output(quiet=args.formatonly)
File "/disk-samsung/freebsd-ports/science/pcmsolver/work/pcmsolver-1.3.0/tools/versioner.py", line 150, in reconcile_and_compute_version_output
res.update(collect_version_input_from_git())
File "/disk-samsung/freebsd-ports/science/pcmsolver/work/pcmsolver-1.3.0/tools/versioner.py", line 95, in collect_version_input_from_git
if mobj.group('tag'):
AttributeError: 'NoneType' object has no attribute 'group'
When git executable is missing - build succeeds.
Package builder isn't allowed to use git to download anything, so it should successfully build from the tarball w/ or w/out git present.
Build from the tarball fails with git executable present :
When git executable is missing - build succeeds.
Package builder isn't allowed to use git to download anything, so it should successfully build from the tarball w/ or w/out git present.
Python-3.8 FreeBSD 13