Bug 2317531
| Summary: | dnf5 builddep does not report detail for parsing failure | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Barry Scott <barry> |
| Component: | dnf5 | Assignee: | rpm-software-management |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 41 | CC: | egoode, fpedrosa, jkolarik, nsella, pkratoch, ppisar, rpm-software-management, samuel-rhbugs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-09-16 19:05:06 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Barry Scott
2024-10-09 09:39:52 UTC
This is valid. RPM prints these errors to the RPM log rather than exposing them in via the API. The change to DNF 4 to add these error messages was https://github.com/rpm-software-management/dnf-plugins-core/commit/4e4c72f8c8ecd6531e4d97ecdd093e29f512edf2, I suspect we will need to add something similar to DNF 5. Couldn't reproduce on latest version. DNF5 already show the error messages on latest version The RPM spec parser errors are now printed to stderr. Tested with: dnf5-5.2.16.0-1.fc41.x86_64 rpm-libs-4.20.1-1.fc41.x86_64 It could be fixed in rpm-libs, probably in 4.20.0. |