Bug 124300

Summary: rpmbuild --quiet does not affect output
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-25 12:16:17 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Orion Poplawski 2004-05-25 11:02:52 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

Description of problem:
The man page for rpmbuild suggests that --quiet will suppress all
output except for errors.  It does nothing.  This option would be very
useful for use in automated builds where you want to capture true
error output, but not the "set -x" debug output from the build scripts.

Version-Release number of selected component (if applicable):
rpm-build-4.2.1-0.30

How reproducible:
Always

Steps to Reproduce:
1. rpmbuild --quiet <specfile>
2.
3.
    

Actual Results:  $ rpmbuild --quiet -bb yum.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1472
+ umask 022
+ cd /export/cynosure/orion/redhat/yum-2.0.7
+ LANG=C
+ export LANG
+ unset DISPLAY
...

Expected Results:  $ rpmbuild --quiet -bb yum.spec
$

Additional info:
Comment 1 Anders F Björklund 2004-09-23 03:09:19 EDT
Could this be related to the liberal amount of :

rpmSetVerbosity(RPMMESS_NORMAL);	/* XXX silly use by showrc */

shouldn't it at least restore the previous value ?
Comment 2 Red Hat Bugzilla 2007-08-21 01:18:21 EDT
User pnasrat@redhat.com's account has been closed
Comment 3 Panu Matilainen 2007-08-22 02:34:56 EDT
Reassigning to owner after bugzilla made a mess, sorry about the noise...
Comment 4 Panu Matilainen 2007-11-13 09:21:46 EST
FWIW this has (finally) been fixed upstream so F8 and later will inherit it
sooner or later, FC5 is long since EOL'd so updating version.
Comment 5 Panu Matilainen 2008-01-25 12:16:17 EST
Fixed in 4.4.2.3-0.1.rc1