[Ruby 1.9-Bug#4092] r29946 でビルドが通らない

チケット #4092 が更新されました。 (by Shota F.)

ビルド時エラーをpasteし忘れました。

    CFLAGS = -O0 -gdwarf-2 -g3 -Wextra -Wno-unused-parameter 

-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -arch
x86_64 -fno-common -pipe
XCFLAGS = -include ruby/config.h -include ruby/missing.h
-fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -isystem /Users/sorah/brew/include -isystem
/Users/sorah/brew/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I.
-I.ext/include/x86_64-darwin10.5.0 -I…/…/include -I…/…
DLDFLAGS = -Wl,-undefined,dynamic_lookup
-Wl,-multiply_defined,suppress -Wl,-flat_namespace -install_name
/Users/sorah/git/ruby/ruby/builds/master/local/lib/libruby.1.9.1.dylib
-current_version 1.9.1 -compatibility_version 1.9.1
-Wl,-unexported_symbol,Init* -Wl,-unexported_symbol,threadptr
-Wl,-u,_objc_msgSend -arch x86_64
SOLIBS =
generating known_errors.inc
known_errors.inc unchanged
generating enc.mk
generating encdb.h
…/…/tool/generic_erb.rb:2:in require': /Users/sorah/git/ruby/ruby/lib/optparse.rb:1552: syntax error, unexpected tLBRACK, expecting ':' (SyntaxError) opts = (long ? opt.long : []) + (short ? opt.short []) ^ from ../../tool/generic_erb.rb:2:in
make: *** [encdb.h] Error 1