darlinghq / darling

Darwin/macOS emulation layer for Linux

Home Page:http://www.darlinghq.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

brew cmake failed

oligamiq opened this issue · comments

Expected Result
Install cmake

Actual Result

Darling [~]$ brew install cmake
Warning: Treating cmake as a formula. For the cask, use homebrew/cask/cmake
Warning: You are using macOS 11.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

==> Fetching cmake
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/9018f1b8ffff0e02f0c31e9bae432d27de0ab0b7/FormulAlready downloaded: /Users/oligami/Library/Caches/Homebrew/downloads/8e7ee839cd897599ec585fc8fd625520bbfd94b0daf910233f803107e6e3fd57--cmake.rb
==> Downloading https://github.com/Kitware/CMake/releases/download/v3.27.9/cmake-3.27.9.tar.gz
Already downloaded: /Users/oligami/Library/Caches/Homebrew/downloads/93cbafdb798cbd3f66ad15d56b5df9d1dc09972fc880ab7bcade02f34b733958--cmake-3.27.9.tar.gz
==> ./bootstrap --prefix=/usr/local/Cellar/cmake/3.27.9 --no-system-libs --parallel=8 --datadir=/share/cmake --docdir=/sAbort trap: 6 (core dumped)

Steps To Reproduce
reset prefix and install xcode cli 13.2 and install cmake

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
hdiutil mount Command_Line_Tools_for_Xcode_13.2.dmg
installer "/Volumes/Command_Line_Tools_for_Xcode_13.2/Command Line Tools.pkg"
brew install cmake

System Information
WSL Ubuntu22.04

Software Version
Linux Kernel 5.15.133.1-microsoft-standard-WSL2
Darling 3435165