I'm getting an error saying Exception: Process failed with exit code 1 while converting to App
Here is the full log
gim-on-yu@gim-on-yus-iMac OpenCore-Legacy-Patcher % cd /Users/gim-on-yu/Downloads/OpenCore-Legacy-Patcher-sequoia-development/OpenCore-Legacy-Patcher-sequoia-development
gim-on-yu@gim-on-yus-iMac OpenCore-Legacy-Patcher-sequoia-development % cd ci_tooling
gim-on-yu@gim-on-yus-iMac ci_tooling % cd privileged_helper_tool
gim-on-yu@gim-on-yus-iMac privileged_helper_tool % make debug
clang -framework Foundation -framework Security -arch x86_64 -arch arm64 -mmacosx-version-min=10.9 -o com.dortania.opencore-legacy-patcher.privileged-helper main.m -DDEBUG
gim-on-yu@gim-on-yus-iMac privileged_helper_tool % cd ..
gim-on-yu@gim-on-yus-iMac ci_tooling % cd ..
gim-on-yu@gim-on-yus-iMac OpenCore-Legacy-Patcher-sequoia-development % pip3 install pyinstaller
Requirement already satisfied: pyinstaller in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (6.10.0)
Requirement already satisfied: setuptools>=42.0.0 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from pyinstaller) (65.5.0)
Requirement already satisfied: altgraph in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from pyinstaller) (0.17.4)
Requirement already satisfied: pyinstaller-hooks-contrib>=2024.8 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from pyinstaller) (2024.8)
Requirement already satisfied: packaging>=22.0 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from pyinstaller) (24.1)
Requirement already satisfied: macholib>=1.8 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from pyinstaller) (1.16.3)
[notice
] A new release of pip is available: 24.0 -> 24.2
[notice
] To update, run: pip3 install --upgrade pip
gim-on-yu@gim-on-yus-iMac OpenCore-Legacy-Patcher-sequoia-development % python3 Build-Project.command
Deleting extra binaries...
Generating DMG...
DMG generation complete
Downloading required resources...
- Downloading Universal-Binaries.dmg...
Signing and Notarization details not provided, skipping
Analytics key or endpoint not provided, skipping embedding
Generating OpenCore-Patcher.app
ERROR:root:Subprocess failed.
ERROR:root: Command: ['/Library/Frameworks/Python.framework/Versions/3.11/bin/python3', '-m', 'PyInstaller', './OpenCore-Patcher-GUI.spec', '--noconfirm']
ERROR:root: Return Code: 1
ERROR:root: Standard Output:
ERROR:root: None
ERROR:root: Standard Error:
ERROR:root: 288 INFO: PyInstaller: 6.10.0, contrib hooks: 2024.8
ERROR:root: 288 INFO: Python: 3.11.9
ERROR:root: 420 INFO: Platform: macOS-15.0-x86_64-i386-64bit
ERROR:root: 421 INFO: Python environment: /Library/Frameworks/Python.framework/Versions/3.11
ERROR:root: 904 INFO: Module search paths (PYTHONPATH):
ERROR:root: ['/Users/gim-on-yu/Downloads/OpenCore-Legacy-Patcher-sequoia-development/OpenCore-Legacy-Patcher-sequoia-development',
ERROR:root: '/Library/Frameworks/Python.framework/Versions/3.11/lib/python311.zip',
ERROR:root: '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11',
ERROR:root: '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/lib-dynload',
ERROR:root: '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages',
ERROR:root: '/Users/gim-on-yu/Downloads/OpenCore-Legacy-Patcher-sequoia-development/OpenCore-Legacy-Patcher-sequoia-development',
ERROR:root: '/Users/gim-on-yu/Downloads/OpenCore-Legacy-Patcher-sequoia-development/OpenCore-Legacy-Patcher-sequoia-development']
ERROR:root: 1300 INFO: Appending 'datas' from .spec
ERROR:root: 1301 INFO: checking Analysis
ERROR:root: 1301 INFO: Building Analysis because Analysis-00.toc is non existent
ERROR:root: 1301 INFO: Running Analysis Analysis-00.toc
ERROR:root: 1301 INFO: Target bytecode optimization level: 0
ERROR:root: 1302 INFO: Initializing module dependency graph...
ERROR:root: 1302 INFO: Caching module graph hooks...
ERROR:root: 1312 INFO: Analyzing base_library.zip ...
ERROR:root: 3199 INFO: Processing standard module hook 'hook-encodings.py' from '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/hooks'
ERROR:root: 5303 INFO: Processing standard module hook 'hook-pickle.py' from '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/hooks'
ERROR:root: 6960 INFO: Processing standard module hook 'hook-heapq.py' from '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/hooks'
ERROR:root: 7340 INFO: Caching module dependency graph...
ERROR:root: 7433 INFO: Looking for Python shared library...
ERROR:root: 7438 INFO: Using Python shared library: /Library/Frameworks/Python.framework/Versions/3.11/Python
ERROR:root: 7438 INFO: Analyzing /Users/gim-on-yu/Downloads/OpenCore-Legacy-Patcher-sequoia-development/OpenCore-Legacy-Patcher-sequoia-development/OpenCore-Patcher-GUI.command
ERROR:root: 7471 INFO: Processing pre-safe-import-module hook 'hook-packaging.py' from '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/hooks/pre_safe_import_module'
ERROR:root: 7472 INFO: SetuptoolsInfo: initializing cached setuptools info...
ERROR:root: 8125 INFO: Processing standard module hook 'hook-packaging.py' from '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/hooks'
ERROR:root: 8236 INFO: Processing standard module hook 'hook-xml.py' from '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/hooks'
ERROR:root: 8645 INFO: Processing standard module hook 'hook-xml.etree.cElementTree.py' from '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/hooks'
ERROR:root: 9302 INFO: Processing standard module hook 'hook-platform.py' from '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/hooks'
ERROR:root: 10767 INFO: Processing pre-safe-import-module hook 'hook-typing_extensions.py' from '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/hooks/pre_safe_import_module'
ERROR:root: 11577 INFO: Processing standard module hook 'hook-charset_normalizer.py' from '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/_pyinstaller_hooks_contrib/stdhooks'
ERROR:root: 11715 INFO: Processing standard module hook 'hook-certifi.py' from '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/_pyinstaller_hooks_contrib/stdhooks'
ERROR:root: 12384 INFO: Processing standard module hook 'hook-difflib.py' from '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/hooks'
ERROR:root: 12681 INFO: Processing standard module hook 'hook-sysconfig.py' from '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/hooks'
ERROR:root: 13191 INFO: Processing standard module hook 'hook-multiprocessing.util.py' from '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/hooks'
ERROR:root: 14739 INFO: Processing module hooks (post-graph stage)...
ERROR:root: 14899 INFO: Processing standard module hook 'hook-pkg_resources.py' from '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/hooks'
ERROR:root: 16874 INFO: Processing pre-safe-import-module hook 'hook-win32com.py' from '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module'
ERROR:root: 17577 INFO: Performing binary vs. data reclassification (8 entries)
ERROR:root: 17586 INFO: Looking for ctypes DLLs
ERROR:root: 17607 WARNING: Ignoring /usr/lib/libc.dylib imported from /Users/gim-on-yu/Downloads/OpenCore-Legacy-Patcher-sequoia-development/OpenCore-Legacy-Patcher-sequoia-development/opencore_legacy_patcher/volume/properties.py - only basenames are supported with ctypes imports!
ERROR:root: 17643 INFO: Analyzing run-time hooks ...
ERROR:root: 17647 INFO: Including run-time hook 'pyi_rth_inspect.py' from '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/hooks/rthooks'
ERROR:root: 17649 INFO: Including run-time hook 'pyi_rth_pkgres.py' from '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/hooks/rthooks'
ERROR:root: 17653 INFO: Including run-time hook 'pyi_rth_pkgutil.py' from '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/hooks/rthooks'
ERROR:root: 17655 INFO: Including run-time hook 'pyi_rth_multiprocessing.py' from '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/hooks/rthooks'
ERROR:root: 17666 INFO: Looking for dynamic libraries
ERROR:root: 17974 INFO: Warnings written to /Users/gim-on-yu/Downloads/OpenCore-Legacy-Patcher-sequoia-development/OpenCore-Legacy-Patcher-sequoia-development/build/OpenCore-Patcher-GUI/warn-OpenCore-Patcher-GUI.txt
ERROR:root: 18015 INFO: Graph cross-reference written to /Users/gim-on-yu/Downloads/OpenCore-Legacy-Patcher-sequoia-development/OpenCore-Legacy-Patcher-sequoia-development/build/OpenCore-Patcher-GUI/xref-OpenCore-Patcher-GUI.html
ERROR:root: 18258 INFO: checking PYZ
ERROR:root: 18258 INFO: Building PYZ because PYZ-00.toc is non existent
ERROR:root: 18258 INFO: Building PYZ (ZlibArchive) /Users/gim-on-yu/Downloads/OpenCore-Legacy-Patcher-sequoia-development/OpenCore-Legacy-Patcher-sequoia-development/build/OpenCore-Patcher-GUI/PYZ-00.pyz
ERROR:root: 18988 INFO: Building PYZ (ZlibArchive) /Users/gim-on-yu/Downloads/OpenCore-Legacy-Patcher-sequoia-development/OpenCore-Legacy-Patcher-sequoia-development/build/OpenCore-Patcher-GUI/PYZ-00.pyz completed successfully.
ERROR:root: 19000 INFO: EXE target arch: universal2
ERROR:root: 19000 INFO: Code signing identity: None
ERROR:root: 19003 INFO: checking PKG
ERROR:root: 19003 INFO: Building PKG because PKG-00.toc is non existent
ERROR:root: 19003 INFO: Building PKG (CArchive) OpenCore-Patcher.pkg
ERROR:root: 19025 INFO: Building PKG (CArchive) OpenCore-Patcher.pkg completed successfully.
ERROR:root: 19026 INFO: Bootloader /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/bootloader/Darwin-64bit/runw
ERROR:root: 19026 INFO: checking EXE
ERROR:root: 19026 INFO: Building EXE because EXE-00.toc is non existent
ERROR:root: 19026 INFO: Building EXE from EXE-00.toc
ERROR:root: 19026 INFO: Copying bootloader EXE to /Users/gim-on-yu/Downloads/OpenCore-Legacy-Patcher-sequoia-development/OpenCore-Legacy-Patcher-sequoia-development/build/OpenCore-Patcher-GUI/OpenCore-Patcher
ERROR:root: 19026 INFO: Converting EXE to target arch (universal2)
ERROR:root: 19031 INFO: Removing signature(s) from EXE
ERROR:root: 19154 INFO: Appending PKG archive to EXE
ERROR:root: 19175 INFO: Fixing EXE headers for code signing
ERROR:root: 19191 INFO: Rewriting the executable's macOS SDK version (13.1.0) to match the SDK version of the Python library (12.1.0) in order to avoid inconsistent behavior and potential UI issues in the frozen application.
ERROR:root: 19197 INFO: Re-signing the EXE
ERROR:root: 19328 INFO: Building EXE from EXE-00.toc completed successfully.
ERROR:root: 19331 INFO: checking COLLECT
ERROR:root: 19331 INFO: Building COLLECT because COLLECT-00.toc is non existent
ERROR:root: 19331 INFO: Building COLLECT COLLECT-00.toc
ERROR:root: Traceback (most recent call last):
ERROR:root: File "<frozen runpy>", line 198, in _run_module_as_main
ERROR:root: File "<frozen runpy>", line 88, in _run_code
ERROR:root: File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/__main__.py", line 308, in <module>
ERROR:root: run()
ERROR:root: File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/__main__.py", line 215, in run
ERROR:root: run_build(pyi_config, spec_file, **vars(args))
ERROR:root: File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/__main__.py", line 70, in run_build
ERROR:root: PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
ERROR:root: File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/building/build_main.py", line 1227, in main
ERROR:root: build(specfile, distpath, workpath, clean_build)
ERROR:root: File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/building/build_main.py", line 1167, in build
ERROR:root: exec(code, spec_namespace)
ERROR:root: File "./OpenCore-Patcher-GUI.spec", line 62, in <module>
ERROR:root: coll = COLLECT(exe,
ERROR:root: ^^^^^^^^^^^^
ERROR:root: File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/building/api.py", line 1122, in __init__
ERROR:root: self.__postinit__()
ERROR:root: File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/building/datastruct.py", line 184, in __postinit__
ERROR:root: self.assemble()
ERROR:root: File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/building/api.py", line 1168, in assemble
ERROR:root: src_name = process_collected_binary(
ERROR:root: ^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR:root: File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/building/utils.py", line 309, in process_collected_binary
ERROR:root: osxutils.binary_to_target_arch(cached_name, target_arch, display_name=src_name)
ERROR:root: File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyInstaller/utils/osx.py", line 340, in binary_to_target_arch
ERROR:root: raise IncompatibleBinaryArchError(f"{display_name} is not a fat binary!")
ERROR:root: PyInstaller.utils.osx.IncompatibleBinaryArchError: /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/charset_normalizer/md__mypyc.cpython-311-darwin.so is not a fat binary!
ERROR:root:
Traceback (most recent call last):
File "/Users/gim-on-yu/Downloads/OpenCore-Legacy-Patcher-sequoia-development/OpenCore-Legacy-Patcher-sequoia-development/Build-Project.command", line 167, in <module>
main()
File "/Users/gim-on-yu/Downloads/OpenCore-Legacy-Patcher-sequoia-development/OpenCore-Legacy-Patcher-sequoia-development/Build-Project.command", line 104, in main
).generate()
^^^^^^^^^^
File "/Users/gim-on-yu/Downloads/OpenCore-Legacy-Patcher-sequoia-development/OpenCore-Legacy-Patcher-sequoia-development/ci_tooling/build_modules/application.py", line 171, in generate
self._generate_application()
File "/Users/gim-on-yu/Downloads/OpenCore-Legacy-Patcher-sequoia-development/OpenCore-Legacy-Patcher-sequoia-development/ci_tooling/build_modules/application.py", line 46, in _generate_application
subprocess_wrapper.run_and_verify(_args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "/Users/gim-on-yu/Downloads/OpenCore-Legacy-Patcher-sequoia-development/OpenCore-Legacy-Patcher-sequoia-development/opencore_legacy_patcher/support/subprocess_wrapper.py", line 75, in run_and_verify
verify(run(*args, **kwargs))
File "/Users/gim-on-yu/Downloads/OpenCore-Legacy-Patcher-sequoia-development/OpenCore-Legacy-Patcher-sequoia-development/opencore_legacy_patcher/support/subprocess_wrapper.py", line 66, in verify
raise Exception(f"Process failed with exit code {process_result.returncode}")
Exception: Process failed with exit code 1