Description of problem: When you run Mock (from epel-testing) on EL7 you get this traceback mock -r epel-7-x86_64 --no-clean ./clamav-0.102.2-1.fc32.src.rpm .... Wrote: /builddir/build/SRPMS/clamav-0.102.2-1.el7.src.rpm Traceback (most recent call last): File "/usr/bin/dnf", line 57, in <module> from dnf.cli import main File "/usr/lib/python2.7/site-packages/dnf/__init__.py", line 30, in <module> import dnf.base File "/usr/lib/python2.7/site-packages/dnf/base.py", line 29, in <module> import libdnf.transaction File "/usr/lib64/python2.7/site-packages/libdnf/__init__.py", line 3, in <module> from . import conf File "/usr/lib64/python2.7/site-packages/libdnf/conf.py", line 17, in <module> _conf = swig_import_helper() File "/usr/lib64/python2.7/site-packages/libdnf/conf.py", line 16, in swig_import_helper return importlib.import_module('_conf') File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) ImportError: No module named _conf
This is configuration problem in mock configs. Closing.
I'm seeing this on my Fedora 31 box when trying to build for EPEL 7. I just updated mock-core-configs from testing but the error persists. Any recommendations?
The same problem here. Curious about the solution...
config_opts['use_bootstrap_container'] = False resolves it.
not set config_opts['package_manager'] = 'dnf' in ~/.config/mock.cfg
Same error when using "koji build" on epel7-x86_64: https://koji.fedoraproject.org/koji/taskinfo?taskID=56899704
I’m seeing this in koji scratch builds for epel-7-x86_64 today too, for any package I care to try.
Looks fixed in koji to me thanks to the linked releng bug.