in pkg_setup, this code exists if use llvm; then llvm_pkg_setup fi However, the dependencies that are being checked for are only installed for mesa if the gallium USE is also enabled so this can easily fail. I suggest changing it to: if use gallium && use llvm; then llvm_pkg_setup fi
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a81af4d27ea251c534cc1ffa6b4812f5950f706 commit 8a81af4d27ea251c534cc1ffa6b4812f5950f706 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2020-03-19 22:17:13 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2020-03-19 22:30:43 +0000 media-libs/mesa: Only call llvm_pkg_setup with USE="gallium llvm" Closes: https://bugs.gentoo.org/712896 Signed-off-by: Matt Turner <mattst88@gentoo.org> media-libs/mesa/mesa-19.3.5.ebuild | 2 +- media-libs/mesa/mesa-20.0.1-r1.ebuild | 2 +- media-libs/mesa/mesa-20.0.2.ebuild | 2 +- media-libs/mesa/mesa-9999.ebuild | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)