dictionary.c:286:23: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strcpy(last_keys, keys); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/inttypes.h:25, BUILDSTDERR: from /usr/include/pcap/pcap-inttypes.h:114, BUILDSTDERR: from /usr/include/pcap/pcap.h:74, BUILDSTDERR: from /usr/include/pcap.h:43, BUILDSTDERR: from dictionary.c:26: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: dictionary.c:294:20: warning: pointer targets in passing argument 1 of 'wep_keygen128' differ in signedness [-Wpointer-sign] BUILDSTDERR: wep_keygen128(word, keys); BUILDSTDERR: ^~~~ BUILDSTDERR: dictionary.c:71:6: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: void wep_keygen128(char *str, unsigned char *keys){ BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: dictionary.c:300:19: warning: pointer targets in passing argument 1 of 'wep_keygen40' differ in signedness [-Wpointer-sign] BUILDSTDERR: wep_keygen40(word, keys); BUILDSTDERR: ^~~~ BUILDSTDERR: dictionary.c:104:6: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: void wep_keygen40(char *str, u_char *keys){ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: dictionary.c:187:6: warning: unused variable 'totalTemp' [-Wunused-variable] BUILDSTDERR: int totalTemp=0; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: dictionary.c:186:6: warning: unused variable 'totalByte' [-Wunused-variable] BUILDSTDERR: int totalByte=0xFF; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: heuristics.c: In function 'GuessOutputByte': BUILDSTDERR: heuristics.c:72:16: warning: unused variable 'byteBackup' [-Wunused-variable] BUILDSTDERR: unsigned char byteBackup=0; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: heuristics.c:61:10: warning: unused variable 'E' [-Wunused-variable] BUILDSTDERR: u_char E, S[N]; BUILDSTDERR: ^ BUILDSTDERR: heuristics.c:59:12: warning: unused variable 'k' [-Wunused-variable] BUILDSTDERR: int i, j,k; BUILDSTDERR: ^ BUILDSTDERR: heuristics.c: In function 'GetWeakPackets': BUILDSTDERR: heuristics.c:325:42: warning: implicit declaration of function 'target_bssid'; did you mean 'gethostid'? [-Wimplicit-function-declaration] BUILDSTDERR: if (global_v.target_bssid_selected) if (target_bssid(pkt)) { BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: gethostid BUILDSTDERR: heuristics.c: In function 'CalculateSimpleHeuristics': BUILDSTDERR: heuristics.c:397:101: warning: unknown conversion type character ')' in format [-Wformat=] BUILDSTDERR: printf("Perhaps you should increase the default probability (--perc) to a higher value (default 70%), or capture more packets.\n"); BUILDSTDERR: ^ BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.iJpc3D (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.iJpc3D (%build) RPM build errors: 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/weplab.spec