[MacRuby-devel] installation help

Laurent Sansonetti lsansonetti at apple.com
Fri Nov 5 20:50:05 PDT 2010


Hi Mikie,

An assertion in the bit reader, looks like it's crashing when deserializing the kernel bitcode.

As you followed the README.rdoc procedure I assume you properly installed the right version of LLVM, so the problem might be around the kernel bitcode files generation (.objs/kernel-*.bc).

Could you paste the result of `/Developer/usr/bin/llvm-gcc -v' and `sw_vers'? Also, do you run a 32-bit mac?

Accessorily, a full build log might be useful. You can do `rake clean' to remove the generated objects.

Thanks,
Laurent

On Nov 5, 2010, at 8:25 PM, Mikie Atsukawa wrote:

> Hi, I'm trying to install MacRuby for the first time and I have followed procedures in README.rdoc up until "rake"
> 
> When entering rake, I encountered this error (output of second time running rake):
> ** Invoke default (first_time)
> ** Invoke all (first_time)
> ** Invoke macruby (first_time)
> ** Invoke macruby:build (first_time)
> ** Invoke macruby:dylib (first_time)
> ** Invoke rbconfig (first_time)
> ** Invoke miniruby (first_time)
> ** Invoke files (first_time)
> ** Invoke config_h (first_time)
> ** Execute config_h
> ** Invoke dtrace_h (first_time)
> ** Execute dtrace_h
> ** Invoke revision_h (first_time)
> ** Execute revision_h
> ** Invoke mark_gc (first_time)
> ** Execute mark_gc
> ** Execute files
> ** Execute miniruby
> ** Execute rbconfig
> ** Invoke files 
> ** Execute macruby:dylib
> ** Invoke macruby:static (first_time)
> ** Invoke files 
> ** Execute macruby:static
> ** Execute macruby:build
> ** Execute macruby
> ** Invoke stdlib:build (first_time)
> ** Invoke miniruby 
> ** Invoke macruby:dylib 
> ** Execute stdlib:build
> ./miniruby -I. -I./lib bin/rubyc --internal --arch i386 --arch x86_64 -C "rbconfig.rb" -o "./rbconfig.rbo"
> Assertion failed: (Kind == NewKind && "FIXME: Unable to handle custom metadata mismatch!"), function ParseMetadata, file BitcodeReader.cpp, line 865.
> rake aborted!
> Command failed with status (): [./miniruby -I. -I./lib bin/rubyc --interna...]
> /Users/mikie/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:995:in `block in sh'
> /Users/mikie/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:1010:in `call'
> /Users/mikie/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:1010:in `sh'
> /Users/mikie/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake.rb:1094:in `sh'
> /Users/mikie/Downloads/MacRuby/rakelib/builder/builder.rb:21:in `block (3 levels) in parallel_execute'
> /Users/mikie/Downloads/MacRuby/rakelib/builder/builder.rb:21:in `each'
> /Users/mikie/Downloads/MacRuby/rakelib/builder/builder.rb:21:in `block (2 levels) in parallel_execute'
> 
> Any help is appreciated, thank you. _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20101105/6d785c28/attachment.html>


More information about the MacRuby-devel mailing list