Re: ninja + ccache throwing unrecognized character in .d file

32 views
Skip to first unread message
Message has been deleted

Ben Boeckel

unread,
Apr 18, 2020, 9:11:44 AM4/18/20
to Sai Srinivasan Subramanian, ninja-build
On Sat, Apr 18, 2020 at 01:31:10 -0700, Sai Srinivasan Subramanian wrote:
> I have a pretty uncommon error scenario . When i build using Ninja,
> sometimes (not always) i get error with signature 23:25:25 expected
> ':' in depfile
>
>
> Upon opening the dep file test_Mashup.cpp.o.d . i saw the dep file
> being corrupt with unrecognized characters.
>
>
> This is highly uncommon scenario, but i wanted to check if anyone has
> experience dealing with such issues

If you can find that file in the cache, try removing it. If that doesn't
work, try with `CCACHE_DISABLE+1` in the environment. If it goes away
after that, I suspect ccache has a bug that needs fixed. It seems to be
corrupting its backing store somehow whether it's on the write or the
read side is probably useful information as well.

--Ben
Reply all
Reply to author
Forward
0 new messages