ir/build/BUILD/wpewebkit-2.24.2/riscv64-redhat-linux-gnu/DerivedSources/ForwardingHeaders/wtf/RefCountedArray.h:235:31: required from 'static const WTF::RefCountedArray::Header* WTF::RefCountedArray::Header::fromPayload(const T*) [with T = JSC::WriteBarrier; PtrTraits = WTF::DumbPtrTraits >]' BUILDSTDERR: /builddir/build/BUILD/wpewebkit-2.24.2/riscv64-redhat-linux-gnu/DerivedSources/ForwardingHeaders/wtf/RefCountedArray.h:138:35: required from 'size_t WTF::RefCountedArray::size() const [with T = JSC::WriteBarrier; PtrTraits = WTF::DumbPtrTraits >; size_t = long unsigned int]' BUILDSTDERR: /builddir/build/BUILD/wpewebkit-2.24.2/Source/JavaScriptCore/bytecode/CodeBlock.h:568:63: required from here BUILDSTDERR: /builddir/build/BUILD/wpewebkit-2.24.2/riscv64-redhat-linux-gnu/DerivedSources/ForwardingHeaders/wtf/StdLibExtras.h:109:30: warning: cast from 'char*' to 'WTF::RefCountedArray >::Header*' increases required alignment of target type [-Wcast-align] BUILDSTDERR: 109 | #define reinterpret_cast_ptr reinterpret_cast BUILDSTDERR: /builddir/build/BUILD/wpewebkit-2.24.2/riscv64-redhat-linux-gnu/DerivedSources/ForwardingHeaders/wtf/RefCountedArray.h:230:20: note: in expansion of macro 'reinterpret_cast_ptr' BUILDSTDERR: 230 | return reinterpret_cast_ptr(reinterpret_cast(payload) - size()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/wpewebkit-2.24.2/riscv64-redhat-linux-gnu' make[2]: Entering directory '/builddir/build/BUILD/wpewebkit-2.24.2/riscv64-redhat-linux-gnu' [ 48%] Linking CXX executable ../../bin/LLIntOffsetsExtractor cd /builddir/build/BUILD/wpewebkit-2.24.2/riscv64-redhat-linux-gnu/Source/JavaScriptCore && /usr/bin/cmake -E cmake_link_script CMakeFiles/LLIntOffsetsExtractor.dir/link.txt --verbose=1 /usr/bin/c++ -Wextra -Wall -Wno-expansion-to-defined -Wno-psabi -Wno-noexcept-type -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-exceptions -fno-rtti -std=c++14 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/LLIntOffsetsExtractor.dir/llint/LLIntOffsetsExtractor.cpp.o -o ../../bin/LLIntOffsetsExtractor ../../lib/libWTF.a -ldl -licudata -licui18n -licuuc -lpthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lz make[2]: Leaving directory '/builddir/build/BUILD/wpewebkit-2.24.2/riscv64-redhat-linux-gnu' make[1]: Entering directory '/builddir/build/BUILD/wpewebkit-2.24.2/riscv64-redhat-linux-gnu' [ 48%] Built target LLIntOffsetsExtractor make[1]: Leaving directory '/builddir/build/BUILD/wpewebkit-2.24.2/riscv64-redhat-linux-gnu' BUILDSTDERR: make: *** [Makefile:155: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.net08s (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.net08s (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do 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/wpewebkit.spec