Skip to content

Installation/compilation fails on MacOS 15.0.1 #662

@sivann

Description

@sivann

Unable to install via brew, brew, system (15.0.1) and xcode fully updated and restarted.

 brew install MisterTea/et/et
==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Fetching mistertea/et/et
==> Downloading https://github.com/MisterTea/EternalTerminal/archive/et-v6.2.9.tar.gz
Already downloaded: /Users/sivann/Library/Caches/Homebrew/downloads/9fb4ca2f33651f9845df94db4f5ee5fa9d9d832d17e51abb0fa54b47cde6af65--EternalTerminal-et-v6.2.9.tar.gz
==> Installing et from mistertea/et

==> cmake . -DDISABLE_VCPKG:BOOL=ON -DPYTHON_EXECUTABLE=/usr/bin/python3
==> make install
Last 15 lines from /Users/sivann/Library/Logs/Homebrew/et/02.make:
  194 | #include <csignal>
      |          ^~~~~~~~~
1 error generated.
make[2]: *** [external_imported/sentry-native/crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/strings/string_number_conversions.cc.o] Error 1
1 error generated.
make[2]: *** [external_imported/sentry-native/crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/files/file_path.cc.o] Error 1
1 error generated.
make[2]: *** [external_imported/sentry-native/crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/files/scoped_file.cc.o] Error 1
1 error generated.
make[2]: *** [external_imported/sentry-native/crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/mini_chromium/base/logging.cc.o] Error 1
make[1]: *** [external_imported/sentry-native/crashpad_build/third_party/mini_chromium/CMakeFiles/mini_chromium.dir/all] Error 2
1 error generated.
make[2]: *** [CMakeFiles/et-lib.dir/cmake_pch.hxx.pch] Error 1
make[1]: *** [CMakeFiles/et-lib.dir/all] Error 2
make: *** [all] Error 2

Many more errors inside /Users/sivann/Library/Logs/Homebrew/et/02.make like:

[  3%] Built target generated-code
In file included from /tmp/et-20241008-46078-1wqg7/EternalTerminal-et-v6.2.9/external_imported/sentry-native/external/crashpad/tools/tool_support.cc:15:
/tmp/et-20241008-46078-1wqg7/EternalTerminal-et-v6.2.9/external_imported/sentry-native/external/crashpad/tools/tool_support.h:18:10: fatal error: 'string' file not found
   18 | #include <string>
      |          ^~~~~~~~

Compilation from latest pull also fails with:

$ cmake ../
-- Architecture: arm64
-- VCPKG TRIPLET: arm64-osx
-- Running vcpkg install
Detecting compiler hash for triplet arm64-osx...
Compiler found: /Library/Developer/CommandLineTools/usr/bin/c++
The following packages will be built and installed:
  * brotli:[email protected]#1
    catch2:[email protected]
    cpp-httplib[brotli,core]:[email protected]
  * curl[core,non-http,sectransp,ssl]:[email protected]
    cxxopts:[email protected]
    libsodium:[email protected]#1
    nlohmann-json:[email protected]
    openssl:[email protected]#1
  * pkgconf:[email protected]
    platform-folders:[email protected]#1
    protobuf:[email protected]#3
    sentry-native[backend,core,transport]:[email protected]
    simpleini:[email protected]
  * vcpkg-cmake-get-vars:arm64-osx@2023-12-31
  * vcpkg-tool-meson:[email protected]#3
    zlib:[email protected]
Additional packages (*) will be modified to complete this operation.
Restored 0 package(s) from /Users/sivann/.cache/vcpkg/archives in 20.4 us. Use --debug to see more details.
Installing 1/16 catch2:[email protected]...
Building catch2:[email protected]...
-- Using cached catchorg-Catch2-v3.6.0.tar.gz.
-- Cleaning sources at /Users/sivann/sbx/EternalTerminal/external/vcpkg/buildtrees/catch2/src/v3.6.0-67626b634e.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /Users/sivann/sbx/EternalTerminal/external/vcpkg/downloads/catchorg-Catch2-v3.6.0.tar.gz
-- Applying patch fix-install-path.patch
-- Using source at /Users/sivann/sbx/EternalTerminal/external/vcpkg/buildtrees/catch2/src/v3.6.0-67626b634e.clean
-- Configuring arm64-osx
-- Building arm64-osx-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: /opt/homebrew/Cellar/cmake/3.30.4/bin/cmake --build . --config Debug --target install -- -v -j13
    Working Directory: /Users/sivann/sbx/EternalTerminal/external/vcpkg/buildtrees/catch2/arm64-osx-dbg
    See logs for more information:
      /Users/sivann/sbx/EternalTerminal/external/vcpkg/buildtrees/catch2/install-arm64-osx-dbg-out.log

Call Stack (most recent call first):
  /Users/sivann/sbx/EternalTerminal/build/vcpkg_installed/arm64-osx/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  /Users/sivann/sbx/EternalTerminal/build/vcpkg_installed/arm64-osx/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/catch2/portfile.cmake:22 (vcpkg_cmake_install)
  scripts/ports.cmake:175 (include)


error: building catch2:arm64-osx failed with: BUILD_FAILED
Elapsed time to handle catch2:arm64-osx: 869 ms
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+catch2
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?title=[catch2]+Build+error+on+arm64-osx&body=Copy+issue+body+from+%2FUsers%2Fsivann%2Fsbx%2FEternalTerminal%2Fbuild%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md

-- Running vcpkg install - failed
CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:899 (message):
  vcpkg install failed.  See logs for more information:
  /Users/sivann/sbx/EternalTerminal/build/vcpkg-manifest-install.log
Call Stack (most recent call first):
  /opt/homebrew/Cellar/cmake/3.30.4/share/cmake/Modules/CMakeDetermineSystem.cmake:146 (include)
  CMakeLists.txt:81 (project)


CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!

and /Users/sivann/sbx/EternalTerminal/external/vcpkg/buildtrees/catch2/install-arm64-osx-dbg-out.log contains:

/Users/sivann/sbx/EternalTerminal/external/vcpkg/buildtrees/catch2/src/v3.6.0-67626b634e.clean/src/catch2/../catch2/generators/catch_generator_exception.hpp:11:10: fatal error: 'exception' file not found
   11 | #include <exception>
      |          ^~~~~~~~~~~
[...]
/Users/sivann/sbx/EternalTerminal/external/vcpkg/buildtrees/catch2/src/v3.6.0-67626b634e.clean/src/catch2/../catch2/benchmark/catch_clock.hpp:13:10: fatal error: 'chrono' file not found
[...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions