Ninja: No Work to Do

1,451 views
Skip to first unread message

Chase Willden

unread,
Dec 3, 2015, 9:53:40 PM12/3/15
to nwjs-dev
I'm trying to build nwjs with Ninja on my Linux machine, and it won't get past the "Ninja: No Work to Do" message even though nothing has been built yet. Does any body have any suggestions?

Cong Liu

unread,
Dec 4, 2015, 12:09:17 AM12/4/15
to nwjs-dev
Did you run `gclient runhooks` before ninja build?

在 2015年12月4日星期五 UTC+8上午10:53:40,Chase Willden写道:

Chase Willden

unread,
Dec 4, 2015, 1:12:47 AM12/4/15
to nwjs-dev
Yes I ran "gclient runhooks" and the "./build/gyp_chromium content/content.gyp" and I even redownloaded the code with gclient and I still have the Ninja: No work to do. This is a tricky one. 

Cong Liu

unread,
Dec 4, 2015, 1:45:03 AM12/4/15
to nwjs-dev
Did you changed your time? If you changed it to some time earlier before your last build, the compiler will think the source was older than the generated objects.

在 2015年12月4日星期五 UTC+8下午2:12:47,Chase Willden写道:

Chase Willden

unread,
Dec 4, 2015, 10:19:26 AM12/4/15
to nwjs-dev
Good suggestion, just tried that but same issue. I even whipped up a new VM to build nw, used gclient sync and all the other build instructions, runhooks works great, but ninja still gives me that message... I'm stumped on this one.

Roger

unread,
Dec 4, 2015, 8:05:24 PM12/4/15
to Chase Willden, nwjs-dev
'content.gyp' is for nw12. In nw13 just use './build/gyp_chromium'.
The wiki need to be updated. And please refer to the buildbot log for
the flags and environment variables used for gclient and gyp.
> --
> You received this message because you are subscribed to the Google Groups
> "nwjs-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nwjs-dev+u...@googlegroups.com.
> To post to this group, send email to nwjs...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nwjs-dev/ef6741b6-0cbe-4abe-b98c-dbb3f84cc01b%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

Chase Willden

unread,
Dec 4, 2015, 8:34:03 PM12/4/15
to nwjs-dev
That solved the issue! I'll refer to that. Thanks.
Reply all
Reply to author
Forward
0 new messages