Bug 68640 - --buildarch: unknown option
--buildarch: unknown option
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
7.3
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-07-11 19:22 EDT by John Reiser
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-07-11 19:22:55 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John Reiser 2002-07-11 19:22:51 EDT
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 19:25:38 EDT
You want "--target i686", not "--buildarch i686".

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