Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 392611 - dev-lang/ruby-1.8.7_p352 fails to build with glibc 2.14
Summary: dev-lang/ruby-1.8.7_p352 fails to build with glibc 2.14
Status: RESOLVED DUPLICATE of bug 370413
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-30 14:06 UTC by Todd Goodman
Modified: 2011-11-30 14:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info =dev-lang/ruby-1.8.7_p352 (einfo.ruby-1.8.7_p352,6.37 KB, text/plain)
2011-11-30 14:09 UTC, Todd Goodman
Details
emerge -pqv =dev-lang/ruby-1.8.7_p352 (ep.ruby-1.8.7_p352,157 bytes, text/plain)
2011-11-30 14:09 UTC, Todd Goodman
Details
build.log (build.log-ruby-1.8.7_p352,33.68 KB, text/plain)
2011-11-30 14:10 UTC, Todd Goodman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Todd Goodman 2011-11-30 14:06:29 UTC
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.
Comment 1 Todd Goodman 2011-11-30 14:09:26 UTC
Created attachment 294307 [details]
emerge --info =dev-lang/ruby-1.8.7_p352
Comment 2 Todd Goodman 2011-11-30 14:09:46 UTC
Created attachment 294309 [details]
emerge -pqv =dev-lang/ruby-1.8.7_p352
Comment 3 Todd Goodman 2011-11-30 14:10:02 UTC
Created attachment 294311 [details]
build.log
Comment 4 Agostino Sarubbo gentoo-dev 2011-11-30 14:16:33 UTC

*** This bug has been marked as a duplicate of bug 370413 ***