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

Bug 538614

Summary: dev-ruby/json-1.8.0 - src_compile(): /usr/bin/ruby19: Permission denied -- /usr/local/bin/rake (LoadError)
Product: Gentoo Linux Reporter: Guillaume Bouffard <guillaume.bouffard>
Component: [OLD] DevelopmentAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log.gz

Description Guillaume Bouffard 2015-02-03 07:14:28 UTC
On my computer, I update json to the 1.8 version for ruby19 and ruby20. During the installation step, portage raises the following error:

Running compile phase for ruby19 ...
/usr/bin/ruby19: Permission denied -- /usr/local/bin/rake (LoadError)

Reproducible: Always
Comment 1 Guillaume Bouffard 2015-02-03 07:15:13 UTC
Created attachment 395432 [details]
emerge --info
Comment 2 Guillaume Bouffard 2015-02-03 07:18:48 UTC
Created attachment 395434 [details]
build.log.gz
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-04 08:47:47 UTC
Why would you have /usr/local/bin/rake instead of /usr/bin/rake?
Comment 4 Hans de Graaff gentoo-dev Security 2015-02-04 17:35:20 UTC
Normally /usr/local/bin/rake should not have been installed by a Gentoo supported package. If you find out that this is the case anyway then there is a bug on our side. In that case please provide the output from 

  equery belongs /usr/local/bin/rake

Otherwise this is a local configuration issue that unfortunately we cannot fix or provide support for.
Comment 5 Guillaume Bouffard 2015-02-04 19:15:05 UTC
Hi Hans,

equery command returns nothing. I check how and why my local configuration affects that.

Thank you for your help.
Comment 6 Guillaume Bouffard 2015-02-04 19:26:19 UTC
Ok,

I checked and safely removed the /usr/local/bin et everything works.

thanks