Closed dourgulf closed 9 months ago
While this ought to work, I notice the build command is trying to build for x86_64, even though you didn't explicitly ask for that. Just to clarify, are you running this in a Rosetta/Intel terminal?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed due to inactivity.
Apple M1, MacOS 13.4.1, Xcode 14.3.1, cmake version is 3.26.4, rustc 1.69.0, cc version:
Build operation:
Caused by: process didn't exit successfully:
/Users/lidawen/Documents/work/Github/libsignal/target/debug/build/boring-sys-34592c35e5aac295/build-script-build
(exit status: 101) --- stdout cargo:rerun-if-env-changed=BORING_BSSL_PATH CMAKE_TOOLCHAIN_FILE_x86_64-apple-darwin = None CMAKE_TOOLCHAIN_FILE_x86_64_apple_darwin = None HOST_CMAKE_TOOLCHAIN_FILE = None CMAKE_TOOLCHAIN_FILE = None CMAKE_GENERATOR_x86_64-apple-darwin = None CMAKE_GENERATOR_x86_64_apple_darwin = None HOST_CMAKE_GENERATOR = None CMAKE_GENERATOR = None CMAKE_PREFIX_PATH_x86_64-apple-darwin = None CMAKE_PREFIX_PATH_x86_64_apple_darwin = None HOST_CMAKE_PREFIX_PATH = None CMAKE_PREFIX_PATH = None CMAKE_x86_64-apple-darwin = None CMAKE_x86_64_apple_darwin = None HOST_CMAKE = None CMAKE = None running: cd "/Users/lidawen/Documents/work/Github/libsignal/target/debug/build/boring-sys-b4bb0f7658375f39/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/Users/lidawen/.cargo/git/checkouts/boring-b37daebd62069023/3809a7e/boring-sys/deps/boringssl" "-DCMAKE_INSTALL_PREFIX=/Users/lidawen/Documents/work/Github/libsignal/target/debug/build/boring-sys-b4bb0f7658375f39/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -arch x86_64 -DOPENSSL_SMALL" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -arch x86_64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -arch x86_64 -DOPENSSL_SMALL" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Debug" -- The C compiler identification is AppleClang 14.0.3.14030022 -- The CXX compiler identification is AppleClang 14.0.3.14030022 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - broken -- Configuring incomplete, errors occurred!--- stderr CMake Error at /usr/local/Cellar/cmake/3.26.4/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message): The C compiler