On Fri, Feb 4, 2022 at 8:20 AM Stephen John Smoogen <smooge@xxxxxxxxx> wrote:
On Fri, 4 Feb 2022 at 09:05, Richard Shaw <hobbes1069@xxxxxxxxx> wrote:I've gotten frequent requests to support EPEL branches of packages I maintain for Fedora and I usually don't mind as long as it's "easy", meaning build dep differences are minor and easy to work around, but mock seems completely broken for EPEL and I don't like to support packages I can't easily build.I know there's scratch builds, COPR, and stuff but I have a $DAYJOB and nothing beats being able to test and iterate quickly using mock on my workstation.Out of curiosity I just tried every EL 8 mock config and found the following results:almalinux-8 works
centos-8 broken (EOL)
centos-stream-8 works
epel-8-x86_64 broken
epel-next-8-x86_64 works
eurolinux-8-x86_64 works
oraclelinux-8-x86_64 works
rhel-8-x86_64 no subscription
rockylinux worksCheck what /etc/mock/epel-8-x86_64.cfg is linked to on your system. If it is not linked to anything then it is going to be broken and either trying to use the Fedora koji or using data from CentOS mirrors which no longer exist. First step is decide which OS you will use to build EPEL packages against: Rocky, Alma, Oracle, RHEL.$ sudo -i# cd /etc/mock# mv epel-8-x86_64.cfg epel-8-x86_64-old.cfg# ln -s alma+epel-8-x86_64.cfg epel-8-x86_64.cfgChange alma+ to the OS you want to use.
Ok, that's simple enough, but I have to ask the obvious question. :)
Why isn't this fixed in the package? Though I do remember the thread Gary referenced, still I would think it would be a good idea to choose ANY of them if for no other reason than to not leave things broken.
Thanks,
Richard
_______________________________________________ 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 on the list, report it: https://pagure.io/fedora-infrastructure