Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 589172

Summary: ruby-augeas-0.5.0-r3 will not build /usr/lib64/ruby/2.1.0/mkmf.rb:456:in `try_do': The compiler failed to generate a n executable file. (RuntimeError)
Product: Gentoo Linux Reporter: deference
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: deference
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description deference 2016-07-19 19:50:10 UTC
Created attachment 441134 [details]
build.log

[ebuild     U ] dev-ruby/ruby-augeas-0.5.0-r3 [0.5.0-r2] USE="doc {-test}" RUBY_TARGETS="ruby20 ruby21%* (-ruby22) (-ruby23) (-ruby19%)"
Comment 1 deference 2016-07-19 19:50:35 UTC
Created attachment 441136 [details]
emerge --info
Comment 2 Hans de Graaff gentoo-dev Security 2016-07-20 05:26:50 UTC
*** Bug 589174 has been marked as a duplicate of this bug. ***
Comment 3 Hans de Graaff gentoo-dev Security 2016-07-20 05:30:08 UTC
This error means that ruby can't compile C code on your system. Have you made any changes to your C environment recently? Does it still work for other applications?

One gotcha here is that ruby itself stores some information on the compiler and flags used to compile ruby and it re-uses that in this case. In this case you can fix things by reinstalling ruby itself first.
Comment 4 deference 2016-07-21 22:40:56 UTC
C complier works fine for other things, will reinstall and get back.