Bug 2051489

Summary: obscure failure on epel8 mockbuild without modified mock config
Product: [Fedora] Fedora EPEL Reporter: Dave Love <dave.love>
Component: fedpkgAssignee: Ondřej Nosek <onosek>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel8CC: cqi, jkeating, lsedlar, onosek, s
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dave Love 2022-02-07 11:14:55 UTC
Description of problem:

mockbuild in an epel8 checkout failed for me with an obscure error:

  Error: Error downloading packages:
    Status code: 403 for
  https://infrastructure.fedoraproject.org/repo/rhel/rhel8/koji/latest/x86_64/RHEL-8-001/non_modular/audit-libs-3.0-0.17.20191104git1c2f876.el8.x86_64.rpm
  (IP: 38.145.60.16)

which was particularly puzzling as I have mock working with a RHEL8 root.

It turns out it was due not having a working config linked to /etc/mock/epel-8-x86_64.cfg, only to default.cfg.  If there was some sort of error relating to the mock configuration, as there would be with plain mock, I'd have spotted the problem rather sooner.  Some explicit instruction what to do would be better, though.

Version-Release number of selected component (if applicable):

1.41-2.el8 and mock-core-configs-37-1.el8