public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: cal <cal@mail.meme.technology>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] update fails, but I don't see why
Date: Sun, 13 Dec 2020 11:56:55 -0800	[thread overview]
Message-ID: <eea61eaa-1574-39f8-a98c-3ba0933abf33@mail.meme.technology> (raw)
In-Reply-To: <a6b32f4f-fd05-44e4-0693-6d3943add6a0@web.de>

On 12/13/20 11:31 AM, n952162 wrote:
> On 12/13/20 1:09 AM, Dan Egli wrote:
>> Have to agree with Neil on this one. You've got a LOT of updates.
>> World is great, but start with emerge -UDuv @system, after you find
>> the culprit that is still setting python3_6 as a target. Once the
>> system emerge is done then you can try world again and hopefully get a
>> much smaller list. We can help you much better from there.
> 
> 
> python3_6 is bad, I've got that now, but lots and lots of packages have
> something similar to this:
> 
> PYTHON_TARGETS="python3_6 python3_7 python3_8 (-pypy3) -python3_9"
> 
> but I have no USE flags set to call for python3_6.

PYTHON_TARGETS is a USE_EXPAND: 
https://wiki.gentoo.org/wiki/Project:Python/PYTHON_TARGETS

Some defaults are set by the profile, but this can also be overridden in 
package.use.  You need to find where PYTHON_TARGETS is including python3_6.

> I presumed that
> would come from the ebuilds, like this from dev-python/setuptools:
> 
> PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 )

This is simply specifying which versions of Python setuptools is 
compatible with.  Which one(s) actually get used is determined by 
PYTHON_TARGETS.

> 
> Other than the PYTHON_TARGETS=, and this:
> 
>   dev-python/markupsafe[python_targets_pypy3(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?...
> 
> I don't see where python3_6 is coming into play.

It is the PYTHON_TARGETS.

> 
> Incidently, because I saw python3_9 somewhere, I emerged that, and
> selected it:
> 
> $ eselect python list
> Available Python interpreters, in order of preference:
>    [1]   python3.9
>    [2]   python3.6
>    [3]   python3.8 (fallback)
>    [4]   python3.7 (fallback)
>    [5]   python2.7 (fallback)
> 
> but it didn't change anything that I could see.

This only sets the default interpreter (which version of Python is 
linked to /usr/bin/python).  It does not do anything to the portage 
tree, as far as I am aware.  Portage Python dependencies should be 
controlled with PYTHON_TARGETS.

> 
> I can't find out how to make python3.6 fallback.  depclean doesn't
> remove it.

Depclean doesn't remove it because your PYTHON_TARGETS output above 
indicates there are packages still depending on it.

> 
> What's particularly frustrating is I can't make out from the log that
> there's anything wrong.

Did you try the suggestion from earlier in the thread to try to emerge 
in smaller pieces, since your @world update is so large?  Portage output 
is daunting when 100s of packages are involved, it is easier to start 
from a smaller set and work out what's wrong.

> 
> I hope my only alternative is not just to reinstall.  A reinstall takes
> a couple of days of compiling.

This thread has been going since a week ago... at a certain point 
reinstalling and letting portage chug through a day of compiling would 
be less effort than troubleshooting a broken installation.

> 
> 
>>
>> On 12/12/2020 3:35 PM, Neil Bothwick wrote:
>>> On Sat, 12 Dec 2020 23:08:15 +0100, n952162 wrote:
>>>
>>>> I did a --depclean but that didn't help.  I'm not seeing where an error
>>>> is indicated.
>>>>
>>>> This was done with this still installed:
>>>>
>>>>    */* PYTHON_TARGETS: python3_7
>>>>
>>>> I commented that out and tried again, and after a few USE flag
>>>> iterations, I ended up with what seems like the same situation. Log on
>>>> request.
>>> There's a lot to trawl through here, it looks like you haven't updated
>>> for quite some time. I'd suggest you try to cut down on the noise by
>>> updating only @system instead of @world.
>>>
>>> A quick glance at some of the output suggests that you still have
>>> PYTHON_TARGETS="python3_6" set somewhere. What do
>>>
>>> grep -r python3_6 /etc/portage
>>> emerge --info | grep -i python
>>>
>>> tell you?
>>>
>>>



  parent reply	other threads:[~2020-12-13 19:57 UTC|newest]

Thread overview: 89+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-03 20:33 [gentoo-user] update fails, but I don't see why n952162
2020-12-03 20:48 ` antlists
2020-12-03 21:04   ` Matt Connell (Gmail)
2020-12-03 21:06 ` tastytea
2020-12-03 21:11   ` Adam Carter
2020-12-04  8:13     ` n952162
2020-12-07 12:31       ` John Covici
2020-12-07 12:59         ` Arve Barsnes
2020-12-07 13:07           ` John Covici
2020-12-03 22:04   ` Victor Ivanov
2020-12-03 23:08   ` Neil Bothwick
2020-12-04  8:41   ` n952162
2020-12-04  8:53     ` Arve Barsnes
2020-12-04  9:10       ` antlists
2020-12-04  9:35       ` n952162
2020-12-04 10:07         ` Arve Barsnes
2020-12-04 19:52           ` n952162
2020-12-04 20:00             ` n952162
2020-12-04 20:25               ` n952162
2020-12-04 21:49                 ` Arve Barsnes
2020-12-04 22:13                   ` n952162
2020-12-04 22:19                     ` n952162
2020-12-04 22:40                       ` Jack
2020-12-05  8:48                         ` n952162
2020-12-06 12:32                           ` Neil Bothwick
2020-12-05  9:06                         ` n952162
2020-12-05  9:41                           ` n952162
2020-12-05 10:13                             ` Dale
2020-12-05 11:06                               ` n952162
2020-12-05 13:42                               ` Victor Ivanov
2020-12-06  6:46                                 ` Dale
2020-12-12 22:08                           ` n952162
2020-12-12 22:35                             ` Neil Bothwick
2020-12-13  0:09                               ` Dan Egli
2020-12-13 19:31                                 ` n952162
2020-12-13 19:48                                   ` n952162
2020-12-13 20:49                                     ` Arve Barsnes
2020-12-13 19:56                                   ` cal [this message]
     [not found]                               ` <32af647f-a0e1-77e7-ff0f-4a5495e45f6b@web.de>
2020-12-13  8:18                                 ` Neil Bothwick
2020-12-13  8:57                                   ` n952162
2020-12-13  9:55                                     ` Michael
2020-12-13 21:10                                       ` n952162
2020-12-13 21:51                                         ` Dale
2020-12-14  0:04                                         ` Michael
2020-12-14  6:58                                           ` n952162
2020-12-13 10:07                                   ` n952162
2020-12-13 10:09                                     ` n952162
2020-12-13 22:10                                     ` Walter Dnes
2020-12-20 16:49                                     ` Peter Humphrey
2020-12-13 18:58                                   ` n952162
2020-12-13 19:48                                     ` Mark Knecht
2020-12-13 20:06                                       ` Dale
2020-12-13 21:02                                         ` n952162
2020-12-13 21:14                                           ` n952162
2020-12-13 21:40                                             ` Dale
2020-12-14  6:38                                               ` n952162
2020-12-13 21:31                                           ` Dale
2020-12-14  3:46                                             ` [gentoo-user] " Grant Edwards
2020-12-14  6:47                                             ` [gentoo-user] " n952162
2020-12-13 21:39                                           ` antlists
2020-12-14  6:50                                             ` n952162
2020-12-13 23:41                                           ` Neil Bothwick
2020-12-13 23:35                                     ` Neil Bothwick
2020-12-14  3:54                                     ` [gentoo-user] " Grant Edwards
2020-12-14  6:54                                       ` n952162
2020-12-14  8:43                                         ` Neil Bothwick
2020-12-14  8:51                                         ` Dale
2020-12-14 10:17                                           ` Wols Lists
2020-12-14 12:55                                             ` n952162
2020-12-14 16:32                                               ` Michael
2020-12-14 23:38                                               ` antlists
2020-12-14 23:47                                                 ` Grant Edwards
2020-12-13  8:49                               ` [gentoo-user] " n952162
2020-12-04 22:46                       ` Neil Bothwick
2020-12-05  8:54                         ` n952162
2020-12-06 12:27                           ` Neil Bothwick
2020-12-04 10:08       ` Adam Carter
2020-12-29 22:07 ` [gentoo-user] update fails, but I don't see why [PROGRESS] n952162
2020-12-29 22:16   ` n952162
2020-12-29 22:32     ` Dale
2020-12-29 22:55     ` Neil Bothwick
2020-12-30  0:05       ` Michael
2020-12-30  0:21         ` Dale
2020-12-30  7:26           ` n952162
2020-12-30  7:22         ` n952162
2020-12-30  9:53           ` Michael
2020-12-30  7:42         ` n952162
2020-12-30  8:35           ` Arve Barsnes
2020-12-30 11:56             ` n952162

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=eea61eaa-1574-39f8-a98c-3ba0933abf33@mail.meme.technology \
    --to=cal@mail.meme.technology \
    --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