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:

  [
+ %generate_buildrequires
/var/tmp/rpm-tmp.BxlaKs: line 43: fg: no job control
error: Bad exit status from /var/tmp/rpm-tmp.BxlaKs (%pre]: [The error message is very cryptic but `fg: no job control` usually means that an RPM macro is not defined.]

Issue: The `%generate_buildrequires` is not available on EPEL8. It was introduced in Fedora 31 and therefore will be available only in EPEL9 and higher.

See https://fedoraproject.org/wiki/Changes/DynamicBuildRequires
Resolution: Stop using dynamic `BuildRequires` for EPEL8 and lower. Instead, define all `BuildRequires` manually.