> On 9 Oct 2024, at 05:39, Samuel Sieb <sam...@sieb.net> wrote:
> 
> The problem is that you're using "sudo" for this.  dnf5 doesn't print the 
> reason for the failure, which is unfortunate.  If you do it with "dnf4", you 
> do get the reason.

Raised https://bugzilla.redhat.com/show_bug.cgi?id=2317531

> 
> $ sudo dnf4 builddep SPECS/systemd.spec
> RPM: error: Unable to open /root/rpmbuild/SOURCES/triggers.systemd: No such 
> file or directory
> Failed to open: 'SPECS/systemd.spec', not a valid spec file: can't parse 
> specfile
> 
> Error: Some packages could not be found.


If I had seen that error I would have known what was wrong and fixed it by 
using an absolute path.

Barry

-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to