-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-8.10.z
-
None
-
python3-3.6.8-64.el8_10
-
None
-
None
-
sst_pt_python_ruby_nodejs
-
ssg_core_services
-
5
-
False
-
-
None
-
None
-
Pass
-
None
-
-
All
-
None
What were you trying to do that didn't work?
Running `mock -r rhel-8-x86_64` (or derivates, such as `rhel+epel-8-x86_64`) on Fedora 40 fails with:
Problem 1: conflicting requests DEBUG util.py:461: - nothing provides /usr/libexec/platform-python needed by python3-dnf-4.0.9.2-5.el8.noarch from build DEBUG util.py:461: - nothing provides /usr/libexec/platform-python needed by python3-dnf-4.2.17-6.el8.noarch from build DEBUG util.py:461: - nothing provides /usr/libexec/platform-python needed by python3-dnf-4.2.17-7.el8_2.noarch from build DEBUG util.py:461: - nothing provides /usr/libexec/platform-python needed by python3-dnf-4.2.23-4.el8.noarch from build DEBUG util.py:461: - nothing provides /usr/libexec/platform-python needed by python3-dnf-4.2.7-6.el8.noarch from build DEBUG util.py:461: - nothing provides /usr/libexec/platform-python needed by python3-dnf-4.2.7-7.el8_1.noarch from build DEBUG util.py:461: - nothing provides /usr/libexec/platform-python needed by python3-dnf-4.4.2-11.el8.noarch from build DEBUG util.py:461: - nothing provides /usr/libexec/platform-python needed by python3-dnf-4.7.0-11.el8.noarch from build DEBUG util.py:461: - nothing provides /usr/libexec/platform-python needed by python3-dnf-4.7.0-16.el8_8.noarch from build DEBUG util.py:461: - nothing provides /usr/libexec/platform-python needed by python3-dnf-4.7.0-19.el8.noarch from build DEBUG util.py:461: - nothing provides /usr/libexec/platform-python needed by python3-dnf-4.7.0-20.el8.noarch from build DEBUG util.py:461: - nothing provides /usr/libexec/platform-python needed by python3-dnf-4.7.0-4.el8.noarch from build DEBUG util.py:461: - nothing provides /usr/libexec/platform-python needed by python3-dnf-4.7.0-8.el8.noarch from build
This is due to https://fedoraproject.org/wiki/Changes/DNFConditionalFilelists
mock uses bootstrap chroots to avoid such problems, but when constructing the bootstrap chroot itself, it already hits it: python3-dnf has a path-based dependency that dnf on f40+ cannot understand.
A solution is to add manual `Provides: /usr/libexec/platform-python` to platform-python.
Please provide the package NVR for which bug is seen: 3.6.8-62.el8_10
How reproducible: always
Steps to reproduce
- On Fedora 40 or newer
- Insatll mock
- (if you ever run mock before the system was updated to F40) mock -r rhel+epel-8-x86_64 --scurb=all
- mock -r rhel+epel-8-x86_64 --bootstrap-chroot --no-bootstrap-image init
Expected results
...
Finish: run
Actual results
... nothing provides /usr/libexec/platform-python needed by python3-dnf-...
- links to
-
RHBA-2024:139211 updated Red Hat Enterprise Linux 8 container images
-
RHBA-2024:139212 updated rhel8/gcc-toolset-12-toolchain container image
-
RHBA-2024:139214 updated rhel8/gcc-toolset-13-toolchain container image
-
RHBA-2024:139217 updated rhel8/net-snmp container image
-
RHBA-2024:139218 updated rhel8/pcp container image
-
RHBA-2024:139219 updated rhel8/podman container image
-
RHBA-2024:139224 updated toolbox-container container image
-
RHSA-2024:135803 python3 security update