+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/aircrack-ng.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: Macro expanded in comment on line 6: %{?dist}

warning: Macro expanded in comment on line 15: %{version}%{alphatag}.tar.gz

warning: Macro expanded in comment on line 19: %{version}%{alphatag}.tar.bz2

warning: Macro expanded in comment on line 20: %{version}-%{alphatag}.tar.gz

warning: Macro expanded in comment on line 21: %{version}-%{alphatag}.tar.gz

warning: Macro expanded in comment on line 22: %{name}-tarball

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pXPmhb
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf aircrack-ng-1.2-rc4
+ /usr/bin/gzip -dc /builddir/build/SOURCES/aircrack-ng-1.2-rc4.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd aircrack-ng-1.2-rc4
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #1 (altarches.patch):'
Patch #1 (altarches.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .alt --fuzz=0
patching file autocfg
patching file autocfg
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FaJYqE
+ umask 022
+ cd /builddir/build/BUILD
+ cd aircrack-ng-1.2-rc4
+ touch airodump-ng-oui.txt
+ export '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 '
+ 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 '
+ make -j4 sqlite=true experimental=true pcre=true
Package libpcre was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre', required by 'virtual:world', not found
make -C src all
make[1]: Entering directory '/builddir/build/BUILD/aircrack-ng-1.2-rc4/src'
Package libpcre was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre', required by 'virtual:world', not found
sh ../autocfg gcc ..
Package libpcre was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre', required by 'virtual:world', not found
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  -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DHAVE_SQLITE  -DHAVE_PCRE -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -pthread -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DHAVE_SQLITE  -DHAVE_PCRE -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o aircrack-ng.o aircrack-ng.c
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  -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DHAVE_SQLITE  -DHAVE_PCRE -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -pthread -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DHAVE_SQLITE  -DHAVE_PCRE -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o cpuid.o cpuid.c
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  -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DHAVE_SQLITE  -DHAVE_PCRE -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -pthread -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DHAVE_SQLITE  -DHAVE_PCRE -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o crypto.o crypto.c
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  -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DHAVE_SQLITE  -DHAVE_PCRE -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -pthread -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DHAVE_SQLITE  -DHAVE_PCRE -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o common.o common.c
cpuid.c: In function 'cpuid_findcpusensorpath':
cpuid.c:312:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
    asprintf(&cpuinfo.cputemppath, "%stemp%d_input", CORETEMP_PATH, sensorx);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cpuid.c:327:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
     asprintf(&cpuinfo.cputemppath, "%stemp%d_input", CORETEMP_PATH, sensorx);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
crypto.c: In function 'calc_mic':
crypto.c:291:11: error: storage size of 'ctx' isn't known
  HMAC_CTX ctx;
           ^~~
crypto.c:317:2: warning: implicit declaration of function 'HMAC_CTX_init'; did you mean 'HMAC_CTX_new'? [-Wimplicit-function-declaration]
  HMAC_CTX_init(&ctx);
  ^~~~~~~~~~~~~
  HMAC_CTX_new
crypto.c:327:2: warning: implicit declaration of function 'HMAC_CTX_cleanup'; did you mean 'HMAC_CTX_get_md'? [-Wimplicit-function-declaration]
  HMAC_CTX_cleanup(&ctx);
  ^~~~~~~~~~~~~~~~
  HMAC_CTX_get_md
crypto.c:291:11: warning: unused variable 'ctx' [-Wunused-variable]
  HMAC_CTX ctx;
           ^~~
crypto.c: In function 'calc_tkip_mic_key':
crypto.c:932:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if((ptr-message) % 4 > 0)
     ^~
crypto.c:933:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
         memcpy(ptr, ZERO, 4-((ptr-message)%4)); ptr+=4-((ptr-message)%4);
                                                 ^~~
make[1]: *** [<builtin>: crypto.o] Error 1
make[1]: *** Waiting for unfinished jobs....
aircrack-ng.c: In function 'main':
aircrack-ng.c:6280:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if( opt.l33t )
     ^~
aircrack-ng.c:6282:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
      printf( "\33[2J" );
      ^~~~~~
make[1]: Leaving directory '/builddir/build/BUILD/aircrack-ng-1.2-rc4/src'
make: *** [Makefile:25: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.FaJYqE (%build)


RPM build errors:
    Macro expanded in comment on line 6: %{?dist}

    Macro expanded in comment on line 15: %{version}%{alphatag}.tar.gz

    Macro expanded in comment on line 19: %{version}%{alphatag}.tar.bz2

    Macro expanded in comment on line 20: %{version}-%{alphatag}.tar.gz

    Macro expanded in comment on line 21: %{version}-%{alphatag}.tar.gz

    Macro expanded in comment on line 22: %{name}-tarball

    Bad exit status from /var/tmp/rpm-tmp.FaJYqE (%build)
++ cleanup
++ set +e
++ sync
++ sleep 5
++ sync
++ poweroff
Terminated
+++ cleanup
+++ set +e
+++ sync
Terminated
++++ cleanup
++++ set +e
++++ sync
++++ sleep 5
++++ sync
++++ poweroff