On Sunday, February 6, 2022 8:35:15 PM CET Roman Inflianskas via devel wrote:
> 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.

You need to update fedpkg and rpkg, too:

    $ rpm -q fedpkg python3-rpkg
    fedpkg-1.42-1.fc35.noarch
    python3-rpkg-1.64-2.fc35.noarch

More info here: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/BNQ2TFWODJW3JSOBAG26AZQBOS5HHZMD/

Pavel

> On Sat, Feb 5, 2022 at 9:25 PM Neal Gompa <ngomp...@gmail.com> wrote:
> 
> > On Sat, Feb 5, 2022 at 2:15 PM Roman Inflianskas <rom...@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!
> >
> 



_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to