+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/weplab.spec            --define "debug_package %{nil}"            --undefine _annotated_build            --define "_missing_doc_files_terminate_build %{nil}"            --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d"            --define "_emacs_sitelispdir /usr/share/emacs/site-lisp"            --nocheck   ' mockbuild
warning: bogus date in %changelog: Thu Dec 09 2008 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.5-4
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1EpTgw
+ 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.nJmm8I
+ 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 '
+ 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 '
+ 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  -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  -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ for i in $(find $(dirname ./configure) -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 $(dirname ./configure) -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'
+ '[' 1 = 1 ']'
+ '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']'
++ 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 '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  -std=gnu89'
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-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... riscv64-redhat-linux-gnu
checking host system type... riscv64-redhat-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  -std=gnu89 -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\ \<topolb@users.sourceforge.net\>\" -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  -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\ \<topolb@users.sourceforge.net\>\" -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  -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\ \<topolb@users.sourceforge.net\>\" -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  -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\ \<topolb@users.sourceforge.net\>\" -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  -std=gnu89 -Wall -pipe -c capture.c
main.c: In function 'QuitParameterError':
main.c:111:2: error: format not a string literal and no format arguments [-Werror=format-security]
  printf(error);
  ^~~~~~
main.c: In function 'ReadHexByteArray':
main.c:138:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j;
        ^
main.c: In function 'main':
main.c:303:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
      saux=optarg;
          ^
main.c:307:16: 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:428:0,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from main.c:28:
/usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *'
 __NTH (atoi (const char *__nptr))
 ^
main.c:307:46: 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:428:0,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from main.c:28:
/usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *'
 __NTH (atoi (const char *__nptr))
 ^
main.c:308:45: 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:428:0,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from main.c:28:
/usr/include/stdlib.h:361: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:44: 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;
        ^
analpfile.c: In function 'AnalyzePcapFile':
analpfile.c:105:7: 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);
                                                         ~~~~~~~~^~~~~~~~~
gcc -DPACKAGE_NAME=\"weplab\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1.5\" -DPACKAGE_STRING=\"weplab\ 0.1.5\" -DPACKAGE_BUGREPORT=\"TopoLB\ -\ Jose\ Ignacio\ Sanchez\ \<topolb@users.sourceforge.net\>\" -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  -std=gnu89 -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\ \<topolb@users.sourceforge.net\>\" -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  -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\ \<topolb@users.sourceforge.net\>\" -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  -std=gnu89 -Wall -pipe -c globals.c
cc1: some warnings being treated as errors
make: *** [Makefile:153: main.o] Error 1
make: *** Waiting for unfinished jobs....
dictionary.c: In function 'GetNextWord':
dictionary.c:143:20: 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:862:0,
                 from /usr/include/pcap/pcap.h:54,
                 from /usr/include/pcap.h:43,
                 from dictionary.c:26:
/usr/include/bits/stdio2.h:252:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
 fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
 ^~~~~
dictionary.c: In function 'dictionary':
dictionary.c:284:13: 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:428:0,
                 from /usr/include/sys/types.h:25,
                 from /usr/include/pcap/pcap.h:46,
                 from /usr/include/pcap.h:43,
                 from dictionary.c:26:
/usr/include/bits/string_fortified.h:103:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
 __NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
 ^
dictionary.c:284:19: 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:428:0,
                 from /usr/include/sys/types.h:25,
                 from /usr/include/pcap/pcap.h:46,
                 from /usr/include/pcap.h:43,
                 from dictionary.c:26:
/usr/include/bits/string_fortified.h:103: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:12: 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:428:0,
                 from /usr/include/sys/types.h:25,
                 from /usr/include/pcap/pcap.h:46,
                 from /usr/include/pcap.h:43,
                 from dictionary.c:26:
/usr/include/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
 __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
 ^
dictionary.c:286:23: 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:428:0,
                 from /usr/include/sys/types.h:25,
                 from /usr/include/pcap/pcap.h:46,
                 from /usr/include/pcap.h:43,
                 from dictionary.c:26:
/usr/include/bits/string_fortified.h:88: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:20: 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:19: 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;
      ^~~~~~~~~
error: Bad exit status from /var/tmp/rpm-tmp.nJmm8I (%build)


RPM build errors:
    bogus date in %changelog: Thu Dec 09 2008 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.5-4
    Bad exit status from /var/tmp/rpm-tmp.nJmm8I (%build)
++ cleanup
++ set +e
++ sync
++ sleep 5
++ sync
++ poweroff
Terminated
+++ cleanup
+++ set +e
+++ sync
Terminated
++++ cleanup
++++ set +e
++++ sync
++++ sleep 5
++++ sync
++++ poweroff