Yes, as I have stated repeatedly, the build fails without motif. So, to finalize this recurring query I unmerged motif and removed it from the deps. Here is the build log /var/tmp/portage/sci-biology/afni-0_pre20130927/temp/build.log

Why do you think that there are libs I am missing?