Apple Monterey ruby install fails #1905
Unanswered
justdan0227
asked this question in
Build failures
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Attempting to use
rbenv install 2.7.5 (or anything higher than 2.5.1) fails on Monterey. Was trying for 3.0
` rbenv install 2.7.5
Downloading openssl-1.1.1l.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/0b7a3e5e59c34827fe0c3a74b7ec8baef302b98fa80088d7f9153aa16fa76bd1
Installing openssl-1.1.1l...
Installed openssl-1.1.1l to /Users/dankardell/.rbenv/versions/2.7.5
Downloading ruby-2.7.5.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.5.tar.bz2
Installing ruby-2.7.5...
ruby-build: using readline from homebrew
BUILD FAILED (macOS 12.0.1 using ruby-build 20211227)
Inspect or clean up the working tree at /var/folders/4_/cymrx86s6m155_n91r4lqt0h0000gp/T/ruby-build.20220111123543.64224.qBaXCr
Results logged to /var/folders/4_/cymrx86s6m155_n91r4lqt0h0000gp/T/ruby-build.20220111123543.64224.log
Last 10 log lines:
#define RB_OBJ_WRITE(a, slot, b) UNALIGNED_MEMBER_ACCESS(rb_obj_write((VALUE)(a), (VALUE *)(slot), (VALUE)(b), FILE, LINE))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./internal.h:2703:5: note: expanded from macro 'UNALIGNED_MEMBER_ACCESS'
unaligned_member_access_result;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/ruby/ruby.h:1087:5: note: expanded from macro 'RARRAY_PTR_USE_TRANSIENT'
expr;
^~~~
1 warning generated.
2 warnings generated.
`
Beta Was this translation helpful? Give feedback.
All reactions