Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/shaderc.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-184637-60441/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/shaderc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/shaderc-2022.2-2.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/shaderc.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-184637-60441/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/shaderc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xNAihP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf shaderc-551f106dc64a1cacb298cc2f05613d142b53302f + /usr/bin/gzip -dc /builddir/build/SOURCES/shaderc-551f106.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd shaderc-551f106dc64a1cacb298cc2f05613d142b53302f + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Drop-third-party-code-in-CMakeLists.txt.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/glslang_linker_flags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm -rf third_party ++ grep -m1 -o '^v[[:digit:]]\{4\}\.[[:digit:]]\(-dev\)\? [[:digit:]]\{4\}-[[:digit:]]\{2\}-[[:digit:]]\{2\}$' CHANGES + echo '"shaderc' v2022.2 '2022-08-11"' ++ grep -m1 -o '^v[[:digit:]]\{4\}\.[[:digit:]]\(-dev\)\? [[:digit:]]\{4\}-[[:digit:]]\{2\}-[[:digit:]]\{2\}$' /usr/share/doc/spirv-tools/CHANGES grep: /usr/share/doc/spirv-tools/CHANGES: No such file or directory + echo '"spirv-tools' '"' + echo '"glslang' 'sdk-1.3.224.0"' + sed -i 's|SPIRV/GlslangToSpv.h|glslang/SPIRV/GlslangToSpv.h|' libshaderc_util/src/compiler.cc + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pU4g0r + umask 022 + cd /builddir/build/BUILD + cd shaderc-551f106dc64a1cacb298cc2f05613d142b53302f + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -S . -B x86_64-redhat-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_SKIP_RPATH=True -DSHADERC_SKIP_TESTS=True -DPYTHON_EXE=/usr/libexec/platform-python -GNinja -- The C compiler identification is GNU 8.5.0 -- The CXX compiler identification is GNU 8.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Shaderc: build type is "RelWithDebInfo". -- Configuring Shaderc to avoid building tests. -- Configuring Shaderc to build examples. -- Configuring Shaderc to check copyrights. -- asciidoctor was not found - no documentation will be generated -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.8", minimum required is "3") -- Performing Test COMPILER_SUPPORTS_FALLTHROUGH_WARNING -- Performing Test COMPILER_SUPPORTS_FALLTHROUGH_WARNING - Success -- Performing Test COMPILER_SUPPORTS_EXTRA_SEMI_WARNING -- Performing Test COMPILER_SUPPORTS_EXTRA_SEMI_WARNING - Success -- Performing Test COMPILER_SUPPORTS_PIC -- Performing Test COMPILER_SUPPORTS_PIC - Success -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Configuring done CMake Warning (dev) at glslc/CMakeLists.txt:56 (add_dependencies): Policy CMP0046 is not set: Error on non-existent dependency in add_dependencies. Run "cmake --help-policy CMP0046" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The dependency target "build-version" of target "glslc_exe" does not exist. This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX PYTHON_EXE SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/shaderc-551f106dc64a1cacb298cc2f05613d142b53302f/x86_64-redhat-linux-gnu + /usr/bin/cmake --build x86_64-redhat-linux-gnu -j80 --verbose [1/29] cd /builddir/build/BUILD/shaderc-551f106dc64a1cacb298cc2f05613d142b53302f/x86_64-redhat-linux-gnu && /usr/bin/cmake -DCHANGES_FILE=/builddir/build/BUILD/shaderc-551f106dc64a1cacb298cc2f05613d142b53302f/CHANGES -DTEMPLATE_FILE=/builddir/build/BUILD/shaderc-551f106dc64a1cacb298cc2f05613d142b53302f/cmake/shaderc_combined.pc.in -DOUT_FILE=/builddir/build/BUILD/shaderc-551f106dc64a1cacb298cc2f05613d142b53302f/x86_64-redhat-linux-gnu/shaderc_combined.pc -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib64 -DCMAKE_INSTALL_INCLUDEDIR=include -DLIBS=-lshaderc_combined -P /builddir/build/BUILD/shaderc-551f106dc64a1cacb298cc2f05613d142b53302f/cmake/write_pkg_config.cmake [2/29] cd /builddir/build/BUILD/shaderc-551f106dc64a1cacb298cc2f05613d142b53302f/x86_64-redhat-linux-gnu && /usr/bin/cmake -DCHANGES_FILE=/builddir/build/BUILD/shaderc-551f106dc64a1cacb298cc2f05613d142b53302f/CHANGES -DTEMPLATE_FILE=/builddir/build/BUILD/shaderc-551f106dc64a1cacb298cc2f05613d142b53302f/cmake/shaderc_static.pc.in -DOUT_FILE=/builddir/build/BUILD/shaderc-551f106dc64a1cacb298cc2f05613d142b53302f/x86_64-redhat-linux-gnu/shaderc_static.pc -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib64 -DCMAKE_INSTALL_INCLUDEDIR=include -DLIBS=-lshaderc\ \ -lshaderc_util -P /builddir/build/BUILD/shaderc-551f106dc64a1cacb298cc2f05613d142b53302f/cmake/write_pkg_config.cmake [3/29] cd /builddir/build/BUILD/shaderc-551f106dc64a1cacb298cc2f05613d142b53302f/x86_64-redhat-linux-gnu && /usr/bin/cmake -DCHANGES_FILE=/builddir/build/BUILD/shaderc-551f106dc64a1cacb298cc2f05613d142b53302f/CHANGES -DTEMPLATE_FILE=/builddir/build/BUILD/shaderc-551f106dc64a1cacb298cc2f05613d142b53302f/cmake/shaderc.pc.in -DOUT_FILE=/builddir/build/BUILD/shaderc-551f106dc64a1cacb298cc2f05613d142b53302f/x86_64-redhat-linux-gnu/shaderc.pc -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib64 -DCMAKE_INSTALL_INCLUDEDIR=include -DLIBS=-lshaderc_shared -P /builddir/build/BUILD/shaderc-551f106dc64a1cacb298cc2f05613d142b53302f/cmake/write_pkg_config.cmake [4/29] /usr/bin/c++ -DENABLE_HLSL -I../libshaderc_util/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -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 [5/29] cd /builddir/build/BUILD/shaderc-551f106dc64a1cacb298cc2f05613d142b53302f && /usr/bin/python3 /builddir/build/BUILD/shaderc-551f106dc64a1cacb298cc2f05613d142b53302f/utils/add_copyright.py --check [6/29] /usr/bin/c++ -I../libshaderc_util/include -I../libshaderc/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT glslc/CMakeFiles/glslc.dir/src/file.cc.o -MF glslc/CMakeFiles/glslc.dir/src/file.cc.o.d -o glslc/CMakeFiles/glslc.dir/src/file.cc.o -c ../glslc/src/file.cc [7/29] /usr/bin/c++ -I../libshaderc_util/include -I../libshaderc/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT glslc/CMakeFiles/glslc.dir/src/shader_stage.cc.o -MF glslc/CMakeFiles/glslc.dir/src/shader_stage.cc.o.d -o glslc/CMakeFiles/glslc.dir/src/shader_stage.cc.o -c ../glslc/src/shader_stage.cc [8/29] /usr/bin/c++ -DENABLE_HLSL -I../libshaderc_util/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT libshaderc_util/CMakeFiles/shaderc_util.dir/src/shader_stage.cc.o -MF libshaderc_util/CMakeFiles/shaderc_util.dir/src/shader_stage.cc.o.d -o libshaderc_util/CMakeFiles/shaderc_util.dir/src/shader_stage.cc.o -c ../libshaderc_util/src/shader_stage.cc [9/29] /usr/bin/c++ -DENABLE_HLSL -I../libshaderc_util/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT libshaderc_util/CMakeFiles/shaderc_util.dir/src/version_profile.cc.o -MF libshaderc_util/CMakeFiles/shaderc_util.dir/src/version_profile.cc.o.d -o libshaderc_util/CMakeFiles/shaderc_util.dir/src/version_profile.cc.o -c ../libshaderc_util/src/version_profile.cc [10/29] /usr/bin/c++ -DENABLE_HLSL -I../libshaderc_util/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT libshaderc_util/CMakeFiles/shaderc_util.dir/src/args.cc.o -MF libshaderc_util/CMakeFiles/shaderc_util.dir/src/args.cc.o.d -o libshaderc_util/CMakeFiles/shaderc_util.dir/src/args.cc.o -c ../libshaderc_util/src/args.cc [11/29] /usr/bin/c++ -DENABLE_HLSL -I../libshaderc_util/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT libshaderc_util/CMakeFiles/shaderc_util.dir/src/file_finder.cc.o -MF libshaderc_util/CMakeFiles/shaderc_util.dir/src/file_finder.cc.o.d -o libshaderc_util/CMakeFiles/shaderc_util.dir/src/file_finder.cc.o -c ../libshaderc_util/src/file_finder.cc [12/29] /usr/bin/c++ -DENABLE_HLSL -I../libshaderc_util/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT libshaderc_util/CMakeFiles/shaderc_util.dir/src/io_shaderc.cc.o -MF libshaderc_util/CMakeFiles/shaderc_util.dir/src/io_shaderc.cc.o.d -o libshaderc_util/CMakeFiles/shaderc_util.dir/src/io_shaderc.cc.o -c ../libshaderc_util/src/io_shaderc.cc [13/29] /usr/bin/c++ -I../libshaderc_util/include -I../libshaderc/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT glslc/CMakeFiles/glslc.dir/src/dependency_info.cc.o -MF glslc/CMakeFiles/glslc.dir/src/dependency_info.cc.o.d -o glslc/CMakeFiles/glslc.dir/src/dependency_info.cc.o -c ../glslc/src/dependency_info.cc [14/29] /usr/bin/c++ -DENABLE_HLSL -I../libshaderc_util/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT libshaderc_util/CMakeFiles/shaderc_util.dir/src/message.cc.o -MF libshaderc_util/CMakeFiles/shaderc_util.dir/src/message.cc.o.d -o libshaderc_util/CMakeFiles/shaderc_util.dir/src/message.cc.o -c ../libshaderc_util/src/message.cc [15/29] /usr/bin/c++ -I../libshaderc_util/include -I../libshaderc/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT glslc/CMakeFiles/glslc.dir/src/file_includer.cc.o -MF glslc/CMakeFiles/glslc.dir/src/file_includer.cc.o.d -o glslc/CMakeFiles/glslc.dir/src/file_includer.cc.o -c ../glslc/src/file_includer.cc [16/29] /usr/bin/c++ -I../libshaderc_util/include -I../libshaderc/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT glslc/CMakeFiles/glslc.dir/src/resource_parse.cc.o -MF glslc/CMakeFiles/glslc.dir/src/resource_parse.cc.o.d -o glslc/CMakeFiles/glslc.dir/src/resource_parse.cc.o -c ../glslc/src/resource_parse.cc [17/29] /usr/bin/c++ -DENABLE_HLSL -I../libshaderc_util/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT libshaderc_util/CMakeFiles/shaderc_util.dir/src/spirv_tools_wrapper.cc.o -MF libshaderc_util/CMakeFiles/shaderc_util.dir/src/spirv_tools_wrapper.cc.o.d -o libshaderc_util/CMakeFiles/shaderc_util.dir/src/spirv_tools_wrapper.cc.o -c ../libshaderc_util/src/spirv_tools_wrapper.cc [18/29] /usr/bin/c++ -I../libshaderc_util/include -I../libshaderc/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT glslc/CMakeFiles/glslc.dir/src/file_compiler.cc.o -MF glslc/CMakeFiles/glslc.dir/src/file_compiler.cc.o.d -o glslc/CMakeFiles/glslc.dir/src/file_compiler.cc.o -c ../glslc/src/file_compiler.cc [19/29] /usr/bin/c++ -DSHADERC_IMPLEMENTATION -DSHADERC_SHAREDLIB -Dshaderc_shared_EXPORTS -I../libshaderc/include -I/include -I../libshaderc_util/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -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 [20/29] /usr/bin/c++ -I../libshaderc/include -I/include -I../libshaderc_util/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -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 [21/29] /usr/bin/c++ -Iglslc/.. -I/include -I../libshaderc_util/include -I../libshaderc/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wextra-semi -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT glslc/CMakeFiles/glslc_exe.dir/src/main.cc.o -MF glslc/CMakeFiles/glslc_exe.dir/src/main.cc.o.d -o glslc/CMakeFiles/glslc_exe.dir/src/main.cc.o -c ../glslc/src/main.cc [22/29] /usr/bin/c++ -DENABLE_HLSL -I../libshaderc_util/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -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 [23/29] : && /usr/bin/cmake -E rm -f libshaderc_util/libshaderc_util.a && /usr/bin/ar qc libshaderc_util/libshaderc_util.a libshaderc_util/CMakeFiles/shaderc_util.dir/src/args.cc.o libshaderc_util/CMakeFiles/shaderc_util.dir/src/compiler.cc.o libshaderc_util/CMakeFiles/shaderc_util.dir/src/file_finder.cc.o libshaderc_util/CMakeFiles/shaderc_util.dir/src/io_shaderc.cc.o libshaderc_util/CMakeFiles/shaderc_util.dir/src/message.cc.o libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o libshaderc_util/CMakeFiles/shaderc_util.dir/src/shader_stage.cc.o libshaderc_util/CMakeFiles/shaderc_util.dir/src/spirv_tools_wrapper.cc.o libshaderc_util/CMakeFiles/shaderc_util.dir/src/version_profile.cc.o && /usr/bin/ranlib libshaderc_util/libshaderc_util.a && : [24/29] : && /usr/bin/cmake -E rm -f libshaderc/libshaderc.a && /usr/bin/ar qc libshaderc/libshaderc.a libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o && /usr/bin/ranlib libshaderc/libshaderc.a && : [25/29] : && /usr/bin/cmake -E rm -f glslc/libglslc.a && /usr/bin/ar qc glslc/libglslc.a glslc/CMakeFiles/glslc.dir/src/file_compiler.cc.o glslc/CMakeFiles/glslc.dir/src/file.cc.o glslc/CMakeFiles/glslc.dir/src/file_includer.cc.o glslc/CMakeFiles/glslc.dir/src/resource_parse.cc.o glslc/CMakeFiles/glslc.dir/src/shader_stage.cc.o glslc/CMakeFiles/glslc.dir/src/dependency_info.cc.o && /usr/bin/ranlib glslc/libglslc.a && : [26/29] cd /builddir/build/BUILD/shaderc-551f106dc64a1cacb298cc2f05613d142b53302f/x86_64-redhat-linux-gnu/libshaderc && /usr/bin/ar -M < shaderc_combined.ar [27/29] : && /usr/bin/c++ -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libshaderc_shared.so.1 -o libshaderc/libshaderc_shared.so.1 libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o -lglslang -lOSDependent -lOGLCompiler -lglslang -lpthread libshaderc_util/libshaderc_util.a -lSPIRV -lSPIRV-Tools -lHLSL -lglslang -lOSDependent -lOGLCompiler -lglslang -lOSDependent -lOGLCompiler -lSPIRV -lSPIRV-Tools-opt -lMachineIndependent -lGenericCodeGen -lpthread && : [28/29] /usr/bin/cmake -E cmake_symlink_library libshaderc/libshaderc_shared.so.1 libshaderc/libshaderc_shared.so.1 libshaderc/libshaderc_shared.so && : [29/29] : && /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic glslc/CMakeFiles/glslc_exe.dir/src/main.cc.o -o glslc/glslc glslc/libglslc.a libshaderc_util/libshaderc_util.a libshaderc/libshaderc.a libshaderc_util/libshaderc_util.a -lSPIRV-Tools-opt -lSPIRV-Tools -lHLSL -lglslang -lOSDependent -lOGLCompiler -lglslang -lOSDependent -lOGLCompiler -lSPIRV -lMachineIndependent -lGenericCodeGen -lpthread && : FAILED: glslc/glslc : && /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic glslc/CMakeFiles/glslc_exe.dir/src/main.cc.o -o glslc/glslc glslc/libglslc.a libshaderc_util/libshaderc_util.a libshaderc/libshaderc.a libshaderc_util/libshaderc_util.a -lSPIRV-Tools-opt -lSPIRV-Tools -lHLSL -lglslang -lOSDependent -lOGLCompiler -lglslang -lOSDependent -lOGLCompiler -lSPIRV -lMachineIndependent -lGenericCodeGen -lpthread && : /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libMachineIndependent.a(PoolAlloc.cpp.o): In function `glslang::InitializePoolIndex()': (.text[.text.group]+0x49): undefined reference to `glslang::OS_AllocTLSIndex()' /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libMachineIndependent.a(PoolAlloc.cpp.o): In function `glslang::GetThreadPoolAllocator()': (.text[.text.group]+0xf): undefined reference to `glslang::OS_GetTLSValue(void*)' /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libMachineIndependent.a(PoolAlloc.cpp.o): In function `glslang::SetThreadPoolAllocator(glslang::TPoolAllocator*)': (.text[.text.group]+0x32): undefined reference to `glslang::OS_SetTLSValue(void*, void*)' /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libMachineIndependent.a(ShaderLang.cpp.o): In function `ShInitialize': (.text[.text.group]+0xd06): undefined reference to `glslang::InitGlobalLock()' (.text[.text.group]+0xd0b): undefined reference to `glslang::InitProcess()' (.text[.text.group]+0xd21): undefined reference to `glslang::GetGlobalLock()' (.text[.text.group]+0xd41): undefined reference to `glslang::ReleaseGlobalLock()' /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libMachineIndependent.a(ShaderLang.cpp.o): In function `ShConstructCompiler': (.text[.text.group]+0xd8f): undefined reference to `glslang::InitThread()' /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libMachineIndependent.a(ShaderLang.cpp.o): In function `ShConstructLinker': (.text[.text.group]+0xdcf): undefined reference to `glslang::InitThread()' /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libMachineIndependent.a(ShaderLang.cpp.o): In function `ShConstructUniformMap': (.text[.text.group]+0xe09): undefined reference to `glslang::InitThread()' /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libMachineIndependent.a(ShaderLang.cpp.o): In function `ShFinalize': (.text[.text.group]+0xec3): undefined reference to `glslang::GetGlobalLock()' (.text[.text.group]+0x1209): undefined reference to `glslang::ReleaseGlobalLock()' /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libMachineIndependent.a(ShaderLang.cpp.o): In function `(anonymous namespace)::SetupBuiltinSymbolTable(int, EProfile, glslang::SpvVersion const&, glslang::EShSource)': (.text[.text.group]+0x4ac7): undefined reference to `glslang::GetGlobalLock()' (.text[.text.group]+0x4b4a): undefined reference to `glslang::ReleaseGlobalLock()' /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libMachineIndependent.a(ShaderLang.cpp.o): In function `glslang::TShader::parse(TBuiltInResource const*, int, EProfile, bool, bool, EShMessages, glslang::TShader::Includer&)': (.text[.text.group]+0x66b5): undefined reference to `glslang::InitThread()' /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libMachineIndependent.a(ShaderLang.cpp.o): In function `glslang::TShader::preprocess(TBuiltInResource const*, int, EProfile, bool, bool, EShMessages, std::__cxx11::basic_string, std::allocator >*, glslang::TShader::Includer&)': (.text[.text.group]+0x83fb): undefined reference to `glslang::InitThread()' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.pU4g0r (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.pU4g0r (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/shaderc.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/shaderc.spec