Opened 8 years ago
Last modified 7 years ago
#51210 closed defect
build (bootstrap) of ninja 1.6.0 failed — at Version 2
Reported by: | grobbelaar@… | Owned by: | 521E328E-2A13-4749-826A-E4EF4F22A0F1@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | tiger leopard | Cc: | |
Port: | ninja |
Description (last modified by mf2k (Frank Schima))
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.
Change History (2)
comment:1 Changed 8 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to 521E328E-2A13-4749-826A-E4EF4F22A0F1@… |
---|---|
Port: | ninja added |
comment:2 Changed 8 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainers (
port info --maintainers ninja
), if any.