/../include/tscore/ink_queue.h:167:2: error: #error "unsupported processor" 167 | #error "unsupported processor" | ^~~~~ ../../include/tscore/List.h: In member function 'bool AtomicSLL::empty()': ../../include/tscore/ink_queue.h:208: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] 208 | #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:707:12: note: in expansion of macro 'INK_ATOMICLIST_EMPTY' 707 | return INK_ATOMICLIST_EMPTY(al); | ^~~~~~~~~~~~~~~~~~~~ ../../include/tscore/ink_queue.h:208:44: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) 208 | #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:707:12: note: in expansion of macro 'INK_ATOMICLIST_EMPTY' 707 | return INK_ATOMICLIST_EMPTY(al); | ^~~~~~~~~~~~~~~~~~~~ ../../include/tscore/List.h: In member function 'C* AtomicSLL::head()': ../../include/tscore/List.h:724: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] 724 | 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)) | ^~ In file included from ../../include/tscore/MemArena.h:32, from /builddir/build/BUILD/trafficserver-9.1.3/lib/records/I_RecHttp.h:32, from /builddir/build/BUILD/trafficserver-9.1.3/mgmt/LocalManager.h:29, from RecLocal.cc:32: ../../include/tscore/IntrusivePtr.h: At global scope: ../../include/tscore/IntrusivePtr.h:333:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 333 | class Order : public std::binary_function, IntrusivePtr, bool> | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from ../../include/tscore/ink_memory.h:30, from ../../include/tscore/defalloc.h:25, from ../../include/tscore/List.h:60: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ make[2]: *** [Makefile:996: RecLocal.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/trafficserver-9.1.3/lib/records' make[1]: *** [Makefile:598: all-recursive] Error 1 make: *** [Makefile:869: all-recursive] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.DZws3D (%build) Bad exit status from /var/tmp/rpm-tmp.DZws3D (%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