facebook / chisel

Chisel is a collection of LLDB commands to assist debugging iOS apps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New release please!

revolter opened this issue · comments

Trying to install with brew install --HEAD chisel errors out:

==> Cloning https://github.com/facebook/chisel.git
Updating /Users/iulian/Library/Caches/Homebrew/chisel--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 7782bdd Make chisel compatible with Python 3 (#266)
Error: An exception occurred within a child process:
  Errno::ENOENT: No such file or directory - PATENTS
commented

+1

+1

I have the same issue 🙁

Just a heads up: If you want to sidestep Homebrew and install Chisel manually, you can do this:

git clone git@github.com:facebook/chisel.git /usr/local/opt/chisel

then add the following line to your ~/.lldbinit file:

command script import /usr/local/opt/chisel/fblldb.py

Either what @joshavant said or you can just paste the PAENTS file from any older releases like this one in ~/Library/Caches/Homebrew/chisel--git/ folder once you receive the error and run brew install --HEAD chisel command again. This workaround will allow you keep managing chisel via homebrew.

@Ad1991, But it will not install the latest version.

@revolter: I may be missing something but why not? After pasting the file, you are still executing brew install --HEAD chisel which will install the latest revision.

Below are my logs after pasting the PATENTS file:

$ brew install --HEAD chisel
==> Cloning https://github.com/facebook/chisel.git
Updating ~/Library/Caches/Homebrew/chisel--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 7782bdd Make chisel compatible with Python 3 (#266)
==> make -C Chisel install PREFIX=/usr/local/Cellar/chisel/HEAD-7782bdd/lib LD_DYLIB_INSTALL_NAME=/usr/local/opt/chisel/lib/Chisel.framework/Chisel
==> Caveats
Add the following line to ~/.lldbinit to load chisel when Xcode launches:
  command script import /usr/local/opt/chisel/libexec/fblldb.py
==> Summary
🍺  /usr/local/Cellar/chisel/HEAD-7782bdd: 32 files, 281.4KB, built in 8 seconds
Removing: ~/Library/Caches/Homebrew/chisel--1.8.1.mojave.bottle.tar.gz... (65.3KB)

Oh, I previously found some messages related to brew's HEAD option stating that it tries to install the latest tagged commit, not the latest commit 😐.

Should be fixed soon, sorry about the wait! Homebrew/homebrew-core#50571

Should be good to go now with a brew upgrade. Let me know if you have any issues!

@kolinkrewinkel maybe good time to cut a new release again? #311