emerging x11-drivers/ati-drivers-12.11_beta quits with an error, because glu.h is missing. It seems like glu.h is not any longer in mesa but media-libs/glu. You have to emerge media-libs/glu by yourself.
Please attach full build.log and post your emerge --info
*** This bug has been marked as a duplicate of bug 437720 ***