currently running M1 air on sonoma 14.5 and i am running into build errors with ./build.py
xcode-select: Failed to locate 'm4', requesting installation of command line developer tools.
/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice/src/frontend/parse-bison.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother]
gmake[7]: Leaving directory '/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice/src/frontend'
/opt/homebrew/bin/gmake all-recursive
gmake[7]: Entering directory '/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice/src/frontend'
Making all in plotting
gmake[8]: Entering directory '/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice/src/frontend/plotting'
gmake[8]: Nothing to be done for 'all'.
gmake[8]: Leaving directory '/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice/src/frontend/plotting'
Making all in help
gmake[8]: Entering directory '/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice/src/frontend/help'
gmake[8]: Nothing to be done for 'all'.
gmake[8]: Leaving directory '/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice/src/frontend/help'
Making all in parser
gmake[8]: Entering directory '/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice/src/frontend/parser'
gmake[8]: Nothing to be done for 'all'.
gmake[8]: Leaving directory '/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice/src/frontend/parser'
Making all in wdisp
gmake[8]: Entering directory '/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice/src/frontend/wdisp'
gmake[8]: Nothing to be done for 'all'.
gmake[8]: Leaving directory '/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice/src/frontend/wdisp'
Making all in numparam
gmake[8]: Entering directory '/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice/src/frontend/numparam'
gmake[8]: Nothing to be done for 'all'.
gmake[8]: Leaving directory '/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice/src/frontend/numparam'
Making all in trannoise
gmake[8]: Entering directory '/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice/src/frontend/trannoise'
gmake[8]: Nothing to be done for 'all'.
gmake[8]: Leaving directory '/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice/src/frontend/trannoise'
gmake[8]: Entering directory '/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice/src/frontend'
CC parse.lo
clang: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
parse.c:21:10: fatal error: 'parse-bison.h' file not found
#include "parse-bison.h"
^~~~~~~~~~~~~~~
1 error generated.
gmake[8]: *** [Makefile:848: parse.lo] Error 1
gmake[8]: Leaving directory '/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice/src/frontend'
gmake[7]: *** [Makefile:870: all-recursive] Error 1
gmake[7]: Leaving directory '/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice/src/frontend'
gmake[6]: *** [Makefile:674: all] Error 2
gmake[6]: Leaving directory '/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice/src/frontend'
gmake[5]: *** [Makefile:1478: all-recursive] Error 1
gmake[5]: Leaving directory '/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice/src'
gmake[4]: *** [Makefile:514: all-recursive] Error 1
gmake[4]: Leaving directory '/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build/ngspice/src/ngspice'
make[3]: *** [ngspice/src/ngspice-stamp/ngspice-build] Error 2
make[2]: *** [CMakeFiles/ngspice.dir/all] Error 2
make[1]: *** [CMakeFiles/setup-kicad-dependencies.dir/rule] Error 2
make: *** [setup-kicad-dependencies] 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:
app_notarization_id: None
apple_developer_password_keychain_name: None
apple_developer_username: None
arch: arm64
asc_provider: None
build_dir: /Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/build
build_type: RelWithDebInfo
dmg_dir: None
dmg_notarization_id: None
docs_tarball_url: https://docs.kicad.org/kicad-doc-HEAD.tar.gz
extra_bundle_fix_dir: None
extra_kicad_cmake_args: None
extra_version: None
footprints_ref: origin/master
hardened_runtime: False
jobs: 1
kicad_git_url: https://gitlab.com/kicad/code/kicad.git
kicad_mac_builder_cmake_dir: /Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/kicad-mac-builder
kicad_ref: origin/master
kicad_source_dir: None
macos_min_version: 14.5
packages3d_ref: origin/master
redistributable: False
release: False
release_name: None
retry_failed_build: True
signing_certificate_id: -
signing_identity: None
skip_docs_update: False
symbols_ref: origin/master
target: ['setup-kicad-dependencies']
templates_ref: origin/master
Traceback (most recent call last):
File "/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/./build.py", line 365, in build
subprocess.check_call(make_command, env=dict(os.environ, PATH=new_path))
File "/opt/homebrew/Cellar/python@3.12/3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-j8', 'setup-kicad-dependencies']' returned non-zero exit status 2.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/./build.py", line 462, in <module>
main()
File "/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/./build.py", line 458, in main
build(parsed_args, new_path)
File "/Users/user/Library/CloudStorage/OneDrive-Personal/projects_/kicad DEV/kicad-mac-builder/./build.py", line 376, in build
subprocess.check_call(make_command, env=dict(os.environ, PATH=new_path))
File "/opt/homebrew/Cellar/python@3.12/3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-j1', 'setup-kicad-dependencies']' returned non-zero exit status 2.
i have checked my python paths and started from scratch two times yet parse.c cant find parse-bison.h as it does not seam to exist. im guessing this is a dependancy issue but unsure of how to fix