Bug 1290145

Summary: epel7 rubygem-ffi FTBFS on aarch64
Product: [Fedora] Fedora EPEL Reporter: Yaakov Selkowitz <yselkowi>
Component: rubygem-ffiAssignee: Bryan Kearney <bkearney>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: bkearney, dcleal, vondruch, yselkowi
Target Milestone: ---   
Target Release: ---   
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: rubygem-ffi-1.9.10-2.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-07 04:20:00 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1285484    
Attachments:
Description Flags
Patch for rawhide none

Description Yaakov Selkowitz 2015-12-09 18:14:00 UTC
rubygem-ffi has been fixed for aarch64 since F22 but epel7 was branched earlier.  Please merge from at least f22 so that this can be built on epel7 for aarch64.

Comment 1 Yaakov Selkowitz 2015-12-10 19:52:56 UTC
(In reply to Yaakov Selkowitz from comment #0)
> rubygem-ffi has been fixed for aarch64 since F22 but epel7 was branched
> earlier.  Please merge from at least f22 so that this can be built on epel7
> for aarch64.

Actually, it's not quite so simple.  RHEL 7 rubygems (2.0.14) expands s.files without sorting, which is different from Fedora's (2.4.5+) which sorts them alphabetically.  I'm not sure if that is a bug per se in ruby(gems) or just a change in behaviour between versions.  Assuming the latter, we'll need a separate patch for epel7.

Comment 2 Yaakov Selkowitz 2015-12-10 20:51:39 UTC
Created attachment 1104491 [details]
Patch for rawhide

After further investigation, it looks like it would be better to rebase 
to ffi-1.9.10 after restoring EPEL compatibility in the spec file.  The 
attached patch for rawhide can then be merged into epel7, and then a 
build and update will fix this.  I have already verified that rubygem-aruba
and rubygem-openscap rebuild and pass their testsuites with this version.

Comment 3 Yaakov Selkowitz 2016-04-28 06:18:21 UTC
Bryan,

Any objections to rebasing EPEL7 rubygem-ffi for this?

Comment 4 Fedora Update System 2016-05-17 20:28:24 UTC
rubygem-ffi-1.9.10-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-4c48bc7b08

Comment 5 Fedora Update System 2016-05-21 06:23:01 UTC
rubygem-ffi-1.9.10-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-4c48bc7b08

Comment 6 Fedora Update System 2016-06-07 04:19:58 UTC
rubygem-ffi-1.9.10-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.