Trying to install dev-ruby/test-unit: >>> Install test-unit-2.0.2-r1 into /opt/gentoo/var/tmp/portage/dev-ruby/test-unit-2.0.2-r1/image/opt/gentoo/ category dev-ruby ------------------------------------------------------- You should not use ${EPREFIX} with helpers. --> /opt/gentoo/usr/lib/ruby/site_ruby ------------------------------------------------------- * ERROR: dev-ruby/test-unit-2.0.2-r1 failed: * failed to install -r test * * Call stack: * ebuild.sh: 48: <call src_install> * environment:2379: <call doruby '-r' 'test'> * environment: 586: doins "$@" ) || die "failed to install $@" The problem is in the doruby() function: doruby() { ( # dont want to pollute calling env insinto $(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitedir"]') insopts -m 0644 doins "$@" ) || die "failed to install $@" } opensolaris test-unit # ruby -r rbconfig -e 'puts Config::CONFIG["sitedir"]' /opt/gentoo/usr/lib/ruby/site_ruby
fixed, thx for reporting.
Actually, it's still broken ^^; It strips ${EPREFIX} from the target (which is not eprefixed) rather than from the insinto :)
right, good catch, thanks