[MacRuby] #427: MacRuby 0.5 trunk fails to install (rake install)
#427: MacRuby 0.5 trunk fails to install (rake install) -------------------------------+-------------------------------------------- Reporter: fonseka@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: -------------------------------+-------------------------------------------- Hi! I've been trying to compile the Git head for the last days and can't install it. When I do "sudo rake install" the process stops at the middle, with this message: {{{ ./miniruby instruby.rb --make="/usr/bin/make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=0644 --prog- mode=0755 --installed-list .installed.list --mantype="doc" --sym-dest- dir="/usr/local" --rdoc-output="doc" installing rdoc rake aborted! }}} Running from gdb I got the following trace: {{{ Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000033459a8f 0x00007fff858557e7 in libunwind::CFI_Parser<libunwind::LocalAddressSpace>::parseCIE () (gdb) bt #0 0x00007fff858557e7 in libunwind::CFI_Parser<libunwind::LocalAddressSpace>::parseCIE () #1 0x00007fff85856295 in libunwind::CFI_Parser<libunwind::LocalAddressSpace>::decodeFDE () #2 0x00007fff8575d428 in libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::setInfoBasedOnIPRegister () #3 0x00007fff8575de48 in libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::step () #4 0x00007fff85782bd8 in _Unwind_RaiseException () #5 0x00007fff80926bef in __cxa_throw () #6 0x00007fff801b23b2 in objc_exception_throw () #7 0x0000000100176475 in rb_vm_raise (exception=<value temporarily unavailable, due to optimizations>) at vm.cpp:3094 #8 0x000000010003cf89 in rb_exc_raise (mesg=<value temporarily unavailable, due to optimizations>) at eval.c:313 #9 0x000000010003afd1 in rb_sys_fail (mesg=0x20027dca1 "/Library/Frameworks/MacRuby.framework/Versions/0.5/usr/share/ri/1.9.0/system") at error.c:1177 #10 0x000000010009e513 in dir_s_mkdir (Obj=<value temporarily unavailable, due to optimizations>, sel=<value temporarily unavailable, due to optimizations>, argc=<value temporarily unavailable, due to optimizations>, argv=<value temporarily unavailable, due to optimizations>) at dir.c:848 #11 0x0000000100168b2f in rb_vm_dispatch (cache=0x1048d8f40, top=8590052928, self=8590410496, sel=0x100fbb160, block=0x0, opt=0 '\0', argc=2) at dispatcher.cpp:415 #12 0x000000010111759d in ?? () #13 0x000000010116db6a in ?? () #14 0x0000000100014c8b in rb_ary_each_imp (ary=8590052928, sel=<value temporarily unavailable, due to optimizations>) at ruby.h:1036 #15 0x0000000100168fcb in rb_vm_dispatch (cache=0x100f2b940, top=8590052928, self=8592619872, sel=0x100f2b850, block=0x200289ee0, opt=0 '\0', argc=<value temporarily unavailable, due to optimizations>) at dispatcher.cpp:131 #16 0x0000000101116f07 in ?? () #17 0x0000000101168b19 in ?? () #18 0x0000000101104491 in ?? () #19 0x0000000101100010 in ?? () Previous frame inner to this frame (gdb could not unwind past this frame) }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/427> MacRuby <http://macruby.org/>
#427: MacRuby 0.5 trunk fails to install (rake install) -------------------------------+-------------------------------------------- Reporter: fonseka@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: -------------------------------+-------------------------------------------- Comment(by mattaimonetti@…): Could you provide us with your CPU, OS and LLVM version? Also you might want to try: {{{ $ rake clean $ rake $ sudo rake install }}} And finally, the nightly builds are available on the main site if you really need to use trunk right away. -- Ticket URL: <http://www.macruby.org/trac/ticket/427#comment:1> MacRuby <http://macruby.org/>
#427: MacRuby 0.5 trunk fails to install (rake install) -------------------------------+-------------------------------------------- Reporter: fonseka@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: -------------------------------+-------------------------------------------- Comment(by fonseka@…): Replying to [comment:1 mattaimonetti@…]:
Could you provide us with your CPU, OS and LLVM version?
Also you might want to try:
{{{ $ rake clean $ rake $ sudo rake install }}}
And finally, the nightly builds are available on the main site if you really need to use trunk right away.
Hi! It's the latest Macbook Pro 13'', running SL. I've compiled LLVM revision 82747 as the README says. It was working flawlessly on the past weeks, but some days ago it stopped working and I can't install it :( I've tried "sudo rm -rf /Library/Framewords/MacRuby.framework" and it still doesn't work. -- Ticket URL: <http://www.macruby.org/trac/ticket/427#comment:2> MacRuby <http://macruby.org/>
#427: MacRuby 0.5 trunk fails to install (rake install) -------------------------------+-------------------------------------------- Reporter: fonseka@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: -------------------------------+-------------------------------------------- Comment(by mattaimonetti@…): trunk was broken for a day or two a few days ago, can you confirm that you have pulled the latest version and rake runs fine, the problem only happens when you try to install macruby? Thanks -- Ticket URL: <http://www.macruby.org/trac/ticket/427#comment:3> MacRuby <http://macruby.org/>
#427: MacRuby 0.5 trunk fails to install (rake install) -------------------------------+-------------------------------------------- Reporter: fonseka@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: -------------------------------+-------------------------------------------- Comment(by lsansonetti@…): At a glance, it looks like macruby is crashing inside the stack unwinder, trying to locate a proper exception handler. You may want to try a rake clean, we fixed a few things in the compiler and the build system has a few problems with dependencies. At least I can confirm that it builds fine here on 2 machines, and also on the nightly build server (which does a fresh clean build every night). They all seem to share the same environment than yours. -- Ticket URL: <http://www.macruby.org/trac/ticket/427#comment:4> MacRuby <http://macruby.org/>
#427: MacRuby 0.5 trunk fails to install (rake install) -------------------------------+-------------------------------------------- Reporter: fonseka@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: -------------------------------+-------------------------------------------- Comment(by fonseka@…): Hi! After trying several things (installed latest xcode, re-cloned the git project, rebuild, rebuild..) it was still failing. Having other Mac with the same characteristics, I rsynced /Library/Framewors/MacRuby.framework from the working machine to this one, and now it works flawlessly. But if I try to rebuild MacRuby again, it fails like before.. So I guess it must be something with my building environment :/ I'll try to recompile LLVM again, but can you tell me if MacRuby depends on other libraries that I may have installed different versions? -- Ticket URL: <http://www.macruby.org/trac/ticket/427#comment:5> MacRuby <http://macruby.org/>
#427: MacRuby 0.5 trunk fails to install (rake install) -------------------------------+-------------------------------------------- Reporter: fonseka@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: -------------------------------+-------------------------------------------- Comment(by ernest.prabhakar@…): This is working for me on trunk via Snow Leopard on a 64-bit CPU. Anyone else still having trouble? -- Ticket URL: <http://www.macruby.org/trac/ticket/427#comment:7> MacRuby <http://macruby.org/>
#427: MacRuby 0.5 trunk fails to install (rake install) -------------------------------+-------------------------------------------- Reporter: fonseka@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: -------------------------------+-------------------------------------------- Comment(by fonseka@…): I'm still having this problem, but I'm sure it's somewhat my setup problem, I can't reproduce it on any other machine. You can close the bug if you like. -- Ticket URL: <http://www.macruby.org/trac/ticket/427#comment:8> MacRuby <http://macruby.org/>
#427: MacRuby 0.5 trunk fails to install (rake install) -------------------------------+-------------------------------------------- Reporter: fonseka@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: worksforme Keywords: | -------------------------------+-------------------------------------------- Changes (by ernest.prabhakar@…): * status: new => closed * resolution: => worksforme Comment: Thanks! -- Ticket URL: <http://www.macruby.org/trac/ticket/427#comment:9> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby