* Package: dev-ruby/psych-5.0.1:5  * Repository: gentoo  * Maintainer: ruby@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby31 test userland_GNU  * FEATURES: ccache network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... * Running unpack phase for all * Unpacking .gem file... * Uncompressing metadata * Unpacking data.tar.gz >>> Source unpacked in /var/tmp/portage/dev-ruby/psych-5.0.1/work >>> Preparing source in /var/tmp/portage/dev-ruby/psych-5.0.1/work ... * Running prepare phase for all * Running prepare phase for all * Running source copy phase for ruby31 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ruby/psych-5.0.1/work ... * Running configure phase for ruby31 checking for yaml.h... yes checking for yaml_get_version() in -lyaml... yes creating Makefile >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-ruby/psych-5.0.1/work ... * Running compile phase for ruby31 make -j9 V=1 -C ext/psych make: Entering directory '/var/tmp/portage/dev-ruby/psych-5.0.1/work/ruby31/psych-5.0.1/ext/psych' x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -fPIC -O2 -pipe -march=haswell -o psych.o -c psych.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -fPIC -O2 -pipe -march=haswell -o psych_emitter.o -c psych_emitter.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -fPIC -O2 -pipe -march=haswell -o psych_parser.o -c psych_parser.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -fPIC -O2 -pipe -march=haswell -o psych_to_ruby.o -c psych_to_ruby.c x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -fPIC -O2 -pipe -march=haswell -o psych_yaml_tree.o -c psych_yaml_tree.c rm -f psych.so x86_64-pc-linux-gnu-gcc -shared -o psych.so psych.o psych_emitter.o psych_parser.o psych_to_ruby.o psych_yaml_tree.o -L. -L/usr/lib64 -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,--compress-debug-sections=zlib -lruby31 -lyaml -lyaml -lm -lc make: Leaving directory '/var/tmp/portage/dev-ruby/psych-5.0.1/work/ruby31/psych-5.0.1/ext/psych' * Running compile phase for all >>> Source compiled. >>> Test phase [not enabled]: dev-ruby/psych-5.0.1 >>> Install dev-ruby/psych-5.0.1 into /var/tmp/portage/dev-ruby/psych-5.0.1/image * Running install phase for ruby31 /usr/lib64/ruby/gems/3.1.0/gems/psych-5.0.1/lib/psych/parser.rb:62:in `parse': undefined method `_native_parse' for #>, @external_encoding=0> (NoMethodError)  _native_parse @handler, yaml, path  ^^^^^^^^^^^^^ from /usr/lib64/ruby/gems/3.1.0/gems/psych-5.0.1/lib/psych.rb:455:in `parse_stream' from /usr/lib64/ruby/gems/3.1.0/gems/psych-5.0.1/lib/psych.rb:399:in `parse' from /usr/lib64/ruby/gems/3.1.0/gems/psych-5.0.1/lib/psych.rb:323:in `safe_load' from /usr/lib64/ruby/site_ruby/3.1.0/rubygems/safe_yaml.rb:30:in `safe_load' from /usr/lib64/ruby/site_ruby/3.1.0/rubygems/specification.rb:1063:in `from_yaml' from -e:1:in `
' * ERROR: dev-ruby/psych-5.0.1::gentoo failed (install phase): * Unable to generate gemspec file. * * Call stack: * ebuild.sh, line 136: Called src_install * environment, line 2139: Called ruby-ng_src_install * environment, line 1752: Called _ruby_each_implementation 'each_ruby_install' * environment, line 437: Called _ruby_invoke_environment 'ruby31' 'each_ruby_install' * environment, line 566: Called each_ruby_install * environment, line 809: Called each_fakegem_install * environment, line 759: Called ruby_fakegem_install_gemspec * environment, line 2022: Called die * The specific snippet of code: * fi ) || die "Unable to generate gemspec file."; * * If you need support, post the output of `emerge --info '=dev-ruby/psych-5.0.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ruby/psych-5.0.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-ruby/psych-5.0.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/psych-5.0.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-ruby/psych-5.0.1/work/ruby31/psych-5.0.1' * S: '/var/tmp/portage/dev-ruby/psych-5.0.1/work/ruby31/psych-5.0.1'