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

Bug 623924

Summary: dev-lang/ruby-2.4.1-r2: broken install with USE="static-libs"
Product: Gentoo Linux Reporter: Mateusz Lenik <mlen>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: diff of lists of installed files

Description Mateusz Lenik 2017-07-05 19:31:53 UTC
Created attachment 481038 [details, diff]
diff of lists of installed files

When building ruby-2.4.1-r2 with USE="static-libs" some libraries are missing and in turn the install is broken: 

raven ~ ➤ irb
irb(main):001:0> require 'yaml'
/usr/lib64/ruby/2.4.0/yaml.rb:5:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
LoadError: cannot load such file -- psych/syntax_error
	from /usr/lib64/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/lib64/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/lib64/ruby/2.4.0/yaml.rb:6:in `<top (required)>'
	from /usr/lib64/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/lib64/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from (irb):1
	from /usr/bin/irb:11:in `<main>'
irb(main):002:0> 


I attached a diff of installed files, there are quite a lot of .rb and .so files missing in the install built with USE="static-libs"
Comment 1 Hans de Graaff gentoo-dev Security 2017-07-15 13:28:22 UTC

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