[Rpm-maint] [rpm-software-management/rpm] Print binaries of non-matching arch in the warning/error message (PR #4060)
Michal Domonkos
notifications at github.com
Fri Dec 5 13:34:22 UTC 2025
@dmnks commented on this pull request.
> + color = fc->fcolor[ix];
+ if (!color || color == arch_color)
+ continue;
+ type = rpmfcPrettyFType(fc, ix);
+ bins += string(4, ' ') + fc->fn[ix].substr(fc->buildRoot.size());
+ if (!type.empty())
+ bins += " (" + type + ")";
+ bins += '\n';
+ }
+
+ nvr = headerGetAsString(pkg->header, RPMTAG_NVRA);
+ rpmlog(terminate ? RPMLOG_ERR : RPMLOG_WARNING,
+ _(msg.c_str()), nvr, bins.c_str());
+ free(nvr);
+
+ return (terminate ? RPMRC_FAIL : RPMRC_OK);
Must've been some leftover from previous refactorings :smile:
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4060#discussion_r2592714346
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/4060/review/3544793915 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20251205/10c12d3d/attachment-0001.htm>
More information about the Rpm-maint
mailing list