app-office/texlive-4.8.4-r2.ebuild is missing a src_test(). proposal: add test USE flag, add to src_configure: if use test ; then CMAKE_BUILD_TYPE=Debug mycmakeargs+=( -DTEXSTUDIO_ENABLE_TESTS=ON ) fi and add src_test: src_test() { cd "${BUILD_DIR}" || die QT_QPA_PLATFORM=offscreen ./texstudio --auto-tests } works fine for me, tried on my prefix-guest instance (which is modified to use default texlive2024 from tug.org) and on a standard stable gentoo virtualbox.