Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1140867 - ExcludeArch: arm applies to entire package, not just subpackage; breaks several deps for ARM
Summary: ExcludeArch: arm applies to entire package, not just subpackage; breaks sever...
Alias: None
Product: Fedora
Classification: Fedora
Component: avro
Version: 21
Hardware: arm
OS: Linux
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
Whiteboard: AcceptedBlocker
Depends On:
Blocks: F21AlphaBlocker
TreeView+ depends on / blocked
Reported: 2014-09-11 21:41 UTC by Adam Williamson
Modified: 2014-09-23 02:42 UTC (History)
7 users (show)

Fixed In Version: avro-1.7.5-9.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-09-23 02:42:03 UTC
Type: Bug

Attachments (Terms of Use)

Description Adam Williamson 2014-09-11 21:41:44 UTC
avro.spec has this chunk:

%package mapred
Summary:          Apache Avro Mapred API
Requires:         hadoop-client
Requires:         hadoop-mapreduce

# Hadoop is not available on ARM (yet)
ExcludeArch:      %{arm}

which is clearly meant to exclude just avro-mapred from the ARM arch. However, this doesn't work. ExcludeArch takes effect at the .src.rpm level, it cannot be applied to subpackages. The effect of the directive is that all avro packages are missing from the ARM tree. (You can verify this by just looking in ).

Various things have a dep on mvn(org.apache.avro:avro), which avro itself provides:


all of those have their dep chains broken for ARM by this issue, because avro is not available. This is affecting Fedora 21 Alpha - note in the various repoclosure issues caused by this.

Marking as an automatic AlphaBlocker: repoclosure issues are automatic blockers per , "Unresolved dependencies on the DVD image (failures of QA:Testcase_Mediakit_Repoclosure)"

This would break, for instance, trying to install the "Java Application Server" group on ARM.

Comment 1 Peter Robinson 2014-09-12 10:39:53 UTC
Yes, it's something I've been aware of for a while (breaks free-ipa server install) and I've been meaning to fix the hadoop build but not had enough round-tuits. I'll fix this package in the short term and then update it again once I've fixed hadoop.

Comment 2 Fedora Update System 2014-09-12 12:07:04 UTC
avro-1.7.5-9.fc21 has been submitted as an update for Fedora 21.

Comment 3 Fedora Update System 2014-09-12 17:47:32 UTC
Package avro-1.7.5-9.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing avro-1.7.5-9.fc21'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 4 Adam Williamson 2014-09-16 15:25:06 UTC
RC1 compose request report indicates no repoclosure issues:

therefore this is fixed.

Comment 5 Fedora Update System 2014-09-23 02:42:03 UTC
avro-1.7.5-9.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

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