/usr/include/spirv/unified1/spirv.core.grammar.json is needed when running ninja during the ebuild compile phase, but in gentoo prefix this file is not in the prefix causing ninja throws dependency error. The absolute path should be prefixified. Reproducible: Always Steps to Reproduce: 1. Enter a gentoo prefix 2. emerge '=dev-util/spirv-tools-2021.1' 3.
Created attachment 723952 [details] build.log
Created attachment 723955 [details] emerge --info output
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed46712fd16a9d3634df32395f19324d892e0dfc commit ed46712fd16a9d3634df32395f19324d892e0dfc Author: YiyangWu <xgreenlandforwyy@gmail.com> AuthorDate: 2021-07-15 14:02:03 +0000 Commit: Nick Sarnie <sarnex@gentoo.org> CommitDate: 2021-07-17 18:09:24 +0000 dev-util/spirv-tools: fix gentoo prefix cmake configure issue during cmake configuration, SPIRV-Headers_SOURCE_DIR sets to /usr causing cmake cannot find /usr/include/spirv/unified1/spirv.core.grammar.json Closes: https://bugs.gentoo.org/802240 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/21652 Signed-off-by: Nick Sarnie <sarnex@gentoo.org> dev-util/spirv-tools/spirv-tools-2021.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)