Re: Cannot run fedpkg mockbuild for epel9 on f38

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 3, 2023 at 12:03 PM Stephen Smoogen <ssmoogen@xxxxxxxxxx> wrote:
>
>
>
> On Sat, 3 Jun 2023 at 11:57, Brad Bell <bradbell@xxxxxxxxxx> 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
>

I recommend not doing it in /etc, and instead doing it in
~/.config/mock, like so:

ngompa@fedora ~> ls -hal ~/.config/mock/
total 16K
drwxr-xr-x. 1 ngompa ngompa  140 Jun 16  2022 ./
drwxrwxr-x. 1 ngompa ngompa 3.7K Jun  3 12:14 ../
lrwxrwxrwx. 1 ngompa ngompa   33 Feb 12  2022 epel-8-aarch64.cfg ->
/etc/mock/eldistro+epel-8-aarch64.cfg
lrwxrwxrwx. 1 ngompa ngompa   32 Feb 12  2022 epel-8-x86_64.cfg ->
/etc/mock/eldistro+epel-8-x86_64.cfg
lrwxrwxrwx. 1 ngompa ngompa   33 Jun 16  2022 epel-9-aarch64.cfg ->
/etc/mock/eldistro+epel-9-aarch64.cfg
lrwxrwxrwx. 1 ngompa ngompa   32 Jun 16  2022 epel-9-x86_64.cfg ->
/etc/mock/eldistro+epel-9-x86_64.cfg

(I changed my choice to the non-existent "eldistro" intentionally,
substitute with your preferred variant)



--
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Announce]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux