sys-apps/portage is missing a dependency on findutils. This means that bootstrapping new system e.g. with: emerge --root /new/gentoo/system portage fails, since running portage from the resulting tree causes portage to die on an uncaught exception: Traceback (most recent call last): File "/usr/lib/python-exec/python3.8/emerge", line 51, in <module> retval = emerge_main() File "/usr/lib/python3.8/site-packages/_emerge/main.py", line 1306, in emerge_main return run_action(emerge_config) File "/usr/lib/python3.8/site-packages/_emerge/actions.py", line 3351, in run_action retval = action_build(emerge_config, spinner=spinner) File "/usr/lib/python3.8/site-packages/_emerge/actions.py", line 106, in action_build chk_updated_cfg_files(settings['EROOT'], ['/etc/portage']) File "/usr/lib/python3.8/site-packages/_emerge/chk_updated_cfg_files.py", line 14, in chk_updated_cfg_files result = list( File "/usr/lib/python3.8/site-packages/portage/util/__init__.py", line 1762, in find_updated_config_files proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, File "/usr/lib/python3.8/subprocess.py", line 854, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: b'find'
Emerging sys-apps/findutils into the new system fixes this problem.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9b83697ddf238f6bb0c22843da073bf8a8997a1 commit e9b83697ddf238f6bb0c22843da073bf8a8997a1 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2020-09-06 21:32:10 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2020-09-06 21:35:45 +0000 sys-apps/portage: Add findutils dependency Reported-by: Petr Cerny [:hrosik] <p.c-bugzilla@black-net.org> Closes: https://bugs.gentoo.org/740744 Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Zac Medico <zmedico@gentoo.org> sys-apps/portage/portage-2.3.103-r1.ebuild | 1 + sys-apps/portage/portage-2.3.99-r2.ebuild | 1 + sys-apps/portage/portage-3.0.4-r1.ebuild | 1 + sys-apps/portage/portage-3.0.5.ebuild | 1 + sys-apps/portage/portage-9999.ebuild | 1 + 5 files changed, 5 insertions(+)
Thanks!