Opened 7 hours ago

Last modified 6 hours ago

#70870 new defect

git install failed — at Version 1

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

Change History (2)

Changed 7 hours ago by adalseno (Andrea Dalseno)

Attachment: main.log added

comment:1 Changed 6 hours ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: git install fail sonoma removed

The log shows the first error is:

:info:build /usr/local/include/Block.h:37:28: error: expected ';' after top level declarator
:info:build BLOCK_EXPORT void *__single _Block_copy(const void *__single aBlock)
:info:build                            ^

Get rid of what you have installed in /usr/local. See wiki:FAQ#usrlocal.

Note: See TracTickets for help on using tickets.