get error while it's installing git-core

Ryan Schmidt ryandesign at macports.org
Wed Apr 30 04:38:12 PDT 2014


On Apr 30, 2014, at 04:21, 心如烛光 <275438859 at qq.com> wrote:

> Hi ,all.
>     I get error while it's installing git-core.I want to know what may causes this error?And how could I fix it?Thanks a a lot!!
>     Here is the return:
> Error: org.macports.build for port git-core returned: command execution failed
> Please see the log file for port git-core for details:
>     /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_git-core/git-core/main.log
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port git-core failed
> 
> And here is the log about the error:
> :debug:main p5.16-error 0.170.160_4 exists in the ports tree
> :debug:main p5.16-error 0.170.160_4  is the latest installed
> :debug:main p5.16-error 0.170.160_4  is active
> :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/perl/p5-error
> :debug:main No need to upgrade! p5.16-error 0.170.160_4 >= p5.16-error 0.170.160_4
> :debug:main Searching for dependency: p5.16-error
> :debug:main Found Dependency: receipt exists for p5.16-error
> :info:build /usr/include/MacTypes.h:693:63: error: expected function body after function declarator
> :info:build /usr/include/MacTypes.h:705:63: error: expected function body after function declarator

What version of OS X and Xcode are you using? Make sure you have the latest version of Xcode for your version of OS X, and that you have installed the corresponding version of the Xcode command line tools. Instructions are in the guide.

http://guide.macports.org/




More information about the macports-users mailing list