Bug 68640 - --buildarch: unknown option
Summary: --buildarch: unknown option
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 7.3
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-07-11 23:22 UTC by John Reiser
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-07-11 23:22:55 UTC
Embargoed:


Attachments (Terms of Use)

Description John Reiser 2002-07-11 23:22:51 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

Description of problem:
rpm-4.0.4-7.18 does not understand "--buildarch i686", despite
being documented in
RH-DOCS/maximum-rpm-1.0/html/s1-rpm-commands-build-mode.html
and ch-rpm-b-command.html .

How can I set something so that "%ifarch i686" is true?

Version-Release number of selected component (if applicable):
rpm-4.0.4-7.18

How reproducible:
Always

Steps to Reproduce:
1.rpm -ba --buildarch i686 glibc-2.2.5-34.spec
2.
3.
	

Actual Results:  $ rpm -ba --buildarch i686 glibc-2.2.5-34.spec
--buildarch: unknown option
$ 


Expected Results:  <<build with %arch i686, in particular for linux2.4>>

Additional info:

"--target i686" sets "-march=i686" but does _not_ enable "%ifarch i686";
the directory build-i686-linux2.4 never gets made.

Comment 1 Jeff Johnson 2002-07-11 23:25:38 UTC
You want "--target i686", not "--buildarch i686".


Note You need to log in before you can comment on or make changes to this bug.