This repository was archived by the owner on Dec 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
This repository was archived by the owner on Dec 21, 2023. It is now read-only.
Build fails on macOS 12.3.1 (since python 2.7 is removed in that version) #39
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Title says it all.
$ cargo b
Compiling sentry-contrib-native-sys v0.3.1
error: failed to run custom build command for `sentry-contrib-native-sys v0.3.1`
Caused by:
process didn't exit successfully: `/Users/alex/***/target/debug/build/sentry-contrib-native-sys-2c5dda3f75ccf618/build-script-build` (exit status: 101)
--- stdout
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: "cmake" "/Users/alex/.cargo/registry/src/git.godevs.top-1ecc6299db9ec823/sentry-contrib-native-sys-0.3.1/sentry-native" "-DBUILD_SHARED_LIBS=OFF" "-DSENTRY_BUILD_TESTS=OFF" "-DSENTRY_BUILD_EXAMPLES=OFF" "-DSENTRY_BACKEND=crashpad" "-DCRASHPAD_ZLIB_SYSTEM=OFF" "-DCMAKE_INSTALL_PREFIX=/Users/alex/***/target/debug/build/sentry-contrib-native-sys-446c26c5e4b0dd0c/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -arch x86_64" "-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" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
-- SENTRY_TRANSPORT=curl
-- SENTRY_BACKEND=crashpad
-- SENTRY_LIBRARY_TYPE=STATIC
-- Configuring incomplete, errors occurred!
See also "/Users/alex/***/target/debug/build/sentry-contrib-native-sys-446c26c5e4b0dd0c/out/build/CMakeFiles/CMakeOutput.log".
See also "/Users/alex/***/target/debug/build/sentry-contrib-native-sys-446c26c5e4b0dd0c/out/build/CMakeFiles/CMakeError.log".
--- stderr
CMake Error at /usr/local/Cellar/cmake/3.23.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at
least version "2.7")
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.23.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/3.23.0/share/cmake/Modules/FindPythonInterp.cmake:169 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
external/crashpad/util/CMakeLists.txt:354 (find_package)
I think it's fixed in upstream getsentry/sentry-native repo, but I'm not sure how to bump it in here.
Let me know if you need more info or testing!
- OS: macOS 12.3.1
- Rust 1.58.1 (db9d1b20b 2022-01-20)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working