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/weplab.spec'], chrootPath='/var/lib/mock/f29-build-13004-5922/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/weplab.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 BUILDSTDERR: warning: bogus date in %changelog: Thu Dec 09 2008 Fabian Affolter - 0.1.5-4 Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/weplab-0.1.5-19.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/weplab.spec'], chrootPath='/var/lib/mock/f29-build-13004-5922/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/weplab.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 BUILDSTDERR: warning: bogus date in %changelog: Thu Dec 09 2008 Fabian Affolter - 0.1.5-4 Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PQtZRh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf weplab-0.1.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/weplab-0.1.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd weplab-0.1.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zNj3w7 + umask 022 + cd /builddir/build/BUILD + cd weplab-0.1.5 + autoconf + 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-koji-linux-gnu --host=riscv64-koji-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 '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 -std=gnu89' BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... found checking for working automake-1.4... missing checking for working autoheader... found checking for working makeinfo... missing checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/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 pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for sys/types.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking for ANSI C header files... (cached) yes checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking for pcap_open_live in -lpcap... yes warning: compiler is not known: not optimizing! using gcc -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 -std=gnu89 -Wall -pipe configure: creating ./config.status config.status: creating Makefile BUILDSTDERR: config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE_URL=\"\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBPCAP=1 -I. -I. -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 -std=gnu89 -Wall -pipe -c main.c gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE_URL=\"\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBPCAP=1 -I. -I. -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 -std=gnu89 -Wall -pipe -c analpfile.c gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE_URL=\"\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBPCAP=1 -I. -I. -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 -std=gnu89 -Wall -pipe -c bruteforce.c gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE_URL=\"\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBPCAP=1 -I. -I. -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 -std=gnu89 -Wall -pipe -c capture.c BUILDSTDERR: main.c: In function 'QuitParameterError': BUILDSTDERR: main.c:111:2: error: format not a string literal and no format arguments [-Werror=format-security] BUILDSTDERR: printf(error); BUILDSTDERR: ^~~~~~ BUILDSTDERR: main.c: In function 'ReadHexByteArray': BUILDSTDERR: main.c:138:8: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int i,j; BUILDSTDERR: ^ BUILDSTDERR: main.c: In function 'main': BUILDSTDERR: main.c:303:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: saux=optarg; BUILDSTDERR: ^ BUILDSTDERR: main.c:307:16: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (atoi(saux)>NUMBER_ATTACKS || !atoi(saux)) QuitParameterError("attacks to be launched must be defined as positive numbers from 1 to 5 splitted by commas and no spaces"); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from main.c:28: BUILDSTDERR: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (atoi (const char *__nptr)) BUILDSTDERR: ^~~~~ BUILDSTDERR: main.c:307:46: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (atoi(saux)>NUMBER_ATTACKS || !atoi(saux)) QuitParameterError("attacks to be launched must be defined as positive numbers from 1 to 5 splitted by commas and no spaces"); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from main.c:28: BUILDSTDERR: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (atoi (const char *__nptr)) BUILDSTDERR: ^~~~~ BUILDSTDERR: main.c:308:45: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] BUILDSTDERR: defaultAttacks[STABILITY_LEVELS][atoi(saux)-1]=1; BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from main.c:28: BUILDSTDERR: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (atoi (const char *__nptr)) BUILDSTDERR: ^~~~~ BUILDSTDERR: main.c:310:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: saux=(&optarg[i])+1; BUILDSTDERR: ^ BUILDSTDERR: main.c:334:44: warning: pointer targets in passing argument 1 of 'ReadHexByteArray' differ in signedness [-Wpointer-sign] BUILDSTDERR: global_v.useDebugKey=ReadHexByteArray(optarg,global_v.debugKey,strlen(optarg)+1); BUILDSTDERR: ^~~~~~ BUILDSTDERR: main.c:137:5: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: int ReadHexByteArray(unsigned char *asciiByteArray, unsigned char *destination, int asciiByteArrayMaxSize){ BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: main.c:196:10: warning: unused variable 'h2' [-Wunused-variable] BUILDSTDERR: int h1, h2; BUILDSTDERR: ^~ BUILDSTDERR: main.c:196:6: warning: unused variable 'h1' [-Wunused-variable] BUILDSTDERR: int h1, h2; BUILDSTDERR: ^~ BUILDSTDERR: main.c:160:8: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int i,j; BUILDSTDERR: ^ BUILDSTDERR: analpfile.c: In function 'AnalyzePcapFile': BUILDSTDERR: analpfile.c:105:7: warning: implicit declaration of function 'GetPacketBssid' [-Wimplicit-function-declaration] BUILDSTDERR: if (GetPacketBssid(pkt+144,bssid)){ BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: analpfile.c:106:49: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] BUILDSTDERR: indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); BUILDSTDERR: ~~~~~~~~^~~~~~~~~ BUILDSTDERR: analpfile.c:106:67: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] BUILDSTDERR: indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); BUILDSTDERR: ~~~~~~~~^~~~~~~~~ BUILDSTDERR: analpfile.c:115:50: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] BUILDSTDERR: indexArray=(unsigned char) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); BUILDSTDERR: ~~~~~~~~^~~~~~~~~ BUILDSTDERR: analpfile.c:115:68: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] BUILDSTDERR: indexArray=(unsigned char) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); BUILDSTDERR: ~~~~~~~~^~~~~~~~~ BUILDSTDERR: analpfile.c:187:47: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] BUILDSTDERR: indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); BUILDSTDERR: ~~~~~~~~^~~~~~~~~ BUILDSTDERR: analpfile.c:187:65: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] BUILDSTDERR: indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); BUILDSTDERR: ~~~~~~~~^~~~~~~~~ gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE_URL=\"\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBPCAP=1 -I. -I. -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 -std=gnu89 -Wall -pipe -c debug.c BUILDSTDERR: bruteforce.c: In function 'bruteforce': BUILDSTDERR: bruteforce.c:176:5: warning: 'mpid' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (mpid) currentProcessNumber=0; BUILDSTDERR: ^ gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE_URL=\"\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBPCAP=1 -I. -I. -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 -std=gnu89 -Wall -pipe -c dictionary.c gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE_URL=\"\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBPCAP=1 -I. -I. -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 -std=gnu89 -Wall -pipe -c globals.c BUILDSTDERR: cc1: some warnings being treated as errors gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE_URL=\"\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBPCAP=1 -I. -I. -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 -std=gnu89 -Wall -pipe -c heuristics.c gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \\" -DPACKAGE_URL=\"\" -DPACKAGE=\"weplab\" -DVERSION=\"0.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TIME_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBPCAP=1 -I. -I. -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 -std=gnu89 -Wall -pipe -c md5.c BUILDSTDERR: make: *** [Makefile:153: main.o] Error 1 BUILDSTDERR: make: *** Waiting for unfinished jobs.... BUILDSTDERR: md5.c: In function 'MD5Init': BUILDSTDERR: md5.c:38:2: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] BUILDSTDERR: memset(ctx->in, 0, 64); BUILDSTDERR: ^~~~~~ BUILDSTDERR: md5.c:38:2: warning: incompatible implicit declaration of built-in function 'memset' BUILDSTDERR: md5.c:38:2: note: include '' or provide a declaration of 'memset' BUILDSTDERR: md5.c:23:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: md5.c:38:2: BUILDSTDERR: memset(ctx->in, 0, 64); BUILDSTDERR: ^~~~~~ BUILDSTDERR: md5.c: In function 'MD5Update': BUILDSTDERR: md5.c:66:6: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] BUILDSTDERR: memcpy(p, buf, len); BUILDSTDERR: ^~~~~~ BUILDSTDERR: md5.c:66:6: warning: incompatible implicit declaration of built-in function 'memcpy' BUILDSTDERR: md5.c:66:6: note: include '' or provide a declaration of 'memcpy' BUILDSTDERR: md5.c:69:2: warning: incompatible implicit declaration of built-in function 'memcpy' BUILDSTDERR: memcpy(p, buf, t); BUILDSTDERR: ^~~~~~ BUILDSTDERR: md5.c:69:2: note: include '' or provide a declaration of 'memcpy' BUILDSTDERR: md5.c:77:2: warning: incompatible implicit declaration of built-in function 'memcpy' BUILDSTDERR: memcpy(ctx->in, buf, 64); BUILDSTDERR: ^~~~~~ BUILDSTDERR: md5.c:77:2: note: include '' or provide a declaration of 'memcpy' BUILDSTDERR: md5.c:85:5: warning: incompatible implicit declaration of built-in function 'memcpy' BUILDSTDERR: memcpy(ctx->in, buf, len); BUILDSTDERR: ^~~~~~ BUILDSTDERR: md5.c:85:5: note: include '' or provide a declaration of 'memcpy' BUILDSTDERR: md5.c: In function 'MD5Final': BUILDSTDERR: md5.c:111:2: warning: incompatible implicit declaration of built-in function 'memset' BUILDSTDERR: memset(p, 0, count); BUILDSTDERR: ^~~~~~ BUILDSTDERR: md5.c:111:2: note: include '' or provide a declaration of 'memset' BUILDSTDERR: md5.c:118:2: warning: incompatible implicit declaration of built-in function 'memset' BUILDSTDERR: memset(p, 0, count - 8); BUILDSTDERR: ^~~~~~ BUILDSTDERR: md5.c:118:2: note: include '' or provide a declaration of 'memset' BUILDSTDERR: md5.c:130:5: warning: incompatible implicit declaration of built-in function 'memset' BUILDSTDERR: memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: md5.c:130:5: note: include '' or provide a declaration of 'memset' BUILDSTDERR: md5.c:130:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] BUILDSTDERR: memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ BUILDSTDERR: ^ BUILDSTDERR: md5.c: In function 'debugStatus': BUILDSTDERR: md5.c:262:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] BUILDSTDERR: printf("%s:\n", m); BUILDSTDERR: ^~~~~~ BUILDSTDERR: md5.c:262:2: warning: incompatible implicit declaration of built-in function 'printf' BUILDSTDERR: md5.c:262:2: note: include '' or provide a declaration of 'printf' BUILDSTDERR: md5.c:23:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: md5.c:262:2: BUILDSTDERR: printf("%s:\n", m); BUILDSTDERR: ^~~~~~ BUILDSTDERR: md5.c: In function 'dumpBytes': BUILDSTDERR: md5.c:278:4: warning: incompatible implicit declaration of built-in function 'printf' BUILDSTDERR: printf("\n"); BUILDSTDERR: ^~~~~~ BUILDSTDERR: md5.c:278:4: note: include '' or provide a declaration of 'printf' BUILDSTDERR: md5.c:280:3: warning: incompatible implicit declaration of built-in function 'printf' BUILDSTDERR: printf("%02x", b[i]&0xff); BUILDSTDERR: ^~~~~~ BUILDSTDERR: md5.c:280:3: note: include '' or provide a declaration of 'printf' BUILDSTDERR: md5.c:282:2: warning: incompatible implicit declaration of built-in function 'printf' BUILDSTDERR: printf("\n"); BUILDSTDERR: ^~~~~~ BUILDSTDERR: md5.c:282:2: note: include '' or provide a declaration of 'printf' BUILDSTDERR: dictionary.c: In function 'GetNextWord': BUILDSTDERR: dictionary.c:143:20: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] BUILDSTDERR: while (((rv=fgets(word, sz-1, wordfile))!=NULL)&&((word[0]=='\r')||(word[0]=='\n'))) { BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/pcap/pcap.h:54, BUILDSTDERR: from /usr/include/pcap.h:43, BUILDSTDERR: from dictionary.c:26: BUILDSTDERR: /usr/include/bits/stdio2.h:255:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' BUILDSTDERR: fgets (char *__restrict __s, int __n, FILE *__restrict __stream) BUILDSTDERR: ^~~~~ BUILDSTDERR: dictionary.c: In function 'dictionary': BUILDSTDERR: dictionary.c:284:13: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strncpy(keys, word, global_v.key_len); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from /usr/include/pcap/pcap.h:46, BUILDSTDERR: from /usr/include/pcap.h:43, BUILDSTDERR: from dictionary.c:26: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: ^~~~~ BUILDSTDERR: dictionary.c:284:19: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strncpy(keys, word, global_v.key_len); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from /usr/include/pcap/pcap.h:46, BUILDSTDERR: from /usr/include/pcap.h:43, BUILDSTDERR: from dictionary.c:26: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: ^~~~~ BUILDSTDERR: dictionary.c:286:12: warning: pointer targets in passing argument 1 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/sys/types.h:25, BUILDSTDERR: from /usr/include/pcap/pcap.h:46, BUILDSTDERR: from /usr/include/pcap.h:43, BUILDSTDERR: from dictionary.c:26: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: 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/sys/types.h:25, BUILDSTDERR: from /usr/include/pcap/pcap.h:46, 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.zNj3w7 (%build) RPM build errors: BUILDSTDERR: bogus date in %changelog: Thu Dec 09 2008 Fabian Affolter - 0.1.5-4 BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.zNj3w7 (%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/weplab.spec