FelixKratz/homebrew-formulae

Unale to install sketchybar via Homebrew: cp: '/private/tmp/homebrew-unpack ...' -> '/private/tmp/sketchybar-20240323-25013 ...': No such file or directory (os error 2)

Closed this issue · 1 comments

I also posted it in this Homebrew discussion: https://github.com/orgs/Homebrew/discussions/5221

Output of brew config

HOMEBREW_VERSION: 4.2.14
ORIGIN: https://github.com/Homebrew/brew
HEAD: f6a4f42cc346694fac94fa1643bc2809d383b6f1
Last commit: 4 days ago
Core tap JSON: 23 Mar 20:14 UTC
Core cask tap JSON: 23 Mar 20:14 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 10
Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 15.0.0 build 1500
Git: 2.44.0 => /opt/homebrew/bin/git
Curl: 8.1.2 => /usr/bin/curl
macOS: 14.1.2-arm64
CLT: 15.3.0.0.1.1708646388
Xcode: 15.2
Rosetta 2: false

Output of brew doctor

> brew doctor
Your system is ready to brew.

Description of issue

When I try brew install sketchybar I get this:

==> Downloading https://formulae.brew.sh/api/formula.jws.json

==> Downloading https://formulae.brew.sh/api/cask.jws.json
#=#=#
==> Fetching felixkratz/formulae/sketchybar
==> Downloading https://github.com/FelixKratz/SketchyBar/archive/refs/tags/v2.21.0
Already downloaded: /Users/yousuf/Library/Caches/Homebrew/downloads/9a836e24e5b6c66582029337f2cd10c2213d3ee66f8130f15eb318894f47954c--SketchyBar-2.21.0.tar.gz
==> Installing sketchybar from felixkratz/formulae
cp: '/private/tmp/homebrew-unpack20240323-25013-alyles/SketchyBar-2.21.0/./LICENSE.md' -> '/private/tmp/sketchybar-20240323-25013-peoclx/SketchyBar-2.21.0/LICENSE.md': No such file or directory (os error 2)
Error: Failure while executing; `/usr/bin/env cp -pR /private/tmp/homebrew-unpack20240323-25013-alyles/SketchyBar-2.21.0/. /private/tmp/sketchybar-20240323-25013-peoclx/SketchyBar-2.21.0` exited with 1. Here's the output:
cp: '/private/tmp/homebrew-unpack20240323-25013-alyles/SketchyBar-2.21.0/./LICENSE.md' -> '/private/tmp/sketchybar-20240323-25013-peoclx/SketchyBar-2.21.0/LICENSE.md': No such file or directory (os error 2)

Duplicate of #12