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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C0EBF1382C5 for ; Sat, 19 Dec 2020 11:32:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 581FDE0880; Sat, 19 Dec 2020 11:32:13 +0000 (UTC) Received: from mout.web.de (mout.web.de [212.227.15.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 12E71E0875 for ; Sat, 19 Dec 2020 11:32:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1608377519; bh=0ulCs+9ozItPb4Z/HxrAKNN0RUDt8AihzStdBsmDrl4=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=eo0wDQ1arPYVXi7jrIgk+uGg2BwUUVTV4makvAZ+abuKbHg2ArSonPInauWElJvMX RXx4BH2bzb2ec7OLzjC5bzYs45lngXkxzMmasQ7hhpiqslZKYjk7RG3TGnJyLq92bP e+xm4j1QDXpCM0fohcogDL199vfV76Cg+vhnpt6E= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.178.101] ([92.195.238.249]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MJpnI-1kpU0A2l9g-0017pV for ; Sat, 19 Dec 2020 12:31:58 +0100 Subject: Re: [gentoo-user] override PYTHON_TARGETS to avoid a slot collision To: gentoo-user@lists.gentoo.org References: <361f9fda-9b2c-5e40-2b2e-28c35e52056b@web.de> <764b8e72-889d-40f5-5303-8d68716f399b@88.com> From: n952162 Message-ID: <514c82d1-ab89-df4b-d62c-addeb0943ce6@web.de> Date: Sat, 19 Dec 2020 12:33:10 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.2 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: <764b8e72-889d-40f5-5303-8d68716f399b@88.com> Content-Type: multipart/alternative; boundary="------------23BF6450D42C655AFB4B8BD0" Content-Language: en-US X-Provags-ID: V03:K1:v5uy/bhB1ohudjltSdO/fqG0N90nSS8zPu5Ibjp31Uf+1Bg/J3L F0UB9L3FIvYZ7Mw8R6FfTTPPrfYiMbIcFHyQAbcgIAFGrTn68tiVNI3Z7fuu5IXJkGi4In6 Fg1HQE7eC8j1nBg9LSibVf5nLmA+hBTfSLtoWL3cAnzFWpOr6zUYqlglNqnMPx7k/Jjg3Pp TMR69uei0vCb/EyfZPVuw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:i56w5+k5+cM=:9uUWmVP+0G3I9PP5DIPW55 6Tbhja4ewNsEiwubqX8T7kWUvF7AQOrFa7a1WscNnLl635uXNrntRXdDDQnjzUaXu5C3N7l59 omv608zcq155zUksKKtRrJ7PWIkFjfryYRPhdzFFu451qQ44deAQktsFurJiOtET3PZZFmwKH 4c6OhDdx/rERr8XkvxAUXXCkPHKBQEGp1GthANWhj2Lusn0lf2YtKAlJfUgOaxrPg2MWdggTN VMJ3h4eIBb+P6jdQOVG8cxSu+8H+A/0LmWP+GSxpigzq0q4efc35nHdciLYTOxGMTJh5i904z zSuBZ1X99LYSqZC69VAimuEBDopcUlqkA1R1AQt7/1DJZ2ahF0dCTbj8nPTzijZyro+dVK3kN pwysHs01kwnqzF997pGjl+RG/Gua8Njd5LPrQb5bD3Az9lwLN5pGyxKw2HUC1a9jcN2YJe8bg rQLO22MbAMnQE7Hac2caBoK7RHMkFgB6egc/gkeqxZQfGDOYhVPJ7tsXanppsnYihQ2mV/VuK KJYL0wayYH+nkDe4XwIzibip8Ym4yhIJDhPZ7ArFobme0sVrLvsCZPNJvdn1udWOCIZV0dPRp Ew/4uGtXtN+W8Gsm02GDR/4Y8fy4Krk+30AZQvWo9FOnmzXo4Xe0CRzT976J8XDxM+aN9b7KU XuoZsSGcCso5AD26bbGJBCrZeoELaa65wspiVm2Q3yGoVskI/8szFjFbiiFjRzj7xSJE1RRkK bo5KDSOgxce2/BDNvppyfuWsn3jcUAvxHlHGUpndE5T1xBnHMXmxvsIUU57+ooak1wZtaAwox xqCehw1ugeJzM8tqwfnW8PKmuGhsetYRbaQp9GkLKXiJzw5VzFNKkrsShPuwHtAbgUdgSrXuQ hUgaGXygKI8Uog5dYLGQ== X-Archives-Salt: 4b1e5100-aed7-437a-a673-aaecff47a517 X-Archives-Hash: aac669715811542e360cf3fd501c4921 This is a multi-part message in MIME format. --------------23BF6450D42C655AFB4B8BD0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable On 12/19/20 12:12 PM, bobwxc wrote: > =E5=9C=A8 2020/12/19 =E4=B8=8B=E5=8D=886:20, n952162 =E5=86=99=E9=81=93: >> On 12/16/20 11:59 AM, Arve Barsnes wrote: >>> On Wed, 16 Dec 2020 at 11:34, Miles Malone >>> wrote: >>>> What's happening when you do emerge -avuDN --with-bdeps=3Dy >>>> --backtrack=3D100 @world ? Giving portage the flexibility to solve i= t >>>> with some extra backtracking and increasing the scope to world might >>>> fix it, if not then we can revisit it? >>> You should definitely try this first if you haven't. >> >> I have. >> >>>>> If the package was good enough before, it's likely still good enough= . Where's the problem? I've (unsuccessfully) made these attempts: >>>>> >>>>> # */* PYTHON_TARGETS: python3_6 python3_7 python3_8 python3_9 >>>>> #*/* PYTHON_TARGETS: -python3_6 -python3_7 python3_8 python3_9 >>>>> # just have one set >>>>> */* PYTHON_TARGETS: python3_8 >>> Is there any reason that you need to add py3.9 to all packages? If you >>> need it for something special, add it to those packages only, and let >>> portage take care of python targets for you instead of continuously >>> trying these big hammers. Ideally you should have *no* python targets >>> set manually in make.conf or USE files. >> >> I added it because I saw python3_9 in the PYTHON_TARGETS list for, >> e.g. jinja, and hoped that it would force compatibility. That is the >> question of the original post.=C2=A0 But that was just one of many atte= mpts. >> >>>>> The emerge command was: >>>>> >>>>> sudo emerge --verbose=3Dy -vuUD --verbose-conflicts dev-python/s= etuptools dev-python/setuptools_scm dev-python/certifi dev-python/markupsa= fe dev-python/jinja dev-libs/libxml2 >>> Since it seems sphinx is installed with a different set of python >>> targets than what you're trying to update, you should include sphinx >>> in that emerge command to let it update to the same python targets and >>> solve the conflict. >>> >>> Regards, >>> Arve >> >> I tried adding that but it didn't help. >> >> My latest command was: >> >> =C2=A0time emerge \ >> =C2=A0=C2=A0=C2=A0 -v \ >> =C2=A0=C2=A0=C2=A0 --deep \ >> =C2=A0=C2=A0=C2=A0 --update \ >> =C2=A0=C2=A0=C2=A0 --changed-use \ >> =C2=A0=C2=A0=C2=A0 --verbose-conflicts \ >> =C2=A0=C2=A0=C2=A0 --keep-going \ >> =C2=A0=C2=A0=C2=A0 --with-bdeps=3Dy \ >> =C2=A0=C2=A0=C2=A0 --changed-deps \ >> =C2=A0=C2=A0=C2=A0 --backtrack=3D100 \ >> =C2=A0=C2=A0=C2=A0 --newuse \ >> dev-python/setuptools dev-python/setuptools_scm dev-python/certifi >> dev-python/markupsafe dev-python/jinja dev-libs/libxml2 dev-python/sphi= nx >> >> Below is the latest build output, with no PYTHON_TARGET specifications. >> > ... >> >> >> real=C2=A0=C2=A0=C2=A0 0m45.063s >> user=C2=A0=C2=A0=C2=A0 0m44.602s >> sys=C2=A0=C2=A0=C2=A0 0m0.399s >> >> >> I don't think this output or any list participant has actually >> identified where the problem here is.=C2=A0 In my original posting, the >> only difference causing the slot collision for jinja was that one had >> a PYTHON_TARGETS of 3-7 and the other of 3-8.=C2=A0 I asked how to forc= e >> it to the correct value, but if someone explained that to me, I >> didn't understand it. >> >> >> I'm afraid I'm going to have to give up on gentoo, although I'm >> pretty heavily invested in it.=C2=A0 I'm spending too many hours trying= to >> maintain my systems and running into too many seemingly arbitrary >> roadblocks.=C2=A0 I'm told I should update every week, but I can't get = a >> system updated in a week. >> >> >> /Is there=C2=A0 a fundamental goals issue here, when there's so much >> incompatibility between python3_{6,7,8,9}?=C2=A0 Do packages really nee= d >> to care?=C2=A0 Are these versions so fundamentally different from each >> other, and programmers rely on those differences?=C2=A0 Or, is this >> somebody's orderliness tic?/ >> > So what do you really want to know? Well, for starters, why emerge(1) is not emerging... > Using jinja with python3.6 3.7.3.8 3.9 at the same time? I don't know what jinja is and I just switched over to python3 myself.=C2= =A0 I'm not into subtleties like 6, 7, 8, or 9. I do an emerge @world, it tells me I have slot collisions and stops.=C2=A0 Following Neil B.'s advice, I try to go through the collisions and see what the differences are.=C2=A0 jinja was a nice example, because there wa= s a collision of the same package with itself!=C2=A0 The only difference was t= he PYTHON_TARGET.=C2=A0 I hoped someone could explain how I could force equivalency in that simple case. > Or want to keep it with 3.6 or some else? > > The default PYTHON_TARGETS now change to 3_8 from 3_6. So when you > update, many software need to change. Yeah.=C2=A0 That surprises me, actually. > If you want to change that targets, just follow > https://wiki.gentoo.org/wiki/Project:Python/PYTHON_TARGETS > Maybe there no different or compatibility=C2=A0 with it actually, but we > need a correct dependency. I'm trying to emerge.=C2=A0 I'm not developing anything. > > If you do not have enough time to update and config gentoo, > =C2=A0maybe you should try other Linux like Arch(No need to compile) and > Debian(less update). Yes, that's always an option.=C2=A0=C2=A0 On the other hand, it might be p= ossible to improve gentoo so that not only the very brightest people can use it.=C2=A0 Source is kind of like a vaccine - if enough people use it, it c= an help prevent the spread of viruses. --------------23BF6450D42C655AFB4B8BD0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On 12/19/20 12:12 PM, bobwxc wrote:
=E5=9C=A8 2020/12/19 =E4=B8=8B=E5=8D= =886:20, n952162 =E5=86=99=E9=81=93:
On 12/16/20 11:59 AM, Arve Barsnes wrote:
On Wed, 16 Dec 2020 at 11=
:34, Miles Malone
<m.malone@homicidalteddybear.net><=
/a> wrote:
What's happening when y=
ou do emerge -avuDN --with-bdeps=3Dy
=2D-backtrack=3D100 @world ?  Giving portage the flexibility to solve it
with some extra backtracking and increasing the scope to world might
fix it, if not then we can revisit it?
You should definitely try=
 this first if you haven't.

I have.

If the package was go=
od enough before, it's likely still good enough.  Where's the problem?  I'=
ve (unsuccessfully) made these attempts:

# */* PYTHON_TARGETS: python3_6 python3_7 python3_8 python3_9
#*/* PYTHON_TARGETS: -python3_6 -python3_7 python3_8 python3_9
# just have one set
*/* PYTHON_TARGETS: python3_8
Is there any reason that =
you need to add py3.9 to all packages? If you
need it for something special, add it to those packages only, and let
portage take care of python targets for you instead of continuously
trying these big hammers. Ideally you should have *no* python targets
set manually in make.conf or USE files.

I added it because I saw python3_9 in the PYTHON_TARGETS list for, e.g. jinja, and hoped that it would force compatibility.=C2= =A0 That is the question of the original post.=C2=A0 But that was ju= st one of many attempts.

The emerge command wa=
s:

sudo emerge --verbose=3Dy -vuUD   --verbose-conflicts   dev-python/setupto=
ols dev-python/setuptools_scm dev-python/certifi dev-python/markupsafe dev=
-python/jinja dev-libs/libxml2
Since it seems sphinx is =
installed with a different set of python
targets than what you're trying to update, you should include sphinx
in that emerge command to let it update to the same python targets and
solve the conflict.

Regards,
Arve

I tried adding that but it didn't help.

My latest command was:

=C2=A0time emerge \
=C2=A0=C2=A0=C2=A0 -v \
=C2=A0=C2=A0=C2=A0 --deep \
=C2=A0=C2=A0=C2=A0 --update \
=C2=A0=C2=A0=C2=A0 --changed-use \
=C2=A0=C2=A0=C2=A0 --verbose-conflicts \
=C2=A0=C2=A0=C2=A0 --keep-going \
=C2=A0=C2=A0=C2=A0 --with-bdeps=3Dy \
=C2=A0=C2=A0=C2=A0 --changed-deps \
=C2=A0=C2=A0=C2=A0 --backtrack=3D100 \
=C2=A0=C2=A0=C2=A0 --newuse \
dev-python/setuptools dev-python/setuptools_scm dev-python/certifi dev-python/markupsafe dev-python/jinja dev-libs/libxml2 dev-python/sphinx

Below is the latest build output, with no PYTHON_TARGET specifications.

...


real=C2=A0=C2=A0=C2=A0 0m45.063s
user=C2=A0=C2=A0=C2=A0 0m44.602s
sys=C2=A0=C2=A0=C2=A0 0m0.399s


I don't think this output or any list participant has actually identified where the problem here is.=C2=A0 In my origi= nal posting, the only difference causing the slot collision for jinja was that one had a PYTHON_TARGETS of 3-7 and the other of 3-8.=C2=A0 I asked how to force it to the correct value, but = if someone explained that to me, I didn't understand it.


I'm afraid I'm going to have to give up on gentoo, although I'm pretty heavily invested in it.=C2=A0 I'm spending too many hours trying to maintain my systems and running into too many seemingly arbitrary roadblocks.=C2=A0 I'm told I should update every week, but I can't get a system updated in a week.


Is there=C2=A0 a fundamental goals issue here, when there's = so much incompatibility between python3_{6,7,8,9}?=C2=A0 Do=C2=A0 packages really need to care?=C2=A0 Are these versions so fundamentally different from each other, and programmers rely on those differences?=C2=A0 Or, is this somebody's orderliness tic?

So what do you really want to know?


Well, for starters, why emerge(1) is not emerging...



Using jinja with python3.6 3.7.3.8 3.9 at the same time?


I don't know what jinja is and I just switched over to python3 myself.=C2=A0 I'm not into subtleties like 6, 7, 8, or 9.

I do an emerge @world, it tells me I have slot collisions and stops.=C2=A0 Following Neil B.'s advice, I try to go through the collisions and see what the differences are.=C2=A0 jinja was a nice example, because there was a collision of the same package with itself!=C2=A0 The only difference was the PYTHON_TARGET.=C2=A0 I hop= ed someone could explain how I could force equivalency in that simple case.


Or want to keep it with 3.6 or some else?

The default PYTHON_TARGETS now change to 3_8 from 3_6. So when you update, many software need to change.


Yeah.=C2=A0 That surprises me, actually.


If you want to change that targets, just follow https://wiki.gentoo.org/wiki/Project:Pyth= on/PYTHON_TARGETS
Maybe there no different or compatibility=C2=A0 with it actually, bu= t we need a correct dependency.


I'm trying to emerge.=C2=A0 I'm not developing anything.



If you do not have enough time to update and config gentoo,
=C2=A0maybe you should try other Linux like Arch(No need to compile) and Debian(less update).


Yes, that's always an option.=C2=A0=C2=A0 On the other hand, it mig= ht be possible to improve gentoo so that not only the very brightest people can use it.=C2=A0 Source is kind of like a vaccine - if enoug= h people use it, it can help prevent the spread of viruses.


--------------23BF6450D42C655AFB4B8BD0--