Bug 188741 - devel/rubygem-ffi can't load libc on FreeBSD 10
Summary: devel/rubygem-ffi can't load libc on FreeBSD 10
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ruby (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-18 01:10 UTC by Alan Somers
Modified: 2014-08-23 14:12 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (717 bytes, patch)
2014-04-18 01:10 UTC, Alan Somers
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Somers freebsd_committer 2014-04-18 01:10:00 UTC
On FreeBSD 10.0, but not earlier versions, rubygem-ffi cannot load libc.so.  This bug is known upstream but not yet fixed.  The easiest way to demonstrate it is to cd to the ports directory and do "cd work/ffi-1.9.3; rake test".

Full details of the bug are at this link:
https://github.com/ffi/ffi/issues/308

Fix: A patch (attached) is at this link:
https://github.com/Carpetsmoker/ffi/commit/ac63e07f76ed65e4ad8865ef1804ce6e7a333d19#diff-ff27654be928731017894d9ade3611a9

Patch attached with submission follows:
How-To-Repeat: "cd work/ffi-1.9.3; rake test"
Comment 1 Edwin Groothuis freebsd_committer 2014-04-18 01:10:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ruby

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 commit-hook freebsd_committer 2014-08-23 14:08:54 UTC
A commit references this bug:

Author: swills
Date: Sat Aug 23 14:08:11 UTC 2014
New revision: 365736
URL: http://svnweb.freebsd.org/changeset/ports/365736

Log:
  devel/rubygem-ffi: Fix loading libc on 10.x and newer

  PR:		188741
  Submitted by:	asomers
  Obtained from:	https://github.com/Carpetsmoker/ffi/commit/ac63e07f76ed65e4ad8865ef1804ce6e7a333d19

Changes:
  head/devel/rubygem-ffi/Makefile
  head/devel/rubygem-ffi/files/
  head/devel/rubygem-ffi/files/patch-lib__ffi__library.rb
Comment 3 Steve Wills freebsd_committer 2014-08-23 14:12:07 UTC
Fix committed, thanks for the report!