'sudo port upgrade vim' fails
Timothy Goins
ohce86 at kitcarson.net
Fri Dec 12 11:25:48 PST 2008
I am in the process of 'upgrading' my outdated ports. When I got to
'vim' I discovered that 44 patches needed to be applied (7.2.021 to
7.2.065). However, when I ran 'sudo port upgrade vim' it spat out the
following:
--->Building vim
Error: Target org.macports.build returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_editors_vim/work/vim72" && make all "
returned error 2
The 'vim72' directory is in the correct place and is populated.
The command 'which gcc-4.0' returns '/usr/bin/gcc-4.0' as expected.
Prior to stubbing my toe on 'vim', I successfully upgraded half a
dozen ports. I am guessing this is a catch-all dependence issue;
however, the only ports left to be upgraded are 'xorg...' ports.
What's crashing this install? Thanks for any help.
Here is a snippet of what follows the error message:
---> .................
---> Attempting to fetch 7.2.065 from http://distfiles.macports.org/vim72
---> Verifying checksum(s) for vim
---> Extracting vim
---> Applying patches to vim
---> Configuring vim
---> Building vim
Error: Target org.macports.build returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_editors_vim/work/vim72" && make all "
returned error 2
Command output: /usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -I/
opt/local/include -DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/
FlatCarbon -O -D_FORTIFY_SOURCE=1 -o objects/quickfix.o
quickfix.c
/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -I/opt/local/include
-DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -O -
D_FORTIFY_SOURCE=1 -o objects/regexp.o regexp.c
/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -I/opt/local/include
-DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -O -
D_FORTIFY_SOURCE=1 -o objects/screen.o screen.c
/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -I/opt/local/include
-DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -O -
D_FORTIFY_SOURCE=1 -o objects/search.o search.c
/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -I/opt/local/include
-DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -O -
D_FORTIFY_SOURCE=1 -o objects/spell.o spell.c
/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -I/opt/local/include
-DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -O -
D_FORTIFY_SOURCE=1 -o objects/syntax.o syntax.c
/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -I/opt/local/include
-DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -O -
D_FORTIFY_SOURCE=1 -o objects/tag.o tag.c
/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -I/opt/local/include
-DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -O -
D_FORTIFY_SOURCE=1 -o objects/term.o term.c
/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -I/opt/local/include
-DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -O -
D_FORTIFY_SOURCE=1 -o objects/ui.o ui.c
/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -I/opt/local/include
-DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -O -
D_FORTIFY_SOURCE=1 -o objects/undo.o undo.c
/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -I/opt/local/include
-DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -O -
D_FORTIFY_SOURCE=1 -o objects/window.o window.c
/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -I/opt/local/include
-DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -O -
D_FORTIFY_SOURCE=1 -o objects/os_macosx.o os_macosx.c
/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -I/opt/local/include
-DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -O -
D_FORTIFY_SOURCE=1 -o objects/os_mac_conv.o os_mac_conv.c
/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -I/opt/local/include
-DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -O -
D_FORTIFY_SOURCE=1 -o objects/netbeans.o netbeans.c
/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -I/opt/local/include
-DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -O -
D_FORTIFY_SOURCE=1 version.c -o objects/version.o
/usr/bin/gcc-4.0 -L/opt/local/lib -L/usr/local/lib -o vim
objects/buffer.o objects/charset.o objects/diff.o objects/digraph.o
objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o
objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/
fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/
hashtab.o objects/if_cscope.o objects/if_xcmdsrv.o objects/main.o
objects/mark.o objects/memfile.o objects/memline.o objects/menu.o
objects/message.o objects/misc1.o objects/misc2.o objects/move.o
objects/mbyte.o objects/normal.o objects/ops.o objects/option.o
objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/
quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/
spell.o objects/syntax.o objects/tag.o objects/term.o objects/ui.o
objects/undo.o objects/window.o objects/os_macosx.o objects/
os_mac_conv.o objects/netbeans.o objects/version.o -lm -
lncurses -liconv -framework Carbon
Undefined symbols:
"__Xsetlocale", referenced from:
_get_locale_val in ex_cmds2.o
_ex_language in ex_cmds2.o
_ex_language in ex_cmds2.o
_ex_language in ex_cmds2.o
_main in main.o
_main in main.o
_enc_locale in mbyte.o
_mac_lang_init in os_mac_conv.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [vim] Error 1
make: *** [all] Error 2
More information about the macports-users
mailing list