[MacPorts] #51713: devel/ninja update and build fix
MacPorts
noreply at macports.org
Sun Jun 26 00:23:23 PDT 2016
#51713: devel/ninja update and build fix
-----------------------+--------------------------------
Reporter: slewsys@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: | Port:
-----------------------+--------------------------------
'''devel/ninja''' fails to build under ''OS X 10.11.5/Xcode 7.3.1''.
At some point during bootstrap, the file {{{build.ninja}}} is be appended
to itself. Although bootstrap succeeds, subsequent rebuild with
{{{./ninja}}} fails since {{{rule cxx}}}, et al. occur twice.
Manually invoking {{{python configure.py --bootstrap}}} completes without
errors, so it appears to be an interaction between
{{{port}}} and {{{python}}} (either {{{/usr/bin/python}}} or MacPorts
{{{python2.7}}}).
Unable to replicate issue under ''OS X 10.9.5/Xcode 6.2''.
Attached is a workaround (works on both systems) and update to ninja
1.7.1. {{{configure.py}}} is patched to run bootstrap only. It's invoked
at the configure stage. After bootstrap, the script {{{configure}}} then
edits {{{build.ninja}}} to remove any redundancy.
Ninja does not appear to have an active maintainer.
--
Ticket URL: <https://trac.macports.org/ticket/51713>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list