#--- /usr/lib/python3.9/site-packages/_emerge/actions.py 2020-12-09 00:53:44.035854159 +0100 --- orig/lib/_emerge/actions.py 2020-12-09 00:53:44.035854159 +0100 +++ mod/lib/_emerge/actions.py 2020-12-09 00:53:25.771856170 +0100 @@ -2920,14 +2920,18 @@ def run_action(emerge_config): # options adjustments should be made prior to calling adjust_configs(). if "--buildpkgonly" in emerge_config.opts: emerge_config.opts["--buildpkg"] = True if "getbinpkg" in emerge_config.target_config.settings.features: emerge_config.opts["--getbinpkg"] = True + if emerge_config.opts.get('--getbinpkg') != 'n': + if None != emerge_config.opts.pop("--getbinpkg", None): + portage.output.EOutput().ewarn("Just avoided bug https://bugs.gentoo.org/759067 where --getbinpkg=n wouldn't be considered!") + if "--getbinpkgonly" in emerge_config.opts: emerge_config.opts["--getbinpkg"] = True if "--getbinpkgonly" in emerge_config.opts: emerge_config.opts["--usepkgonly"] = True if "--getbinpkg" in emerge_config.opts: