Bug 485269

Summary: source rpm won't get build in platform not listed in BuildArch
Product: [Fedora] Fedora Reporter: Glauber Costa <gcosta>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: ffesti, jnovy, mikeb, pmatilai
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: 2009-02-12 18:02:48 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 Glauber Costa 2009-02-12 17:46:57 UTC
Description of problem:

I have a spec file here using the BuildArch directive as follows:

BuildArch: %{ix86}

when I try to create a srpm in another platform, say, x86_64, it fails with the following message:

 error: No compatible architectures found for build

I believe creation of the source rpm itself should be possible to be made
anywhere, regardless of what's found in BuildArch.

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


How reproducible:
always

Steps to Reproduce:
1. create a spec file using BuildArch: %{ix86}
2. rpmbuild -bs file.spec in anything other than i386
3. whatch the error message
  
Actual results:
error.

Expected results:
success.

Additional info:

Comment 1 Jindrich Novy 2009-02-12 18:02:48 UTC
This one is already fixed upstream.

We may want to backport it to 4.6.0 final.

*** This bug has been marked as a duplicate of bug 442105 ***