Hi Sergei,
It looks like trunk has build issues on both Leopard and SnowLeopard.
This is related to the Ruby compiler (rubyc).
Vincent (who runs Leopard) told me yesterday about that and it looks
like you're hitting the same problem.
Also, a few persons (including Claudio who runs the nighty build
server) had problems on Snow Leopard. I can't reproduce the problem on
my environment yet so it will take some time for me to fix it.
If any of you running Snow Leopard was able to build trunk, let me know.
Laurent
On Sep 26, 2009, at 3:36 PM, sergei homjakov wrote:
Hello! I have problem with build macruby 0.5 (command rake)
$ rake
/opt/local/bin/ruby tool/compile_prelude.rb prelude.rb
miniprelude.c.new rm miniprelude.c.new /usr/bin/gcc -I. -I./include -
I./onig -I/usr/include/libxml2 -arch i386 -arch x86_64 -fno-common -
pipe -O3 -g -Wall -fexceptions -Wno-parentheses -Wno-deprecated-
declarations -Werror -std=c99 -c prelude.c -o prelude.o cp
miniprelude.c prelude.c /usr/bin/g++ -I. -I./include -I./onig -I/usr/
include/libxml2 -arch i386 -arch x86_64 -fno-common -pipe -O3 -g -
Wall -fexceptions -Wno-parentheses -Wno-deprecated-declarations -
Werror -std=c99 array.o bignum.o class.o compar.o complex.o enum.o
enumerator.o error.o eval.o file.o load.o proc.o gc.o hash.o inits.o
io.o math.o numeric.o object.o pack.o parse.o prec.o dir.o process.o
random.o range.o rational.o re.o onig/regcomp.o onig/regext.o onig/
regposix.o onig/regenc.o onig/reggnu.o onig/regsyntax.o onig/
regerror.o onig/regparse.o onig/regtrav.o onig/regexec.o onig/
regposerr.o onig/regversion.o onig/enc/ascii.o onig/enc/unicode.o
onig/enc/utf8.o onig/enc/euc_jp.o onig/enc/sjis.o onig/enc/
iso8859_1.o onig/enc/utf16_be.o onig/enc/utf16_le.o onig/enc/
utf32_be.o onig/enc/utf32_le.o ruby.o set.o signal.o sprintf.o st.o
string.o struct.o time.o transcode.o util.o variable.o version.o
thread.o id.o objc.o bs.o encoding.o dln.o dmyext.o marshal.o gcd.o
vm_eval.o prelude.o bridgesupport.o compiler.o vm.o MacRuby.o -L/usr/
local/lib -lpthread -lffi -lm -lLLVMBitWriter -lLLVMX86CodeGen -
lLLVMX86Info -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMJIT -
lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts -
lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -
lLLVMCore -lLLVMSupport -lLLVMSystem -lpthread -ldl -lxml2 -lobjc -
lauto -framework Foundation -dynamiclib -undefined suppress -
flat_namespace -install_name /Library/Frameworks/MacRuby.framework/
Versions/0.5/usr/lib/libmacruby.dylib -current_version 0.5 -
compatibility_version 0.5 -o libmacruby.1.9.0.dylib ./miniruby -I. -
I./lib bin/rubyc --internal -C "lib/net/imap.rb" -o "lib/net/
imap.rbo" lib/net/imap.rb:1131: premature end of char-class: /[\x80-
\xff\r\n]/ lib/net/imap.rb:1882: end pattern in group: /\G(?:(?# 1:
SPACE )( +)|(?# 2: NIL )(NIL)(?=[\x80-\xff(){ \x00-\x1f\x7f%*"\\\[\]
+])|(?# 3: NUMBER )(\d+)(?=[\x80-\xff(){ \x00-\x1f\x7f%*"\\\[\]+])|(?
# 4: ATOM )([\x80-\xff(){ \x00-\x1f\x7f%*"\\\[\]+]+)|(?# 5:
QUOTED )"((?:[\x00\r\n"\\]|\\["\\])*)"|(?# 6: LPAR )(\()|(?# 7:
RPAR )(\))|(?# 8: BSLASH )(\\)|(?# 9: STAR )(\*)|(?# 10: LBRA )(\[)|
(?# 11: RBRA )(\])|(?# 12: LITERAL )\{(\d+)\}\r\n|(?# 13: PLUS )(\+)|
(?# 14: PERCENT )(%)|(?# 15: CRLF )(\r\n)|(?# 16: EOF )(\z))/i lib/
net/imap.rb:2436: premature end of char-class: /[\x80-\xff\r\n]/ lib/
net/imap.rb:2767: end pattern with unmatched parenthesis: /\G(?# 1:
NAME )(?:NIL|"((?:[\x80-\xff\x00\r\n"\\]|\\["\\])*)") (?# 2: ROUTE )
(?:NIL|"((?:[\x80-\xff\x00\r\n"\\]|\\["\\])*)") (?# 3: MAILBOX )
(?:NIL|"((?:[\x80-\xff\x00\r\n"\\]|\\["\\])*)") (?# 4: HOST )
(?:NIL|"((?:[\x80-\xff\x00\r\n"\\]|\\["\\])*)")\)/i lib/net/imap.rb:
2831: premature end of char-class: /(?# FLAG )\\([\x80-\xff(){ \x00-
\x1f\x7f%"\\]+)|(?# ATOM )([\x80-\xff(){ \x00-\x1f\x7f%*"\\]+)/
unknown: [BUG] Segmentation fault MacRuby version 0.5 (ruby 1.9.0)
[universal-darwin9.0, x86_64]
Error when executing `./miniruby --emit-llvm "/var/folders/OU/
OUarP1IfGbW42ZIf+RRW8E+++TI/-Tmp-/imap.bc" MREP_12163095864224378147
"lib/net/imap.rb"' rake aborted! Command failed with status (1): -I.
-I./lib bin/rubyc --interna...
/opt/local/bin/ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9]
/opt/local/bin/rake --version
rake, version 0.8.7
Sergei.
Thanks.
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel