dev-lang/ruby-1.8.7_p352 fails to build with glibc 2.14 with the following error: In file included from dl.c:104:0: callback.func:1:1: warning: data definition has no type or storage class callback.func:1:7: error: expected identifier or '(' before 'long' In file included from dl.c:104:0: callback.func:78:33: error: expected ')' before '(' token callback.func:79:3: warning: data definition has no type or storage class callback.func:79:24: error: 'proc' undeclared here (not in a function) callback.func:79:39: error: 'argc' undeclared here (not in a function) callback.func:79:45: error: 'argv' undeclared here (not in a function) callback.func:82:1: error: expected identifier or '(' before '}' token dl.c:106:1: error: expected ';', ',' or ')' before 'static' make[1]: *** [dl.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/dl' Reproducible: Always Steps to Reproduce: 1. emerge =glibc-2.14 2. emerge =ruby-1.8.7_p352 3. Actual Results: Build fails Expected Results: Build completes See http://forums.gentoo.org/viewtopic-p-6885202.html for a description of the problem. The patch at http://redmine.ruby-lang.org/attachments/1931/stdout-rouge-fix.patch fixes the problem.
Created attachment 294307 [details] emerge --info =dev-lang/ruby-1.8.7_p352
Created attachment 294309 [details] emerge -pqv =dev-lang/ruby-1.8.7_p352
Created attachment 294311 [details] build.log
*** This bug has been marked as a duplicate of bug 370413 ***