Bug 485269 - source rpm won't get build in platform not listed in BuildArch
Summary: source rpm won't get build in platform not listed in BuildArch
Keywords:
Status: CLOSED DUPLICATE of bug 442105
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-12 17:46 UTC by Glauber Costa
Modified: 2009-02-12 18:02 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-02-12 18:02:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


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