Description of problem: The build of the chroot fails with: Total 3.8 MB/s | 51 MB 00:00:13 Retrieving key from file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-33-primary Importing GPG key 0x9570FF31: Userid : "Fedora (33) <fedora-33-primary>" Fingerprint: 963a 2beb 0200 9608 fe67 ea42 49fd 7749 9570 ff31 From : /usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-33-primary Running transaction check ERROR You need to update rpm to handle: rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by alternatives-1.14-3.fc33.x86_64 rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by p11-kit-0.23.22-1.fc33.x86_64 rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by libyaml-0.2.5-3.fc33.x86_64 rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by elfutils-libs-0.182-1.fc33.x86_64 rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by tzdata-2020f-1.fc33.noarch rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by libacl-2.2.53-9.fc33.x86_64 rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by libgpg-error-1.41-1.fc33.x86_64 rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by glibc-common-2.32-2.fc33.x86_64 rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by libmodulemd-2.11.1-1.fc33.x86_64 rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by gmp-1:6.2.0-5.fc33.x86_64 rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by python3-dnf-plugins-core-4.0.18-1.fc33.noarch rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by curl-minimal-7.71.1-8.fc33.x86_64 rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by zlib-1.2.11-23.fc33.x86_64 rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by pcre2-10.36-1.fc33.x86_64 and many more Version-Release number of selected component (if applicable): mock-2.8-1.el7.noarch
Thank you for the report! This happened because Fedora 33 configuration on EL7 was not fixed and it is not using the bootstrap image feature by default. You can work-around this by 'mock -r fedora-33-x86_64 --use-bootstrap-image'. Upstream fix: https://github.com/rpm-software-management/mock/pull/686
I have try it, but it fails with: Traceback (most recent call last): File "/usr/libexec/mock/mock", line 1059, in <module> exitStatus = main() File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/libexec/mock/mock", line 825, in main result = run_command(options, args, config_opts, commands, buildroot, state) File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/libexec/mock/mock", line 938, in run_command mockbuild.rebuild.do_rebuild(config_opts, commands, buildroot, options, srpms) File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/rebuild.py", line 84, in do_rebuild post=post_build, clean=clean) File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/rebuild.py", line 24, in rebuild_generic commands.init(prebuild=not config_opts.get('short_circuit')) File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/backend.py", line 166, in init self.bootstrap_buildroot.initialize(**kwargs) File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/buildroot.py", line 134, in initialize self._init(prebuild=prebuild, do_log=do_log) File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/buildroot.py", line 174, in _init podman.pull_image() File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/podman.py", line 23, in pull_image util.do(cmd, printOutput=True, env=self.buildroot.env) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 500, in do return do_with_status(*args, **kargs)[0] File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 552, in do_with_status preexec_fn=preexec, File "/usr/lib64/python3.6/subprocess.py", line 729, in __init__ restore_signals, start_new_session) File "/usr/lib64/python3.6/subprocess.py", line 1364, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'podman': 'podman'
Yes, 'podman' is a requirement for this particular use-case - mock needs it for downloading of the F33 container image (so it doesn't have to use incompatible host's dnf/rpm stack). This is not a new thing, it is some time Fedora started using the zstd compression: https://fedoraproject.org/wiki/Changes/Switch_RPMs_to_zstd_compression
Hi Pavel, yes then the build will work. Will the podman dependency added to the next release of mock on EPEL7?
It isn't needed for all chroots, so I don't know if that would be correct? In fedora it is added as "Suggests:" only - but sure on EL7 it is needed more. Also, podman is in 'extras' I think, and that repo is not normally enabled - so I don't think it is OK to add extras dependency to epel7 package.
FEDORA-2021-2e601d34e1 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-2e601d34e1
FEDORA-2021-0fbb46944e has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-0fbb46944e
FEDORA-EPEL-2021-89aa154f74 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-89aa154f74
FEDORA-EPEL-2021-3992481a12 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-3992481a12
FEDORA-2021-0fbb46944e has been pushed to the Fedora 32 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-0fbb46944e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-0fbb46944e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-2e601d34e1 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-2e601d34e1` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-2e601d34e1 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2021-3992481a12 has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-3992481a12 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2021-89aa154f74 has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-89aa154f74 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-2e601d34e1 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-0fbb46944e has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2021-89aa154f74 has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2021-3992481a12 has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report.