I'm unsure if this is the right component. If not, feel free to change please.
The last line in my /etc/make.conf is this:
To source layman's make.conf and add the overlays. This statement gets -ignored- if it isn't followed by a newline. That is, if the file directly ends after the statement. Adding a newline after it makes it work magically.
I am unsure if this happens in every case or only if the last statement is 'source'. I haven't got time to test it.
Steps to Reproduce:
1. Add source statement to end of file
2. Remove the trailing newline if present (some editors add them automatically. mcedit doesn't)
3. Try to emerge a package that is supposed to be in one of your overlays
The overlays get ignored, emerge complains
The overlays get sourced and used for the emerge session
Vaguely remember having seen such a bug, but can't find it. Bear with me, Portage team...
This is fixed in 2.2_rc4.