When cjk is contained in the USE flag, dev-lang/ruby-1.8.2_pre2 fails to compile. Reproducible: Always Steps to Reproduce: 1. USE=cjk emerge dev-lang/ruby Actual Results: sparc-unknown-linux-gnu-gcc -mcpu=ultrasparc -O2 -pipe -fPIC -I. -I. -c main.c sparc-unknown-linux-gnu-gcc -mcpu=ultrasparc -O2 -pipe -fPIC -rdynamic main .o dmyext.o libruby18-static.a -ldl -lcrypt -lm -o miniruby ./mkconfig.rb:41: undefined bytecode (bug): /^s[%,]@(\w+)@[%,](.*)[%,]/ (RegexpError) from ./mkconfig.rb:35:in `foreach' from ./mkconfig.rb:35 make: *** [rbconfig.rb] Error 1 Expected Results: Compile is successful. Thank You.
Created attachment 43279 [details, diff] patch for ruby-1.8.2_pre2.ebuild The appended patch fixes this problem.
This problem was solved by Version 1.8.2_pre3 .