1 |
On Tuesday, 11 October 2022 22:43:02 BST Neil Bothwick wrote: |
2 |
> On Tue, 11 Oct 2022 16:02:52 -0400, Jack wrote: |
3 |
> > For example, "emerge -1 dev-ruby/thor" gives me |
4 |
> > |
5 |
> > !!! Problem resolving dependencies for dev-ruby/thor |
6 |
> > ... done! |
7 |
> > |
8 |
> > !!! The ebuild selected to satisfy "dev-ruby/thor" has unmet |
9 |
> > requirements. |
10 |
> > - dev-ruby/thor-1.2.1::gentoo USE="-doc -test" ABI_X86="(64)" |
11 |
> > RUBY_TARGETS="-ruby27 (-ruby30) (-ruby31)" |
12 |
> |
13 |
> ruby30 and ruby31 are in parentheses, which means they are not available. |
14 |
> |
15 |
> > The following REQUIRED_USE flag constraints are unsatisfied: |
16 |
> > any-of ( ruby_targets_ruby27 ruby_targets_ruby30 |
17 |
> > |
18 |
> > ruby_targets_ruby31 ) |
19 |
> > |
20 |
> > I would expect USE_RUBY="ruby31" to translate into ruby_targets_ruby31, |
21 |
> > but even explicitly adding that to package.use has no effect. |
22 |
> |
23 |
> The ebuild contains USE_RUBY="ruby26 ruby27" ruby_add_bdepend " |
24 |
> |
25 |
> Have you tried setting RUBY_TARGETS to ruby27 for this package? |
26 |
> |
27 |
> I must say I find the whole RUBY_* thing even more troublesome than the |
28 |
> PYTHON_* stuff, and that's saying something! |
29 |
|
30 |
As per the emerge man page: |
31 |
|
32 |
- prefix not enabled (either disabled or removed) |
33 |
[snip...] |
34 |
|
35 |
() circumfix forced, masked, or removed |
36 |
|
37 |
On a stable system with default ruby targets, I get this: |
38 |
|
39 |
[ebuild N ] dev-ruby/thor-1.2.1:1::gentoo USE="-doc -test" |
40 |
RUBY_TARGETS="ruby27 (-ruby30) (-ruby31)" 95 KiB |
41 |
|
42 |
and, dev-lang/ruby-2.7.6:2.7 is drawn in as a build dependency: |
43 |
|
44 |
[ebuild N ] dev-lang/ruby-2.7.6:2.7::gentoo USE="gdbm ipv6 rdoc ssl - |
45 |
berkdb -debug -doc -examples -jemalloc -jit -rubytests -socks5 -static-libs - |
46 |
systemtap -tk -xemacs" 11,802 KiB |
47 |
|
48 |
NOTE: ruby 3.0 and 3.1 are marked as testing. |