For me src_test works fine with virtualx.eclass only when I start emerge in 'screen' from agetty+bash session, if I run emerge from kdm+kde 4.6.3 session build hangs after '>>> Source compiled.' message. Please edit eclass to use Xvfb only.
Do you need any help with fixing this trivial bug?
Created attachment 315767 [details, diff] patch, works fine for me
Created attachment 315775 [details, diff] Same patch as above but without tabbing/space changes for easier review
commit e00275cad8aa0f5979c50d2fc9b317ebf754f9c2 Author: Justin Lecher <jlec@gentoo.org> Date: Thu Nov 26 11:17:13 2015 +0100 virtualx.eclass: Always start Xvfb session In order to have guarantee the same X env, we should always create a Xvfb session instead of attaching to a running X session. Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=374141 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e00275cad8aa0f5979c50d2fc9b317ebf754f9c2