Opened 12 years ago

Closed 12 years ago

#19737 closed defect (duplicate)

happy: uses libffi without declaring dependency

Reported by: ryandesign (Ryan Schmidt) Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: happy

Description

$ port installed happy libffi
The following ports are currently installed:
  happy @1.18.2_0 (active)
$ happy
dyld: Library not loaded: /mp/lib/libffi.5.dylib
  Referenced from: /mp/bin/happy
  Reason: image not found
Trace/BPT trap

Apparently I had libffi installed at the time that I installed happy, and I later uninstalled libffi.

happy should declare a dependency on libffi if it requires it. Alternately, if such a dependency is not desired, happy must not use libffi, even if it is installed.

It's possible this is an extension of #19736 and that once that is resolved, this will also resolve itself.

Change History (2)

comment:1 Changed 12 years ago by gwright@…

Status: newassigned

Happy should not depend on libffi. (It doesn't on my system, and it installs correctly without libffi being installed.) Looks like a cabal problem, in which an unnecessary library is being linked in. I'll look into it. It does look like a dup of #19736.

comment:2 Changed 12 years ago by gwright@…

Resolution: duplicate
Status: assignedclosed

This is the same issue as #19736. Closing as duplicate.

Note: See TracTickets for help on using tickets.