[MacPorts] #51210: build (bootstrap) of ninja 1.6.0 failed
MacPorts
noreply at macports.org
Fri Apr 22 10:57:28 PDT 2016
#51210: build (bootstrap) of ninja 1.6.0 failed
--------------------------+--------------------------------
Reporter: grobbelaar@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: | Port:
--------------------------+--------------------------------
I tried to 'sudo port install ninja', but it failed with
Error: org.macports.build for port ninja returned: command execution
failed
Please see the log file for port ninja for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ninja/ninja/main.log
The log contains:
:debug:configure Using compiler 'MacPorts Apple GCC 4.2'
:debug:configure Executing org.macports.configure (ninja)
:debug:configure Privilege de-escalation not attempted as not running as
root.
:debug:build build phase started at Fri Apr 22 19:06:52 CEST 2016
:notice:build ---> Building ninja
:debug:build Executing org.macports.build (ninja)
:debug:build Environment:
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ninja/ninja/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
CXX='/opt/local/bin/g++-apple-4.2 -arch ppc'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.4'
:debug:build Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ninja/ninja/work/ninja-1.6.0"
&& ./bootstrap.py --verbose'
:debug:build Executing command line: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ninja/ninja/work/ninja-1.6.0"
&& ./bootstrap.py --verbose
:info:build File "./bootstrap.py", line 16
:info:build from __future__ import print_function
:info:build SyntaxError: future feature print_function is not defined
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ninja/ninja/work/ninja-1.6.0"
&& ./bootstrap.py --verbose
:info:build Exit code: 1
:error:build org.macports.build for port ninja returned: command execution
failed
:debug:build Error code: CHILDSTATUS 3893 1
:debug:build Backtrace: command execution failed
while executing
"system -nice 0 $fullcmdstring"
("eval" body line 1)
invoked from within
"eval system $notty $nice \$fullcmdstring"
invoked from within
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"portbuild::build_main org.macports.build"
("eval" body line 1)
invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for ninja: org.macports.activate
org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port ninja for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ninja/ninja/main.log
The problem seems to be that even though I have Python 2.7 via MacPorts
(`which python` -V says 2.7.11), bootstrap.py begins with
#!/usr/bin/python, and that is 2.3.5 on this PPC Mac Mini with OS X
10.4.11 :(
#!/usr/bin/env python selects the "active" Python.
--
Ticket URL: <https://trac.macports.org/ticket/51210>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list