Package Details: shaderc-git 2023.7.6.gaaa44b5-1

Git Clone URL: https://aur.archlinux.org/shaderc-git.git (read-only, click to copy)
Package Base: shaderc-git
Description: A collection of tools, libraries and tests for shader compilation. (GIT version)
Upstream URL: https://github.com/google/shaderc
Licenses: Apache
Conflicts: shaderc
Provides: libshaderc_shared.so, shaderc
Submitter: bjin
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 15
Popularity: 0.94
First Submitted: 2017-09-24 21:10 (UTC)
Last Updated: 2023-12-02 17:24 (UTC)

Required by (73)

Sources (1)

Latest Comments

1 2 Next › Last »

wilkins commented on 2023-12-02 13:05 (UTC)

Starting prepare()... patching file glslc/CMakeLists.txt Hunk #1 FAILED at 43. 1 out of 1 hunk FAILED -- saving rejects to file glslc/CMakeLists.txt.rej patching file libshaderc_util/CMakeLists.txt Hunk #1 FAILED at 34. 1 out of 1 hunk FAILED -- saving rejects to file libshaderc_util/CMakeLists.txt.rej ==> ERROR: A failure occurred in prepare(). Aborting... error: failed to build 'shaderc-git-2022.3.2.gdc9d28a-1': error: packages failed to build: shaderc-git-2022.3.2.gdc9d28a-1

fbrennan commented on 2023-10-30 21:04 (UTC)

I think the reason this package breaks so often with blender-git is that the shared object is installed as /usr/lib/libshaderc_shared.so. Is it possible to add a link from /usr/lib/libshaderc.so to that?

llde commented on 2021-03-27 11:56 (UTC) (edited on 2021-03-27 11:59 (UTC) by llde)

I'm currnelty unable to build this: while I have both glsllang and spirv-tools

[3/29] Building CXX object libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o FAILED: libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o /usr/bin/c++ -DENABLE_HLSL -I../libshaderc_util/include -I/usr/include/glslang -D_FORTIFY_SOURCE=2 -march=native -mtune=native -O2 -pipe -fstack-protector-strong -fno-plt -g -Wimplicit-fallthrough -O3 -DNDEBUG -Wextra-semi -Wall -Werror -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 ../libshaderc_util/src/resources.cc ../libshaderc_util/src/resources.cc:142:6: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘bool’ in initialization 142 | }}; | ^ [11/29] Building CXX object libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o FAILED: libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o /usr/bin/c++ -I../libshaderc/include -I/usr/include/glslang -I/include -I../libshaderc_util/include -D_FORTIFY_SOURCE=2 -march=native -mtune=native -O2 -pipe -fstack-protector-strong -fno-plt -g -Wimplicit-fallthrough -O3 -DNDEBUG -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o -MF libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o.d -o libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o -c ../libshaderc/src/shaderc.cc ../libshaderc/src/shaderc.cc: In function ‘bool shaderc_parse_version_profile(const char*, int*, shaderc_profile*)’: ../libshaderc/src/shaderc.cc:778:10: error: ‘EProfileCount’ was not declared in this scope; did you mean ‘EProfile’? 778 | case EProfileCount: | ^~~~~~~~~~~~~ | EProfile [13/29] Building CXX object libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o FAILED: libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o /usr/bin/c++ -DSHADERC_IMPLEMENTATION -DSHADERC_SHAREDLIB -Dshaderc_shared_EXPORTS -I../libshaderc/include -I/usr/include/glslang -I/include -I../libshaderc_util/include -D_FORTIFY_SOURCE=2 -march=native -mtune=native -O2 -pipe -fstack-protector-strong -fno-plt -g -Wimplicit-fallthrough -O3 -DNDEBUG -fPIC -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o -MF libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o.d -o libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o -c ../libshaderc/src/shaderc.cc ../libshaderc/src/shaderc.cc: In function ‘bool shaderc_parse_version_profile(const char*, int*, shaderc_profile*)’: ../libshaderc/src/shaderc.cc:778:10: error: ‘EProfileCount’ was not declared in this scope; did you mean ‘EProfile’? 778 | case EProfileCount: | ^~~~~~~~~~~~~ | EProfile [15/29] Building CXX object libshaderc_util/CMakeFiles/shaderc_util.dir/src/compiler.cc.o FAILED: libshaderc_util/CMakeFiles/shaderc_util.dir/src/compiler.cc.o /usr/bin/c++ -DENABLE_HLSL -I../libshaderc_util/include -I/usr/include/glslang -D_FORTIFY_SOURCE=2 -march=native -mtune=native -O2 -pipe -fstack-protector-strong -fno-plt -g -Wimplicit-fallthrough -O3 -DNDEBUG -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT libshaderc_util/CMakeFiles/shaderc_util.dir/src/compiler.cc.o -MF libshaderc_util/CMakeFiles/shaderc_util.dir/src/compiler.cc.o.d -o libshaderc_util/CMakeFiles/shaderc_util.dir/src/compiler.cc.o -c ../libshaderc_util/src/compiler.cc ../libshaderc_util/src/compiler.cc: In function ‘shaderc_util::GlslangClientInfo shaderc_util::GetGlslangClientInfo(const string&, shaderc_util::Compiler::TargetEnv, shaderc_util::Compiler::TargetEnvVersion, shaderc_util::Compiler::SpirvVersion, bool)’: ../libshaderc_util/src/compiler.cc:716:42: error: ‘EShTargetVulkan_1_2’ is not a member of ‘glslang’; did you mean ‘EShTargetVulkan_1_1’? 716 | result.client_version = glslang::EShTargetVulkan_1_2; | ^~~~~~~~~~~~~~~~~~~ | EShTargetVulkan_1_1 [16/29] Building CXX object glslc/CMakeFiles/glslc_exe.dir/src/main.cc.o ninja: build stopped: subcommand failed.

However EShTargetVulkan_1_2 and EProfileCount are defined into the glslang headers. However this happen only while using system installed glslang. If I compile the repo using the third party mechanism it works.

simona commented on 2020-12-14 15:43 (UTC)

now perfect

sl1pkn07 commented on 2020-12-14 14:36 (UTC)

try now

greetings

simona commented on 2020-12-14 10:25 (UTC) (edited on 2020-12-14 10:26 (UTC) by simona)

[5/29] Building CXX object libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o
FAILED: libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o
/bin/c++ -DSHADERC_IMPLEMENTATION -DSHADERC_SHAREDLIB -Dshaderc_shared_EXPORTS -I/home/simona/.cache/yay/shaderc-git/src/shaderc/libshaderc/include -I/usr/include/glslang -I/include -I/home/simona/.cache/yay/shaderc-git/src/shaderc/libshaderc_util/include -D_FORTIFY_SOURCE=0 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wimplicit-fallthrough -fPIC -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o -MF libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o.d -o libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o -c /home/simona/.cache/yay/shaderc-git/src/shaderc/libshaderc/src/shaderc.cc
/home/simona/.cache/yay/shaderc-git/src/shaderc/libshaderc/src/shaderc.cc:28:10: fatal error: spirv/unified1/spirv.hpp: No such file or directory
28 | #include "spirv/unified1/spirv.hpp"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[6/29] Building CXX object libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o
FAILED: libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o
/bin/c++ -I/home/simona/.cache/yay/shaderc-git/src/shaderc/libshaderc/include -I/usr/include/glslang -I/include -I/home/simona/.cache/yay/shaderc-git/src/shaderc/libshaderc_util/include -D_FORTIFY_SOURCE=0 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wimplicit-fallthrough -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o -MF libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o.d -o
libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o -c /home/simona/.cache/yay/shaderc-git/src/shaderc/libshaderc/src/shaderc.cc /home/simona/.cache/yay/shaderc-git/src/shaderc/libshaderc/src/shaderc.cc:28:10: fatal error: spirv/unified1/spirv.hpp: No such file or directory
28 | #include "spirv/unified1/spirv.hpp"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[18/29] Building CXX object libshaderc_util/CMakeFiles/shaderc_util.dir/src/compiler.cc.o
ninja: build stopped: subcommand failed.

sl1pkn07 commented on 2019-10-30 16:54 (UTC)

log please

ekce commented on 2019-10-30 16:19 (UTC)

This package has been failing to build for me for at least a week or so.

bjin commented on 2019-02-23 16:06 (UTC)

I disowned this package. feel free to adopt

Ranguvar commented on 2019-01-17 15:37 (UTC) (edited on 2019-01-17 15:37 (UTC) by Ranguvar)

Seems to fail build now, even with spirv-cross-git installed. https://pastebin.com/XGfzYZ6t