Open
Description
Describe the bug
I am trying to upgrade vlang to use the latest release, 0.3.2
, but run into the following runtime failure
$ /opt/homebrew/Cellar/vlang/0.3.2/bin/v doctor
cannot compile `/opt/homebrew/Cellar/vlang/0.3.2/libexec/cmd/tools/vdoctor.v`:
clang: error: no such file or directory: '/opt/homebrew/Cellar/vlang/0.3.2/libexec/thirdparty/tcc/lib/libgc.a'
builder error:
Side NOTE, we dont have tcc available for OSX due to the reason it is no longer supported for Big Sur and above (i.e. macos-11+), http://savannah.nongnu.org/bugs/?59640
Expected Behavior
The libgc.a is right in here.
$ fd libgc.a /opt/homebrew/lib
/opt/homebrew/lib/libgc.a
$ fd libgc.a /opt/homebrew/Cellar/
/opt/homebrew/Cellar/bdw-gc/8.2.2/lib/libgc.a
Current Behavior
==> /opt/homebrew/Cellar/vlang/0.3.2/bin/v -o test hello_world.v
Last 15 lines from /Users/rui/Library/Logs/Homebrew/vlang/test.01.v:
clang: error: no such file or directory: '/opt/homebrew/Cellar/vlang/0.3.2/libexec/thirdparty/tcc/lib/libgc.a'
Reproduction Steps
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/b45ed0fc87e04958714b114103443da4d1452c62/Formula/vlang.rb -O vlang.rb
brew reinstall -s vlang.rb
brew test -v vlang
Possible Solution
No response
Additional Information/Context
No response
V version
0.3.2
Environment details (OS name and version, etc.)
$ brew config
HOMEBREW_VERSION: 3.6.16-8-g895d322
ORIGIN: https://github.com/Homebrew/brew
HEAD: 895d3221215dff340baa3fc58b114ce5c52c52d1
Last commit: 4 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 03eed2f0ec12aef980ed1b74d1a28c0093c23204
Core tap last commit: 35 minutes ago
Core tap branch: bump-vlang-0.3.2
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: vim
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_MAKE_JOBS: 10
HOMEBREW_NO_AUTO_UPDATE: set
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 14.0.0 build 1400
Git: 2.39.0 => /opt/homebrew/bin/git
Curl: 7.85.0 => /usr/bin/curl
macOS: 13.1-arm64
CLT: 14.2.0.0.1.1668646533
Xcode: 14.2
Rosetta 2: false