It appears to be related to something in the Makefile, or how portage is calling the makefile, but I'm not sure where to go with it in terms of correcting the problem. If I go into the work folder and run "make" manually, it works fine, but I'm wondering if I can just install from there? I need the dependency to be logged in portage because I'm trying to get qemu up and running.

It seems that the problem is back. Ebuild for 20130117-r1 is buggy. Unfortunantly I could not reproduce the proposed solution. In fact the make command works if I go right to the tmp folder. However, I do not know how to use ebuild command in this case.