Re: mock: all log lines doubled?

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

 



On Thu, Mar 19, 2020 at 7:37 AM Pavel Raiskup <praiskup@xxxxxxxxxx> wrote:
On Thursday, March 19, 2020 1:27:11 PM CET Richard Shaw wrote:

We need to fix the bug I'm afraid.  If anyone can submit PR, it is
welcome..  otherwise I hope I'll get to it this or the next week.

> I tried adding the following to one of the EPEL 7 cfg files to no avail:
>
> config_opts['use_bootstrap'] = True
> config_opts['package_manager'] = 'yum'

That sounds like the correct (the default in mock-core-conifgs) config.
At the same time, you seem to be using --resultdir option - which for some
reason triggers the problem.  Try to run mock without the option for now.

Using fedpkg I don't think you can not use --resultdir but I also tried a direct mock build.

Nope... 

$ 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


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

[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