View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013913CMakeCMakepublic2013-02-13 10:532016-06-10 14:31
Reportermwoehlke 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
Platformx86OSFedoraOS Version18
Product VersionCMake 2.8.10.2 
Target VersionFixed in Version 
Summary0013913: Ninja: generator is not usable on Fedora
Description'cmake -GNinja' fails on Fedora because it cannot find a program called 'ninja'. This is because, due to a packaging conflict, the ninja build tool is packaged on Fedora is installed as /usr/bin/ninja-build. It would be nice if CMake would also check for this name.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0032308)
Peter Kuemmel (developer)
2013-02-16 04:11

I would say this is a Fedora bug.
You could add a symlink in /usr/local/bin.
(0032335)
mwoehlke (developer)
2013-02-18 12:39

You could, and I have, which is why I didn't notice this until someone on the cmake users list mentioned something about cmake finding the path to ninja. However, I don't think we should require users to do that.

While this could be patched in Fedora, it's entirely possible that other distributions will follow Fedora's naming convention. Also, Fedora prefers to avoid patching when possible, and I don't see the harm making this change in CMake proper for a popular distribution.
(0032552)
Peter Kuemmel (developer)
2013-03-09 06:23

Bug is not new any more, there was some activity.
(0035341)
Ben Boeckel (developer)
2014-03-07 11:54

If this bug is tackled, another program which can run Ninja files is 'shake', so that'd be another tool to look for.
(0042222)
Kitware Robot (administrator)
2016-06-10 14:28

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2013-02-13 10:53 mwoehlke New Issue
2013-02-16 04:08 Peter Kuemmel Summary ninja generator is not usable on Fedora => Ninja: generator is not usable on Fedora
2013-02-16 04:11 Peter Kuemmel Note Added: 0032308
2013-02-18 12:39 mwoehlke Note Added: 0032335
2013-03-09 06:23 Peter Kuemmel Note Added: 0032552
2013-03-09 06:23 Peter Kuemmel Status new => backlog
2014-03-07 11:54 Ben Boeckel Note Added: 0035341
2016-06-10 14:28 Kitware Robot Note Added: 0042222
2016-06-10 14:28 Kitware Robot Status backlog => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team