When x11-terms/aterm is installed it is not setgid utmp. This means that user login information is not added to /var/run/utmp as it should be. The problem is that in src_install the setgid setting in fperms precedes fowners which clears it. If these two lines are switched aterm installs correctly.
Fixed in CVS, thanks :)