Same problems after upgrading to Big Sur, error occurs even when trying to build the simplest helloworld. Typing brew config, the following informations are given:
HOMEBREW_VERSION: 3.2.0-59-g196ec61
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 196ec61a3a9c6ce8bb8cdc75b489b0163ebed53f
Last commit: 6 weeks ago
Core tap ORIGIN: https://mirrors.ustc.edu.cn/homebrew-core.git
Core tap HEAD: a268bedb0a2689974bf687ffc7c927d08bf3fde5
Core tap last commit: 4 months ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_BOTTLE_DOMAIN: https://mirrors.ustc.edu.cn/homebrew-bottles
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.27T7PBiKpd/org.xquartz:0
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: quad-core 64-bit broadwell
Clang: 12.0.5 build 1205
Git: 2.31.1 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.5.1-x86_64
CLT: 12.5.1.0.1.1623191612
Xcode: N/A
Topic:
App & System Services
SubTopic:
Core OS
Tags: