#8769 EPEL 7/6 Koji mock chroots are broken
Closed: Fixed 4 years ago by kevin. Opened 4 years ago by churchyard.

Describe what you would like us to do:

Please fix the EPEL Koji mock chroots. This is a regular EPEL 7 scratch build from dist git (happens with SRPM as well):

ERROR: Command failed: 
 # /usr/bin/dnf --installroot /var/lib/mock/epel7-build-19975252-1414307/root/ --setopt=install_weak_deps=0 --disableplugin=local --disableplugin=spacewalk --disableplugin=local --disableplugin=spacewalk groupinstall srpm-build --setopt=tsflags=nocontexts
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

https://koji.fedoraproject.org/koji/taskinfo?taskID=42713274

And EPEL 6:

No match for argument: dnf
No match for argument: dnf-plugins-core
Error: Unable to find a match: dnf dnf-plugins-core

epel6: https://koji.fedoraproject.org/koji/taskinfo?taskID=42713318

See also https://lists.fedoraproject.org/archives/list/packaging@lists.fedoraproject.org/thread/6Y6QG5HMTYQ5ZULWJSEZCLI2DUFITZRP/


When do you need this to be done by?

Any time would be nice.



See also:

https://pagure.io/releng/issue/9340
https://pagure.io/releng/issue/9339

Feel free to close this one (or the releng ones) as duplicates.

At the point where the builds fail, mock tries to use dnf:

Executing command: ['/usr/bin/dnf', ...

Successful EPEL 7 builds yesterday used yum:

Executing command: ['/usr/bin/yum', ...

Was it intentional to switch to dnf for EPEl 7?

This affects regular package builds too, not only scratch builds.

This is fixed. The builders were updated to mock-2.1, and koji is not ready for this. ;(

They have been downgraded.

Metadata Update from @kevin:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata