Package does not compile when ruby is not installed Reproducible: Always Steps to Reproduce: 1. emerge app-misc/hivex Actual Results: make[2]: Leaving directory '/var/tmp/portage/app-misc/hivex-1.3.18/work/hivex-1.3.18' make[1]: Leaving directory '/var/tmp/portage/app-misc/hivex-1.3.18/work/hivex-1.3.18' * Running check install phase for ruby26 ... /var/tmp/portage/app-misc/hivex-1.3.18/temp/environment: line 3379: --disable=did_you_mean: command not found * ERROR: app-misc/hivex-1.3.18::gentoo failed (install phase): * Could not read ruby configuration for 'LIBRUBY_SO' * * Call stack: * ebuild.sh, line 125: Called src_install * environment, line 3413: Called ruby-ng_src_install * environment, line 3160: Called _ruby_each_implementation '_each_ruby_check_install' * environment, line 905: Called _ruby_invoke_environment 'ruby26' '_each_ruby_check_install' * environment, line 1030: Called _each_ruby_check_install * environment, line 446: Called ruby_rbconfig_value 'LIBRUBY_SO' * environment, line 3379: Called die * The specific snippet of code: * echo $(${RUBY} --disable=did_you_mean -rrbconfig -e "puts RbConfig::CONFIG['$1']" || die "Could not read ruby configuration for '${1}'") *
Created attachment 712002 [details] build.log
Created attachment 712005 [details] emerge --info
This seems like a long standing issue but is now fatal because this finally stops on errors: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=922cd9af2eedc7e9dc5b8cae7dff419b53beefb5 I'll mark the older bugs a duplicate of this one given the new development.
*** Bug 726630 has been marked as a duplicate of this bug. ***
*** Bug 787224 has been marked as a duplicate of this bug. ***
This should be (also) fixed by: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=600543a6c01a0f6a4124b06b8b4448e12bac7aae (this package had a lot of issues with unconditional ruby, not limited to this)