Bug 1914750 - Unable to build packages for Fedora 33
Summary: Unable to build packages for Fedora 33
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: mock
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavel Raiskup
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-11 06:21 UTC by Frank Büttner
Modified: 2021-02-03 02:25 UTC (History)
7 users (show)

Fixed In Version: mock-2.9-1.fc33 mock-2.9-1.fc32 mock-2.9-1.el8 mock-2.9-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-21 01:45:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Frank Büttner 2021-01-11 06:21:33 UTC
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

Comment 1 Pavel Raiskup 2021-01-11 10:08:47 UTC
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

Comment 2 Frank Büttner 2021-01-12 05:49:02 UTC
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'

Comment 3 Pavel Raiskup 2021-01-12 06:58:10 UTC
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

Comment 4 Frank Büttner 2021-01-13 05:53:29 UTC
Hi Pavel,
yes then the build will work.
Will the podman dependency added to the next release of mock on EPEL7?

Comment 5 Pavel Raiskup 2021-01-13 07:20:51 UTC
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.

Comment 6 Fedora Update System 2021-01-18 15:54:31 UTC
FEDORA-2021-2e601d34e1 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-2e601d34e1

Comment 7 Fedora Update System 2021-01-18 16:03:11 UTC
FEDORA-2021-0fbb46944e has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-0fbb46944e

Comment 8 Fedora Update System 2021-01-18 16:03:51 UTC
FEDORA-EPEL-2021-89aa154f74 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-89aa154f74

Comment 9 Fedora Update System 2021-01-18 16:04:12 UTC
FEDORA-EPEL-2021-3992481a12 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-3992481a12

Comment 10 Fedora Update System 2021-01-19 01:37:55 UTC
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.

Comment 11 Fedora Update System 2021-01-19 01:52:04 UTC
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.

Comment 12 Fedora Update System 2021-01-19 02:23:43 UTC
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.

Comment 13 Fedora Update System 2021-01-19 02:31:32 UTC
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.

Comment 14 Fedora Update System 2021-01-21 01:45:47 UTC
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.

Comment 15 Fedora Update System 2021-01-27 02:38:34 UTC
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.

Comment 16 Fedora Update System 2021-02-03 02:13:35 UTC
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.

Comment 17 Fedora Update System 2021-02-03 02:25:16 UTC
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.


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