Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New release please! #274

Closed
revolter opened this issue Oct 16, 2019 · 12 comments
Closed

New release please! #274

revolter opened this issue Oct 16, 2019 · 12 comments

Comments

@revolter
Copy link
Contributor

revolter commented Oct 16, 2019

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
@0xIce
Copy link

0xIce commented Oct 23, 2019

+1

1 similar comment
@zeyu1993
Copy link

+1

@nahuel-zapata
Copy link

I have the same issue 🙁

@elfenlaid
Copy link

+1

@joshavant
Copy link

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

@dispatchMain
Copy link

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.

@revolter
Copy link
Contributor Author

revolter commented Dec 2, 2019

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

@dispatchMain
Copy link

dispatchMain commented Dec 2, 2019

@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)

@revolter
Copy link
Contributor Author

revolter commented Dec 4, 2019

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 😐.

@kolinkrewinkel
Copy link
Contributor

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

@kolinkrewinkel
Copy link
Contributor

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

@chenrui333
Copy link

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

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants