Created
December 17, 2017 16:58
-
-
Save antimon2/88517a7f797e0d63602eb3f46f35a09e to your computer and use it in GitHub Desktop.
Homebrew.jl で git 周りのエラーに遭遇したときの対処法 ref: https://qiita.com/antimon2/items/b682d12db5166f4d49bd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
julia> Pkg.build("Homebrew") | |
INFO: Building Homebrew | |
: 《中略》 | |
Error: git: /path/to/userhome/.julia/v0.6/Homebrew/deps/usr/Library/Taps/homebrew/homebrew-core/Formula/git.rb:190: syntax error, unexpected $undefined, expecting keyword_end | |
\thelper = osxkeychain | |
^ | |
==============================[ ERROR: Homebrew ]=============================== | |
LoadError: ArgumentError: `brew info` failed for String["git"]! | |
while loading /path/to/userhome/.julia/v0.6/Homebrew/deps/build.jl, in expression starting on line 2 | |
================================================================================ | |
================================[ BUILD ERRORS ]================================ | |
WARNING: Homebrew had build errors. | |
- packages with build errors remain installed in /path/to/userhome/.julia/v0.6 | |
- build the package(s) and all dependencies with `Pkg.build("Homebrew")` | |
- build a single package by running its `deps/build.jl` script | |
================================================================================ | |
julia> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd ~/.julia/v0.6 | |
$ rm -rf Homebrew |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
julia> Pkg.update() | |
INFO: Updating METADATA... | |
: 《中略》 | |
INFO: Installing Homebrew v0.5.9 | |
INFO: Building Homebrew | |
INFO: Downloading brew... | |
: 《後略》 | |
julia> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
julia> Pkg.build("Homebrew") | |
INFO: Building Homebrew | |
fatal: Unable to find remote helper for 'https' | |
fatal: Unable to find remote helper for 'https' | |
Error: Fetching /path/to/userhome/.julia/v0.6/Homebrew/deps/usr failed! | |
Fetching /path/to/userhome/.julia/v0.6/Homebrew/deps/usr/Library/Taps/homebrew/homebrew-core failed! | |
git: 'rebase' is not a git command. See 'git --help'. | |
git: 'rebase' is not a git command. See 'git --help'. | |
==============================[ ERROR: Homebrew ]=============================== | |
LoadError: failed process: Process(`/path/to/userhome/.julia/v0.6/Homebrew/deps/usr/bin/brew update --force`, ProcessExited(1)) [1] | |
while loading /path/to/userhome/.julia/v0.6/Homebrew/deps/build.jl, in expression starting on line 2 | |
================================================================================ | |
================================[ BUILD ERRORS ]================================ | |
WARNING: Homebrew had build errors. | |
- packages with build errors remain installed in /path/to/userhome/.julia/v0.6 | |
- build the package(s) and all dependencies with `Pkg.build("Homebrew")` | |
- build a single package by running its `deps/build.jl` script | |
================================================================================ | |
julia> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shell> brew upgrade git | |
Updating Homebrew... | |
==> Auto-updated Homebrew! | |
: 《中略》 | |
==> Upgrading 1 outdated package, with result: | |
git 2.15.1 | |
==> Upgrading git | |
==> Downloading https://homebrew.bintray.com/bottles/git-2.15.1.el_capitan.bottl | |
Already downloaded: /path/to/userhome/Library/Caches/Homebrew/git-2.15.1.el_capitan.bottle.tar.gz | |
==> Pouring git-2.15.1.el_capitan.bottle.tar.gz | |
==> Caveats | |
Bash completion has been installed to: | |
/usr/local/etc/bash_completion.d | |
zsh completions and functions have been installed to: | |
/usr/local/share/zsh/site-functions | |
Emacs Lisp files have been installed to: | |
/usr/local/share/emacs/site-lisp/git | |
==> Summary | |
🍺 /usr/local/Cellar/git/2.15.1: 1,488 files, 34.4MB | |
julia> Pkg.build("Homebrew") | |
INFO: Building Homebrew | |
Already up-to-date. | |
julia> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment