It seems portage wants to emerge the package twice. First normally and then it tries to "build the package for ruby18" again. Running the while procedure again: unpacking, building, etc. to finally fail while doing dodoc. See attached log for all the error messages. I only have ruby 1.8, so why does it want to build twice? $ equery list ruby Searching for package 'ruby' in all categories among: * installed packages [I--] [ ] dev-lang/ruby-1.8.1-r3 (1.8)
Created attachment 29744 [details] ruby-getttext-0.5.0.emerge-log emerge log
Probablly you set LANG or LC_ALL to de_DE and it causes the build process to fail. (ruby-gettext compiles sucessfully with LC_ALL=C) ruby modules get compiled twice as it is needed for ruby SLOT support, but I'll rewrite the routine to not run the process twice if you have only one version of ruby. I'll fix them this weekend (sorry I don't have much time on weekdays).
My LC_ALL is 'en_US.utf8' but setting it to C or unsetting it did not solve the problem. Removing the following line from the ebuild did solve the problem USE_RUBY="ruby16 ruby18 ruby19" I only have 1.8.x installed btw. Besides, ruby18 and ruby19 do not appear to be valid USE flags. Only ruby16 is listed in use.local.desc and ruby18/ruby19 are nowhere to be found.
Well for me setting LC_ALL=C did install ruby-gettext. But nevertheless this is a bug. And building twice although only one ruby version is installed should also be fixed. And yeah, ruby18 and ruby19 aren't defined useflags. But I of course understand you are busy on weekdays, Mamuro. No problem, just take your time.
Thanks for reporting. Both problems have been fixed. USE_RUBY is not meant for IUSE flag, it only specifies versions of ruby which work with the package. Previously I named it RUBY_SLOT but I thought the name is misleading as SLOT accepts only single number while RUBY_SLOT may contain more than two members (such as "ruby16 ruby18 ruby19"). ruby16 local IUSE flag left behind should have been removed because actually that IUSE flag was removed from dev-lang/ruby several month ago. I've just removed it so I hope it becomes less confusing. Cheers,