[MacPorts] #51713: devel/ninja update and build fix
#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
#51713: devel/ninja update and build fix -------------------------+------------------------------------------------- Reporter: slewsys@… | Owner: 521E328E-2A13-4749-826A- Type: defect | E4EF4F22A0F1@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: 2.3.4 Port: ninja | Keywords: haspatch -------------------------+------------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => 521E328E-2A13-4749-826A-E4EF4F22A0F1@… * keywords: => haspatch * port: => ninja -- Ticket URL: <https://trac.macports.org/ticket/51713#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#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 Resolution: | Keywords: haspatch Port: ninja | ------------------------+-------------------------------- Changes (by mf2k@…): * owner: 521E328E-2A13-4749-826A-E4EF4F22A0F1@… => macports-tickets@… Comment: This port no longer has a maintainer. See #51714. -- Ticket URL: <https://trac.macports.org/ticket/51713#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#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 Resolution: | Keywords: haspatch Port: ninja | ------------------------+-------------------------------- Comment (by mf2k@…): Thank you! r149580. Please consider being the maintainer of this port. I made the following minor changes: - Renamed all patchfiles to conform to Macports patchfile naming convention. Thus appeasing lint. - As a best practice, changed {{{depends_build}}} to {{{depends_build- append}}} due to the use of the github Portgroup so as to not overwrite dependencies. -- Ticket URL: <https://trac.macports.org/ticket/51713#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#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 Resolution: | Keywords: haspatch Port: ninja | ------------------------+-------------------------------- Comment (by mf2k@…): Missing patches added in r149587. -- Ticket URL: <https://trac.macports.org/ticket/51713#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#51713: devel/ninja update and build fix ------------------------+-------------------------------- Reporter: slewsys@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: haspatch Port: ninja | ------------------------+-------------------------------- Changes (by mf2k@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/51713#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts