[MacPorts] #51210: ninja @1.6.0: bootstrap needs newer python on old systems (was: build (bootstrap) of ninja 1.6.0 failed)
MacPorts
noreply at macports.org
Fri Mar 9 15:23:34 UTC 2018
#51210: ninja @1.6.0: bootstrap needs newer python on old systems
---------------------------+---------------------------
Reporter: grobbelaar@… | Owner: ryandesign
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords: tiger leopard
Port: ninja |
---------------------------+---------------------------
Changes (by ryandesign):
* status: new => accepted
* owner: macports-tickets@… => ryandesign
* keywords: powerpc tiger => tiger leopard
Comment:
With 1.8.2 we have this on the Leopard buildbot worker:
{{{
Executing: cd
"/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_ninja/ninja/work/ninja-1.8.2"
&& ./configure --prefix=/opt/local
DEBUG: system: cd
"/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_ninja/ninja/work/ninja-1.8.2"
&& ./configure --prefix=/opt/local
File "./configure.py", line 89
return b'/FS' in out
^
SyntaxError: invalid syntax
./build.ninja: No such file or directory
}}}
It would seem ninja needs a newer Python than that which is included on
Leopard and earlier. Going by our [https://packages.macports.org/ninja/
packages server directory], it build fine on Snow Leopard and later. The
port should add a dependency on python27, and make configure.py use it, in
that case.
--
Ticket URL: <https://trac.macports.org/ticket/51210#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list