Re: mock: all log lines doubled?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19. 03. 20 15:47, Richard Shaw wrote:
$ mock -r epel-7-x86_64 fail2ban-0.11.1-5.fc33.src.rpm
INFO: mock.py version 2.1 starting (python version = 3.7.6)...
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
INFO: Start(fail2ban-0.11.1-5.fc33.src.rpm)  Config(epel-7-x86_64)
Start: clean chroot
Finish: clean chroot
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.1
INFO: Mock Version: 2.1
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.1
INFO: Mock Version: 2.1
Start: dnf install
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
ERROR: Exception(fail2ban-0.11.1-5.fc33.src.rpm) Config(epel-7-x86_64) 0 minutes 1 seconds

I've seen this before. It was my ~/.config/mock.cfg:

    config_opts['package_manager'] = 'dnf'

See what config options you have in ~/.config/mock.cfg and /etc/mock/ or /etc/mock/default.cfg.

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux