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 bugzilla.redhat.com.
Bug 990519 - RPM not translating 'armhfp' to 'armv7hl' causing build failures in mingw packages
Summary: RPM not translating 'armhfp' to 'armv7hl' causing build failures in mingw pac...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: koji
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
 
Reported: 2013-07-31 11:23 UTC by Daniel Berrangé
Modified: 2013-08-09 17:01 UTC (History)
9 users (show)

Fixed In Version: koji-1.8.0-2.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-09 17:01:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Daniel Berrangé 2013-07-31 11:23:44 UTC
Description of problem:
If any mingw* builds are unlucky enough to get scheduled on ARM builders in Koji, configure typically fails with the following error

  checking build system type... Invalid configuration `armhfp-redhat-linux-gnu': machine `armhfp-redhat' not recognized

eg  this mingw-libvirt build failure http://koji.fedoraproject.org/koji/taskinfo?taskID=5680000

In the thread here:

  https://lists.fedoraproject.org/pipermail/devel/2013-July/187156.html

It was suggested that the problem is rpm is not translating 'armhfp' to 'armv7hl'. It looks like redhat-rpm-config is responsible for setting up the default arch mappings in the rpmrc file. If i'm wrong feel free to re-assign the component or close as appropriate

Version-Release number of selected component (if applicable):
redhat-rpm-config-9.1.0-51.fc20

How reproducible:
Always

Steps to Reproduce:
1. Run a build of 'mingw-libvirt' in Koji, on an ARM builder host
2.
3.

Actual results:
  checking build system type... Invalid configuration `armhfp-redhat-linux-gnu': machine `armhfp-redhat' not recognized

Expected results:
Build succeeeds

Additional info:

Comment 1 Dennis Gilmore 2013-07-31 13:01:36 UTC
koji uses yums basearch for noarch builds. armhfp is not a valid arch for autoconf. arm and armv* are  we should have koji use arm instead of armhfp

Comment 2 Fedora Update System 2013-07-31 15:49:08 UTC
koji-1.8.0-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/koji-1.8.0-2.fc19

Comment 3 Fedora Update System 2013-08-02 03:26:45 UTC
Package koji-1.8.0-2.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing koji-1.8.0-2.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-13948/koji-1.8.0-2.fc19
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-08-09 17:01:55 UTC
koji-1.8.0-2.fc19 has been pushed to the Fedora 19 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.