From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 69CCA158020 for ; Wed, 12 Oct 2022 00:12:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A59BDE0952; Wed, 12 Oct 2022 00:12:03 +0000 (UTC) Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 56240E0924 for ; Wed, 12 Oct 2022 00:12:03 +0000 (UTC) Received: by mail-qt1-f169.google.com with SMTP id s3so1012430qtn.12 for ; Tue, 11 Oct 2022 17:12:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:content-disposition:message-id :in-reply-to:mime-version:to:subject:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=QV6cRUEklBbt0khpmz5EO/Drxpn3PPOuJBvAs8lmfpw=; b=74Q9HSOtO45DfDfJKPTKf7cGv/Qp98PqN1AJYw42r/afme7GSl9U0PnNjp3SAAxmfQ 73fw5gT06kFs2s9fYF9Q8s0j1o9dYOxBWKaSIQEWnhHNe5USaxadbYJpmloxR6LbZbVZ 0k7sGAqyRICm8B3q3nU5P68v0ifhxkrlvFsMWf/ISj5E66DDZJ2D93sa7PTCMVJ9l4+D 2ggPy1duAXJFR3SUWo3TcubhOjAMy0VjHwdN6tklSIrJHyI3rK3qTBU9Cr9bLCDpQvWD dLEMw7XJbxy6ycNp7Abl6a7nRsT7f0+VdK2Vv6X9DFWoBBqSnUU1NbPzaZbzDg7quKaK a9Pg== X-Gm-Message-State: ACrzQf1CEMWOp3YkyfBxpDwLPsoL9aqBntSds4crtl08oPY9lKnWRTTH uW7PvDm/ZDG3LdgnkAX5RJSSy/0AD5kmJnkC X-Google-Smtp-Source: AMsMyM5s9x8Pu56lxsqDSb3sA/Qx/N5+4M5GQrUfOMePTOt1wJwD6JIdm0XBuuJKcyNYdw90/VGO2A== X-Received: by 2002:ac8:5dcd:0:b0:397:b7ee:d586 with SMTP id e13-20020ac85dcd000000b00397b7eed586mr16631728qtx.562.1665533522172; Tue, 11 Oct 2022 17:12:02 -0700 (PDT) Received: from ffortso9 (c-73-238-129-126.hsd1.ct.comcast.net. [73.238.129.126]) by smtp.gmail.com with ESMTPSA id do31-20020a05620a2b1f00b006ea5a9984d1sm11998854qkb.94.2022.10.11.17.12.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 17:12:01 -0700 (PDT) Date: Tue, 11 Oct 2022 20:12:00 -0400 From: Jack Subject: Re: [gentoo-user] problems emerging some ruby packages To: gentoo-user@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <2150948.NgBsaNRSFp@lenovo.localdomain> X-Mailer: Balsa 2.6.4 Message-Id: Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Archives-Salt: ca47f0b1-59d6-4662-b9bf-471a08f48c78 X-Archives-Hash: 9bdbcd270c64f308669ac14995653b36 On 2022.10.11 19:41, Michael wrote: > On Tuesday, 11 October 2022 22:43:02 BST Neil Bothwick wrote: > > On Tue, 11 Oct 2022 16:02:52 -0400, Jack wrote: > > > 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=3D"-doc -test" ABI_X86=3D"(64)" > > > RUBY_TARGETS=3D"-ruby27 (-ruby30) (-ruby31)" > > > > ruby30 and ruby31 are in parentheses, which means they are not =20 > available. > > > > > The following REQUIRED_USE flag constraints are unsatisfied: > > > any-of ( ruby_targets_ruby27 ruby_targets_ruby30 > > > > > > ruby_targets_ruby31 ) > > > > > > I would expect USE_RUBY=3D"ruby31" to translate into =20 > ruby_targets_ruby31, > > > but even explicitly adding that to package.use has no effect. > > > > The ebuild contains USE_RUBY=3D"ruby26 ruby27" ruby_add_bdepend " > > > > Have you tried setting RUBY_TARGETS to ruby27 for this package? > > > > I must say I find the whole RUBY_* thing even more troublesome than =20 > the > > PYTHON_* stuff, and that's saying something! >=20 > As per the emerge man page: >=20 > - prefix not enabled (either disabled or removed) > [snip...] >=20 > () circumfix forced, masked, or removed >=20 > On a stable system with default ruby targets, I get this: >=20 > [ebuild N ] dev-ruby/thor-1.2.1:1::gentoo USE=3D"-doc -test" > RUBY_TARGETS=3D"ruby27 (-ruby30) (-ruby31)" 95 KiB >=20 > and, dev-lang/ruby-2.7.6:2.7 is drawn in as a build dependency: >=20 > [ebuild N ] dev-lang/ruby-2.7.6:2.7::gentoo USE=3D"gdbm ipv6 rdoc =20 > ssl - > berkdb -debug -doc -examples -jemalloc -jit -rubytests -socks5 =20 > -static-libs - > systemtap -tk -xemacs" 11,802 KiB >=20 > NOTE: ruby 3.0 and 3.1 are marked as testing. I explicitly have ruby-3.1 unmasked with "=3Ddev-lang/ruby-3.1.2-r1 =20 ~amd64" in package.accept_keyword, and USE_RUBY=3D"ruby31" in make.conf. =20 I do not see any reference to ruby in the profile. Is there somewhere =20 else I need to unmask something? emerge --info also says =20 'RUBY_TARGETS=3D"ruby31"' as its only reference to a specific ruby =20 version. As I said in my reply to Neil, why would this happen in just a handful =20 of packages, but not in over thirty others? mini_mime is the other =20 problem package, and it does not use ruby_add_bdepend so there is only =20 one line with USE_RUBY: 'USE_RUBY=3D"ruby26 ruby27 ruby30 ruby31"'. So - why is ruby31 disabled for (so far) only these two packages? =20 (The other packages which are failing depend on one of these two.) Jack