On Thu, Mar 19, 2020 at 9:58 AM Miro Hrončok <mhroncok@xxxxxxxxxx> wrote:
I've seen this before. It was my ~/.config/mock.cfg:
config_opts['package_manager'] = 'dnf'
I do in fact have that setup, but I tried commenting it out and now mock fails almost immediately not able to find /usr/bin/yum.
$ cat ~/.config/mock.cfg
config_opts['cleanup_on_failure'] = 0
config_opts['nosync'] = True
config_opts['macros']['%_smp_mflags'] = "-j12"
#config_opts['package_manager'] = 'dnf'
config_opts['cleanup_on_failure'] = 0
config_opts['nosync'] = True
config_opts['macros']['%_smp_mflags'] = "-j12"
#config_opts['package_manager'] = 'dnf'
See what config options you have in ~/.config/mock.cfg and /etc/mock/ or
/etc/mock/default.cfg.
config_opts['releasever'] = '31'
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)
Thanks,
Richard
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx