Bug 1031108

Summary: Add armv6hl to arm arch macro in /usr/lib/rpm/macros
Product: [Fedora] Fedora Reporter: Jason Montleon <jmontleo>
Component: rpmAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: ffesti, jmontleo, jzeleny, novyjindrich, packaging-team-maint, pknirsch, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-30 12:45:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jason Montleon 2013-11-15 15:57:25 UTC
Description of problem:
/usr/lib/rpm/macros does not include armv6hl in the list of arm architectures. This leads to having to edit several rpms and doing lots of small edits when building for this architecture.

Version-Release number of selected component (if applicable):
rpm-4.11.1-3.fc19.x86_64

How reproducible:
Always, for affected packages.

Steps to Reproduce:
1. Download ocaml source
2. Submit scratch build to koji.pidora.ca

Actual results:
BuildError: No matching arches were found

Expected results:
Package builds

Additional info:
By adding armv6hl anywhere %{arm} is used the package builds.

This is true for gcc and others where %{arm} is used.

Comment 1 Panu Matilainen 2014-01-15 10:11:11 UTC
Mmh, armv6hl? There's code to detect such an thing in rpm but *everything* else is missing for that architecture, including optflags, arch compatibility mapping etc in rpmrc. And yes its not in %arm macro either.

If that arm-variant needs to be supported then somebody from the "arm camp" needs to supply appropriate optflags etc for it, I'm not going to try and guess and get inevitably get it wrong...

Comment 2 Panu Matilainen 2014-05-07 10:06:43 UTC
Setting needinfo, see comment #1.