Error in ngspice build step on MacOS 10.15.4
With a fresh gitlab clone of kicad-mac-builder, I hit an issue at the ngspice build step. The relevant console output is shown below. The build script appears to be attempting to call the environment PATH variable config as a command following the conditional execute after the cd to the ngspice directory - looks like it's failed to put in the appropriate command before this, and I'm not sure what it would be looking to do so I can't debug further I'm afraid.
This is reproducible in fish, bash, and zsh shells. The command I am executing is:
user@<network name removed> kicad-mac-builder % python2 build.py --kicad-source-dir /Users/myusername/Documents/Projects/kicad/kicad/
There's a multitude of system info I could dump on this report, so to save noise, I won't - but will track and add anything that would be useful.
Relevant console output:
[ 24%] Performing build step for 'ngspice'
cd /Users/myusername/Documents/Projects/kicad/kicad-mac-builder/build/ngspice/src/ngspice && "PATH=/usr/local/opt/bison/bin:/usr/local/opt/gettext/bin:/usr/local/opt/bison/bin:/Users/myusername/opt/anaconda3/bin:/Users/myusername/opt/anaconda3/condabin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/share/dotnet:/opt/X11/bin:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands" /usr/bin/make
/bin/sh: PATH=/usr/local/opt/bison/bin:/usr/local/opt/gettext/bin:/usr/local/opt/bison/bin:/Users/myusername/opt/anaconda3/bin:/Users/myusername/opt/anaconda3/condabin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/share/dotnet:/opt/X11/bin:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands: No such file or directory
make[2]: *** [ngspice/src/ngspice-stamp/ngspice-build] Error 127
make[1]: *** [CMakeFiles/ngspice.dir/all] Error 2
make: *** [all] Error 2
Error while running make after rebuilding with a single job. Please report this issue if you cannot fix it after reading the README.
build.py argument summary:
build_type: Debug
docs_tarball_url: http://docs.kicad-pcb.org/kicad-doc-HEAD.tar.gz
extra_version: None
footprints_ref: origin/master
jobs: 1
kicad_git_url: None
kicad_ref: None
kicad_source_dir: /Users/myusername/Documents/Projects/kicad/kicad
macos_min_version: 10.15
packages3d_ref: origin/master
release: False
release_name: None
retry_failed_build: True
symbols_ref: origin/master
target: []
templates_ref: origin/master
translations_ref: origin/master
Traceback (most recent call last):
File "build.py", line 252, in <module>
main()
File "build.py", line 248, in main
build(parsed_args, new_path)
File "build.py", line 216, in build
subprocess.check_call(make_command, env=dict(os.environ, PATH=new_path))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-j1']' returned non-zero exit status 2