git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git command was killed
@ 2021-02-04  6:38 LiuShiyang
  2021-02-05  6:07 ` Eric Sunshine
  0 siblings, 1 reply; 3+ messages in thread
From: LiuShiyang @ 2021-02-04  6:38 UTC (permalink / raw)
  To: git

Hello, 

I’d like to get your support to solve below issue. When I upgraded my MacBook Pro (appple silicon ) , all git commands can not be run, and it shows ******killed. I have tried to reset Xcode-select, switch the path, or install again..no luck to resolve it.

Please advise how I can solve this issue. 


shiyangliu@ShiyangdeMacBook-Pro  ~  git --version
[1]    40011 killed     git —version

Brew config results: 

 shiyangliu@ShiyangdeMacBook-Pro  ~  brew config
HOMEBREW_VERSION: >=2.5.0 (shallow or no git repository)
ORIGIN: (none)
HEAD: (none)
Last commit: never
Core tap ORIGIN: (none)
Core tap HEAD: (none)
Core tap last commit: never
Core tap branch: (none)
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
clang: error: unable to find Xcode installation from active developer path "/Library/Developer/CommandlineTools", use xcode-select to change
Clang: N/A
Git: N/A
Curl: 7.64.1 => /usr/bin/curl
Java: 15.0.2
macOS: 11.2-arm64
CLT: 12.5.0.0.1.1611946261
Xcode: dunno => /Library/Developer/CommandlineTools
Rosetta 2: false


Shiyang

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git command was killed
  2021-02-04  6:38 git command was killed LiuShiyang
@ 2021-02-05  6:07 ` Eric Sunshine
  2021-02-05  6:55   ` LiuShiyang
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Sunshine @ 2021-02-05  6:07 UTC (permalink / raw)
  To: LiuShiyang; +Cc: Git List

On Thu, Feb 4, 2021 at 1:48 AM LiuShiyang <wingsdream1943@icloud.com> wrote:
> I’d like to get your support to solve below issue. When I upgraded my MacBook Pro (appple silicon ) , all git commands can not be run, and it shows ******killed. I have tried to reset Xcode-select, switch the path, or install again..no luck to resolve it.
>
>  shiyangliu@ShiyangdeMacBook-Pro  ~  brew config
> CPU: octa-core 64-bit arm_firestorm_icestorm
> macOS: 11.2-arm64
> Rosetta 2: false

This problem may be specific to Homebrew's installation of Git.
Apparently, Homebrew wasn't originally able to build for Apple
"Silicon" and the various supported "formulas" need to be upgraded
manually for "Silicon". This page [1] shows a (perhaps) outdated
status of each package.

Somewhere in [1] there is mention that you may be able to install a
package as x86_64 rather than as arm64 and then run it via Rosetta, so
you might want to try that (assuming Rosetta works for you). Or maybe
you already installed x86_64 and Rosetta is failing for you(?), in
which case try the arm64 version. Otherwise, probably best would be to
ask at the Homebrew project.

[1]: https://github.com/Homebrew/brew/issues/7857

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git command was killed
  2021-02-05  6:07 ` Eric Sunshine
@ 2021-02-05  6:55   ` LiuShiyang
  0 siblings, 0 replies; 3+ messages in thread
From: LiuShiyang @ 2021-02-05  6:55 UTC (permalink / raw)
  To: Eric Sunshine; +Cc: Git List

Thanks Eric for the response. After I had git dependencies gettext and pcre2 reinstalled, git was reborn on my Macbook. Seems this was a common issue with 11.2 upgraded.


> 2021年2月5日 下午2:07,Eric Sunshine <sunshine@sunshineco.com> 写道:
> 
> On Thu, Feb 4, 2021 at 1:48 AM LiuShiyang <wingsdream1943@icloud.com> wrote:
>> I’d like to get your support to solve below issue. When I upgraded my MacBook Pro (appple silicon ) , all git commands can not be run, and it shows ******killed. I have tried to reset Xcode-select, switch the path, or install again..no luck to resolve it.
>> 
>> shiyangliu@ShiyangdeMacBook-Pro  ~  brew config
>> CPU: octa-core 64-bit arm_firestorm_icestorm
>> macOS: 11.2-arm64
>> Rosetta 2: false
> 
> This problem may be specific to Homebrew's installation of Git.
> Apparently, Homebrew wasn't originally able to build for Apple
> "Silicon" and the various supported "formulas" need to be upgraded
> manually for "Silicon". This page [1] shows a (perhaps) outdated
> status of each package.
> 
> Somewhere in [1] there is mention that you may be able to install a
> package as x86_64 rather than as arm64 and then run it via Rosetta, so
> you might want to try that (assuming Rosetta works for you). Or maybe
> you already installed x86_64 and Rosetta is failing for you(?), in
> which case try the arm64 version. Otherwise, probably best would be to
> ask at the Homebrew project.
> 
> [1]: https://github.com/Homebrew/brew/issues/7857


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-05  6:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04  6:38 git command was killed LiuShiyang
2021-02-05  6:07 ` Eric Sunshine
2021-02-05  6:55   ` LiuShiyang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).