Bug 97682

Summary: RPM returns incorrect exit code
Product: Red Hat Enterprise Linux 2.1 Reporter: moylo <john>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED DEFERRED QA Contact: Mike McLean <mikem>
Severity: low Docs Contact:
Priority: medium    
Version: 2.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-08-21 15:41:15 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 moylo 2003-06-19 10:24:33 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030516
Mozilla Firebird/0.6

Description of problem:
I am compiling src rpms with the following:


rpm -ba --target i686 apache.spec

exit status '$?' > 1 for a succesful build. This has been fixed in later
versions of RPM but apparently not for the updated rpm versions available for AS2.1

Version-Release number of selected component (if applicable):
rpm-4.0.4-7x.20 

How reproducible:
Always

Steps to Reproduce:
1.rpm -ba --target i686 apache.spec
2.echo $?

    

Actual Results:  although the build was succesful, $? does not equal 0

Expected Results:  if build is succesful, then $? should equal 0

Additional info:

Comment 1 Jeff Johnson 2003-08-21 15:41:15 UTC
Yes, not fixed in AS2.1. Deferred until somewhen.