diff options
Diffstat (limited to 'pym/portage/package')
-rw-r--r-- | pym/portage/package/ebuild/doebuild.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py index 32cec8d11..10c8e0684 100644 --- a/pym/portage/package/ebuild/doebuild.py +++ b/pym/portage/package/ebuild/doebuild.py @@ -879,22 +879,6 @@ def _prepare_env_file(settings): if e.errno != errno.ENOENT: raise env_stat = None - if env_stat is not None: - pass - else: - for var in ("ARCH", ): - value = settings.get(var) - if value and value.strip(): - continue - msg = _("%(var)s is not set... " - "Are you missing the '%(configroot)setc/make.profile' symlink? " - "Is the symlink correct? " - "Is your portage tree complete?") % \ - {"var": var, "configroot": settings["PORTAGE_CONFIGROOT"]} - for line in wrap(msg, 70): - eerror(line, phase="setup", key=settings.mycpv) - elog_process(settings.mycpv, settings) - return 1 return os.EX_OK |