Opened 11 years ago

Closed 9 years ago

#40897 closed defect (duplicate)

MacVim @7.4.snapshot71 +ruby18: Undefined symbols _rb_float_new_in_heap and _rb_str_new_cstr

Reported by: gthb (Gunnlaugur Thor Briem) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: dmalinovsky@…, whcordis@…, anddam (Andrea D'Amore), jgosmann (Jan Gosmann), Russell-Jones-OxPhys (Russell Jones)
Port: MacVim

Description

This is while rebuilding MacPorts after Mavericks upgrade (in case that's relevant). MacVim fails to build, with this salient bit in its main.log:

info:build   /usr/bin/clang   -L. -L/opt/local/lib -Wl,-headerpad_max_install_names  -L. -L/opt/local/lib -Wl,-headerpad_max_install_names  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/usr/local/lib  -o Vim object>
info:build Undefined symbols for architecture x86_64:
info:build   "_rb_float_new_in_heap", referenced from:
info:build       _vim_to_ruby in if_ruby.o
info:build   "_rb_str_new_cstr", referenced from:
info:build       _ex_rubydo in if_ruby.o
info:build       _ex_rubyfile in if_ruby.o
info:build       _buffer_name in if_ruby.o
info:build       _get_buffer_line in if_ruby.o
info:build       _vim_to_ruby in if_ruby.o
info:build ld: symbol(s) not found for architecture x86_64
info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)

Attaching full main.log

Attachments (1)

macvim.main.log (46.1 KB) - added by gthb (Gunnlaugur Thor Briem) 11 years ago.
main.log from the failing build

Download all attachments as: .zip

Change History (13)

Changed 11 years ago by gthb (Gunnlaugur Thor Briem)

Attachment: macvim.main.log added

main.log from the failing build

comment:1 Changed 11 years ago by jk@…

Me too.

comment:2 Changed 11 years ago by raimue (Rainer Müller)

Cc: raimue@… removed
Owner: changed from macports-tickets@… to raimue@…
Status: newassigned

comment:3 Changed 11 years ago by dmalinovsky@…

Cc: dmalinovsky@… added

Cc Me!

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

I could reproduce the problem and it also still exists in MacVim @7.4.snapshot72. However, I have no clue yet what the real problem is.

comment:5 Changed 10 years ago by raimue (Rainer Müller)

Summary: MacVim @7.4.snapshot71 fails: Undefined symbols _rb_float_new_in_heap and _rb_str_new_cstrMacVim @7.4.snapshot71 +ruby18: Undefined symbols _rb_float_new_in_heap and _rb_str_new_cstr

FWIW, MacVim @7.4.snapshot72 +ruby19 works fine.

comment:6 Changed 10 years ago by gthb (Gunnlaugur Thor Briem)

So it does — thanks, good to have MacVim back!

comment:7 Changed 10 years ago by whcordis@…

Cc: whcordis@… added

Cc Me!

comment:8 Changed 10 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Cc Me!

comment:9 Changed 10 years ago by jgosmann (Jan Gosmann)

Cc: jan@… added

Cc Me!

comment:10 Changed 10 years ago by jgosmann (Jan Gosmann)

+ruby20 works also fine

comment:11 Changed 10 years ago by Russell-Jones-OxPhys (Russell Jones)

Cc: russell.jones@… added

Cc Me!

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

Resolution: duplicate
Status: assignedclosed

Duplicate of #44624 for vim.

Note: See TracTickets for help on using tickets.