[Rpm-maint] [rpm-software-management/rpm] Unable to quiet rpmbuild (Issue #2178)
Michael Newton
notifications at github.com
Fri Sep 9 20:45:41 UTC 2022
The [default `%___build_pre` macro](https://github.com/rpm-software-management/rpm/blob/master/macros.in#L711) uses the value of the built-in `%verbose` macro [to see if `set -x` should be included](https://github.com/rpm-software-management/rpm/blob/master/macros.in#L735) in the build script. However according to [code comments](https://github.com/rpm-software-management/rpm/blob/master/rpmbuild.c#L628), "rpmbuild runs in verbose mode by default." The end result of this is that `rpmbuild` is always _excessively_ noisy on stderr, with the only remedy being to completely silence it using `--quiet` or override the (very long) value of the `%___build_pre` macro.
Assuming that a) I'm not misunderstanding something (AFAIK there's no way to override the value of this macro) and b) that there's no desire to change the default behaviour, the solution seems to be the addition of a `--no-verbose` option to `rpmbuild`.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2178
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2178 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220909/d5ccbc3a/attachment-0001.html>
More information about the Rpm-maint
mailing list