Opened 3 years ago

Closed 3 years ago

#63593 closed defect (fixed)

vim @8.2.2681+huge: Removing libcanberra breaks vim

Reported by: evanmiller (Evan Miller) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager)
Port: vim

Description (last modified by evanmiller (Evan Miller))

Per https://github.com/vim/vim/issues/4531, libcanberra is linked into vim during a +huge build. However, this is not indicated in the Portfile, so removing libcanberra results in a broken vim.

$ /opt/local/bin/vim
dyld: Library not loaded: /opt/local/lib/libcanberra.0.dylib
  Referenced from: /opt/local/bin/vim
  Reason: image not found

I suggest passing in --disable-canberra or else declaring it as an explicit dependency.

Change History (4)

comment:1 Changed 3 years ago by evanmiller (Evan Miller)

Description: modified (diff)

comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to raimue
Port: vim added
Status: newassigned

Agreed. If you wanted to submit a pull request for that change, you could.

comment:3 Changed 3 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:4 Changed 3 years ago by evanmiller (Evan Miller)

Resolution: fixed
Status: assignedclosed

In 065cf6f7775f95f783f9fffe4228c4be67456b09/macports-ports (master):

vim: disable canberra

Closes: #63593

Note: See TracTickets for help on using tickets.