Background:
I had 3 python versions installed 2.6,2.7,3.1, the eselected one was 2.7
Both 2.6 and 2.7 had some newer versions in portage (didn't update system for several months).
portage version is 2.1.10.27
Scenario:
I wanted to install "media-sound/solfege"
"emerge solfege" told me to rebuild python 2.7.2 with sqlite enabled in use flags
I added "dev-lang/python sqlite" in package.use (so it affected all python versions).
Then I started emerging solfege package again.
Instead of actually installing required 2.7.2 with sqlite as solfege ebuild wanted, emerge rebuilt python 2.6 and then solfege build failed because 2.7.2 was still without sqlite.
Running "emerge solfege" again solved the problem (python 2.7.2 was rebuilt), but I'm confused why it happened.
Is it a bug or some expected nontrivial emerge behavior?

