1 |
I have been chasing my tail with ruby tonight. |
2 |
|
3 |
The masking of ruby18 meant that I had to unmerge a lot of ruby packages and |
4 |
then portage chose what to merge afresh. "All good to go" I thought until |
5 |
this was error showed up: |
6 |
================================================================== |
7 |
>>> Emerging (1 of 9) dev-ruby/rake-0.9.6 |
8 |
* rake-0.9.6.gem SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] |
9 |
>>> Unpacking source... |
10 |
* Running unpack phase for all ... |
11 |
* Unpacking .gem file... ... [ ok ] |
12 |
* Uncompressing metadata ... [ ok ] |
13 |
* Unpacking data.tar.gz ... [ ok ] |
14 |
>>> Source unpacked in /var/tmp/portage/dev-ruby/rake-0.9.6/work |
15 |
>>> Preparing source in /var/tmp/portage/dev-ruby/rake-0.9.6/work ... |
16 |
* Running prepare phase for all ... |
17 |
|
18 |
gzip: doc/rake.1.gz: unexpected end of file |
19 |
* Running source copy phase for ruby19 ... |
20 |
* Running source copy phase for ruby20 ... |
21 |
* Running prepare phase for ruby19 ... |
22 |
* Running prepare phase for ruby20 ... |
23 |
>>> Source prepared. |
24 |
>>> Configuring source in /var/tmp/portage/dev-ruby/rake-0.9.6/work ... |
25 |
>>> Source configured. |
26 |
>>> Compiling source in /var/tmp/portage/dev-ruby/rake-0.9.6/work ... |
27 |
* Running compile phase for all ... |
28 |
>>> Source compiled. |
29 |
>>> Test phase [not enabled]: dev-ruby/rake-0.9.6 |
30 |
|
31 |
>>> Install rake-0.9.6 into /var/tmp/portage/dev-ruby/rake-0.9.6/image/ |
32 |
category dev-ruby |
33 |
* Running install phase for ruby19 ... |
34 |
/usr/lib64/ruby/1.9.1/rubygems.rb:30:in `require': cannot load such file -- |
35 |
rubygems/defaults (LoadError) |
36 |
from /usr/lib64/ruby/1.9.1/rubygems.rb:30:in `<top (required)>' |
37 |
from <internal:gem_prelude>:1:in `require' |
38 |
from <internal:gem_prelude>:1:in `<compiled>' |
39 |
* ERROR: dev-ruby/rake-0.9.6::gentoo failed (install phase): |
40 |
* Unable to generate gemspec file. |
41 |
* |
42 |
* Call stack: |
43 |
* ebuild.sh, line 93: Called src_install |
44 |
* environment, line 4316: Called ruby-ng_src_install |
45 |
* environment, line 3978: Called _ruby_each_implementation |
46 |
'each_ruby_install' |
47 |
* environment, line 449: Called _ruby_invoke_environment 'ruby19' |
48 |
'each_ruby_install' |
49 |
* environment, line 501: Called each_ruby_install |
50 |
* environment, line 802: Called each_fakegem_install |
51 |
* environment, line 775: Called ruby_fakegem_install_gemspec |
52 |
* environment, line 4159: Called die |
53 |
* The specific snippet of code: |
54 |
* fi ) || die "Unable to generate gemspec file."; |
55 |
================================================================== |
56 |
|
57 |
The missing file is there, I think: |
58 |
|
59 |
# ls -la /usr/lib64/ruby/1.9.1/rubygems.rb |
60 |
-rw-r--r-- 1 root root 34951 Apr 20 2012 /usr/lib64/ruby/1.9.1/rubygems.rb |
61 |
|
62 |
What now? |
63 |
|
64 |
-- |
65 |
Regards, |
66 |
Mick |