Notes on macOS ventura build. Patience through rvbuild "failure". #193
Replies: 4 comments 4 replies
-
Hey! Thanks a lot for the notes and for the 'hammer' trick !!! It worked for me |
Beta Was this translation helpful? Give feedback.
-
This was extremely helpful for me, worked like a charm. Thank you! One additional step I had to take was to allow terminal to make changes to other applications in privacy and security settings under app management. |
Beta Was this translation helpful? Give feedback.
-
hey @sfjohnston @GatesARC @onlyquads
any idea on this? |
Beta Was this translation helpful? Give feedback.
-
I have a similar issue. I followed those hacks (editing the aliases and linked python) but still get:
which is weird beacuse if I execute
|
Beta Was this translation helpful? Give feedback.
-
In case this helps anybody, I compiled OpenRV on Ventura 13.4.1 today.
Used this gist (slightly modified) to create a sandboxed homebrew, as I don't want to mess with /usr/local:
https://gist.github.com/pudquick/29bc95b6c49703992981864e48f8e341
Created a venv for the pip stuff to keep it sandboxed as well:
$ python3 -m venv venv
$ source venv/bin/activate
$ python3 -m pip install --upgrade pip
Removed "--user" from the rvsetup alias line in rvcmds.sh since we're using venv.
Add this to the rvcfg alias:
-DCMAKE_CXX_FLAGS=-Wprofile-instr-unprofiled
Something has a hardcoded path to python3.8, and in order to succeed, I needed to symlink my brew's python (3.9) as python3.8.
ln -s python python3.8
$ source rvcmds.sh
rvbootstrap
rvbuild
Initially, without the CXX_FLAGS change, rvbootstrap fails, but continued issuing of rvbuild eventually succeeds. (Hammer)
By suppressing this warning with the CXX_FLAGS, ninja no longer fails. (Scalpel)
I did have to run rvbuild an extra time to complete things after libssl stopped it.
Since the minor changes to rvcmds.sh are more about my setup, I don't think they warrant a pull request.
However, I thought these notes might prove useful to other macOS RV builders.
The result is an intel binary, so it's using Rosetta. I haven't poked around to see about compiling for Apple Silicon.
Beta Was this translation helpful? Give feedback.
All reactions