Article 6CZG9 [SOLVED] error compiling nomacs for -current

[SOLVED] error compiling nomacs for -current

by
kgha
from LinuxQuestions.org on (#6CZG9)
Since my install is far from "clean" (multilib among other things) I post in a new thread and not in "SBo scripts not building on -current":

nomacs broke after last opencv upgrade. Trying rebuilding using ponce's latest script fails with

Code:[ 43%] Linking CXX shared library libnomacsCore.so
fatal: not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
File "/tmp/SBo/nomacs-3.17.2282/ImageLounge/../scripts/versionupdate.py", line 141, in <module>
update(args.inputfile, args.copy)
File "/tmp/SBo/nomacs-3.17.2282/ImageLounge/../scripts/versionupdate.py", line 42, in update
l = add_git_tag_string(l)
File "/tmp/SBo/nomacs-3.17.2282/ImageLounge/../scripts/versionupdate.py", line 107, in add_git_tag_string
v[-2] = git_tag()
File "/tmp/SBo/nomacs-3.17.2282/ImageLounge/../scripts/versionupdate.py", line 116, in git_tag
tag = subprocess.check_output(["git", "rev-parse", "HEAD"])
File "/usr/lib64/python3.9/subprocess.py", line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib64/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'rev-parse', 'HEAD']' returned non-zero exit status 128.
make[2]: *** [CMakeFiles/nomacsCore.dir/build.make:971: libnomacsCore.so.3.17.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:242: CMakeFiles/nomacsCore.dir/all] Error 2
make: *** [Makefile:156: all] Error 2The SlackBuild script has a patch line (line #87):
Code:zcat $CWD/quazip-1.0.0.patch.gz | patch -p1 || exit 1but there's no patch file in the repo?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments