OpenRV
OpenRV copied to clipboard
Fix make_python.py on Apple Silicon + Sonoma 14.5
Fix make_python.py on Apple Silicon + Sonoma 14.5
Linked issues
NA
Summarize your change.
Fix the python3 build by specifying --with-openssl-rpath in addition to --with-openssl.
Describe the reason for the change.
Since the merge of the Apple Silicon native build for Open RV, some users were experiencing a build break when build the RV_DEPS_PYTHON3 dependency:
This was reproduced on a Mac M1 running Sonoma 14.5 using the latest Open RV code:
Could not build the ssl module!
Python requires a OpenSSL 1.1.1 or newer
Executing ['make', 'install', '-j10', '-s'] from /Users/labergb/git5/rv/_build/RV_DEPS_PYTHON3/src
Traceback (most recent call last):
File "/Users/labergb/git5/rv/OpenRV/src/build/make_python.py", line 713, in <module>
install()
File "/Users/labergb/git5/rv/OpenRV/src/build/make_python.py", line 646, in install
).check_returncode()
^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 502, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['make', 'install', '-j10', '-s']' returned non-zero exit status 2.
ninja: build stopped: subcommand failed.
Describe what you have tested and on which operating system.
Successfully tested on M1+macOS=14.5. Will also test on other OSes.