9 -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 -pthread -fstack-protector -c -o vcc_if.lo vcc_if.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -DSTATIC_ASSERT -Wall -Werror -Wextra -std=c99 -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 -pthread -fstack-protector -c vcc_if.c -fPIC -DPIC -o .libs/vcc_if.o make[2]: Leaving directory '/builddir/build/BUILD/libvmod-uuid-1.10/src' make[2]: Entering directory '/builddir/build/BUILD/libvmod-uuid-1.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -DSTATIC_ASSERT -Wall -Werror -Wextra -std=c99 -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 -pthread -fstack-protector -c -o vmod_uuid.lo vmod_uuid.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -DSTATIC_ASSERT -Wall -Werror -Wextra -std=c99 -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 -pthread -fstack-protector -c vmod_uuid.c -fPIC -DPIC -o .libs/vmod_uuid.o make[2]: Leaving directory '/builddir/build/BUILD/libvmod-uuid-1.10/src' vmod_uuid.c:116:39: error: array type has incomplete element type 'struct vmod_priv_methods' 116 | static const struct vmod_priv_methods uuid_priv_task_methods[1] = {{ | ^~~~~~~~~~~~~~~~~~~~~~ vmod_uuid.c:117:26: error: 'VMOD_PRIV_METHODS_MAGIC' undeclared here (not in a function); did you mean 'VDI_METHODS_MAGIC'? 117 | .magic = VMOD_PRIV_METHODS_MAGIC, | ^~~~~~~~~~~~~~~~~~~~~~~ | VDI_METHODS_MAGIC vmod_uuid.c: In function 'get_uuids': vmod_uuid.c:140:21: error: 'struct vmod_priv' has no member named 'methods' 140 | priv->methods = uuid_priv_task_methods; | ^~ vmod_uuid.c: At top level: vmod_uuid.c:116:39: error: 'uuid_priv_task_methods' defined but not used [-Werror=unused-variable] 116 | static const struct vmod_priv_methods uuid_priv_task_methods[1] = {{ | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:688: vmod_uuid.lo] Error 1 RPM build errors: make[1]: *** [Makefile:532: all-recursive] Error 1 make: *** [Makefile:421: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.ptqXud (%build) Bad exit status from /var/tmp/rpm-tmp.ptqXud (%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/vmod-uuid.spec