In case i wasn't clear bout it: "mock" is not available, as best I can tell right now, for Amazon Linux 2023. There used to be an out-of-date one for Amazon linux 2, but I don't have access to those hosts right now to see if it's been kept up to date. It is one of *my* favorite tools for getting these builds compiling at all.