Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 758095

Summary: !!! Problem in 'sys-auth/polkit::overlay' dependencies.
Product: Gentoo Linux Reporter: contactopublico57
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: contactopublico57
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description contactopublico57 2020-12-02 18:54:18 UTC
Emerge command to update produces verbose error output in terminal.

The output can be eliminated by renaming the sys-auth/polkit in the main repository, and emerge shows package updates as normal.

I do not know why there is mention of 'overlay', as renaming sys-auth/polkit in the /usr/portage main repo and not an overlay repo, eliminates the output.

The verbose output:

!!! Problem in 'sys-auth/polkit::overlay' dependencies.
!!! 'SetArg' object has no attribute 'root' None
... done!
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.7/emerge", line 51, in <module>
    retval = emerge_main()
  File "/usr/lib/python3.7/site-packages/_emerge/main.py", line 1317, in emerge_main
    return run_action(emerge_config)
  File "/usr/lib/python3.7/site-packages/_emerge/actions.py", line 3376, in run_action
    retval = action_build(emerge_config, spinner=spinner)
  File "/usr/lib/python3.7/site-packages/_emerge/actions.py", line 354, in action_build
    settings, trees, myopts, myparams, myaction, myfiles, spinner)
  File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 9979, in backtrack_depgraph
    myaction, myfiles, spinner)
  File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 10016, in _backtrack_depgraph
    success, favorites = mydepgraph.select_files(myfiles)
  File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 4029, in select_files
    return self._select_files(args)
  File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 4372, in _select_files
    return self._resolve(myfavorites)
  File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 4501, in _resolve
    if not self._add_pkg(pkg, dep):
  File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 3111, in _add_pkg
    pkg.root == myparent.root and
AttributeError: 'SetArg' object has no attribute 'root'
Comment 1 Andreas Sturmlechner gentoo-dev 2020-12-02 22:55:46 UTC
Missing `emerge --info`.

It will probably reveal some `overlay` on your system of your own making with some troubled sys-auth/polkit package in it, which is causing your local error.
Comment 2 Jouni Kosonen 2020-12-04 03:54:03 UTC
PSA: Just in case your use of sys-auth/polkit from your local overlay was what you intended to do, and you still needed to rename the main tree package to do so, you were probably using sys-apps/portage-3.0.11{,-r1} and need to update to -r2 if you haven't yet.

See bug 757741.
Comment 3 contactopublico57 2020-12-04 18:33:07 UTC
This was in fact the case, using sys-apps/portage-3.0.11{,-r1}