I have a user that is in group "portage" ans so should be able to use emerge --pretend. But I get this message: kripton@miramis ~ $ emerge --pretend --verbose eix These are the packages that would be merged, in order: Calculating dependencies ... done! Traceback (most recent call last): File "/usr/bin/emerge", line 43, in <module> retval = emerge_main() File "/usr/lib64/portage/pym/_emerge/main.py", line 2041, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/lib64/portage/pym/_emerge/actions.py", line 298, in action_build settings, trees, myopts, myparams, myaction, myfiles, spinner) File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 6939, in backtrack_depgraph myaction, myfiles, spinner) File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 6971, in _backtrack_depgraph success, favorites = mydepgraph.select_files(myfiles) File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 1972, in select_files self._load_vdb() File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 550, in _load_vdb vardb.aux_get(pkg.cpv, []) File "/usr/lib64/portage/pym/_emerge/FakeVartree.py", line 109, in _aux_get_wrapper self._portdb.aux_get(pkg, self._portdb_keys, myrepo=repo))) File "/usr/lib64/portage/pym/portage/dbapi/porttree.py", line 453, in aux_get proc.wait() File "/usr/lib64/portage/pym/_emerge/AsynchronousTask.py", line 54, in wait self._wait() File "/usr/lib64/portage/pym/_emerge/SubProcess.py", line 90, in _wait self._waitpid_loop() File "/usr/lib64/portage/pym/_emerge/SubProcess.py", line 96, in _waitpid_loop self.pid, self._waitpid_cb) File "/usr/lib64/portage/pym/portage/util/_eventloop/EventLoop.py", line 227, in child_watch_add self._poll_child_processes() File "/usr/lib64/portage/pym/portage/util/_eventloop/EventLoop.py", line 271, in _poll_child_processes x.callback(x.pid, wait_retval[1], x.data) File "/usr/lib64/portage/pym/_emerge/SubProcess.py", line 106, in _waitpid_cb self._set_returncode((pid, condition)) File "/usr/lib64/portage/pym/_emerge/EbuildMetadataPhase.py", line 165, in _set_returncode self._eapi_invalid(metadata) File "/usr/lib64/portage/pym/_emerge/EbuildMetadataPhase.py", line 199, in _eapi_invalid eapi_var, self._eapi, self._eapi_lineno) File "/usr/lib64/portage/pym/portage/proxy/objectproxy.py", line 31, in __call__ return result(*args, **kwargs) File "/usr/lib64/portage/pym/portage/package/ebuild/_eapi_invalid.py", line 46, in eapi_invalid phasefilter=("other",)) File "/usr/lib64/portage/pym/portage/elog/__init__.py", line 175, in elog_process m.process(mysettings, str(key), mod_logentries, mod_fulllog) File "/usr/lib64/portage/pym/portage/elog/mod_save_summary.py", line 42, in process mode='a', encoding=_encodings['content'], errors='backslashreplace') IOError: [Errno 13] Permission denied: '/var/log/portage/elog/summary.log' Reproducible: Always
This is fixed in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=9ebe11e40796c8d000a50eac0d9bce1f630c5668
This is fixed in 2.1.10.61 and 2.2.0_alpha106.