On Sat, 3 Jun 2023 at 11:57, Brad Bell <bradb...@seanet.com> wrote:

> I am getting the error message below in response to a `fedpkg mockbuild`
> command. What am I doing
> wrong ?
>
>  >fedpkg mockbuild
> ... snip ...
> ERROR: Mock config 'epel-9-x86_64' not found, see errors above.
>
>
> Here is my system information:
>
>  >git branch
> * epel9
>    rawhide
>
>  >uname -a
> Linux brad-mobile 6.2.15-300.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 11
> 17:37:39 UTC 2023 x86_64
> GNU/Linux
>
>  >ls /etc/mock | grep epel-9
> alma+epel-9-aarch64.cfg
> alma+epel-9-ppc64le.cfg
> alma+epel-9-s390x.cfg
> alma+epel-9-x86_64.cfg
> centos-stream+epel-9-aarch64.cfg
> centos-stream+epel-9-ppc64le.cfg
> centos-stream+epel-9-s390x.cfg
> centos-stream+epel-9-x86_64.cfg
> oraclelinux+epel-9-aarch64.cfg
> oraclelinux+epel-9-x86_64.cfg
> rhel+epel-9-aarch64.cfg
> rhel+epel-9-ppc64le.cfg
> rhel+epel-9-s390x.cfg
> rhel+epel-9-x86_64.cfg
> rocky+epel-9-aarch64.cfg
> rocky+epel-9-ppc64le.cfg
> rocky+epel-9-s390x.cfg
> rocky+epel-9-x86_64.cfg
>
>
You need to choose a distribution to build against and set the configs for
it

ln -s /etc/mock/foobar+epel-9-x86_64.cfg /etc/mock/epel-9-x86_64.cfg
ln -s /etc/mock/foobar+epel-8-x86_64.cfg /etc/mock/epel-8-x86_64.cfg




>  >dnf info fedpkg
> Name         : fedpkg
> Version      : 1.44
> Release      : 4.fc38
> Architecture : noarch
> Size         : 333 k
> Source       : fedpkg-1.44-4.fc38.src.rpm
> Repository   : @System
>  From repo    : updates
> Summary      : Fedora utility for working with dist-git
> URL          : https://pagure.io/fedpkg
> License      : GPLv2+
> Description  : Provides the fedpkg command for working with dist-git
> _______________________________________________
> epel-devel mailing list -- epel-devel@lists.fedoraproject.org
> To unsubscribe send an email to epel-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/epel-devel@lists.fedoraproject.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>


-- 
Stephen Smoogen, Red Hat Automotive
Let us be kind to one another, for most of us are fighting a hard battle.
-- Ian MacClaren
_______________________________________________
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-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/epel-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to