Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't install a new system
Date: Wed, 14 Apr 2021 12:42:27
Message-Id: 2576492.mvXUDI8C0e@peak
In Reply to: Re: [gentoo-user] Can't install a new system by Peter Humphrey
1 On Monday, 12 April 2021 12:01:28 BST Peter Humphrey wrote:
2
3 > Okay, step by step. First I chose the basic make.profile, number 1, and
4 > installed my base system set - everything that doesn't need a GUI. Then I
5 > switched to the basic desktop profile, number 5 and ran a -uav @world. So
6 > far so good, but then I attempted to install a basic set of GUI packages -
7 > everything but a DE. The command was 'emerge -uav @xorg'. I got this:
8 >
9 > --->8
10 >
11 > >>> Preparing source in /var/tmp/portage/dev-ruby/net-telnet-0.2.0/work ...
12 >
13 > * Running prepare phase for all ...
14 > * Running prepare phase for all ...
15 > * Running source copy phase for ruby27 ...
16 >
17 > >>> Source prepared.
18 > >>> Configuring source in /var/tmp/portage/dev-ruby/net-telnet-0.2.0/work
19 > >>> ...
20 >
21 > * Running configure phase for ruby27 ...
22 >
23 > >>> Source configured.
24 > >>> Compiling source in /var/tmp/portage/dev-ruby/net-telnet-0.2.0/work ...
25 >
26 > * Running compile phase for ruby27 ...
27 > * Running compile phase for all ...
28 >
29 > >>> Source compiled.
30 >
31 > * Skipping make test/check due to ebuild restriction.
32 >
33 > >>> Test phase [disabled because of RESTRICT=test]:
34 > >>> dev-ruby/net-telnet-0.2.0
35 > >>>
36 > >>> Install dev-ruby/net-telnet-0.2.0 into /var/tmp/portage/dev-ruby/net-
37 >
38 > telnet-0.2.0/image/
39 > * Running install phase for ruby27 ...
40 > Traceback (most recent call last):
41 > 3: from <internal:gem_prelude>:1:in `<internal:gem_prelude>'
42 > 2: from <internal:gem_prelude>:1:in `require'
43 > 1: from /usr/lib64/ruby/2.7.0/rubygems.rb:16:in `<top (required)>'
44 > /usr/lib64/ruby/2.7.0/rubygems.rb:16:in `require': cannot load such file --
45 > rubygems/compatibility (LoadError)
46 > * Unable to find the gems dir
47 > * ERROR: dev-ruby/net-telnet-0.2.0::gentoo failed (install phase):
48 > * Unable to find the gems dir
49 > --->8
50 >
51 > There seems to be an inconsistency in the ruby packaging. Is there anything
52 > I can do to evade it? I've attached the package-set files I use when
53 > building a new system, for info.
54
55 This doesn't happen in a stable system, only in ~amd64. It's consistent there,
56 though, so I'm tempted to raise a bug report.
57
58 --
59 Regards,
60 Peter.