I had the same issue as you complained about it here. So for me it was due to the fact that I stopped the build process from make by pressing Ctrl+c becauses it slowed down my machine and it took almost 20 hours to compile and the machine seemed to be frozen. I just retype the make command : make -j8 to relaunch the build after stopping it and I got this error:
I had the same issue as you complained abou