You need to post full output. This final error is useless on its own.
Putting '-' in front of the command simply continues the run even if the command has failed, it is not helpful in this case.
But looking at the thing, you are likely missing 'tail' command in your system. Remove the lines starting with "@ tail". They just print size information, they are not needed for the build.
And it should have produces *.ihx file, which is the file you are looking for just under the different name. 'cp' does the rename, but since 'tail's failed, it sis not run. You can take that file and rename it yourself. Edit: I see you have the ihx file. Use that, this is the file you need.