| Summary: | media-libs/shaderc fails to build after media-libs/glslang-1.3.231-r2 update | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Hadrien Lacour <hadrien.lacour> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | ionen |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://bugs.gentoo.org/show_bug.cgi?id=884105 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | 884381 | ||
| Bug Blocks: | |||
You need shaderc-2022.3 >PS: glslang and spirv-* stable versions being desynchronized looks strange. Is this wanted? No, it happened to be stabled together with renderdoc because it depends >=1.3.231 and likely didn't know the vulkan stack is normally only stabled together when ready. (In reply to Nick Sarnie from comment #1) > You need shaderc-2022.3 Problem is that the new glslang was stabled and shaderc-2022.2 is the stable one |
I get the following error: FAILED: libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -DENABLE_HLSL -I/var/tmp/portage/media-libs/shaderc-2022.2-r1/work/shaderc-2022.2/libshaderc_util/include -O3 -march=native -pipe -Wimplicit-fallthrough -Wextra-semi -Wall -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o -MF libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o.d -o libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o -c /var/tmp/portage/media-libs/shaderc-2022.2-r1/work/shaderc-2022.2/libshaderc_util/src/resources.cc /var/tmp/portage/media-libs/shaderc-2022.2-r1/work/shaderc-2022.2/libshaderc_util/src/resources.cc:142:6: error: cannot convert β<brace-enclosed initializer list>β to βintβ in initialization 142 | }}; | ^ Building after reverting glslang works again. Same error as https://github.com/google/shaderc/issues/1056, but this was closed in 2020 so I don't know... -2022.3 builds correctly after I unmasked spirv-tools and spirv-headers. PS: glslang and spirv-* stable versions being desynchronized looks strange. Is this wanted?