xsi-1.3/naxsi_src/redhat-linux-build/addon/naxsi_src/naxsi_skeleton.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/naxsi-1.3/naxsi_src/nginx-src' make[1]: Entering directory '/builddir/build/BUILD/naxsi-1.3/naxsi_src/nginx-src' gcc -c -fPIC -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 -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 -I src/core -I src/event -I src/event/modules -I src/os/unix -I /builddir/build/BUILD/naxsi-1.3/naxsi_src/redhat-linux-build -I src/http -I src/http/modules \ -o /builddir/build/BUILD/naxsi-1.3/naxsi_src/redhat-linux-build/addon/naxsi_src/naxsi_runtime.o \ /builddir/build/BUILD/naxsi-1.3/naxsi_src/naxsi_runtime.c make[1]: Leaving directory '/builddir/build/BUILD/naxsi-1.3/naxsi_src/nginx-src' In file included from src/event/ngx_event.h:526, from /builddir/build/BUILD/naxsi-1.3/naxsi_src/naxsi.h:18, from /builddir/build/BUILD/naxsi-1.3/naxsi_src/naxsi_runtime.c:8: src/event/ngx_event_udp.h:38:27: error: field 'pkt6' has incomplete type 38 | struct in6_pktinfo pkt6; | ^~~~ /builddir/build/BUILD/naxsi-1.3/naxsi_src/naxsi_runtime.c: In function 'ngx_http_naxsi_data_parse': /builddir/build/BUILD/naxsi-1.3/naxsi_src/naxsi_runtime.c:2924:36: error: 'r->headers_in.x_forwarded_for' is a pointer; did you mean to use '->'? 2924 | if (r->headers_in.x_forwarded_for.nelts >= 1) { | ^ | -> /builddir/build/BUILD/naxsi-1.3/naxsi_src/naxsi_runtime.c:2925:9: error: incompatible types when assigning to type 'ngx_array_t' from type 'ngx_table_elt_t *' {aka 'struct ngx_table_elt_s *'} 2925 | a = r->headers_in.x_forwarded_for; | ^ /builddir/build/BUILD/naxsi-1.3/naxsi_src/naxsi_runtime.c: In function 'ngx_http_naxsi_update_current_ctx_status': /builddir/build/BUILD/naxsi-1.3/naxsi_src/naxsi_runtime.c:2961:38: error: 'r->headers_in.x_forwarded_for' is a pointer; did you mean to use '->'? 2961 | if (r->headers_in.x_forwarded_for.nelts >= 1) { | ^ | -> /builddir/build/BUILD/naxsi-1.3/naxsi_src/naxsi_runtime.c:2962:11: error: incompatible types when assigning to type 'ngx_array_t' from type 'ngx_table_elt_t *' {aka 'struct ngx_table_elt_s *'} 2962 | a = r->headers_in.x_forwarded_for; | ^ make[1]: *** [/builddir/build/BUILD/naxsi-1.3/naxsi_src/redhat-linux-build/Makefile:1239: /builddir/build/BUILD/naxsi-1.3/naxsi_src/redhat-linux-build/addon/naxsi_src/naxsi_runtime.o] Error 1 make: *** [Makefile:16: modules] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.mRijdP (%build) Bad exit status from /var/tmp/rpm-tmp.mRijdP (%build) RPM build errors: 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/nginx-mod-naxsi.spec