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
:info:build /usr/include/MacTypes.h:752:63: error: expected function body after 
function declarator
:info:build /usr/include/MacTypes.h:764:63: error: expected function body after 
function declarator
:info:build /usr/include/MacTypes.h:776:63: error: expected function body after 
function declarator
: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
:info:build /usr/include/MacTypes.h:752:63: error: expected function body after 
function declarator
:info:build /usr/include/MacTypes.h:764:63: error: expected function body after 
function declarator
:info:build /usr/include/MacTypes.h:776:63: error: expected function body after 
function declarator
: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
:info:build /usr/include/MacTypes.h:752:63: error: expected function body after 
function declarator
:info:build /usr/include/MacTypes.h:764:63: error: expected function body after 
function declarator
:info:build /usr/include/MacTypes.h:776:63: error: expected function body after 
function declarator
: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
:info:build /usr/include/MacTypes.h:752:63: error: expected function body after 
function declarator
:info:build /usr/include/MacTypes.h:764:63: error: expected function body after 
function declarator
:info:build /usr/include/MacTypes.h:776:63: error: expected function body after 
function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:787:48: 
error: expected ';' after top level declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:791:32: 
error: expected ';' after top level declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:998:59: 
error: expected ';' after top level declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:1002:57: 
error: expected ';' after top level declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:787:48: 
error: expected ';' after top level declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:791:32: 
error: expected ';' after top level declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:998:59: 
error: expected ';' after top level declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:1002:57: 
error: expected ';' after top level declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:787:48: 
error: expected ';' after top level declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:791:32: 
error: expected ';' after top level declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:787:48: 
error: expected ';' after top level declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:791:32: 
error: expected ';' after top level declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:998:59: 
error: expected ';' after top level declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:1002:57: 
error: expected ';' after top level declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:998:59: 
error: expected ';' after top level declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:1002:57: 
error: expected ';' after top level declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h:283:99:
 error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:150:35: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:154:151:
 error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:158:79: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:161:59: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:164:51: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:167:52: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:170:48: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:176:83: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:180:53: 
error: expected function body after function declarator
:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h:283:99:
 error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:150:35: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:154:151:
 error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:158:79: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:161:59: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:164:51: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:167:52: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:170:48: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:176:83: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:180:53: 
error: expected function body after function declarator
:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h:283:99:
 error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:150:35: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:154:151:
 error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:158:79: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:161:59: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:164:51: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:167:52: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:170:48: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:176:83: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:180:53: 
error: expected function body after function declarator
:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h:283:99:
 error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:150:35: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:154:151:
 error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:158:79: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:161:59: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:164:51: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:167:52: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:170:48: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:176:83: 
error: expected function body after function declarator
:info:build 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:180:53: 
error: expected function body after function declarator
:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
:info:build 20 errors generated.
:info:build make: *** [wrapper.o] Error 1
:info:build 20 errors generated.
:info:build 20 errors generated.
:info:build 20 errors generated.
:info:build make: *** [write_or_die.o] Error 1
:info:build make: *** [wildmatch.o] Error 1
:info:build make: *** [walker.o] Error 1
:error:build org.macports.build for port git-core returned: command execution 
failed
:debug:build Error code: CHILDSTATUS 433 2
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to