ninja: fatal: ninja version (1.3.4) incompatible with build file ninja_required_version version (1.7

446 views
Skip to first unread message

uzair....@samsung.com

unread,
Nov 13, 2017, 7:37:56 AM11/13/17
to infra-dev

Hi All,

Please can you let me know any way to fix below error

ninja: fatal: ninja version (1.3.4) incompatible with build file ninja_required_version version (1.7.2).

I have updated the depot tools to latest commit even then get above error.

Thanks in Advance

Uzair


Mostyn Bramley-Moore

unread,
Nov 13, 2017, 10:12:34 AM11/13/17
to uzair....@samsung.com, infra-dev
Does it work if you specify the path to ninja (or the ninja-linux64 binary) in your depot_tools checkout?  If so, then you have another version of ninja earlier in your $PATH - make sure that depot_tools is earlier in your $PATH than this other ninja's directory.

-Mostyn.

--
You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+unsubscribe@chromium.org.
To post to this group, send email to infr...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/da0fafba-e340-45a1-a0f1-168691b0057b%40chromium.org.



--
Mostyn Bramley-Moore
Vewd Software

wnagz...@gmail.com

unread,
Dec 7, 2018, 4:12:57 AM12/7/18
to infra-dev
I got the same problem too, I changed my ~/.bashrc and add text blew:
export PATH=/home/potat0/depot_tools:$PATH

Just make sure that the PATH of depot_tool is front than your default PATH.

在 2017年11月13日星期一 UTC+8下午8:37:56,uzair....@samsung.com写道:
Reply all
Reply to author
Forward
0 new messages