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.taDLCp (%build)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.taDLCp (%build)
]: [The build failed in %build phase.]
=============
[*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.20 but the autoconf macros are from gettext version 0.22
make[2]: *** [Makefile:248: stamp-po] Error 1
make[1]: *** [Makefile:419: all-recursive] Error 1
make: *** [Makefile:360: all] Error 2]: [You are using macros from autotools 0.22 but gettext is in version 0.20.]

Issue: There is mismatch in generated Makefile.in.in and available gettext version.
Resolution: You can fix it by forcing updating gettext data at the beginning of the %build section. Put at the top of the %build section following line:

gettextize -f