Long story short...
bharring@exodus bharring $ sudo emerge spambayes
Calculating dependencies ...done!
>>> emerge (1 of 1) net-mail/spambayes-1.0_beta1 to /
>>> md5 src_uri ;-) spambayes-1.0b1.1.tar.gz
>>> Unpacking source...
>>> Unpacking spambayes-1.0b1.1.tar.gz to /var/tmp/portage/spambayes-1.0_beta1/work
>>> Source unpacked.
error: could not create 'build': Permission denied
!!! ERROR: net-mail/spambayes-1.0_beta1 failed.
!!! Function distutils_src_compile, Line 38, Exitcode 1
!!! compilation failed
spambaye's setup.py lacks support for a build option, and since no src_compile defined in the ebuild distutils_src_compile is defaulted to (which automatically tries setup.py build || die)
Maybe the distutils eclass changed on ya?
Either way, fix is straight forward- just define a dummy src_compile.
Might be useful to add an variable to distutils for switching on/off automatically attempting compilation, although not sure who reigns lord supreme over distutils.eclass...
Hmm. slightly off in my description there :)
spambaye's setup.py is attempting to build, although I have no clue how it's attempting to do the build/installation (not familiar w/ distutils module).
please try _rc1
Also, see bug 67227, same problem with rc1, with solution.
noone reopened it so i close the bug