uded from ctl.c:52: BUILDSTDERR: ../inc/utils.h:57:6: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int util_nk_new (const ip_addr_t offset, const time_t culltime, BUILDSTDERR: ^~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../inc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c `test -f 'utils.c' || echo './'`utils.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../inc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c `test -f 'pcaputil.c' || echo './'`pcaputil.c BUILDSTDERR: utils.c: In function 'util_print': BUILDSTDERR: utils.c:131:22: error: format not a string literal and no format arguments [-Werror=format-security] BUILDSTDERR: syslog(INFOTYPE, buf); BUILDSTDERR: ^~~ BUILDSTDERR: utils.c: In function 'util_detach': BUILDSTDERR: utils.c:219:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: dup(0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: utils.c:220:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: dup(0); BUILDSTDERR: ^~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../inc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c `test -f 'bget.c' || echo './'`bget.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../inc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c `test -f 'pkt.c' || echo './'`pkt.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../inc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c `test -f 'strlcpy.c' || echo './'`strlcpy.c BUILDSTDERR: cc1: some warnings being treated as errors BUILDSTDERR: make[2]: *** [Makefile:243: utils.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/labrea-2.5-stable-1/src' BUILDSTDERR: make[1]: *** [Makefile:188: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/labrea-2.5-stable-1' BUILDSTDERR: make: *** [Makefile:143: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Hcuvkk (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Hcuvkk (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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/labrea.spec