#12200 EPEL 8 scratch builds fail when installing DNF
Closed: Duplicate by mrc0mmand. Opened by mrc0mmand.

(Copied from https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org/thread/DJTQQDAY4SGMMEHVXAFWKOY4NVVLASZ5/)

I'm updating one of my packages due to a couple of CVEs, and when I got to the EPEL 8 branch I can't seem to do a scratch build (via fedpkg scratch-build). All attempts (even the ones rebuilding an existing SRPM) fail when mock tries to install dnf:

Start(bootstrap): installing dnf tooling
ERROR: Command failed:
 # /usr/bin/dnf-3 --installroot /var/lib/mock/epel8-build-52195576-6245162-bootstrap/root/ --setopt=install_weak_deps=0 --disableplugin=local --disableplugin=spacewalk --disableplugin=versionlock install python3-dnf dnf-plugins-core --setopt=tsflags=nocontexts
Unable to detect release version (use '--releasever' to specify release version)
No matches found for the following disable plugin patterns: local, spacewalk, versionlock
Last metadata expiration check: 0:00:06 ago on Thu Jul 11 17:45:35 2024.
Error:
 Problem 1: conflicting requests
  - nothing provides /usr/libexec/platform-python needed by python3-dnf-4.0.9.2-5.el8.noarch from build
  - nothing provides /usr/libexec/platform-python needed by python3-dnf-4.2.17-6.el8.noarch from build
  - nothing provides /usr/libexec/platform-python needed by python3-dnf-4.2.17-7.el8_2.noarch from build
...
  - nothing provides /usr/libexec/platform-python needed by python3-dnf-4.7.0-19.el8.noarch from build
  - nothing provides /usr/libexec/platform-python needed by python3-dnf-4.7.0-20.el8.noarch from build
  - nothing provides /usr/libexec/platform-python needed by python3-dnf-4.7.0-4.el8.noarch from build
  - nothing provides /usr/libexec/platform-python needed by python3-dnf-4.7.0-8.el8.noarch from build
(try to add '--skip-broken' to skip uninstallable packages or '--setopt=optional_metadata_types=filelists' to load additional filelists metadata)

Full log: https://kojipkgs.fedoraproject.org//work/tasks/6447/120336447/mock_output.log (taken from https://koji.fedoraproject.org/koji/taskinfo?taskID=120336447)


(Closing this one as duplicate of https://pagure.io/releng/issue/12200)

Metadata Update from @mrc0mmand:
- Issue close_status updated to: Duplicate
- Issue status updated to: Closed (was: Open)

This was closed as a duplicate of itself. Should the duplicate have been https://pagure.io/releng/issue/12199 ?

This was closed as a duplicate of itself. Should the duplicate have been https://pagure.io/releng/issue/12199 ?

Hah, it indeed should've been, apologies for the confusion.

Metadata