Bug 865436 - noarch: %__isa_name has empty body
Summary: noarch: %__isa_name has empty body
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Packaging Toolset Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-11 13:05 UTC by Mamoru TASAKA
Modified: 2012-10-30 09:03 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-30 09:03:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mamoru TASAKA 2012-10-11 13:05:49 UTC
Description of problem:
Looks like every rawhide/F18 noarch build has error messages currently like:

error: Macro %__isa_name has empty body
error: Macro %__isa_bits has empty body

F-17 build seems okay.
For example:

F-17 http://koji.fedoraproject.org/koji/buildinfo?buildID=359421
F-18 http://koji.fedoraproject.org/koji/buildinfo?buildID=359422
F-19 http://koji.fedoraproject.org/koji/buildinfo?buildID=359424


Version-Release number of selected component (if applicable):
rpm-4.10.1-2.fc19
rpm-4.10.1-1.fc18

How reproducible:
100%

Steps to Reproduce:
1. build noarch package on rawhide/F-18
2.
3.
  
Actual results:
The above error appears

Expected results:
No such error

Comment 1 Panu Matilainen 2012-10-11 13:40:59 UTC
It's likely to be some "3rd party" macro in the buildroot. The __isa_* macros are undefined on noarch on purpose, always have been.

Comment 2 Panu Matilainen 2012-10-11 14:08:38 UTC
Erm, nevermind the above. The isa macros shouldn't exist at all in the noarch platform macro file, but in rpm >= 4.10 they are there, just empty:

%__isa_name
%__isa_bits
%__isa                  %{__isa_name}-%{__isa_bits}

Will fix...

Comment 3 Fedora Update System 2012-10-11 16:04:14 UTC
rpm-4.10.1-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/FEDORA-2012-15818/rpm-4.10.1-3.fc18

Comment 4 Fedora Update System 2012-10-12 17:57:13 UTC
Package rpm-4.10.1-3.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing rpm-4.10.1-3.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-15818/rpm-4.10.1-3.fc18
then log in and leave karma (feedback).


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