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

Bug 494914

Summary: net-libs/webkit-gtk-2.0.4 - src_compile(): /usr/lib64/ruby/2.0.0/rubygems.rb:15:in `require': cannot load such file -- rubygems/compatibility (LoadError)
Product: Gentoo Linux Reporter: Willard Dawson <wfdawson>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build log
emerge -pqv
build environment

Description Willard Dawson 2013-12-21 01:18:36 UTC
Created attachment 365780 [details]
emerge --info

Even reinstalling rubygems does not help.

Creating hashtable for Source/JavaScriptCore/runtime/StringConstructor.cpp
/usr/bin/perl Source/JavaScriptCore/create_hash_table Source/JavaScriptCore/runtime/StringPrototype.cpp -i > DerivedSources/JavaScriptCore/StringPrototype.lut.h
Creating hashtable for Source/JavaScriptCore/runtime/StringPrototype.cpp
/usr/bin/ruby20 ./Source/JavaScriptCore/offlineasm/generate_offset_extractor.rb ./Source/JavaScriptCore/llint/LowLevelInterpreter.asm DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h
/usr/lib64/ruby/2.0.0/rubygems.rb:15:in `require': cannot load such file -- rubygems/compatibility (LoadError)
        from /usr/lib64/ruby/2.0.0/rubygems.rb:15:in `<top (required)>'
        from <internal:gem_prelude>:1:in `require'
        from <internal:gem_prelude>:1:in `<compiled>'
make: *** [DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: net-libs/webkit-gtk-2.0.4::gentoo failed (compile phase):
Comment 1 Willard Dawson 2013-12-21 01:37:13 UTC
Created attachment 365782 [details]
build log
Comment 2 Willard Dawson 2013-12-21 01:37:48 UTC
Created attachment 365784 [details]
emerge -pqv
Comment 3 Willard Dawson 2013-12-21 01:38:06 UTC
Created attachment 365786 [details]
build environment
Comment 4 Willard Dawson 2013-12-23 16:33:31 UTC
This issue appears to be related to my ruby environment having been "polluted" by the addition of /usr/local/lib64/ruby/... path.  Not sure how or why that happened, but moving the /ruby/ directory out of the way allowed webkit-gtk to emerge completely.  The underlying path problem is an operational failure.  I'll have to dig further to see how the situation itself arose and whether it might reoccur.  In the meantime, this issue should probably be closed out as invalid as it actually is not a problem with webkit-gtk per se.

Thanks.
Comment 5 Pacho Ramos gentoo-dev 2013-12-23 16:45:32 UTC
Thanks a lot for investigating it and informing us :)