public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jack <ostroffjh@users.sourceforge.net>
To: Gentoo User List <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] problems emerging some ruby packages
Date: Tue, 11 Oct 2022 16:02:52 -0400	[thread overview]
Message-ID: <XGT6VGTF.U6BF3UBO.2HSIWV6E@ZJ4SENOL.4SVSWRIA.MVDIZTHO> (raw)

I'm helping support a web site hosted at Heroku and written in Ruby on  
Rails.  Following some tool upgrades there, I upgraded my local rails  
to 3.1, uninstalling the previous version 2.7.  I  now have  
RUBY_TARGETS="ruby31" in make.conf. and several specific dev-ruby  
package versions in package.accept_keywords.  Most of them upgraded  
fine, or at least reinstalled (using a version supporting ruby31 after  
unmerging the old version) but some are giving me grief.

For example, "emerge -1 dev-ruby/thor" gives me

!!! Problem resolving dependencies for dev-ruby/thor
... done!

!!! The ebuild selected to satisfy "dev-ruby/thor" has unmet  
requirements.
- dev-ruby/thor-1.2.1::gentoo USE="-doc -test" ABI_X86="(64)"  
RUBY_TARGETS="-ruby27 (-ruby30) (-ruby31)"

   The following REQUIRED_USE flag constraints are unsatisfied:
     any-of ( ruby_targets_ruby27 ruby_targets_ruby30  
ruby_targets_ruby31 )

I would expect USE_RUBY="ruby31" to translate into ruby_targets_ruby31,  
but even explicitly adding that to package.use has no effect.  Is there  
something I'm missing turning off ruby31, specifically for just a small  
number of packages?  (so far the only other one with this problem is  
dev-ruby/mini_mime).

Portage has two versions of thor: 1.1.0 and 1.1.2, both marked stable  
for amd64, and 1.2.1 has USE_RUBY="ruby26 ruby27 ruby30 ruby31" so I  
don't see any reason it's not working.

I already have railties installed (using -O) with ruby31, and it  
depends on thor via ruby_add_redepend, which I read as requiring thor  
with ruby31.  thor is not mentioned in any file under /etc/portage.

Does anybody see what I'm missing?

Jack


             reply	other threads:[~2022-10-11 20:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-11 20:02 Jack [this message]
2022-10-11 20:07 ` [gentoo-user] problems emerging some ruby packages Arve Barsnes
2022-10-11 21:27   ` Jack
2022-10-11 21:43 ` Neil Bothwick
2022-10-11 23:41   ` Michael
2022-10-12  0:12     ` Jack
2022-10-12  5:18       ` Arve Barsnes
2022-10-12 18:50         ` [gentoo-user] problems emerging some ruby packages (almost solved) Jack
2022-10-12  7:48       ` [gentoo-user] problems emerging some ruby packages Michael
2022-10-11 23:52   ` Jack
2022-10-12  7:43     ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=XGT6VGTF.U6BF3UBO.2HSIWV6E@ZJ4SENOL.4SVSWRIA.MVDIZTHO \
    --to=ostroffjh@users.sourceforge.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox