Gentoo Archives: gentoo-user

From: John Covici <covici@××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] ruby problem preventing my world update
Date: Sun, 14 Feb 2021 19:41:42
Message-Id: m3wnval9n8.wl-covici@ccs.covici.com
1 Hi. In trying to do my world update today, I have run into some kind
2 of ruby problem.
3
4 When doing the update portage had me add changes, seems mostly to do
5 with add ruby 3.0 as a ruby_target. Now, I get the following at the
6 end of my world update log
7
8 >>> Emerging (57 of 237) dev-ruby/racc-1.5.2-r1::gentoo
9 * racc-1.5.2.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
10 >>> Unpacking source...
11 * Running unpack phase for all ...
12 >>> Unpacking racc-1.5.2.tar.gz to /var/tmp/portage/dev-ruby/racc-1.5.2-r1/work/all
13 >>> Source unpacked in /var/tmp/portage/dev-ruby/racc-1.5.2-r1/work
14 >>> Preparing source in /var/tmp/portage/dev-ruby/racc-1.5.2-r1/work ...
15 * Running prepare phase for all ...
16 * Running prepare phase for all ...
17 Traceback (most recent call last):
18 3: from <internal:gem_prelude>:2:in `<internal:gem_prelude>'
19 2: from <internal:gem_prelude>:2:in `require'
20 1: from /usr/lib64/ruby/2.5.0/rubygems.rb:17:in `<top (required)>'
21 /usr/lib64/ruby/2.5.0/rubygems.rb:17:in `require': cannot load such file -- rubygems/compatibility (LoadError)
22 * ERROR: dev-ruby/racc-1.5.2-r1::gentoo failed (prepare phase):
23 * (no error message)
24 *
25 * Call stack:
26 * ebuild.sh, line 125: Called src_prepare
27 * environment, line 2205: Called ruby-ng_src_prepare
28 * environment, line 1861: Called _ruby_invoke_environment 'all' '_ruby_apply_patches'
29 * environment, line 717: Called _ruby_apply_patches
30 * environment, line 552: Called all_ruby_prepare
31 * environment, line 817: Called die
32 * The specific snippet of code:
33 * rake lib/racc/parser-text.rb || die;
34 *
35 * If you need support, post the output of `emerge --info '=dev-ruby/racc-1.5.2-r1::gentoo'`,
36 * the complete build log and the output of `emerge -pqv '=dev-ruby/racc-1.5.2-r1::gentoo'`.
37 * The complete build log is located at '/var/log/portage/dev-ruby:racc-1.5.2-r1:20210214-164845.log'.
38 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ruby/racc-1.5.2-r1/temp/build.log'.
39 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/racc-1.5.2-r1/temp/environment'.
40 * Working directory: '/var/tmp/portage/dev-ruby/racc-1.5.2-r1/work/all/racc-1.5.2'
41 * S: '/var/tmp/portage/dev-ruby/racc-1.5.2-r1/work/all/racc-1.5.2'
42
43 >>> Failed to emerge dev-ruby/racc-1.5.2-r1, Log file:
44
45 >>> '/var/log/portage/dev-ruby:racc-1.5.2-r1:20210214-164845.log'
46 *** Resuming merge...
47
48 These are the packages that would be merged, in order:
49
50 Calculating dependencies ..... done!
51 * One or more packages are either masked or have missing dependencies:
52 *
53 * >=dev-ruby/minitest-5.10.3[ruby_targets_ruby25] pulled in by:
54 * (dev-lang/ruby-2.5.8-r1:2.5/2.5::gentoo, installed)
55 *
56 * >=dev-ruby/bundler-2.1.4[ruby_targets_ruby30] pulled in by:
57 * (dev-lang/ruby-3.0.0-r1:3.0/3.0::gentoo, installed)
58 *
59 * virtual/rubygems[ruby_targets_ruby25(-)] pulled in by:
60 * (dev-ruby/bundler-2.2.4:2/2::gentoo, installed)
61 *
62 * virtual/rubygems[ruby_targets_ruby25(-)] pulled in by:
63 * (dev-ruby/did_you_mean-1.2.1:2.5/2.5::gentoo, installed)
64 *
65 * virtual/ruby-ssl[ruby_targets_ruby25(-)] pulled in by:
66 * (dev-ruby/racc-1.5.2:0/0::gentoo, installed)
67 *
68 * virtual/rubygems[ruby_targets_ruby25(-)] pulled in by:
69 * (dev-ruby/rdoc-6.3.0:0/0::gentoo, installed)
70 *
71 * The resume list contains packages that are either masked or have
72 * unsatisfied dependencies. Please restart/continue the operation
73 * manually, or use --skipfirst to skip the first package in the list and
74 * any other packages that may be masked or have missing dependencies.
75 *
76 * The following package has failed to build, install, or execute postinst:
77 *
78 * (dev-ruby/racc-1.5.2-r1:0/0::gentoo, ebuild scheduled for merge), Log file:
79 * '/var/log/portage/dev-ruby:racc-1.5.2-r1:20210214-164845.log'
80
81 I tried to emerge dev-ruby/racc, after re-installing
82 dev-ruby/rubygens, but no joy.
83
84 How can I proceed?
85
86 Thanks in advance for any suggestions.
87
88 --
89 Your life is like a penny. You're going to lose it. The question is:
90 How do
91 you spend it?
92
93 John Covici wb2una
94 covici@××××××××××.com

Replies

Subject Author
Re: [gentoo-user] ruby problem preventing my world update Ionen Wolkens <sudinave@×××××.com>