Just adding the correct KDIR=.. in src_install fixes this issue
Created attachment 234377 [details] /var/tmp/portage/sys-fs/aufs2-0_p20100524/temp/build.log build.log
I have just committed a fix to that version, it should be on your local rsync server in a few hours, if the issue remains, please comment and reopen this bug.