Summary: | media-libs/shaderc-2022.2-r1 doesn't compile with glslang-1.3.231 (error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marius Stoica <Letto2> |
Component: | Current packages | Assignee: | Nick Sarnie <sarnex> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ionen, Martin.Jansa, mike, tanekliang |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/google/shaderc/issues/1274 | ||
See Also: |
https://github.com/KhronosGroup/glslang/issues/3052 https://bugs.gentoo.org/show_bug.cgi?id=879111 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
emerge --info environment |
Description
Marius Stoica
2022-11-02 10:06:47 UTC
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 |