Builds that buildrequire python2-dnf fail with the following error: nothing provides python2-libcomps >= 0.1.8 needed by python2-dnf-4.0.9.2-1.el7_6.noarch
Here is an example: https://koji.fedoraproject.org/koji/taskinfo?taskID=33957959
This might be due to it being retired in EPEL7 since it's now provided in RHEL: https://pagure.io/releng/issue/8205
N/A
I cannot install python2-dnf.
@kevin I verified that RHEL has libcomps-0.1.8-12.el7. Do you think its one of those mergerepo_c issue that you fixed recently?
It needed to be unblocked in epel7-build.
I did that, regenerated the repo and now it fails for a different reason. :smile:
DEBUG util.py:643: Executing command: ['/usr/bin/yum-builddep', '--installroot', '/var/lib/mock/epel7-build-15809529-1136042/root/', '/var/lib/mock/epel7-build-15809529-1136042/root//builddir/build/SRPMS/module-build-service-2.19.0-1.el7.src.rpm'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'LC_MESSAGES': 'C.UTF-8', 'LD_PRELOAD': '/var/tmp/tmp.mock.z7n5txtw/$LIB/nosync.so'} and shell False DEBUG util.py:556: Last metadata expiration check: 0:00:09 ago on Fri Apr 5 20:44:38 2019. DEBUG util.py:556: Package rpm-build-4.11.3-35.el7.x86_64 is already installed. DEBUG util.py:554: BUILDSTDERR: Error: DEBUG util.py:554: BUILDSTDERR: Problem: package python2-dnf-4.0.9.2-1.el7_6.noarch requires python2-libdnf, but none of the providers can be installed DEBUG util.py:554: BUILDSTDERR: - package python2-dnf-4.0.9.2-1.el7_6.noarch requires python2-libdnf >= 0.22.5, but none of the providers can be installed DEBUG util.py:554: BUILDSTDERR: - conflicting requests DEBUG util.py:554: BUILDSTDERR: - nothing provides librepo.so.0()(64bit) needed by python2-libdnf-0.22.5-1.el7_6.x86_64 DEBUG util.py:556: (try to add '--skip-broken' to skip uninstallable packages)
This is because libdnf is in epel7. It looks like it was never imported or built, but there was a package defined.
So, I retired it there and as soon as it's blocked and the repo regenned that should be fixed.
I now get a different error of:
nothing provides librepo.so.0()(64bit) needed by python2-libdnf-0.22.5-1.el7_6.x86_64
You can see root.log for context: https://kojipkgs.fedoraproject.org//work/tasks/147/34060147/root.log
root.log
librepo was blocked in epel7, needed to be unblocked in epel7-build (since we want to get it from rhel now).
I did so and regenned the repo. Try again now?
@kevin that fixed it. Thank you!
Metadata Update from @mprahl: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)