spawn_nofetch: clone locked config, bug #408817
authorZac Medico <zmedico@gentoo.org>
Mon, 19 Mar 2012 18:12:32 +0000 (11:12 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 19 Mar 2012 18:12:32 +0000 (11:12 -0700)
commit982c0075fc974bf19394ed94f6151b671ddd8767
tree573c56fc763c370c4a9cbff9db8602832158e29f
parenta2b5e7cff4e0cee92491c750179520a6fb30b14d
spawn_nofetch: clone locked config, bug #408817

It's unsafe to pass in an unlocked config instance, since that can
trigger issues like bug #408817 due to fragile assumptions involving
the config state inside doebuild_environment().
pym/_emerge/resolver/output.py
pym/portage/package/ebuild/_spawn_nofetch.py
pym/portage/package/ebuild/digestgen.py