Description of problem:
Current error output of dnf builddep command is not very useful. When it cannot find some of the dependencies, it prints only "No package matched", but doesn't say what's missing.
sudo dnf builddep sonarqube-5.0-M7.1.fc22.src.rpm
Error: no package matched
Yum lists all the things that are missing, in this case:
Error: No Package found for animal-sniffer
Error: No Package found for backport-util-concurrent
Error: No Package found for fest-assert
Error: No Package found for jruby-rack
Error: No Package found for maven-surefire-provider-junit4
Error: No Package found for picocontainer >= 2.14.1
Error: No Package found for reflections
Error: No Package found for sonar-packaging-maven-plugin
Error: No Package found for sonar-update-center-common
Error: No Package found for staxmate
Could this be improved?
it can, PR created.
*** Bug 1160616 has been marked as a duplicate of this bug. ***
Still seeing this in dnf 0.6.3 in Fedora 21, and it's a major issue when debugging builds, especially via mock for multiple arches.
What's the PR URL? A search on https://github.com/rpm-software-management/dnf/pulls for 1155211 doesn't find anything. Nor a search for 'builddep'.
*** Bug 1174336 has been marked as a duplicate of this bug. ***
Craig, here: https://github.com/rpm-software-management/dnf-plugins-core/pull/44. You can test it if you built it. I will need to fix minor issues within this PR.
dnf-plugins-core-0.1.5-1.fc21,hawkey-0.5.3-2.fc21,dnf-0.6.4-1.fc21 has been submitted as an update for Fedora 21.
Package hawkey-0.5.3-2.fc21, dnf-plugins-core-0.1.5-1.fc21, dnf-0.6.4-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hawkey-0.5.3-2.fc21 dnf-plugins-core-0.1.5-1.fc21 dnf-0.6.4-1.fc21'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
hawkey-0.5.3-2.fc21, dnf-plugins-core-0.1.5-1.fc21, dnf-0.6.4-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.