[cmake-developers] [CMake 0013538]: [CMAKE+NINJA] Generated 'build.ninja' seems to be incomplete and fails to build ExternalProjects.
Mantis Bug Tracker
mantis at public.kitware.com
Fri Sep 14 08:46:28 EDT 2012
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=13538
======================================================================
Reported By: Miguel FIGUEIREDO
Assigned To:
======================================================================
Project: CMake
Issue ID: 13538
Category: CMake
Reproducibility: always
Severity: feature
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-09-14 14:46 WAST
Last Modified: 2012-09-14 14:46 WAST
======================================================================
Summary: [CMAKE+NINJA] Generated 'build.ninja' seems to be
incomplete and fails to build ExternalProjects.
Description:
I'm building proprietary components and 3rd parties components using
"ExternalProject" : sqlite3, ezxml and Cunit.
My build succeed when I use a "Unix/Makefiles" generator and fails with "Ninja"
generator with the following error message :
"ninja: error: 'vendor/ezxml/staging/lib/libezxml.a', needed by
'vodaccess_depends.c', missing and no known rule to make it".
When I run 'ninja -d explain' into cmake directory, I got :
"[...]
ninja explain: vendor/ezxml/staging/lib/libezxml.a has no in-edge and is missing
ninja explain: vendor/cunit/staging/lib/libcunit.a has no in-edge and is missing
ninja explain: vendor/sqlite3/staging/lib/libsqlite3.a has no in-edge and is
missing
[...]"
corresponding to my ExternalProjects.
Steps to Reproduce:
Sorry, I do not reproduce the problem outside my environment yet.
Note that I was able to build my ExternalProjects (in standalone) outside my
build environment.
Additional Information:
I hacked the generated 'build.ninja' file with the following lines :
"build vendor/ezxml/staging/lib/libezxml.a : phony vendor/ezxml/ezxml
build vendor/cunit/staging/lib/libcunit.a : phony vendor/cunit/cunit
build vendor/sqlite3/staging/lib/libsqlite3.a : phony vendor/sqlite3/sqlite3",
and the build proceeds.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-09-14 14:46 Miguel FIGUEIREDONew Issue
2012-09-14 14:46 Miguel FIGUEIREDOFile Added: ninja.info.zip
======================================================================
More information about the cmake-developers
mailing list