Bug 2630

Summary: rpm-3.0 on HP-UX 10.20 has problems with command line parsing
Product: [Retired] Red Hat Linux Reporter: benedict
Component: rpmAssignee: Jay Turner <jturner>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: srevivo
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: 1999-05-14 18:54:32 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 benedict 1999-05-07 09:40:39 UTC
I installed rpm-3.0 as compiled out of the box for
HPUX-10.20

The binary seems to have problems somewhere in parsing of
command line arguments, as seen from the following command
examples:

	# rpm
	rpm: unexpected query source

	# rpm --version
	RPM version 3.0
	rpm: unexpected query source
	# rpm --rcfile=/etc/rpmrc --version
	RPM version 3.0
	#

Comment 1 Jeff Johnson 1999-05-13 17:15:59 UTC
Command line parsing in rpm is done with popt. There appears to
be a problem there. Can you supply the HP-UX equivalent of
	strace rpm
so I can begin to guess what's broke?

Comment 2 benedict 1999-05-14 08:41:59 UTC
The problem disappears when rpm is built without optimization.
Seems to be due to a compiler problem, not rpm source.

Comment 3 Jeff Johnson 1999-05-14 18:54:59 UTC
Please reopen this bug if you have a fix.