Created attachment 670310 [details] build.log and emerge --info Upstream issue/tracker: https://github.com/KhronosGroup/SPIRV-Tools/issues/3909 > To summarize the above: > BUILD_SHARED_LIBS is not properly respected, and distro packages are now broken spirv-tools-2020.3: /usr/lib64/libSPIRV-Tools-link.so /usr/lib64/libSPIRV-Tools-opt.so /usr/lib64/libSPIRV-Tools-reduce.so /usr/lib64/libSPIRV-Tools-shared.so /usr/lib64/libSPIRV-Tools.so spirv-tools-2020.5_pre20200922: /usr/lib64/libSPIRV-Tools-link.a /usr/lib64/libSPIRV-Tools-opt.a /usr/lib64/libSPIRV-Tools-reduce.a /usr/lib64/libSPIRV-Tools-shared.so /usr/lib64/libSPIRV-Tools.a This notably cause unsolvable @perserved-rebuilds and media-video/mpv[vulkan] fails to build if gone.
Same goes for =dev-util/spirv-tools-9999
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=babddbcf14af8401381687c75e4bfe1cd2689d4b commit babddbcf14af8401381687c75e4bfe1cd2689d4b Author: Nick Sarnie <sarnex@gentoo.org> AuthorDate: 2020-11-07 17:06:29 +0000 Commit: Nick Sarnie <sarnex@gentoo.org> CommitDate: 2020-11-07 17:10:23 +0000 dev-util/spirv-tools: Update snapshot Closes: https://bugs.gentoo.org/753479 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Nick Sarnie <sarnex@gentoo.org> dev-util/spirv-tools/Manifest | 2 +- .../files/spirv-tools-2020.5-Fix-build.patch | 373 --------------------- ...build => spirv-tools-2020.5_pre20201107.ebuild} | 8 +- dev-util/spirv-tools/spirv-tools-9999.ebuild | 11 +- 4 files changed, 11 insertions(+), 383 deletions(-)
To be pedantic the -DBUILD_SHARED_LIBS=ON can be removed, this is already set by the cmake eclasses through the generated gentoo_common_config.cmake But thanks for quick fix, working as expected now :)
Thanks, I added it just to be safe. Upstream is an absolute shitshow so I want to make sure we lock down everything we need
*** Bug 753527 has been marked as a duplicate of this bug. ***