Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/labrea.spec'], chrootPath='/var/lib/mock/f29-build-30982-16551/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/labrea.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/labrea-2.5.1-15.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/labrea.spec'], chrootPath='/var/lib/mock/f29-build-30982-16551/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/labrea.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.13UGoc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf labrea-2.5-stable-1 + /usr/bin/gzip -dc /builddir/build/SOURCES/labrea-2.5-stable-1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd labrea-2.5-stable-1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e 's/-I- @DNETINC@ @PCAPINC@//g' src/Makefile.am + sed -i -e 's/-I- @DNETINC@ @PCAPINC@//g' src/Makefile.in + rm -f inc/syslog.h + sed -i -e s/syslog.h//g inc/Makefile.am + sed -i -e s/syslog.h//g inc/Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IkYFan + umask 022 + cd /builddir/build/BUILD + cd labrea-2.5-stable-1 + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for target os... linux-gnu checking whether make sets $(MAKE)... (cached) yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for libpcap... yes checking for libdnet... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking err.h usability... yes checking err.h presence... yes checking for err.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking for an ANSI C-conforming const... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether gcc needs -traditional... no checking for working memcmp... yes checking return type of signal handlers... void checking for strstr... yes checking for strtol... yes checking for strlcpy... no checking for gnu getopt support... yes checking if debug should be enabled... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating inc/Makefile config.status: creating misc/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/labrea-2.5-stable-1' Making all in misc make[2]: Entering directory '/builddir/build/BUILD/labrea-2.5-stable-1/misc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/labrea-2.5-stable-1/misc' Making all in inc make[2]: Entering directory '/builddir/build/BUILD/labrea-2.5-stable-1/inc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/labrea-2.5-stable-1/inc' Making all in src make[2]: Entering directory '/builddir/build/BUILD/labrea-2.5-stable-1/src' 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 'labrea.c' || echo './'`labrea.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 'labrea_init.c' || echo './'`labrea_init.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_handler.c' || echo './'`pkt_handler.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 'lbio.c' || echo './'`lbio.c BUILDSTDERR: labrea.c: In function 'main': BUILDSTDERR: labrea.c:70:3: warning: implicit declaration of function 'util_alarm'; did you mean 'util_timer'? [-Wimplicit-function-declaration] BUILDSTDERR: util_alarm(); /* Set an alarm to cause timer pop */ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: util_timer BUILDSTDERR: In file included from labrea_init.c:51: BUILDSTDERR: ../inc/pcaputil.h:18:10: error: conflicting types for 'pcap_open' BUILDSTDERR: pcap_t * pcap_open(char *device); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/pcap.h:43, BUILDSTDERR: from ../inc/pcaputil.h:12, BUILDSTDERR: from labrea_init.c:51: BUILDSTDERR: /usr/include/pcap/pcap.h:835:18: note: previous declaration of 'pcap_open' was here BUILDSTDERR: PCAP_API pcap_t *pcap_open(const char *source, int snaplen, int flags, BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: pkt_handler.c: In function 'throttle_data': BUILDSTDERR: pkt_handler.c:144:10: warning: pointer targets in passing argument 4 of 'lbio_send_ip_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: "Persist Trapping"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from pkt_handler.c:44: BUILDSTDERR: ../inc/lbio.h:68:6: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int lbio_send_ip_pkt (struct pkt *new, const struct pkt *pkt, BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: pkt_handler.c:190:55: warning: pointer targets in passing argument 4 of 'lbio_send_ip_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: lbio_send_ip_pkt(new, pkt, IP_HDR_LEN + TCP_HDR_LEN, msgptr); BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from pkt_handler.c:44: BUILDSTDERR: ../inc/lbio.h:68:6: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int lbio_send_ip_pkt (struct pkt *new, const struct pkt *pkt, BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: pkt_handler.c: In function 'ip_handler': BUILDSTDERR: pkt_handler.c:429:10: warning: pointer targets in passing argument 4 of 'lbio_send_ip_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: "Initial Connect - tarpitting"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from pkt_handler.c:44: BUILDSTDERR: ../inc/lbio.h:68:6: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int lbio_send_ip_pkt (struct pkt *new, const struct pkt *pkt, BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: pkt_handler.c:462:10: warning: pointer targets in passing argument 4 of 'lbio_send_ip_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: "Inbound SYN/ACK"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from pkt_handler.c:44: BUILDSTDERR: ../inc/lbio.h:68:6: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int lbio_send_ip_pkt (struct pkt *new, const struct pkt *pkt, BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: pkt_handler.c:496:10: warning: pointer targets in passing argument 4 of 'lbio_send_ip_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: "Responded to a Ping"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from pkt_handler.c:44: BUILDSTDERR: ../inc/lbio.h:68:6: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int lbio_send_ip_pkt (struct pkt *new, const struct pkt *pkt, BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from lbio.c:48: BUILDSTDERR: ../inc/pcaputil.h:18:10: error: conflicting types for 'pcap_open' BUILDSTDERR: pcap_t * pcap_open(char *device); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/pcap.h:43, BUILDSTDERR: from ../inc/pcaputil.h:12, BUILDSTDERR: from lbio.c:48: BUILDSTDERR: /usr/include/pcap/pcap.h:835:18: note: previous declaration of 'pcap_open' was here BUILDSTDERR: PCAP_API pcap_t *pcap_open(const char *source, int snaplen, int flags, BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: lbio.c: In function 'lbio_init': BUILDSTDERR: lbio.c:254:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (strlen(dev) > 0) { BUILDSTDERR: ^~~ BUILDSTDERR: In file included from lbio.c:30: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: lbio.c:260:34: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcpy(io.ifent->intf_name, dev, sizeof(io.ifent->intf_name)); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from lbio.c:26: BUILDSTDERR: ../config.h:123:9: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcpy(char *, const char *, size_t); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: lbio.c:339:28: warning: pointer targets in passing argument 2 of 'pcap_filter' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (pcap_filter(io.pcap, texpr) < 0) { BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from lbio.c:48: BUILDSTDERR: ../inc/pcaputil.h:20:5: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: int pcap_filter(pcap_t *pcap, const char *fmt, ...); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: lbio.c: In function 'lbio_send_ip_pkt': BUILDSTDERR: lbio.c:460:13: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strncpy(c, " ", sizeof(c)); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from ../config.h:119, BUILDSTDERR: from lbio.c:26: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, 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 'ctl.c' || echo './'`ctl.c BUILDSTDERR: labrea_init.c: In function 'build_bpf_filter': BUILDSTDERR: labrea_init.c:126:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: int len = strlen(texpr); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from labrea_init.c:29: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: labrea_init.c:130:15: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (strlcpy(p, chunk, len) >= len) { BUILDSTDERR: ^ BUILDSTDERR: In file included from labrea_init.c:26: BUILDSTDERR: ../config.h:123:9: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcpy(char *, const char *, size_t); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: labrea_init.c:130:18: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (strlcpy(p, chunk, len) >= len) { BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from labrea_init.c:26: BUILDSTDERR: ../config.h:123:9: note: expected 'const char *' but argument is of type 'const u_char *' {aka 'const unsigned char *'} BUILDSTDERR: size_t strlcpy(char *, const char *, size_t); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: labrea_init.c: In function 'read_number': BUILDSTDERR: labrea_init.c:165:16: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcpy(buf, p, sizeof(buf)); /* Copy, watching for buffer overflow */ BUILDSTDERR: ^ BUILDSTDERR: In file included from labrea_init.c:26: BUILDSTDERR: ../config.h:123:9: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcpy(char *, const char *, size_t); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: labrea_init.c: In function 'labrea_init': BUILDSTDERR: labrea_init.c:375:28: warning: pointer targets in passing argument 1 of 'read_number' differ in signedness [-Wpointer-sign] BUILDSTDERR: io.intf_num = read_number(optarg); BUILDSTDERR: ^~~~~~ BUILDSTDERR: labrea_init.c:159:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: read_number (u_char *p) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: labrea_init.c:423:38: warning: pointer targets in passing argument 1 of 'read_number' differ in signedness [-Wpointer-sign] BUILDSTDERR: ctl.throttlesize = read_number(optarg); BUILDSTDERR: ^~~~~~ BUILDSTDERR: labrea_init.c:159:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: read_number (u_char *p) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: labrea_init.c:426:30: warning: pointer targets in passing argument 1 of 'read_number' differ in signedness [-Wpointer-sign] BUILDSTDERR: ctl.rate = read_number(optarg); BUILDSTDERR: ^~~~~~ BUILDSTDERR: labrea_init.c:159:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: read_number (u_char *p) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: labrea_init.c:441:31: warning: pointer targets in passing argument 1 of 'read_number' differ in signedness [-Wpointer-sign] BUILDSTDERR: ctl.maxbw = read_number(optarg); BUILDSTDERR: ^~~~~~ BUILDSTDERR: labrea_init.c:159:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: read_number (u_char *p) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: labrea_init.c:462:32: warning: pointer targets in passing argument 1 of 'read_number' differ in signedness [-Wpointer-sign] BUILDSTDERR: ctl.syslog_port = read_number(optarg); BUILDSTDERR: ^~~~~~ BUILDSTDERR: labrea_init.c:159:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: read_number (u_char *p) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: labrea_init.c:475:36: warning: pointer targets in passing argument 1 of 'read_number' differ in signedness [-Wpointer-sign] BUILDSTDERR: ctl.debuglevel = read_number(optarg); BUILDSTDERR: ^~~~~~ BUILDSTDERR: labrea_init.c:159:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: read_number (u_char *p) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: labrea_init.c:543:22: warning: pointer targets in passing argument 1 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] BUILDSTDERR: build_bpf_filter(texpr, bpf, 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:543:29: warning: pointer targets in passing argument 2 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] BUILDSTDERR: build_bpf_filter(texpr, bpf, 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:553:24: warning: pointer targets in passing argument 1 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] BUILDSTDERR: build_bpf_filter(texpr, " or (", 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:553:31: warning: pointer targets in passing argument 2 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] BUILDSTDERR: build_bpf_filter(texpr, " or (", 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:556:19: warning: pointer targets in passing argument 1 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] BUILDSTDERR: build_bpf_filter(texpr, argv[c], BPFSIZE); /* tack on another argument */ 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:556:30: warning: pointer targets in passing argument 2 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] BUILDSTDERR: build_bpf_filter(texpr, argv[c], BPFSIZE); /* tack on another argument */ 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:558:24: 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:558:31: 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:568:21: warning: pointer targets in passing argument 1 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] BUILDSTDERR: build_bpf_filter(texpr, " or (", 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:568:28: warning: pointer targets in passing argument 2 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] BUILDSTDERR: build_bpf_filter(texpr, " or (", 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:573:25: warning: pointer targets in passing argument 1 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] BUILDSTDERR: build_bpf_filter(texpr, mybuffer, 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:573:32: warning: pointer targets in passing argument 2 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] BUILDSTDERR: build_bpf_filter(texpr, mybuffer, 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: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