Tried to build LibreELEC 8.0.2 on a Ubuntu 16.04 x64 machine (build machine and target machine are the same).
If in the build folder path (at any level) there is a white space this error is generated:
when giving the make image command. I am sorry but I cannot give you any other relevant info that is related to this strange behavior (at least that I can think of).