Hey Amadeus, it's not Vim issue. You should check out MacVim repository first. The URL is https://github.com/macvim-dev/macvim. And the issue of MacVim was already fixed.
Kazuki On Mon, Nov 23, 2015 at 4:16 PM, Amadeus Demarzi <[email protected]> wrote: > Unfortunately after this patch, I am unable to compile MacVim. I figured this > out through git bisect. > > The last few lines from failed make are: > > /System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h:58:1: > note: 'propertyListFromData:mutabilityOption:format:errorDescription:' has > been explicitly marked deprecated here > + (nullable id)propertyListFromData:(NSData *)data > mutabilityOption:(NSPropertyListMutabilityOptions)opt format:(nullable > NSPropertyListFormat *)format errorDescription:(out __strong NSString * > __nullable * __nullable)errorString NS_DEPRECATED(10_0, 10_10, 2_0, 8_0, "Use > propertyListWithData:options:format:error: instead."); > ^ > 3 warnings generated. > gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall > -Wno-unknown-pragmas -pipe -DMACOS_X_UNIX -g -O2 -U_FORTIFY_SOURCE > -D_FORTIFY_SOURCE=1 -I/usr/local/Cellar/lua/5.1.5/include -o > objects/if_lua.o if_lua.c > /usr/bin/perl -e 'unless ( $] >= 5.005 ) { for (qw(na defgv errgv)) { print > "#define PL_$_ $_\n" }}' > auto/if_perl.c > gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall > -Wno-unknown-pragmas -pipe -DMACOS_X_UNIX -g -O2 -U_FORTIFY_SOURCE > -D_FORTIFY_SOURCE=1 -g -DPERL_DARWIN -fno-strict-aliasing > -fstack-protector > -I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -o > objects/if_perl.o auto/if_perl.c > gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall > -Wno-unknown-pragmas -pipe -DMACOS_X_UNIX -g -O2 -U_FORTIFY_SOURCE > -D_FORTIFY_SOURCE=1 -g -DPERL_DARWIN -fno-strict-aliasing > -fstack-protector > -I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -o > objects/if_perlsfio.o if_perlsfio.c > gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall > -Wno-unknown-pragmas -pipe -DMACOS_X_UNIX -g -O2 -U_FORTIFY_SOURCE > -D_FORTIFY_SOURCE=1 > -I/usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7/include/python2.7 > > -DPYTHON_HOME='"/usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7"' > -fPIE -o objects/if_python.o if_python.c > gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall > -Wno-unknown-pragmas -pipe -DMACOS_X_UNIX -g -O2 -U_FORTIFY_SOURCE > -D_FORTIFY_SOURCE=1 > -I/Users/amadeus/.rvm/rubies/ruby-1.9.3-p385/include/ruby-1.9.1 > -I/Users/amadeus/.rvm/rubies/ruby-1.9.3-p385/include/ruby-1.9.1/x86_64-darwin12.2.1 > -DRUBY_VERSION=19 -o objects/if_ruby.o if_ruby.c > gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall > -Wno-unknown-pragmas -pipe -DMACOS_X_UNIX -g -O2 -U_FORTIFY_SOURCE > -D_FORTIFY_SOURCE=1 -o objects/os_macosx.o os_macosx.m > gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall > -Wno-unknown-pragmas -pipe -DMACOS_X_UNIX -g -O2 -U_FORTIFY_SOURCE > -D_FORTIFY_SOURCE=1 -o objects/os_mac_conv.o os_mac_conv.c > gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall > -Wno-unknown-pragmas -pipe -DMACOS_X_UNIX -g -O2 -U_FORTIFY_SOURCE > -D_FORTIFY_SOURCE=1 -o objects/netbeans.o netbeans.c > gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall > -Wno-unknown-pragmas -pipe -DMACOS_X_UNIX -g -O2 -U_FORTIFY_SOURCE > -D_FORTIFY_SOURCE=1 -o objects/main.o main.c > gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall > -Wno-unknown-pragmas -pipe -DMACOS_X_UNIX -g -O2 -U_FORTIFY_SOURCE > -D_FORTIFY_SOURCE=1 -o objects/memfile.o memfile.c > gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall > -Wno-unknown-pragmas -pipe -DMACOS_X_UNIX -g -O2 -U_FORTIFY_SOURCE > -D_FORTIFY_SOURCE=1 version.c -o objects/version.o > env LD_RUN_PATH=/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE > gcc -L. -L/usr/local/lib -L/Users/amadeus/.rvm/usr/lib -L. > -L/usr/local/lib -L/Users/amadeus/.rvm/usr/lib -L/usr/local/lib -o Vim > objects/buffer.o objects/blowfish.o objects/charset.o objects/crypt.o > objects/crypt_zip.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/mark.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/sha256.o > objects/spell.o objects/syntax.o objects/tag.o objects/term.o objects/ui.o > objects/undo.o objects/version.o objects/window.o objects/gui.o > objects/gui_beval.o objects/pty.o objects/gui_macvim.o objects/MMBackend.o > objects/MacVim.o objects/if_lua.o objects/if_perl.o objects/if_perlsfio.o > objects/if_python.o objects/if_ruby.o objects/os_macosx.o > objects/os_mac_conv.o objects/netbeans.o objects/main.o objects/memfile.o > -framework Cocoa -framework Carbon -lm -lncurses -liconv -framework > Cocoa -pagezero_size 10000 -image_base 100000000 > -L/usr/local/Cellar/lua/5.1.5/lib -lluajit-5.1 -fstack-protector > -L/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -lperl > -F/usr/local/Cellar/python/2.7.10/Frameworks -framework Python > -lruby-static -lpthread -ldl -lobjc > -L/Users/amadeus/.rvm/rubies/ruby-1.9.3-p385/lib > Undefined symbols for architecture x86_64: > "_server_waiting", referenced from: > _mch_inchar in os_unix.o > ld: symbol(s) not found for architecture x86_64 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > make[1]: *** [Vim] Error 1 > make: *** [first] Error 2 > > > > On Thursday, November 19, 2015 at 10:33:40 AM UTC-8, Bram Moolenaar wrote: >> Patch 7.4.927 >> Problem: Ruby crashes when there is a runtime error. >> Solution: Use ruby_options() instead of ruby_process_options(). (Damien) >> Files: src/if_ruby.c >> >> >> *** ../vim-7.4.926/src/if_ruby.c 2015-11-02 15:27:03.438325506 +0100 >> --- src/if_ruby.c 2015-11-19 19:32:10.991642881 +0100 >> *************** >> *** 280,286 **** >> # define rb_enc_str_new dll_rb_enc_str_new >> # define rb_sprintf dll_rb_sprintf >> # define rb_require dll_rb_require >> ! # define ruby_process_options dll_ruby_process_options >> # endif >> >> /* >> --- 280,286 ---- >> # define rb_enc_str_new dll_rb_enc_str_new >> # define rb_sprintf dll_rb_sprintf >> # define rb_require dll_rb_require >> ! # define ruby_options dll_ruby_options >> # endif >> >> /* >> *************** >> *** 384,390 **** >> static VALUE (*dll_rb_enc_str_new) (const char*, long, rb_encoding*); >> static VALUE (*dll_rb_sprintf) (const char*, ...); >> static VALUE (*dll_rb_require) (const char*); >> ! static void* (*ruby_process_options)(int, char**); >> # endif >> >> # if defined(USE_RGENGC) && USE_RGENGC >> --- 384,390 ---- >> static VALUE (*dll_rb_enc_str_new) (const char*, long, rb_encoding*); >> static VALUE (*dll_rb_sprintf) (const char*, ...); >> static VALUE (*dll_rb_require) (const char*); >> ! static void* (*ruby_options)(int, char**); >> # endif >> >> # if defined(USE_RGENGC) && USE_RGENGC >> *************** >> *** 565,571 **** >> {"rb_enc_str_new", (RUBY_PROC*)&dll_rb_enc_str_new}, >> {"rb_sprintf", (RUBY_PROC*)&dll_rb_sprintf}, >> {"rb_require", (RUBY_PROC*)&dll_rb_require}, >> ! {"ruby_process_options", (RUBY_PROC*)&dll_ruby_process_options}, >> # endif >> # if defined(RUBY19_OR_LATER) || defined(RUBY_INIT_STACK) >> # ifdef __ia64 >> --- 565,571 ---- >> {"rb_enc_str_new", (RUBY_PROC*)&dll_rb_enc_str_new}, >> {"rb_sprintf", (RUBY_PROC*)&dll_rb_sprintf}, >> {"rb_require", (RUBY_PROC*)&dll_rb_require}, >> ! {"ruby_options", (RUBY_PROC*)&dll_ruby_options}, >> # endif >> # if defined(RUBY19_OR_LATER) || defined(RUBY_INIT_STACK) >> # ifdef __ia64 >> *************** >> *** 817,823 **** >> { >> int dummy_argc = 2; >> char *dummy_argv[] = {"vim-ruby", "-e0"}; >> ! ruby_process_options(dummy_argc, dummy_argv); >> } >> ruby_script("vim-ruby"); >> #else >> --- 817,823 ---- >> { >> int dummy_argc = 2; >> char *dummy_argv[] = {"vim-ruby", "-e0"}; >> ! ruby_options(dummy_argc, dummy_argv); >> } >> ruby_script("vim-ruby"); >> #else >> *** ../vim-7.4.926/src/version.c 2015-11-19 19:00:01.768467013 +0100 >> --- src/version.c 2015-11-19 19:31:02.392387974 +0100 >> *************** >> *** 743,744 **** >> --- 743,746 ---- >> { /* Add new patch number below this line */ >> + /**/ >> + 927, >> /**/ >> >> -- >> hundred-and-one symptoms of being an internet addict: >> 116. You are living with your boyfriend who networks your respective >> computers so you can sit in separate rooms and email each other >> >> /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ >> /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ >> \\\ an exciting new programming language -- http://www.Zimbu.org /// >> \\\ help me help AIDS victims -- http://ICCF-Holland.org /// > > -- > -- > You received this message from the "vim_dev" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > > --- > You received this message because you are subscribed to the Google Groups > "vim_dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
