New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #26299 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

ruby19 opportunistically links with libffi

Reported by: macports@… Owned by: kimuraw@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: ruby19

Description

Ruby 1.9.2's bundled extension fiddle.bundle is linked to libffi. Please consider making ruby19 port have dependency on libffi.

When libffi port *is not* installed:

$ otool -L /opt/local/lib/ruby1.9/1.9.1/x86_64-darwin10.4.0/fiddle.bundle
/opt/local/lib/ruby1.9/1.9.1/x86_64-darwin10.4.0/fiddle.bundle:
        /opt/local/lib/libruby.1.9.1.dylib (compatibility version 1.9.1, current version 1.9.1)
        /usr/lib/libffi.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
        /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0)

When libffi port *is* installed:

$ otool -L /opt/local/lib/ruby1.9/1.9.1/x86_64-darwin10.4.0/fiddle.bundle
/opt/local/lib/ruby1.9/1.9.1/x86_64-darwin10.4.0/fiddle.bundle:
	/opt/local/lib/libruby.1.9.1.dylib (compatibility version 1.9.1, current version 1.9.1)
	/opt/local/lib/libffi.5.dylib (compatibility version 6.0.0, current version 6.10.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
	/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0)

Change History

comment:1 Changed 3 years ago by ryandesign@…

  • Priority changed from Low to Normal
  • Cc kimuraw@… removed
  • Type changed from enhancement to defect
  • Owner changed from macports-tickets@… to kimuraw@…

Please add the dependency on libffi, or make ruby19 not link with MacPorts libffi.

comment:2 Changed 3 years ago by ryandesign@…

  • Summary changed from ruby19 can depends_lib:libffi to ruby19 opportunistically links with libffi

comment:3 Changed 3 years ago by kimuraw@…

  • Status changed from new to assigned

comment:4 Changed 3 years ago by kimuraw@…

  • Status changed from assigned to closed
  • Resolution set to fixed

I added port:libffi to depends_lib at r71907. thanks!

Note: See TracTickets for help on using tickets.