From: KIMURA Koichi Date: 2007-08-07T10:23:01+09:00 Subject: [ruby-dev:31356] nmake don't have $< macro 木村です。 とりあえず報告。 現状のCVS HEADでビルド失敗します(たぶんwin32環境だけ?) common.mk と io.c の変更で引っかかりました。 node_name.inc: {$(VPATH)}node.h $(BASERUBY) -n $(srcdir)/tool/node_name.rb $< > $@ nmake では $< という定義済みマクロは通常のルールでは使えません (拡張子ルールでのみ使用可)。 exename = RSTRING_PTR(prog); (3140行目) と default: - rb_sys_fail(RSTRING_PTR(prog)); (3152行目) の二箇所で使っている progという変数は削除されてしまっていて 宣言されていません。 ついでに nmake test したときの結果(の一部) nmake test test_block.rb ......................................bootstraptest.tmp.rb:5: synt ax error, unexpected ',', expecting ')' m {|(*,a,b)|}.inspect ^ Fbootstraptest.tmp.rb:5: -- control frame ---------- c:0005 p:0008 s:0012 b:0011 l:000004 d:000010 BLOCK bootstraptest.tmp.rb:5 c:0004 p:0003 s:0009 b:0009 l:000008 d:000008 METHOD bootstraptest.tmp.rb:3 c:0003 p:0013 s:0006 b:0005 l:000004 d:000004 TOP bootstraptest.tmp.rb:5 c:0002 p:---- s:0003 b:0003 l:000002 d:000002 FINISH :inherited c:0001 p:---- s:0001 b:-001 l:000000 d:000000 ------ --------------------------- DBG> : "bootstraptest.tmp.rb:3:in `m'" DBG> : "bootstraptest.tmp.rb:5:in `
'" [BUG] Stack consistency error (sp: 12, bp: 11) ruby 1.9.0 (2007-08-07) [i386-mswin32_71] This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. Feeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee test_class.rb ......................................... test_eval.rb ..................... test_exception.rb .............................. test_flip.rb . test_flow.rb ........................................... test_jump.rb ...................... test_literal.rb ................................................................ ................................................................................ test_massign.rb ............................ test_method.rb ................................................................. ................................................................................ .................................................... test_proc.rb .................. test_syntax.rb ................................................................. .......................................... test_thread.rb ................... #39 test_block.rb:386:in `': def m() yield end m {|(*,a,b)|}.inspect #=> "" (expected "nil") #40 test_block.rb:393:in `': def m() yield end m {|((*))|}.inspect #=> "" (expected "nil") FAIL 2/711 tests failed NMAKE : fatal error U1077: '.\miniruby.exe' : リターン コード '0x1' Stop. この二つのテスト失敗は以前からのものだったと思います。 それでは。 -- 木村浩一