After an new emerge of portage and a revdep-rebuild, emerge breaks in a lot of ways. It seems that some .py code breaks it and now I cannot use it to emerge any files. Following the instructions in manually fixing portage did not yield any results. emerge --sync works, thou. Reproducible: Always Steps to Reproduce: 1.emerge -a portage 2. 3. Actual Results: teapot ~ # emerge -a cmake These are the packages that would be merged, in order: Calculating dependencies ## (freezes for a bit here. No spinner! :( Traceback (most recent call last): File "/usr/bin/emerge", line 18, in <module> retval = _emerge.emerge_main() File "/usr/lib64/portage/pym/_emerge/__init__.py", line 14327, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/lib64/portage/pym/_emerge/__init__.py", line 13149, in action_build mydepgraph = depgraph(settings, trees, myopts, myparams, spinner) File "/usr/lib64/portage/pym/_emerge/__init__.py", line 4219, in __init__ pkg_cache=self._pkg_cache) File "/usr/lib64/portage/pym/_emerge/__init__.py", line 1104, in __init__ real_dbapi.flush_cache() File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 1023, in flush_cache self._owners.populate() # index any unindexed contents File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 1403, in populate self._populate() File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 1429, in _populate owners_cache.add(cpv) File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 1353, in add contents = self._vardb._dblink(cpv).getcontents() File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 1824, in getcontents mylines = myc.readlines() IOError: [Errno 5] Input/output error Expected Results: Emerge!
You forgot to include lots of vital data. Such as which portage version are you running. And emerge --info A summary of "portage" does not tell our maintainers much which causes the likely hood of this bug being seen by one of them is rather slim as is.
Please post your `emerge --info' and reopen this bug report.
This is a Problem again unresolved. a also have this, see the messages: File "//usr/lib64/portage/pym/portage/dbapi/vartree.py", line 1858, in getcontents IOError: [Errno 5] Input/output error it occurs in portages 2.2_32 an d 2.2_33, after i unmasked and install, i was unable to downgrade it....