upgrading VIM errors

Timothy Goins ohce86 at kitcarson.net
Tue Jan 20 09:38:42 PST 2009


When I attempt to *upgrade outdated* openssl and vim fail; all other  
ports upgrade.  Here is the error stream for the vim failure:

tim at cotopaxi:~$ sudo port upgrade 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: Starting make in the src directory.
If there are problems, cd to the src directory and run make there
cd src && make all
/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

Error: Unable to upgrade port: 1

On Jan 20, 2009, at 6:48 AM, Mark Hattam wrote:

>
> On 19 Jan 2009, at 00:20, Bryan Blackburn wrote:
>
>> On Mon, Jan 19, 2009 at 12:06:38AM +0000, Mark Hattam said:
>> [...]
>>> iMac:~ mark$ sudo port upgrade outdated
>>> --->  Fetching vim
>>> --->  Verifying checksum(s) for vim
>>> --->  Extracting vim
>>> --->  Applying patches to vim
>>> --->  Configuring vim
>>> --->  Building vim
>> [...]
>>> Undefined symbols:
>>> "__Xsetlocale", referenced from:
>>
>> Looks like #17606:
>>
>> <http://trac.macports.org/ticket/17606>
>>
>> Bryan
>>
>> [...]
>>>
>>> Mark
>
>
> Selfupdate'd just now ... lunchtime 20 Jan
>
> The following installed ports are outdated:
> curl                           7.19.2_0 < 7.19.3_0
> vim                            7.2.077_0 < 7.2.077_1
>
> and
>
> iMac:~ mark$ sudo port upgrade outdated
>
> [curl installed OK, then ...]
>
> Portfile changed since last build; discarding previous state.
> --->  Fetching vim
> --->  Verifying checksum(s) for vim
> --->  Extracting vim
> --->  Applying patches to vim
> --->  Configuring vim
> --->  Building vim
> --->  Staging vim into destroot
> --->  Deactivating vim @7.2.077_0
> --->  Installing vim @7.2.077_1
> --->  Activating vim @7.2.077_1
> --->  Cleaning vim
>
> So the Portfile's changed but the same _1 version ... and it worked.
>
> Mark
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090120/12123043/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2116 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090120/12123043/attachment.bin>


More information about the macports-users mailing list