Created attachment 826669 [details] build log When setting the vulcan use flag and installing new dependencies for media-video/mpv, media-libs/shaderc fails to compile. So far I've tried: Compiling with gcc 10 and gcc 11 when gcc 12 failed. Emerging media-libs/shaderc-2022.2 instead of media-libs/shaderc-2022.2-r1 recompiling dev-util/glslang, according to bug #840773 Unsetting the abi_x86_32 use flag. The error is always the same as it appears in the build log: > * ERROR: media-libs/shaderc-2022.2::gentoo failed (compile phase): > * ninja -v -j9 -l0 failed > * > * Call stack: > * ebuild.sh, line 122: Called src_compile > * environment, line 3557: Called cmake-multilib_src_compile > * environment, line 1329: Called multilib-minimal_src_compile > * environment, line 2474: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile' > * environment, line 2741: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' > * environment, line 2434: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' > * environment, line 2432: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile' > * environment, line 571: Called multilib-minimal_abi_src_compile > * environment, line 2468: Called multilib_src_compile > * environment, line 2964: Called cmake_src_compile > * environment, line 1440: Called cmake_build > * environment, line 1409: Called eninja > * environment, line 1860: Called die > * The specific snippet of code: > * "$@" || die "${nonfatal_args[@]}" "${*} failed"
Created attachment 826671 [details] emerge --info
Created attachment 826673 [details] environment
Sets TBuiltInResource which changed and also broke ABI in the process, see [1]. Believe [2] is trying to improve the situation for upstreams but meanwhile may need to downgrade to stable ~glslang-1.3.224 [1] https://github.com/KhronosGroup/glslang/issues/3052 [2] https://github.com/KhronosGroup/glslang/pull/3055
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65175c86ff867496f27b5cbdaa5cc9db94def416 commit 65175c86ff867496f27b5cbdaa5cc9db94def416 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2022-11-02 10:43:19 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2022-11-02 10:47:01 +0000 profiles: mask =dev-util/glslang-1.3.231 Hopefully only masking this (rather than whole 1.3.231 stack) is okay. Preemptively masking myself given the ABI breakage will worsen the situation if left alone too long. Bug: https://bugs.gentoo.org/879149 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> profiles/package.mask | 10 ++++++++++ 1 file changed, 10 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d0b812a8e68cf5f2d2d91ce4d59a768ee4c7540 commit 6d0b812a8e68cf5f2d2d91ce4d59a768ee4c7540 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2022-11-02 10:59:48 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2022-11-02 11:01:54 +0000 profiles: extend glslang mask to whole stack Noticed the =glslang-${PV} deps so I don't see this working out. Hoipefully not forgetting anything. Bug: https://bugs.gentoo.org/879149 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> profiles/package.mask | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
wrt https://github.com/google/shaderc/issues/1274, sounds fixed in 2022.3 Albeit unsure what to think about the ABI breakage which is primary reason I did the mask (e.g. waifu2x-ncnn-vulkan is broken until ncnn is rebuilt, mpv[vulkan] is broken probably until libplacebo is rebuilt, albeit libplacebo fails to build with this version right now due to missing libOSDependent.a and others). Downgrade itself is messy given won't get automated rebuilds. Maybe will need a subslot on glslang.
Fixed wtih d24ca1e26b11e466ebf87e92e60b0953c4a7e74a