Just synced my tree and updated portage from 2.2.0_alpha89 to 2.2.0_alpha90. After this and only this change system is a complete screw-up. I can't update or reinstall any package. Emerge fails as follows: # emerge portage Calculating dependencies ... done! >>> Verifying ebuild manifests Traceback (most recent call last): File "/usr/bin/emerge", line 43, in <module> retval = emerge_main() File "/usr/lib/portage/pym/_emerge/main.py", line 2030, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/lib/portage/pym/_emerge/actions.py", line 442, in action_build retval = mergetask.merge() File "/usr/lib/portage/pym/_emerge/Scheduler.py", line 1002, in merge rval = self._merge() File "/usr/lib/portage/pym/_emerge/Scheduler.py", line 1352, in _merge self._main_loop() File "/usr/lib/portage/pym/_emerge/PollScheduler.py", line 144, in _main_loop self._schedule() File "/usr/lib/portage/pym/_emerge/PollScheduler.py", line 134, in _schedule self._schedule_tasks() File "/usr/lib/portage/pym/_emerge/Scheduler.py", line 1516, in _schedule_tasks if self._schedule_tasks_imp(): File "/usr/lib/portage/pym/_emerge/Scheduler.py", line 1582, in _schedule_tasks_imp task = self._task(pkg) File "/usr/lib/portage/pym/_emerge/Scheduler.py", line 1646, in _task mtimedb=self._mtimedb, pkg=pkg, pkg_count=self._pkg_count.copy(), File "/usr/lib/portage/pym/portage/util/SlotObject.py", line 36, in copy obj = celf.__class__() NameError: global name 'celf' is not defined I got this on ~x86, can't reproduce on ~amd64. Though ~x86 system haven't undergone full world update for a rather long time (~8 month).
Created attachment 304305 [details] emerge --info Well, at least I was able to get emerge --info.
If the file /usr/lib/portage/pym/portage/util/SlotObject.py on the line 36 I replaced obj = celf.__class__() with obj = self.__class__() Looks like a typo.
It seems that the file got corrupted somehow. Apparently it's not reproducible, so I'll close the bug.