Opened 7 weeks ago
Closed 7 weeks ago
#70870 closed defect (invalid)
git install failed
Reported by: | adalseno (Andrea Dalseno) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.1 |
Keywords: | Cc: | ||
Port: | git |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I am trying to install git on my Mac with Sonoma, but I get the following error:
---> Building git Error: Failed to build git: command execution failed
MacPort is version 2.10.1 and is up to date. Mac Os 14.6.1
Attachments (1)
Change History (4)
Changed 7 weeks ago by adalseno (Andrea Dalseno)
comment:1 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | git install fail sonoma removed |
comment:2 Changed 7 weeks ago by adalseno (Andrea Dalseno)
It worked, thanks! I knew I had an old version of git installed, but I was scared of uninstalling it before installing the new one and finding myself without git. Using the trace option did the trick. After having installed the new version with MacPorts I removed the old one.
❯ which git /opt/local/bin/git ❯ git --version git version 2.46.1
Problem solved. Thank you very much.
comment:3 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The log shows the first error is:
Get rid of what you have installed in /usr/local. See wiki:FAQ#usrlocal.