Sorry, I've forgotten to reply yesterday.

I've installed these updates, but I still get this error:
mockbuild.exception.ConfigError: Could not find included config file: /tmp/epel-9-x86_64.j_mo4dzgmockconfig/templates/centos-stream-9.tpl

Copying this templates/centos-stream-9.tpl doesn't help still.

I've decided to give permissions to epel-packagers-sig group to let them build it.

On Sat, Feb 5, 2022 at 9:25 PM Neal Gompa <ngompa13@gmail.com> wrote:
On Sat, Feb 5, 2022 at 2:15 PM Roman Inflianskas <rominf@aiven.io> wrote:
>
> Thanks for your answer.
>
> I get this this error:
> mockbuild.exception.ConfigError: Could not find included config file: /tmp/epel-9-x86_64.j_mo4dzgmockconfig/templates/centos-stream-9.tpl
>
> Copying this templates/centos-stream-9.tpl doesn't help.
>
> I've tried this instead:
> sudo ln -s /etc/mock/centos-stream-9-x86_64.cfg /etc/mock/epel-9-x86_64.cfg
>
> And I get this error:
> RPM build errors:
> + %pyproject_buildrequires -t
> /var/tmp/rpm-tmp.SeHyEg: line 32: fg: no job control
> error: Bad exit status from /var/tmp/rpm-tmp.SeHyEg (%generate_buildrequires)
>     Bad exit status from /var/tmp/rpm-tmp.SeHyEg (%generate_buildrequires)
> Finish: rpmbuild python-executing-0.8.2-1.el9.src.rpm
> Finish: build phase for python-executing-0.8.2-1.el9.src.rpm
> ERROR: Exception(/home/rominf/dev/fedora-scm/src/python-executing/python-executing-0.8.2-1.el9.src.rpm) Config(centos-stream-9-x86_64) 0 minutes 55 secon
> ds
> INFO: Results and/or logs in: /home/rominf/dev/fedora-scm/src/python-executing/results_python-executing/0.8.2/1.el9
> INFO: Cleaning up build root ('cleanup_on_failure=True')
> Start: clean chroot
> Finish: clean chroot
> ERROR: Command failed:
>  # ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-executing.spec']
>
> Could not execute mockbuild: Failed to execute command.
>

You need the latest update for mock, mock-core-configs, and
distribution-gpg-keys:
https://bodhi.fedoraproject.org/updates/FEDORA-2021-a7d4aaa6fe



--
真実はいつも一つ!/ Always, there's only one truth!