Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626104 - dev-ruby/psych-2.2.4 failure building/installing dev-ruby/{minitest,did_you_mean,test-unit} and others
Summary: dev-ruby/psych-2.2.4 failure building/installing dev-ruby/{minitest,did_you_m...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-24 22:21 UTC by Whilom Chime
Modified: 2019-12-27 09:40 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Whilom Chime 2017-07-24 22:21:13 UTC
I've suddenly started having massive difficulty building (or installing rather) ruby dependencies such as dev-ruby/minitest, dev-ruby/did_you_mean, dev-ruby/test-unit.  Looks like an installed files problem?

Once I started having issues I removed dev-lang/ruby and all dev-ruby packages, deleted /usr/lib{64}/ruby, deleted all old dev-ruby/* use keywords, set RUBY_TARGETS="ruby24" and let an emerge ... @world pull in what it would. Proximate cause of the build (or apparently install) failure is: 

... 
/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. 
...


Depending on how emerge... @world orders things any of the above-mentioned packages causes the same install failure, and I assume others would as well.

Notably, dev-ruby/psych and dev-libs/libyaml *are* installed: 

emerge -s psych libyaml 
  
[ Results for search key : psych ] 
Searching... 

*  dev-ruby/psych 
      Latest version available: 2.2.4 
      Latest version installed: 2.2.4 
      Size of files: 131 KiB 
      Homepage:      https://github.com/tenderlove/psych 
      Description:   A libyaml wrapper for Ruby 
      License:       MIT 

[ Results for search key : libyaml ] 
Searching... 

*  dev-libs/libyaml 
      Latest version available: 0.1.7 
      Latest version installed: 0.1.7 
      Size of files: 516 KiB 
      Homepage:      http://pyyaml.org/wiki/LibYAML 
      Description:   YAML 1.1 parser and emitter written in C 
      License:       MIT 



Environment: https://paste.pound-python.org/show/KWMbnYjXmzSvWvGQbWSW/ 

Log and info: 

Log: https://paste.pound-python.org/show/vSRqAUUVm7VR8cOwX4He/ 
Info: https://paste.pound-python.org/show/ndNRzsLW6XqyVvYiREn9/ 

emerge -pqv: 

emerge -pqv dev-ruby/minitest-5.10.2 
[ebuild  N    ] dev-ruby/minitest-5.10.2  USE="-doc {-test}" RUBY_TARGETS="ruby24 -ruby21 -ruby22 -ruby23"
Comment 1 Jonas Stein gentoo-dev 2017-07-25 09:01:52 UTC
Please attach the logs. Do not use external websites like pastebins, whenever possible. 
External websites are not permanent, 
information will be lost and links may direct to spam or malware instead of the needed information.
Some developers maintain several hundred ebuilds and have to use tools to work with the attachments efficiently. 

The bug is assigned to the ruby team now. It would help, if you can find more details with the help of our support channels. [1]

[1] https://www.gentoo.org/support/
Comment 2 Hans de Graaff gentoo-dev Security 2019-12-27 09:40:21 UTC
This version of psych is no longer available in the tree. Please reopen is this is still and issue.