Install 3.1.3 failed #2183
Replies: 4 comments 3 replies
-
@mislav do you mind helping me? So Far I've tried:
|
Beta Was this translation helpful? Give feedback.
-
I'm seeing the same issue. |
Beta Was this translation helpful? Give feedback.
-
I ran and get this output
|
Beta Was this translation helpful? Give feedback.
-
Seeing nearly identical errors on my machine. I'm on an Mac with an M1 chip, my version is 13.2.1, i use homebrew to run postgres in the background, and reinstalling my xcode tools didn't work. To wit: $ rbenv install
To follow progress, use 'tail -f /var/folders/2p/5mhkb2vx5d17ptp4hsp1svnc0000gp/T/ruby-build.20230405113336.93280.log' or pass --verbose
Downloading openssl-3.1.0.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/aaa925ad9828745c4cad9d9efeb273deca820f2cdcf2c3ac7d7c1212b7c497b4
Installing openssl-3.1.0...
BUILD FAILED (macOS 13.2.1 using ruby-build 20230330)
Inspect or clean up the working tree at /var/folders/2p/5mhkb2vx5d17ptp4hsp1svnc0000gp/T/ruby-build.20230405113336.93280.D0T69D
Results logged to /var/folders/2p/5mhkb2vx5d17ptp4hsp1svnc0000gp/T/ruby-build.20230405113336.93280.log
Last 10 log lines:
clang: error: unable to execute command: Killed: 9
clang: error: clang integrated assembler command failed due to signal (use -v to see invocation)
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: arm64-apple-darwin22.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
clang: error: unable to execute command: Killed: 9
clang: note: diagnostic msg: Error generating preprocessed source(s).
make[1]: *** [crypto/sm4/libcrypto-shlib-vpsm4-armv8.o] Error 254
make: *** [build_sw] Error 2 If it helps, when I run Last 10 log lines:
clang -Icrypto -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -DBSAES_ASM -DECP_NISTZ256_ASM -DKECCAK1600_ASM -DMD5_ASM -DOPENSSL_BN_ASM_MONT -DOPENSSL_CPUID_OBJ -DOPENSSL_SM3_ASM -DPOLY1305_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DSM4_ASM -DVPAES_ASM -DVPSM4_ASM -fPIC -arch arm64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/ssl\"" -DENGINESDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/lib/engines-3\"" -DMODULESDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DZLIB -DZLIB_SHARED -DNDEBUG -I/Users/emilybosakowski/.rbenv/versions/3.1.3/include -I/opt/homebrew/opt/openssl@1.1/include -I/opt/homebrew/opt/postgresql@11/include -I/opt/homebrew/opt/libffi/include -c -o crypto/modes/libcrypto-shlib-ghashv8-armx.o crypto/modes/ghashv8-armx.S
clang -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -DBSAES_ASM -DECP_NISTZ256_ASM -DKECCAK1600_ASM -DMD5_ASM -DOPENSSL_BN_ASM_MONT -DOPENSSL_CPUID_OBJ -DOPENSSL_SM3_ASM -DPOLY1305_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DSM4_ASM -DVPAES_ASM -DVPSM4_ASM -fPIC -arch arm64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/ssl\"" -DENGINESDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/lib/engines-3\"" -DMODULESDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DZLIB -DZLIB_SHARED -DNDEBUG -I/Users/emilybosakowski/.rbenv/versions/3.1.3/include -I/opt/homebrew/opt/openssl@1.1/include -I/opt/homebrew/opt/postgresql@11/include -I/opt/homebrew/opt/libffi/include -MMD -MF crypto/modes/libcrypto-shlib-ocb128.d.tmp -MT crypto/modes/libcrypto-shlib-ocb128.o -c -o crypto/modes/libcrypto-shlib-ocb128.o crypto/modes/ocb128.c
clang -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -DBSAES_ASM -DECP_NISTZ256_ASM -DKECCAK1600_ASM -DMD5_ASM -DOPENSSL_BN_ASM_MONT -DOPENSSL_CPUID_OBJ -DOPENSSL_SM3_ASM -DPOLY1305_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DSM4_ASM -DVPAES_ASM -DVPSM4_ASM -fPIC -arch arm64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/ssl\"" -DENGINESDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/lib/engines-3\"" -DMODULESDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DZLIB -DZLIB_SHARED -DNDEBUG -I/Users/emilybosakowski/.rbenv/versions/3.1.3/include -I/opt/homebrew/opt/openssl@1.1/include -I/opt/homebrew/opt/postgresql@11/include -I/opt/homebrew/opt/libffi/include -MMD -MF crypto/modes/libcrypto-shlib-ofb128.d.tmp -MT crypto/modes/libcrypto-shlib-ofb128.o -c -o crypto/modes/libcrypto-shlib-ofb128.o crypto/modes/ofb128.c
clang -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -DBSAES_ASM -DECP_NISTZ256_ASM -DKECCAK1600_ASM -DMD5_ASM -DOPENSSL_BN_ASM_MONT -DOPENSSL_CPUID_OBJ -DOPENSSL_SM3_ASM -DPOLY1305_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DSM4_ASM -DVPAES_ASM -DVPSM4_ASM -fPIC -arch arm64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/ssl\"" -DENGINESDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/lib/engines-3\"" -DMODULESDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DZLIB -DZLIB_SHARED -DNDEBUG -I/Users/emilybosakowski/.rbenv/versions/3.1.3/include -I/opt/homebrew/opt/openssl@1.1/include -I/opt/homebrew/opt/postgresql@11/include -I/opt/homebrew/opt/libffi/include -MMD -MF crypto/modes/libcrypto-shlib-siv128.d.tmp -MT crypto/modes/libcrypto-shlib-siv128.o -c -o crypto/modes/libcrypto-shlib-siv128.o crypto/modes/siv128.c
clang -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -DBSAES_ASM -DECP_NISTZ256_ASM -DKECCAK1600_ASM -DMD5_ASM -DOPENSSL_BN_ASM_MONT -DOPENSSL_CPUID_OBJ -DOPENSSL_SM3_ASM -DPOLY1305_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DSM4_ASM -DVPAES_ASM -DVPSM4_ASM -fPIC -arch arm64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/ssl\"" -DENGINESDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/lib/engines-3\"" -DMODULESDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DZLIB -DZLIB_SHARED -DNDEBUG -I/Users/emilybosakowski/.rbenv/versions/3.1.3/include -I/opt/homebrew/opt/openssl@1.1/include -I/opt/homebrew/opt/postgresql@11/include -I/opt/homebrew/opt/libffi/include -MMD -MF crypto/modes/libcrypto-shlib-wrap128.d.tmp -MT crypto/modes/libcrypto-shlib-wrap128.o -c -o crypto/modes/libcrypto-shlib-wrap128.o crypto/modes/wrap128.c
clang -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -DBSAES_ASM -DECP_NISTZ256_ASM -DKECCAK1600_ASM -DMD5_ASM -DOPENSSL_BN_ASM_MONT -DOPENSSL_CPUID_OBJ -DOPENSSL_SM3_ASM -DPOLY1305_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DSM4_ASM -DVPAES_ASM -DVPSM4_ASM -fPIC -arch arm64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/ssl\"" -DENGINESDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/lib/engines-3\"" -DMODULESDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DZLIB -DZLIB_SHARED -DNDEBUG -I/Users/emilybosakowski/.rbenv/versions/3.1.3/include -I/opt/homebrew/opt/openssl@1.1/include -I/opt/homebrew/opt/postgresql@11/include -I/opt/homebrew/opt/libffi/include -MMD -MF crypto/modes/libcrypto-shlib-xts128.d.tmp -MT crypto/modes/libcrypto-shlib-xts128.o -c -o crypto/modes/libcrypto-shlib-xts128.o crypto/modes/xts128.c
clang -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -DBSAES_ASM -DECP_NISTZ256_ASM -DKECCAK1600_ASM -DMD5_ASM -DOPENSSL_BN_ASM_MONT -DOPENSSL_CPUID_OBJ -DOPENSSL_SM3_ASM -DPOLY1305_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DSM4_ASM -DVPAES_ASM -DVPSM4_ASM -fPIC -arch arm64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/ssl\"" -DENGINESDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/lib/engines-3\"" -DMODULESDIR="\"/Users/emilybosakowski/.rbenv/versions/3.1.3/openssl/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DZLIB -DZLIB_SHARED -DNDEBUG -I/Users/emilybosakowski/.rbenv/versions/3.1.3/include -I/opt/homebrew/opt/openssl@1.1/include -I/opt/homebrew/opt/postgresql@11/include -I/opt/homebrew/opt/libffi/include -MMD -MF crypto/objects/libcrypto-shlib-o_names.d.tmp -MT crypto/objects/libcrypto-shlib-o_names.o -c -o crypto/objects/libcrypto-shlib-o_names.o crypto/objects/o_names.c
make[1]: *** [crypto/objects/libcrypto-shlib-o_names.o] Killed: 9
make[1]: *** Waiting for unfinished jobs....
make: *** [build_sw] Error 2 |
Beta Was this translation helpful? Give feedback.
-
Steps to reproduce the behavior
MAC OSX - Ventura
rbenv install 3.1.3
Expected vs. actual behavior
Expected the rbenv installation to complete but it failed with the error message below
Logs
Beta Was this translation helpful? Give feedback.
All reactions