darlinghq / darling

Darwin/macOS emulation layer for Linux
http://www.darlinghq.org
GNU General Public License v3.0
11.4k stars 440 forks source link

brew cmake failed #1457

Open oligamiq opened 10 months ago

oligamiq commented 10 months ago

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 34351655a40d2090e70b3033a577b8cdea967633