Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792651 - app-misc/hivex-1.3.18 does not compile with USE=-ruby ( --disable=did_you_mean: command not found)
Summary: app-misc/hivex-1.3.18 does not compile with USE=-ruby ( --disable=did_you_mea...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 726630 787224 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-05-28 15:24 UTC by Marian Kyral
Modified: 2021-06-01 23:12 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,99.79 KB, text/plain)
2021-05-28 15:28 UTC, Marian Kyral
Details
emerge --info (emerge.info,7.03 KB, text/plain)
2021-05-28 15:28 UTC, Marian Kyral
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Kyral 2021-05-28 15:24:06 UTC
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}'")
 *
Comment 1 Marian Kyral 2021-05-28 15:28:23 UTC
Created attachment 712002 [details]
build.log
Comment 2 Marian Kyral 2021-05-28 15:28:44 UTC
Created attachment 712005 [details]
emerge --info
Comment 3 Ionen Wolkens gentoo-dev 2021-05-30 03:40:48 UTC
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.
Comment 4 Ionen Wolkens gentoo-dev 2021-05-30 03:41:23 UTC
*** Bug 726630 has been marked as a duplicate of this bug. ***
Comment 5 Ionen Wolkens gentoo-dev 2021-05-30 03:42:26 UTC
*** Bug 787224 has been marked as a duplicate of this bug. ***
Comment 6 Ionen Wolkens gentoo-dev 2021-06-01 23:12:37 UTC
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)