Summary
The Homebrew formula at schpet/tap/linear crashes with an unhelpful error when installed on Intel macOS (x86_64-apple-darwin), because no URL is defined for this platform combination.
Error Message
$ brew install schpet/tap/linear
Error: schpet/tap/linear: formula requires at least a URL
Root Cause
Looking at the formula in homebrew-tap/Formula/linear.rb, the URL is only set for:
- ✅ macOS ARM (
aarch64-apple-darwin)
- ❌ macOS Intel (
x86_64-apple-darwin) - missing
- ✅ Linux ARM (
aarch64-unknown-linux-gnu)
- ✅ Linux Intel (
x86_64-unknown-linux-gnu)
The formula structure:
if OS.mac? && Hardware::CPU.arm?
url "https://github.com/schpet/linear-cli/releases/download/v1.4.0/linear-aarch64-apple-darwin.tar.xz"
# ...
end
if OS.linux?
# linux variants handled...
end
# No case for OS.mac? && Hardware::CPU.intel?
Who This Affects
This affects users running Intel Homebrew on macOS, which includes:
- Users on Intel Macs
- Users on Apple Silicon Macs running the Intel version of Homebrew (via Rosetta 2) - this is common for compatibility with certain packages
Suggested Solutions
Option A: Add Intel macOS (x86_64-apple-darwin) to the release builds. This would provide full macOS coverage.
Option B: If Intel macOS support isn't planned, add an explicit error in the formula:
if OS.mac? && Hardware::CPU.intel?
odie "linear-cli does not provide Intel macOS binaries. Please use ARM Homebrew on Apple Silicon, or install via deno: deno install -A -g -n linear jsr:@schpet/linear-cli"
end
This would give users a clear message instead of a cryptic "formula requires at least a URL" error.
Environment
- macOS 15.7.2
- Homebrew 4.x (Intel, /usr/local)
brew install schpet/tap/linear at commit 9a4b2d9
Summary
The Homebrew formula at
schpet/tap/linearcrashes with an unhelpful error when installed on Intel macOS (x86_64-apple-darwin), because no URL is defined for this platform combination.Error Message
Root Cause
Looking at the formula in homebrew-tap/Formula/linear.rb, the URL is only set for:
aarch64-apple-darwin)x86_64-apple-darwin) - missingaarch64-unknown-linux-gnu)x86_64-unknown-linux-gnu)The formula structure:
Who This Affects
This affects users running Intel Homebrew on macOS, which includes:
Suggested Solutions
Option A: Add Intel macOS (
x86_64-apple-darwin) to the release builds. This would provide full macOS coverage.Option B: If Intel macOS support isn't planned, add an explicit error in the formula:
This would give users a clear message instead of a cryptic "formula requires at least a URL" error.
Environment
brew install schpet/tap/linearat commit 9a4b2d9