Given following log snippets, their explanation, and nothing else, explain what failure, if any, occurred during build of this package.

  Snippets are in a format of [X] : [Y], where [X] is a log snippet, and [Y] is the explanation.

  Snippets are delimited with '================'.

  Drawing on information from all snippets, provide a concise explanation of the issue and recommend a solution.

  Explanation of the issue, and recommended solution, should take a handful of sentences.

  Snippets:

  [error: Bad exit status from /var/tmp/rpm-tmp.ZDjrxa (%install)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.ZDjrxa (%install)
]: [The build failed in %install section.]
=============
[+ install -d -p -m 755 chibicc /builddir/build/BUILD/chibicc-0.0_20201207.90d1f7f-build/BUILDROOT/usr/bin/chibicc
install: cannot create directory ‘chibicc’: File exists]: [The `install`command failed.]

Issue: You used `install -d` instead of `install -D`. Option `-d` threat all arguments as directory names, but you are installing normal file.
Resolution: Use `install -D` instead of `install -d` in the %install section of the SPEC file.