afficserver-9.2.0/include -I/builddir/build/BUILD/trafficserver-9.2.0/lib -D_GNU_SOURCE -DOPENSSL_NO_SSL_INTERN -DOPENSSL_API_COMPAT=10002 -DOPENSSL_IS_OPENSSL3 -std=c++17 -g -pipe -Wall -Wextra -Wno-ignored-qualifiers -Wno-unused-parameter -Wno-format-truncation -Wno-cast-function-type -Wno-stringop-overflow -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof -Wno-noexcept-type -Wsuggest-override -O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -c -o RecLocal.o RecLocal.cc make[2]: Leaving directory '/builddir/build/BUILD/trafficserver-9.2.0/lib/records' In file included from ../../include/tscore/List.h:59, from /builddir/build/BUILD/trafficserver-9.2.0/mgmt/ConfigManager.h:27, from RecLocal.cc:25: ../../include/tscore/ink_queue.h:186:2: error: #error "unsupported processor" 186 | #error "unsupported processor" | ^~~~~ ../../include/tscore/List.h: In member function 'bool AtomicSLL::empty()': ../../include/tscore/ink_queue.h:227:44: error: there are no arguments to 'FREELIST_POINTER' that depend on a template parameter, so a declaration of 'FREELIST_POINTER' must be available [-fpermissive] 227 | #define INK_ATOMICLIST_EMPTY(_x) (!(TO_PTR(FREELIST_POINTER((_x.head))))) | ^~~~~~~~~~~~~~~~ ../../include/tscore/ink_queue.h:127:30: note: in definition of macro 'TO_PTR' 127 | #define TO_PTR(_x) ((void *)(_x)) | ^~ ../../include/tscore/List.h:912:12: note: in expansion of macro 'INK_ATOMICLIST_EMPTY' 912 | return INK_ATOMICLIST_EMPTY(al); | ^~~~~~~~~~~~~~~~~~~~ ../../include/tscore/ink_queue.h:227:44: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) 227 | #define INK_ATOMICLIST_EMPTY(_x) (!(TO_PTR(FREELIST_POINTER((_x.head))))) | ^~~~~~~~~~~~~~~~ ../../include/tscore/ink_queue.h:127:30: note: in definition of macro 'TO_PTR' 127 | #define TO_PTR(_x) ((void *)(_x)) | ^~ ../../include/tscore/List.h:912:12: note: in expansion of macro 'INK_ATOMICLIST_EMPTY' 912 | return INK_ATOMICLIST_EMPTY(al); | ^~~~~~~~~~~~~~~~~~~~ ../../include/tscore/List.h: In member function 'C* AtomicSLL::head()': ../../include/tscore/List.h:929:24: error: there are no arguments to 'FREELIST_POINTER' that depend on a template parameter, so a declaration of 'FREELIST_POINTER' must be available [-fpermissive] 929 | return (C *)TO_PTR(FREELIST_POINTER(al.head)); | ^~~~~~~~~~~~~~~~ ../../include/tscore/ink_queue.h:127:30: note: in definition of macro 'TO_PTR' 127 | #define TO_PTR(_x) ((void *)(_x)) | ^~ make[2]: *** [Makefile:1051: RecLocal.o] Error 1 make[1]: *** [Makefile:609: all-recursive] Error 1 RPM build errors: make: *** [Makefile:898: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.vwinMm (%build) Bad exit status from /var/tmp/rpm-tmp.vwinMm (%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/trafficserver.spec