pf_filter(u_char *texpr, const u_char *chunk, const size_t siz) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: labrea_init.c:576:23: warning: pointer targets in passing argument 1 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] BUILDSTDERR: build_bpf_filter(texpr, ")", BPFSIZE); BUILDSTDERR: ^~~~~ BUILDSTDERR: labrea_init.c:123:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: labrea_init.c:576:30: warning: pointer targets in passing argument 2 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] BUILDSTDERR: build_bpf_filter(texpr, ")", BPFSIZE); BUILDSTDERR: ^~~ BUILDSTDERR: labrea_init.c:123:1: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: labrea_init.c:670:13: warning: pointer targets in passing argument 1 of 'lbio_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: lbio_init(dev, texpr); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from labrea_init.c:54: BUILDSTDERR: ../inc/lbio.h:66:7: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: void lbio_init(u_char *dev, u_char *texpr); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: labrea_init.c:670:18: warning: pointer targets in passing argument 2 of 'lbio_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: lbio_init(dev, texpr); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from labrea_init.c:54: BUILDSTDERR: ../inc/lbio.h:66:7: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: void lbio_init(u_char *dev, u_char *texpr); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: make[2]: *** [Makefile:243: labrea_init.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: make[2]: *** [Makefile:243: lbio.o] Error 1 BUILDSTDERR: In file included from ctl.c:49: BUILDSTDERR: ctl.c: In function 'ctl_init_arrays': BUILDSTDERR: ../inc/labrea.h:100:24: warning: pointer targets in passing argument 3 of 'util_nk_new' differ in signedness [-Wpointer-sign] BUILDSTDERR: #define ETH_ADDR_BOGUS "\x00\x00\x0f\xff\xff\xff" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ctl.c:479:53: note: in expansion of macro 'ETH_ADDR_BOGUS' BUILDSTDERR: util_nk_new(ip , current - CULLTIME + arp_delay, ETH_ADDR_BOGUS); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included 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: ^~~~~~~~~~~ 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.IkYFan (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.IkYFan (%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