Bug 2051489 - obscure failure on epel8 mockbuild without modified mock config
Summary: obscure failure on epel8 mockbuild without modified mock config
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: fedpkg
Version: epel8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondřej Nosek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-07 11:14 UTC by Dave Love
Modified: 2022-02-07 11:14 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.