BUILD/SPIRV-LLVM-Translator-322fca5d9c59bfdb80562a52ace51cdbe2a60e92/lib/SPIRV -I/builddir/build/BUILD/SPIRV-LLVM-Translator-322fca5d9c59bfdb80562a52ace51cdbe2a60e92/lib/SPIRV/libSPIRV -I/builddir/build/BUILD/SPIRV-LLVM-Translator-322fca5d9c59bfdb80562a52ace51cdbe2a60e92/lib/SPIRV/Mangler -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=gnu++17 -fPIC -fno-exceptions -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCLUtil.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCLUtil.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCLUtil.cpp.o -c /builddir/build/BUILD/SPIRV-LLVM-Translator-322fca5d9c59bfdb80562a52ace51cdbe2a60e92/lib/SPIRV/OCLUtil.cpp In file included from /builddir/build/BUILD/SPIRV-LLVM-Translator-322fca5d9c59bfdb80562a52ace51cdbe2a60e92/lib/SPIRV/SPIRVInternal.h:45, from /builddir/build/BUILD/SPIRV-LLVM-Translator-322fca5d9c59bfdb80562a52ace51cdbe2a60e92/lib/SPIRV/OCLUtil.h:42, from /builddir/build/BUILD/SPIRV-LLVM-Translator-322fca5d9c59bfdb80562a52ace51cdbe2a60e92/lib/SPIRV/OCLUtil.cpp:40: /builddir/build/BUILD/SPIRV-LLVM-Translator-322fca5d9c59bfdb80562a52ace51cdbe2a60e92/lib/SPIRV/libSPIRV/SPIRVNameMapEnum.h: In member function ‘void SPIRV::SPIRVMap::init() [with Ty1 = spv::Capability; Ty2 = std::__cxx11::basic_string; Identifier = void]’: /builddir/build/BUILD/SPIRV-LLVM-Translator-322fca5d9c59bfdb80562a52ace51cdbe2a60e92/lib/SPIRV/libSPIRV/SPIRVNameMapEnum.h:607:7: error: ‘CapabilityLongConstantCompositeINTEL’ was not declared in this scope 607 | add(CapabilityLongConstantCompositeINTEL, "LongConstantCompositeINTEL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/SPIRV-LLVM-Translator-322fca5d9c59bfdb80562a52ace51cdbe2a60e92/lib/SPIRV/libSPIRV/SPIRVType.h:47, from /builddir/build/BUILD/SPIRV-LLVM-Translator-322fca5d9c59bfdb80562a52ace51cdbe2a60e92/lib/SPIRV/SPIRVInternal.h:46: /builddir/build/BUILD/SPIRV-LLVM-Translator-322fca5d9c59bfdb80562a52ace51cdbe2a60e92/lib/SPIRV/libSPIRV/SPIRVEntry.h: In member function ‘SPIRV::SPIRVCapVec SPIRV::SPIRVContinuedInstINTELBase::getRequiredCapability() const’: /builddir/build/BUILD/SPIRV-LLVM-Translator-322fca5d9c59bfdb80562a52ace51cdbe2a60e92/lib/SPIRV/libSPIRV/SPIRVEntry.h:906:19: error: ‘CapabilityLongConstantCompositeINTEL’ was not declared in this scope 906 | return getVec(CapabilityLongConstantCompositeINTEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.4c5P5K (%build) Bad exit status from /var/tmp/rpm-tmp.4c5P5K (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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 --target riscv64 --nodeps /builddir/build/SPECS/spirv-llvm-translator16.spec