Had problem with compiling ebuilds and found solution. Please add to dependency list: dev-qt/qttest:5 Reproducible: Always Steps to Reproduce: 1. emerge ebuild on saystem w-o preinstalled dev-qt/qttest:5 Actual Results: build error qttest not found Expected Results: flawless installation Don't have log but it happened over and over with any version but adding suggested dependency solved this issue