On Monday, February 7, 2022 11:45:12 AM CET Dave Love wrote:
What do you need to do these days to run an epel-8 mock build? fedpkg mockbuild fails for me with
Error: Error downloading packages: Status code: 403 for https://infrastructure.fedoraproject.org/repo/rhel/rhel8/koji/latest/x86_64/... (IP: 38.145.60.16)
It turns out that it works if you link, say, the alma+epel mock config into ~/.config/mock/epel-8-x86_64.cfg, per Richard Shaw's question at around the same time. I might have guessed that was the problem if it reported an error about epel-8-x86_64.cfg rather than failing to download RHEL rpms. (I just had alma linked to default.cfg on the RHEL8 system I use, not to epel-8.)
I'd encourage anyone to update to the latest fedpkg (v1.42): https://bodhi.fedoraproject.org/updates/?packages=fedpkg
And Mock (configs v36.6): https://bodhi.fedoraproject.org/updates/?packages=mock
Then mock should give a verbose hint about what to do. For more info: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/...
Pavel