Opened 9 years ago

Closed 9 years ago

#48678 closed defect (worksforme)

vim: build fails after ncurses update - might be missing readline dependency

Reported by: vikingjs@… Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: vim

Description

Building vim failed, with the following excerpt from the log:

:info:configure config.status: creating Makefile
:info:configure dyld: Library not loaded: /opt/local/lib/libncurses.5.dylib
:info:configure   Referenced from: /opt/local/lib/libreadline.6.dylib
:info:configure   Reason: no suitable image found.  Did find:
:info:configure         /usr/lib/libncurses.5.dylib: no matching architecture in universal wrapper

After explicitly upgrading readline, vim installed successfully

Change History (4)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to raimue@…

Please attach the main.log and config.log files so that we can see whether vim itself is using readline, or whether it's maybe another port.

comment:2 in reply to:  1 Changed 9 years ago by vikingjs@…

Replying to ryandesign@…: Since I had a successful build after installing readline I don't have the log file anymore (at least as far as I know). I apologize for not attaching it when I first had the problem, but I went straight to fixing the issue for myself before I reported it.

However I do see now that I misreported before, although I was building vim the log file was:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libedit/libedit/main.log

I assume that means it was building libedit when things went wrong. That file is no longer there after the successful build. If there's anywhere I can dig the data up now, I'll be happy to provide it.

Please attach the main.log and config.log files so that we can see whether vim itself is using readline, or whether it's maybe another port.

comment:3 Changed 9 years ago by raimue (Rainer Müller)

vim does not link against readline. As this error occurred during configure, it is likely one of the tools installed via MacPorts failed: grep, sed, awk, ... I am unable to tell from this output which one it was, only config.log could have answered this.

comment:4 Changed 9 years ago by raimue (Rainer Müller)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.