public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: John Covici <covici@ccs.covici.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Python-3.9 and emerge problems
Date: Fri, 18 Jun 2021 09:26:58 -0400	[thread overview]
Message-ID: <m3y2b7482l.wl-covici@ccs.covici.com> (raw)
In-Reply-To: <20210618130710.18b7e27a@digimed.co.uk>

On Fri, 18 Jun 2021 08:07:10 -0400,
Neil Bothwick wrote:
> 
> [1  <text/plain; US-ASCII (quoted-printable)>]
> On Fri, 18 Jun 2021 11:46:27 +0200, Jacques Montier wrote:
> 
> > #emerge --sync
> > #emerge --oneshot sys-apps/portage
> > #emerge -auvDN --with-bdeps=y --keep-going world
> > 
> > I get these errors :
> > 
> > Traceback (most recent call last):
> >   File "/usr/lib/python-exec/python3.9/emerge", line 51, in <module>
> >     retval = emerge_main()
> >   File "/usr/lib/python3.9/site-packages/_emerge/main.py", line 1319, in
> > emerge_main
> >     return run_action(emerge_config)
> >   File "/usr/lib/python3.9/site-packages/_emerge/actions.py", line
> > 3392, in run_action
> >     retval = action_build(emerge_config, spinner=spinner)
> >   File "/usr/lib/python3.9/site-packages/_emerge/actions.py", line 354,
> > in action_build
> >     success, mydepgraph, favorites = backtrack_depgraph(
> >   File "/usr/lib/python3.9/site-packages/_emerge/depgraph.py", line
> > 10005, in backtrack_depgraph
> >     return _backtrack_depgraph(settings, trees, myopts, myparams,
> >   File "/usr/lib/python3.9/site-packages/_emerge/depgraph.py", line
> > 10043, in _backtrack_depgraph
> >     success, favorites = mydepgraph.select_files(myfiles)
> >   File "/usr/lib/python3.9/site-packages/_emerge/depgraph.py", line
> > 4055, in select_files
> >     return self._select_files(args)
> >   File "/usr/lib/python3.9/site-packages/_emerge/depgraph.py", line
> > 4189, in _select_files
> >     set_atoms = root_config.setconfig.getSetAtoms(s)
> >   File "/usr/lib/python3.9/site-packages/portage/_sets/__init__.py",
> > line 271, in getSetAtoms
> >     myatoms.update(self.getSetAtoms(s,
> >   File "/usr/lib/python3.9/site-packages/portage/_sets/__init__.py",
> > line 271, in getSetAtoms
> >     myatoms.update(self.getSetAtoms(s,
> >   File "/usr/lib/python3.9/site-packages/portage/_sets/__init__.py",
> > line 260, in getSetAtoms
> >     myatoms = myset.getAtoms()
> >   File "/usr/lib/python3.9/site-packages/portage/_sets/base.py", line
> > 58, in getAtoms
> >     self._load()
> >   File "/usr/lib/python3.9/site-packages/portage/_sets/base.py", line
> > 53, in _load
> >     self.load()
> >   File "/usr/lib/python3.9/site-packages/portage/_sets/dbapi.py", line
> > 111, in load
> >     self._setAtoms(self.mapPathsToAtoms(self._files,
> >   File "/usr/lib/python3.9/site-packages/portage/_sets/dbapi.py", line
> > 83, in mapPathsToAtoms
> >     for p in exclude_paths:
> > TypeError: 'NoneType' object is not iterable
> > 
> > And i can't do anything else...
> > 
> > I see that python-3.8 has gone away
> > # eselect python list
> > Available Python interpreters, in order of preference:
> >   [1]   python3.9
> 
> I has the same a couple of days ago and had to downgrade portage from
> 3.0.20 to 3.0.18, by untarring the binary package to /. However, that
> needed python 3.8, so I also had to untar the binary package for that.
> Then I re-emerged portage-3.0.18 and python-3.8 and masked
> portage-3.0.20. Once I had re-emerged portage-3.0.18, it worked with
> python 3.9.
> 
> I see that portage 3.0.20-r3 is here now, so I'll try emerging that on
> one system and see what happens.

No joy  on doing that here -- last time  I had to restore the whole
3.8 site-packages directory from before I did the emerge -- just
restoring 3.0.18 still gives me the traceback -- this is major
annoyance.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         covici@ccs.covici.com


      parent reply	other threads:[~2021-06-18 13:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-18  9:46 [gentoo-user] Python-3.9 and emerge problems Jacques Montier
2021-06-18 11:20 ` John Covici
2021-06-18 11:45 ` Wols Lists
2021-06-18 12:07 ` Neil Bothwick
2021-06-18 13:11   ` Neil Bothwick
2021-06-18 13:54     ` John Covici
2021-06-18 14:00       ` Neil Bothwick
2021-06-18 14:26         ` Jacques Montier
2021-06-18 15:55         ` John Covici
2021-06-19 12:35           ` Jacques Montier
2021-06-18 13:26   ` John Covici [this message]

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=m3y2b7482l.wl-covici@ccs.covici.com \
    --to=covici@ccs.covici.com \
    --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