Bug 20094 - --buildarch no longer valid
--buildarch no longer valid
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i686 Linux
medium Severity high
: ---
: ---
Assigned To: Jeff Johnson
Depends On:
  Show dependency treegraph
Reported: 2000-10-31 08:04 EST by Bill Stephens
Modified: 2007-04-18 12:29 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-10-31 08:04:08 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Bill Stephens 2000-10-31 08:04:06 EST
The man page, and documentation show that rpm -ba --buildarch i686 should
work, however buildarch always comes back with --buildarch  Unknown
option.  After doing an RPM  --help, --buildarch is no longer listed. 
Which is wrong the man page or RPM?  I can't buid an i686 kernel to fix a
bug in the 2.2.16 kernel  without this option, unless there is some other


Bill Stephens
Comment 1 Jeff Johnson 2000-11-02 09:43:46 EST
The option --buildarch has been replaced. Use "--target=i686" instead (also
fixed in man page).
Comment 2 Aleksander Adamowski 2004-10-06 04:52:10 EDT
The book Max-RPM on http://www.rpm.org still lists the old --buildarch
option to rpmbuild.

Why not mark the old option deprecated in the documentation, but make
it still work in some verions of rpm through e.g. 3 years?

I've still hit this on RHEL 3, because all the Googlable documentation
on the web still lists the --buildarch option.

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