[MacRuby-devel] problem with build macruby 0.5
Laurent Sansonetti
lsansonetti at apple.com
Sun Sep 27 16:43:04 PDT 2009
Hi Conrad,
This is well known, Matt worked on the specs yesterday night,
untagging specs that now pass, and apparently some of them should be
re-tagged :)
Stay tuned,
Laurent
On Sep 27, 2009, at 4:17 PM, Conrad Taylor wrote:
> Hi Laurent, after rebuilding LLVM and MacRuby on Snow Leopard, I'm
> seeing the following when I run 'macrake spec:ci':
>
> $ macrake spec:ci
> (in /Users/conradwt/macruby.dir/projects/macruby-trunk)
> unknown: warning: already initialized constant MACRUBY_VERSION
> ./mspec/bin/mspec ci -B ./spec/macruby.mspec :full
> MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64]
> .[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/macruby-
> trunk/spec/macruby/fixtures/method.m'
> .[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/macruby-
> trunk/spec/macruby/fixtures/constant.m'
> .[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/macruby-
> trunk/spec/macruby/fixtures/exception.m'
> ........[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/
> macruby-trunk/spec/macruby/fixtures/object.m'
> .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................cat
> : stdin: Bad file descriptor
> cat: stdin: Bad file descriptor
> ..cat: stdin: Bad file descriptor
> cat: stdin: Bad file descriptor
> .....................................................................F
> .............macruby(42621,0x7fff70286be0) malloc: reference count
> underflow for 0x2000864e0, break on auto_refcount_underflow_error to
> debug.
> F
> .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F
> .............................................................................................................................................................................
>
> 1)
> self.send(:block_given?) returns true if and only if a block is
> supplied FAILED
> Expected false not to equal false
> core:in `raise:'
> core:in `each'
> core:in `all?'
> core:in `each'
>
> 2)
> Kernel#eval includes file and line information in syntax error FAILED
> Expected SyntaxError
> but got NoMethodError (undefined method `coerce' for ##-<MockObject:
> 0x2092aa440 @name="non-numeric", @null=nil>)
> core:in `raise:'
>
> 3)
> Socket::IPSocket#getaddress raises an error on unknown hostnames
> FAILED
> Expected SocketError but no exception was raised
> core:in `raise:'
>
> Finished in 120.582898 seconds
>
> 1825 files, 8035 examples, 22067 expectations, 3 failures, 0 errors
> rake aborted!
> Command failed with status (1): [./mspec/bin/mspec ci -B ./spec/
> macruby.msp...]
>
>
> On Sun, Sep 27, 2009 at 3:04 PM, Laurent Sansonetti <lsansonetti at apple.com
> > wrote:
> Hi Conrad
>
> Yes the llvm revision changed. I generaly advertise it on the list
> but I forgot this time. Sorry.
>
> Check the README file for more info.
>
> Laurent
>
> Sent from my iPhone
>
> On Sep 27, 2009, at 2:55 PM, Conrad Taylor <conradwt at gmail.com> wrote:
>
>> Hi, I just did an svn update of the source and build problems do
>> exist on Snow Leopard. Did LLVM change ? Is there any way to add
>> this dependency to the overall build because I only had LLVM issues
>> prior to my initial install of it? Now, if LLVM revision starts
>> changing without our knowledge, this will cause issues going
>> forward for building MacRuby. BTW, I have been building
>> successfully for the last 6 months or so.
>>
>> -Conrad
>>
>> On Sat, Sep 26, 2009 at 5:24 PM, Laurent Sansonetti <lsansonetti at apple.com
>> > wrote:
>> 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 at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
More information about the MacRuby-devel
mailing list