Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/procdump.spec'], chrootPath='/var/lib/mock/f40-build-766469-124118/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/procdump.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1693180800 Wrote: /builddir/build/SRPMS/procdump-2.1-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/procdump.spec'], chrootPath='/var/lib/mock/f40-build-766469-124118/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/procdump.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1693180800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Nh76MI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ProcDump-for-Linux-2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ProcDump-for-Linux-2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ProcDump-for-Linux-2.1 + rm -rf /builddir/build/BUILD/ProcDump-for-Linux-2.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/ProcDump-for-Linux-2.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Fixing-some-leaks-in-src-Monitor.c-code-204.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rHoDoB + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 ' + export CFLAGS + CXXFLAGS='-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 ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ProcDump-for-Linux-2.1 + make CFLAGS= rm -rf obj rm -rf bin rm -rf /builddir/build/BUILD/ProcDump-for-Linux-2.1/pkgbuild mkdir -p obj clang++ -o obj/ProcDumpProfiler.so -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -g -pthread -shared --no-undefined -Wno-invalid-noreturn -Wno-pragma-pack -Wno-writable-strings -Wno-format-security -fPIC -fms-extensions -DHOST_64BIT -DBIT64 -DPAL_STDCPP_COMPAT -DPLATFORM_UNIX -std=c++11 -I profiler/inc -I include profiler/src/ClassFactory.cpp profiler/src/ProcDumpProfiler.cpp profiler/src/dllmain.cpp profiler/src/corprof_i.cpp profiler/src/easylogging++.cc In file included from profiler/src/ClassFactory.cpp:4: In file included from profiler/inc/ClassFactory.h:6: In file included from profiler/inc/unknwn.h:12: In file included from profiler/inc/rpc.h:15: In file included from profiler/inc/palrt.h:136: profiler/inc/pal.h:2312:2: error: Unknown architecture for defining CONTEXT. 2312 | #error Unknown architecture for defining CONTEXT. | ^ profiler/inc/pal.h:2321:17: error: unknown type name 'LPCONTEXT' 2321 | IN OUT LPCONTEXT lpContext); | ^ profiler/inc/pal.h:2328:19: error: unknown type name 'CONTEXT' 2328 | IN CONST CONTEXT *lpContext); | ^ profiler/inc/pal.h:2421:41: error: unknown type name 'CONTEXT' 2421 | PALIMPORT BOOL PALAPI PAL_VirtualUnwind(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextPointers); | ^ profiler/inc/pal.h:2421:59: error: unknown type name 'KNONVOLATILE_CONTEXT_POINTERS' 2421 | PALIMPORT BOOL PALAPI PAL_VirtualUnwind(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextPointers); | ^ profiler/inc/pal.h:2423:50: error: unknown type name 'CONTEXT' 2423 | PALIMPORT BOOL PALAPI PAL_VirtualUnwindOutOfProc(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextPointers, PULONG64 functionStart, SIZE_T baseAddress, UnwindReadMemoryCallback readMemoryCallback); | ^ profiler/inc/pal.h:2423:68: error: unknown type name 'KNONVOLATILE_CONTEXT_POINTERS' 2423 | PALIMPORT BOOL PALAPI PAL_VirtualUnwindOutOfProc(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextPointers, PULONG64 functionStart, SIZE_T baseAddress, UnwindReadMemoryCallback readMemoryCallback); | ^ profiler/inc/pal.h:2458:2: warning: [-W#warnings] 2458 | #warning | ^ profiler/inc/pal.h:2459:2: error: PAL_CS_NATIVE_DATA_SIZE is not defined for this architecture 2459 | #error PAL_CS_NATIVE_DATA_SIZE is not defined for this architecture | ^ profiler/inc/pal.h:2477:34: error: use of undeclared identifier 'PAL_CS_NATIVE_DATA_SIZE' 2477 | BYTE rgNativeDataStorage[PAL_CS_NATIVE_DATA_SIZE]; | ^ profiler/inc/pal.h:2939:5: error: unknown type name 'PCONTEXT' 2939 | PCONTEXT ContextRecord; | ^ profiler/inc/pal.h:3096:8: error: unknown type name 'PCONTEXT' 3096 | IN PCONTEXT pContextRecord, | ^ profiler/inc/pal.h:3667:6: error: unknown type name 'PCONTEXT' 3667 | IN PCONTEXT ContextRecord, | ^ profiler/inc/pal.h:3675:7: error: unknown type name 'PCONTEXT' 3675 | OUT PCONTEXT ContextRecord | ^ profiler/inc/pal.h:3683:40: error: unknown type name 'CONTEXT' 3683 | typedef void (*PAL_ActivationFunction)(CONTEXT *context); | ^ profiler/inc/pal.h:4429:6: error: unknown type name 'CONTEXT' 4429 | IN CONTEXT *contextRecord); | ^ profiler/inc/pal.h:4471:58: error: unknown type name 'CONTEXT' 4471 | PAL_SEHException(EXCEPTION_RECORD *pExceptionRecord, CONTEXT *pContextRecord, bool onStack = false) | ^ profiler/inc/pal.h:4519:5: error: unknown type name 'CONTEXT' 4519 | CONTEXT* GetContextRecord() | ^ profiler/inc/pal.h:4554:59: error: unknown type name 'PCONTEXT' 4554 | typedef BOOL (*PHARDWARE_EXCEPTION_SAFETY_CHECK_FUNCTION)(PCONTEXT contextRecord, PEXCEPTION_RECORD exceptionRecord); | ^ profiler/inc/pal.h:4575:8: error: unknown type name 'CONTEXT' 4575 | IN CONTEXT* context, | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. In file included from profiler/src/ProcDumpProfiler.cpp:4: In file included from profiler/inc/ProcDumpProfiler.h:19: In file included from profiler/inc/cor.h:16: In file included from profiler/inc/ole2.h:8: In file included from profiler/inc/objidl.h:12: In file included from profiler/inc/rpc.h:15: In file included from profiler/inc/palrt.h:136: profiler/inc/pal.h:2312:2: error: Unknown architecture for defining CONTEXT. 2312 | #error Unknown architecture for defining CONTEXT. | ^ profiler/inc/pal.h:2321:17: error: unknown type name 'LPCONTEXT' 2321 | IN OUT LPCONTEXT lpContext); | ^ profiler/inc/pal.h:2328:19: error: unknown type name 'CONTEXT' 2328 | IN CONST CONTEXT *lpContext); | ^ profiler/inc/pal.h:2421:41: error: unknown type name 'CONTEXT' 2421 | PALIMPORT BOOL PALAPI PAL_VirtualUnwind(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextPointers); | ^ profiler/inc/pal.h:2421:59: error: unknown type name 'KNONVOLATILE_CONTEXT_POINTERS' 2421 | PALIMPORT BOOL PALAPI PAL_VirtualUnwind(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextPointers); | ^ profiler/inc/pal.h:2423:50: error: unknown type name 'CONTEXT' 2423 | PALIMPORT BOOL PALAPI PAL_VirtualUnwindOutOfProc(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextPointers, PULONG64 functionStart, SIZE_T baseAddress, UnwindReadMemoryCallback readMemoryCallback); | ^ profiler/inc/pal.h:2423:68: error: unknown type name 'KNONVOLATILE_CONTEXT_POINTERS' 2423 | PALIMPORT BOOL PALAPI PAL_VirtualUnwindOutOfProc(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextPointers, PULONG64 functionStart, SIZE_T baseAddress, UnwindReadMemoryCallback readMemoryCallback); | ^ profiler/inc/pal.h:2458:2: warning: [-W#warnings] 2458 | #warning | ^ profiler/inc/pal.h:2459:2: error: PAL_CS_NATIVE_DATA_SIZE is not defined for this architecture 2459 | #error PAL_CS_NATIVE_DATA_SIZE is not defined for this architecture | ^ profiler/inc/pal.h:2477:34: error: use of undeclared identifier 'PAL_CS_NATIVE_DATA_SIZE' 2477 | BYTE rgNativeDataStorage[PAL_CS_NATIVE_DATA_SIZE]; | ^ profiler/inc/pal.h:2939:5: error: unknown type name 'PCONTEXT' 2939 | PCONTEXT ContextRecord; | ^ profiler/inc/pal.h:3096:8: error: unknown type name 'PCONTEXT' 3096 | IN PCONTEXT pContextRecord, | ^ profiler/inc/pal.h:3667:6: error: unknown type name 'PCONTEXT' 3667 | IN PCONTEXT ContextRecord, | ^ profiler/inc/pal.h:3675:7: error: unknown type name 'PCONTEXT' 3675 | OUT PCONTEXT ContextRecord | ^ profiler/inc/pal.h:3683:40: error: unknown type name 'CONTEXT' 3683 | typedef void (*PAL_ActivationFunction)(CONTEXT *context); | ^ profiler/inc/pal.h:4429:6: error: unknown type name 'CONTEXT' 4429 | IN CONTEXT *contextRecord); | ^ profiler/inc/pal.h:4471:58: error: unknown type name 'CONTEXT' 4471 | PAL_SEHException(EXCEPTION_RECORD *pExceptionRecord, CONTEXT *pContextRecord, bool onStack = false) | ^ profiler/inc/pal.h:4519:5: error: unknown type name 'CONTEXT' 4519 | CONTEXT* GetContextRecord() | ^ profiler/inc/pal.h:4554:59: error: unknown type name 'PCONTEXT' 4554 | typedef BOOL (*PHARDWARE_EXCEPTION_SAFETY_CHECK_FUNCTION)(PCONTEXT contextRecord, PEXCEPTION_RECORD exceptionRecord); | ^ profiler/inc/pal.h:4575:8: error: unknown type name 'CONTEXT' 4575 | IN CONTEXT* context, | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. In file included from profiler/src/dllmain.cpp:4: In file included from profiler/inc/ClassFactory.h:6: In file included from profiler/inc/unknwn.h:12: In file included from profiler/inc/rpc.h:15: In file included from profiler/inc/palrt.h:136: profiler/inc/pal.h:2312:2: error: Unknown architecture for defining CONTEXT. 2312 | #error Unknown architecture for defining CONTEXT. | ^ profiler/inc/pal.h:2321:17: error: unknown type name 'LPCONTEXT' 2321 | IN OUT LPCONTEXT lpContext); | ^ profiler/inc/pal.h:2328:19: error: unknown type name 'CONTEXT' 2328 | IN CONST CONTEXT *lpContext); | ^ profiler/inc/pal.h:2421:41: error: unknown type name 'CONTEXT' 2421 | PALIMPORT BOOL PALAPI PAL_VirtualUnwind(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextPointers); | ^ profiler/inc/pal.h:2421:59: error: unknown type name 'KNONVOLATILE_CONTEXT_POINTERS' 2421 | PALIMPORT BOOL PALAPI PAL_VirtualUnwind(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextPointers); | ^ profiler/inc/pal.h:2423:50: error: unknown type name 'CONTEXT' 2423 | PALIMPORT BOOL PALAPI PAL_VirtualUnwindOutOfProc(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextPointers, PULONG64 functionStart, SIZE_T baseAddress, UnwindReadMemoryCallback readMemoryCallback); | ^ profiler/inc/pal.h:2423:68: error: unknown type name 'KNONVOLATILE_CONTEXT_POINTERS' 2423 | PALIMPORT BOOL PALAPI PAL_VirtualUnwindOutOfProc(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextPointers, PULONG64 functionStart, SIZE_T baseAddress, UnwindReadMemoryCallback readMemoryCallback); | ^ profiler/inc/pal.h:2458:2: warning: [-W#warnings] 2458 | #warning | ^ profiler/inc/pal.h:2459:2: error: PAL_CS_NATIVE_DATA_SIZE is not defined for this architecture 2459 | #error PAL_CS_NATIVE_DATA_SIZE is not defined for this architecture | ^ profiler/inc/pal.h:2477:34: error: use of undeclared identifier 'PAL_CS_NATIVE_DATA_SIZE' 2477 | BYTE rgNativeDataStorage[PAL_CS_NATIVE_DATA_SIZE]; | ^ profiler/inc/pal.h:2939:5: error: unknown type name 'PCONTEXT' 2939 | PCONTEXT ContextRecord; | ^ profiler/inc/pal.h:3096:8: error: unknown type name 'PCONTEXT' 3096 | IN PCONTEXT pContextRecord, | ^ profiler/inc/pal.h:3667:6: error: unknown type name 'PCONTEXT' 3667 | IN PCONTEXT ContextRecord, | ^ profiler/inc/pal.h:3675:7: error: unknown type name 'PCONTEXT' 3675 | OUT PCONTEXT ContextRecord | ^ profiler/inc/pal.h:3683:40: error: unknown type name 'CONTEXT' 3683 | typedef void (*PAL_ActivationFunction)(CONTEXT *context); | ^ profiler/inc/pal.h:4429:6: error: unknown type name 'CONTEXT' 4429 | IN CONTEXT *contextRecord); | ^ profiler/inc/pal.h:4471:58: error: unknown type name 'CONTEXT' 4471 | PAL_SEHException(EXCEPTION_RECORD *pExceptionRecord, CONTEXT *pContextRecord, bool onStack = false) | ^ profiler/inc/pal.h:4519:5: error: unknown type name 'CONTEXT' 4519 | CONTEXT* GetContextRecord() | ^ profiler/inc/pal.h:4554:59: error: unknown type name 'PCONTEXT' 4554 | typedef BOOL (*PHARDWARE_EXCEPTION_SAFETY_CHECK_FUNCTION)(PCONTEXT contextRecord, PEXCEPTION_RECORD exceptionRecord); | ^ profiler/inc/pal.h:4575:8: error: unknown type name 'CONTEXT' 4575 | IN CONTEXT* context, | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. In file included from profiler/src/corprof_i.cpp:22: In file included from profiler/inc/rpc.h:15: In file included from profiler/inc/palrt.h:136: profiler/inc/pal.h:2312:2: error: Unknown architecture for defining CONTEXT. 2312 | #error Unknown architecture for defining CONTEXT. | ^ profiler/inc/pal.h:2321:17: error: unknown type name 'LPCONTEXT' 2321 | IN OUT LPCONTEXT lpContext); | ^ profiler/inc/pal.h:2328:19: error: unknown type name 'CONTEXT' 2328 | IN CONST CONTEXT *lpContext); | ^ profiler/inc/pal.h:2421:41: error: unknown type name 'CONTEXT' 2421 | PALIMPORT BOOL PALAPI PAL_VirtualUnwind(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextPointers); | ^ profiler/inc/pal.h:2421:59: error: unknown type name 'KNONVOLATILE_CONTEXT_POINTERS' 2421 | PALIMPORT BOOL PALAPI PAL_VirtualUnwind(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextPointers); | ^ profiler/inc/pal.h:2423:50: error: unknown type name 'CONTEXT' 2423 | PALIMPORT BOOL PALAPI PAL_VirtualUnwindOutOfProc(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextPointers, PULONG64 functionStart, SIZE_T baseAddress, UnwindReadMemoryCallback readMemoryCallback); | ^ profiler/inc/pal.h:2423:68: error: unknown type name 'KNONVOLATILE_CONTEXT_POINTERS' 2423 | PALIMPORT BOOL PALAPI PAL_VirtualUnwindOutOfProc(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextPointers, PULONG64 functionStart, SIZE_T baseAddress, UnwindReadMemoryCallback readMemoryCallback); | ^ profiler/inc/pal.h:2458:2: warning: [-W#warnings] 2458 | #warning | ^ profiler/inc/pal.h:2459:2: error: PAL_CS_NATIVE_DATA_SIZE is not defined for this architecture 2459 | #error PAL_CS_NATIVE_DATA_SIZE is not defined for this architecture | ^ profiler/inc/pal.h:2477:34: error: use of undeclared identifier 'PAL_CS_NATIVE_DATA_SIZE' 2477 | BYTE rgNativeDataStorage[PAL_CS_NATIVE_DATA_SIZE]; | ^ profiler/inc/pal.h:2939:5: error: unknown type name 'PCONTEXT' 2939 | PCONTEXT ContextRecord; | ^ profiler/inc/pal.h:3096:8: error: unknown type name 'PCONTEXT' 3096 | IN PCONTEXT pContextRecord, | ^ profiler/inc/pal.h:3667:6: error: unknown type name 'PCONTEXT' 3667 | IN PCONTEXT ContextRecord, | ^ profiler/inc/pal.h:3675:7: error: unknown type name 'PCONTEXT' 3675 | OUT PCONTEXT ContextRecord | ^ profiler/inc/pal.h:3683:40: error: unknown type name 'CONTEXT' 3683 | typedef void (*PAL_ActivationFunction)(CONTEXT *context); | ^ profiler/inc/pal.h:4429:6: error: unknown type name 'CONTEXT' 4429 | IN CONTEXT *contextRecord); | ^ profiler/inc/pal.h:4471:58: error: unknown type name 'CONTEXT' 4471 | PAL_SEHException(EXCEPTION_RECORD *pExceptionRecord, CONTEXT *pContextRecord, bool onStack = false) | ^ profiler/inc/pal.h:4519:5: error: unknown type name 'CONTEXT' 4519 | CONTEXT* GetContextRecord() | ^ profiler/inc/pal.h:4554:59: error: unknown type name 'PCONTEXT' 4554 | typedef BOOL (*PHARDWARE_EXCEPTION_SAFETY_CHECK_FUNCTION)(PCONTEXT contextRecord, PEXCEPTION_RECORD exceptionRecord); | ^ profiler/inc/pal.h:4575:8: error: unknown type name 'CONTEXT' 4575 | IN CONTEXT* context, | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. make: *** [Makefile:57: obj/ProcDumpProfiler.so] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.rHoDoB (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.rHoDoB (%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/procdump.spec