Log excerpt: arning: Permanently added '3.86.49.116' (ED25519) to the list of known hosts.

You can reproduce this build on your computer by running:

  sudo dnf install copr-rpmbuild
  /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/6951260-fedora-rawhide-x86_64 --chroot fedora-rawhide-x86_64


Version: 0.70
PID: 6249
Logging PID: 6250
Task:
{'appstream': 
Comment: This part of the task JSON tells you that there's an external (additional) repository used during package build. Copr consumes RPMs from multiple sources, and this one is non-standard.

Log excerpt: : 99.86.229.6)
Error: Failed to download metadata for repo 'https_download_copr_fedorainfracloud_org_results_plautrba_selinux_fedora_fedora_releasever_basearch': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
ERROR: Exception(/var/lib/copr-rpmbuild/workspace/workdir-x79ufehf/policycoreutils/policycoreutils.spec) Config(fedora-rawhide-x86_64) 0 minutes 25 seconds
INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results
INFO: Cleaning up build root ('cleanup_on_failure=True')
Start: clean chroot
Finish: clean chroot
ERROR: Command failed: 
 # /usr/bin/systemd-nspawn -q -M 30
Comment: But since DNF (called by Mock in the background) doesn't see the repository (error 404), it seems that the repository was not specified properly.

Namely, in this case, we are building for `fedora-rawhide-repository` but the repo was specified for `fedora-40-repository`.  Rawhide, at the time of build, was really F40, but Copr doesn't know how to expand `$releasever` to `rawhide`.