Mock Version: 1.2.13 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/weplab.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-dab45c2eac4f546a13446fdc18715546a86acadf/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/weplab.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: bogus date in %changelog: Thu Dec 09 2008 Fabian Affolter - 0.1.5-4 Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/weplab-0.1.5-15.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/weplab.spec '], chrootPath='/var/lib/mock/epel-1-armhfp-dab45c2eac4f546a13446fdc18715546a86acadf/root'shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/weplab.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: bogus date in %changelog: Thu Dec 09 2008 Fabian Affolter - 0.1.5-4 Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ESaixe + 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 -xf - + 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.S4oXQj + umask 022 + cd /builddir/build/BUILD + cd weplab-0.1.5 + autoconf + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ 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 . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 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 armv7hl-redhat-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... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking for pcap_open_live in -lpcap... yes warning: compiler is not known: not optimizing! using gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -pipe configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -pipe -c capture.c main.c: In function 'ReadHexByteArray': main.c:138:8: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ analpfile.c: In function 'AnalyzePcapFile': analpfile.c:105:3: warning: implicit declaration of function 'GetPacketBssid' [-Wimplicit-function-declaration] if (GetPacketBssid(pkt+144,bssid)){ ^ analpfile.c:106:49: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); ^ analpfile.c:106:67: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); ^ analpfile.c:115:50: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] indexArray=(unsigned char) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); ^ analpfile.c:115:68: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] indexArray=(unsigned char) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); ^ analpfile.c:187:47: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); ^ analpfile.c:187:65: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); ^ main.c: In function 'main': main.c:303:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] saux=optarg; ^ main.c:307:7: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 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"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from main.c:28: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^ main.c:307:7: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 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"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from main.c:28: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^ main.c:308:7: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] defaultAttacks[STABILITY_LEVELS][atoi(saux)-1]=1; ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from main.c:28: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^ main.c:310:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] saux=(&optarg[i])+1; ^ main.c:334:6: warning: pointer targets in passing argument 1 of 'ReadHexByteArray' differ in signedness [-Wpointer-sign] global_v.useDebugKey=ReadHexByteArray(optarg,global_v.debugKey,strlen(optarg)+1); ^ main.c:137:5: note: expected 'unsigned char *' but argument is of type 'char *' int ReadHexByteArray(unsigned char *asciiByteArray, unsigned char *destination, int asciiByteArrayMaxSize){ ^ main.c:196:10: warning: unused variable 'h2' [-Wunused-variable] int h1, h2; ^ main.c:196:6: warning: unused variable 'h1' [-Wunused-variable] int h1, h2; ^ main.c:160:8: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -pipe -c debug.c bruteforce.c: In function 'bruteforce': bruteforce.c:176:5: warning: 'mpid' may be used uninitialized in this function [-Wmaybe-uninitialized] if (mpid) currentProcessNumber=0; ^ 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -pipe -c globals.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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -pipe -c md5.c md5.c: In function 'MD5Init': md5.c:38:2: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(ctx->in, 0, 64); ^ md5.c:38:2: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default] md5.c: In function 'MD5Update': md5.c:66:6: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(p, buf, len); ^ md5.c:66:6: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default] md5.c:69:2: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default] memcpy(p, buf, t); ^ md5.c:77:2: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default] memcpy(ctx->in, buf, 64); ^ md5.c:85:5: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default] memcpy(ctx->in, buf, len); ^ md5.c: In function 'MD5Final': md5.c:111:2: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default] memset(p, 0, count); ^ md5.c:118:2: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default] memset(p, 0, count - 8); ^ md5.c:130:5: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^ 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] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^ md5.c: In function 'debugStatus': md5.c:262:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] printf("%s:\n", m); ^ dictionary.c: In function 'GetNextWord': md5.c:262:2: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default] dictionary.c:143:2: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while (((rv=fgets(word, sz-1, wordfile))!=NULL)&&((word[0]=='\r')||(word[0]=='\n'))) { ^ In file included from /usr/include/stdio.h:937:0, from /usr/include/pcap/pcap.h:54, from /usr/include/pcap.h:45, from dictionary.c:26: /usr/include/bits/stdio2.h:253:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ md5.c: In function 'dumpBytes': md5.c:278:4: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default] printf("\n"); ^ md5.c:280:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default] printf("%02x", b[i]&0xff); ^ md5.c:282:2: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default] printf("\n"); ^ dictionary.c: In function 'dictionary': dictionary.c:284:5: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(keys, word, global_v.key_len); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from /usr/include/pcap/pcap.h:46, from /usr/include/pcap.h:45, from dictionary.c:26: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ dictionary.c:284:5: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(keys, word, global_v.key_len); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from /usr/include/pcap/pcap.h:46, from /usr/include/pcap.h:45, from dictionary.c:26: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ dictionary.c:286:5: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(last_keys, keys); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from /usr/include/pcap/pcap.h:46, from /usr/include/pcap.h:45, from dictionary.c:26: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ dictionary.c:286:5: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(last_keys, keys); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from /usr/include/pcap/pcap.h:46, from /usr/include/pcap.h:45, from dictionary.c:26: /usr/include/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ dictionary.c:294:6: warning: pointer targets in passing argument 1 of 'wep_keygen128' differ in signedness [-Wpointer-sign] wep_keygen128(word, keys); ^ dictionary.c:71:6: note: expected 'char *' but argument is of type 'unsigned char *' void wep_keygen128(char *str, unsigned char *keys){ ^ dictionary.c:300:6: warning: pointer targets in passing argument 1 of 'wep_keygen40' differ in signedness [-Wpointer-sign] wep_keygen40(word, keys); ^ dictionary.c:104:6: note: expected 'char *' but argument is of type 'unsigned char *' void wep_keygen40(char *str, u_char *keys){ ^ dictionary.c:187:6: warning: unused variable 'totalTemp' [-Wunused-variable] int totalTemp=0; ^ dictionary.c:186:6: warning: unused variable 'totalByte' [-Wunused-variable] int totalByte=0xFF; ^ heuristics.c: In function 'GuessOutputByte': heuristics.c:72:16: warning: unused variable 'byteBackup' [-Wunused-variable] unsigned char byteBackup=0; ^ heuristics.c:61:10: warning: unused variable 'E' [-Wunused-variable] u_char E, S[N]; ^ heuristics.c:59:12: warning: unused variable 'k' [-Wunused-variable] int i, j,k; ^ heuristics.c: In function 'GetWeakPackets': heuristics.c:325:2: warning: implicit declaration of function 'target_bssid' [-Wimplicit-function-declaration] if (global_v.target_bssid_selected) if (target_bssid(pkt)) { ^ heuristics.c: In function 'CalculateSimpleHeuristics': heuristics.c:397:2: warning: unknown conversion type character ')' in format [-Wformat=] printf("Perhaps you should increase the default probability (--perc) to a higher value (default 70%), or capture more packets.\n"); ^ 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -pipe -c wep.c wep.c: In function 'GetLessSizedPackets': wep.c:289:4: warning: implicit declaration of function 'target_bssid' [-Wimplicit-function-declaration] if (target_bssid(pkt)) { ^ wep.c:294:4: warning: implicit declaration of function 'GetPacketBssid' [-Wimplicit-function-declaration] if (GetPacketBssid(pkt,global_v.target_bssid)){ ^ wep.c:360:1: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("Total packets read: %u\n",totalPackets); ^ 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -pipe -c attack.c attack.c: In function 'AttackAndEvaluate': attack.c:88:16: warning: variable 'foundWeak' set but not used [-Wunused-but-set-variable] unsigned char foundWeak[NUMBER_ATTACKS]; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -pipe -Wl,-z,relro -o weplab main.o analpfile.o bruteforce.o capture.o debug.o dictionary.o globals.o heuristics.o md5.o wep.o attack.o -lpcap + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kpKvnO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm ++ dirname /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm + cd weplab-0.1.5 + make install DESTDIR=/builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm make[1]: Entering directory `/builddir/build/BUILD/weplab-0.1.5' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm/usr/bin mkdir /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm/usr mkdir /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm/usr/bin /usr/bin/install -c weplab /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm/usr/bin/weplab make install-man1 make[2]: Entering directory `/builddir/build/BUILD/weplab-0.1.5' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm/usr/share mkdir /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm/usr/share/man mkdir /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm/usr/share/man/man1 /usr/bin/install -c -m 644 ./weplab.1 /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm/usr/share/man/man1/weplab.1 make[2]: Leaving directory `/builddir/build/BUILD/weplab-0.1.5' make[1]: Leaving directory `/builddir/build/BUILD/weplab-0.1.5' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/weplab-0.1.5 extracting debug info from /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm/usr/bin/weplab dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 223 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: weplab-0.1.5-15.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bmRNgz + umask 022 + cd /builddir/build/BUILD + cd weplab-0.1.5 + DOCDIR=/builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm/usr/share/doc/weplab-0.1.5 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm/usr/share/doc/weplab-0.1.5 + cp -pr AUTHORS /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm/usr/share/doc/weplab-0.1.5 + cp -pr ChangeLog /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm/usr/share/doc/weplab-0.1.5 + cp -pr COPYING /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm/usr/share/doc/weplab-0.1.5 + cp -pr README /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm/usr/share/doc/weplab-0.1.5 + exit 0 Provides: weplab = 0.1.5-15.el7 weplab(armv7hl-32) = 0.1.5-15.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libpcap.so.1 rtld(GNU_HASH) Processing files: weplab-debuginfo-0.1.5-15.el7.armv7hl Provides: weplab-debuginfo = 0.1.5-15.el7 weplab-debuginfo(armv7hl-32) = 0.1.5-15.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm Wrote: /builddir/build/RPMS/weplab-0.1.5-15.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/weplab-debuginfo-0.1.5-15.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7GT6zT + umask 022 + cd /builddir/build/BUILD + cd weplab-0.1.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/weplab-0.1.5-15.el7.arm + exit 0 Child return code was: 0 LEAVE do -->