Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 78093 - kernel build from src rpm doesn't build to correct platform
kernel build from src rpm doesn't build to correct platform
Product: Red Hat Linux
Classification: Retired
Component: rpm-build (Show other bugs)
athlon Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2002-11-18 18:40 EST by Joseph Shraibman
Modified: 2007-04-18 12:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-11-22 12:33:52 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 Joseph Shraibman 2002-11-18 18:40:06 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

Description of problem:
Doing rpm --rebuild kernel-2.4.18-18.7.x.src.rpm on i686 and athlon machines
builds kenel packages for i386, not i686 or athlon. The build process should
automatically detect the correct architecture.

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

How reproducible:
Didn't try

Steps to Reproduce:
1.rpm --rebuild kernel-2.4.18-18.7.x.src.rpm

Additional info:

What exactly is the format for the --target option? The man page for rpm says
arch-vendor-os but what do I use for vendor and os?
Comment 1 Arjan van de Ven 2002-11-19 03:55:10 EST
rpmbuild --rebuild --target i686 kernel-2.4.18-18.7.x.src.rpm
Comment 2 Jeff Johnson 2002-11-22 09:58:46 EST
vendor and os can be (and usually are)
skipped for linux.
Comment 3 Joseph Shraibman 2002-11-22 12:33:45 EST
1) Just because there is a workaround doesn't mean this isn't a bug
2) If vendor and os aren't required say so in the documentation. Users like me
have no way of knowing that vender and os aren't required.

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