rm: cannot remove '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/dev-lang/ruby-2.0.0_p648/image//usr/lib64/ruby/2.0.0/rubygems': No such file or directory ESC[31;01m*ESC[0m ERROR: dev-lang/ruby-2.0.0_p648::gentoo failed (install phase): ESC[31;01m*ESC[0m rm rubygems failed ESC[31;01m*ESC[0m ESC[31;01m*ESC[0m Call stack: ESC[31;01m*ESC[0m ebuild.sh, line 115: Called src_install ESC[31;01m*ESC[0m environment, line 3205: Called die ESC[31;01m*ESC[0m The specific snippet of code: ESC[31;01m*ESC[0m rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"; ESC[31;01m*ESC[0m ESC[31;01m*ESC[0m If you need support, post the output of `emerge --info '=dev-lang/ruby-2.0.0_p648::gentoo'`, ESC[31;01m*ESC[0m the complete build log and the output of `emerge -pqv '=dev-lang/ruby-2.0.0_p648::gentoo'`. ESC[31;01m*ESC[0m The complete build log is located at '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/dev-lang/ruby-2.0.0_p648/temp/build.log'. ESC[31;01m*ESC[0m The ebuild environment file is located at '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/dev-lang/ruby-2.0.0_p648/temp/environment'. ESC[31;01m*ESC[0m Working directory: '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/dev-lang/ruby-2.0.0_p648/work/ruby-2.0.0-p648' ESC[31;01m*ESC[0m S: '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/dev-lang/ruby-2.0.0_p648/work/ruby-2.0.0-p648'
I don't know how you end up with that ebuild, but the fixed ebuild is in the prefix tree, so this bug is kind of invalid, since Prefix uses that prefix tree for a reason. https://gitweb.gentoo.org/repo/proj/prefix.git/tree/dev-lang/ruby
(In reply to Fabian Groffen from comment #1) > I don't know how you end up with that ebuild, but the fixed ebuild is in the > prefix tree, so this bug is kind of invalid, since Prefix uses that prefix > tree for a reason. > > https://gitweb.gentoo.org/repo/proj/prefix.git/tree/dev-lang/ruby Hi, Fabian. FYI, RAP is using gentoo main repo directly. I will portage the patches in the prefix tree back.
I cannot reproduce the bug with ruby-2.3. Is there a particular reason to use ruby-2.0?
I think the apps were developed with ruby 1.9 and 2.0. I assume 2.3 is too new to say. Anyway, I ran into the issue because emerge picked up those versions. I would say, fix all current ebuilds please.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e51a85838183c48ca15f54e79860131e1c764e74 commit e51a85838183c48ca15f54e79860131e1c764e74 Author: Benda Xu <heroxbd@gentoo.org> AuthorDate: 2017-10-01 11:45:14 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2017-10-01 11:58:39 +0000 dev-lang/ruby: support Prefix so as not to collide with rubygem. Credit: Martin Mokrejš Closes: https://bugs.gentoo.org/599378 Closes: https://bugs.gentoo.org/587524 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-lang/ruby/ruby-2.4.2.ebuild | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)