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/aircrack-ng.spec'], chrootPath='/var/lib/mock/f29-build-29306-15806/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/aircrack-ng.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 6: %{?dist} BUILDSTDERR: warning: Macro expanded in comment on line 15: %{version}%{alphatag}.tar.gz BUILDSTDERR: warning: Macro expanded in comment on line 19: %{version}%{alphatag}.tar.bz2 BUILDSTDERR: warning: Macro expanded in comment on line 20: %{version}-%{alphatag}.tar.gz BUILDSTDERR: warning: Macro expanded in comment on line 21: %{version}-%{alphatag}.tar.gz BUILDSTDERR: warning: Macro expanded in comment on line 22: %{name}-tarball Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/aircrack-ng-1.2-0.11rc4.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/aircrack-ng.spec'], chrootPath='/var/lib/mock/f29-build-29306-15806/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/aircrack-ng.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 6: %{?dist} BUILDSTDERR: warning: Macro expanded in comment on line 15: %{version}%{alphatag}.tar.gz BUILDSTDERR: warning: Macro expanded in comment on line 19: %{version}%{alphatag}.tar.bz2 BUILDSTDERR: warning: Macro expanded in comment on line 20: %{version}-%{alphatag}.tar.gz BUILDSTDERR: warning: Macro expanded in comment on line 21: %{version}-%{alphatag}.tar.gz BUILDSTDERR: warning: Macro expanded in comment on line 22: %{name}-tarball Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.d9vifA + 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 . Patch #1 (altarches.patch): + echo '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.Dp6j2A + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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' + make -j4 sqlite=true experimental=true pcre=true BUILDSTDERR: Package libpcre was not found in the pkg-config search path. BUILDSTDERR: Perhaps you should add the directory containing `libpcre.pc' BUILDSTDERR: to the PKG_CONFIG_PATH environment variable BUILDSTDERR: 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' BUILDSTDERR: Package libpcre was not found in the pkg-config search path. BUILDSTDERR: Perhaps you should add the directory containing `libpcre.pc' BUILDSTDERR: to the PKG_CONFIG_PATH environment variable BUILDSTDERR: Package 'libpcre', required by 'virtual:world', not found sh ../autocfg gcc .. BUILDSTDERR: Package libpcre was not found in the pkg-config search path. BUILDSTDERR: Perhaps you should add the directory containing `libpcre.pc' BUILDSTDERR: to the PKG_CONFIG_PATH environment variable BUILDSTDERR: 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: cpuid.c: In function 'cpuid_findcpusensorpath': BUILDSTDERR: cpuid.c:312:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf(&cpuinfo.cputemppath, "%stemp%d_input", CORETEMP_PATH, sensorx); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cpuid.c:327:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf(&cpuinfo.cputemppath, "%stemp%d_input", CORETEMP_PATH, sensorx); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: crypto.c: In function 'calc_mic': BUILDSTDERR: crypto.c:291:11: error: storage size of 'ctx' isn't known BUILDSTDERR: HMAC_CTX ctx; BUILDSTDERR: ^~~ BUILDSTDERR: crypto.c:317:2: warning: implicit declaration of function 'HMAC_CTX_init'; did you mean 'HMAC_CTX_new'? [-Wimplicit-function-declaration] BUILDSTDERR: HMAC_CTX_init(&ctx); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: HMAC_CTX_new BUILDSTDERR: crypto.c:327:2: warning: implicit declaration of function 'HMAC_CTX_cleanup'; did you mean 'HMAC_CTX_get_md'? [-Wimplicit-function-declaration] BUILDSTDERR: HMAC_CTX_cleanup(&ctx); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: HMAC_CTX_get_md BUILDSTDERR: crypto.c:291:11: warning: unused variable 'ctx' [-Wunused-variable] BUILDSTDERR: HMAC_CTX ctx; BUILDSTDERR: ^~~ BUILDSTDERR: crypto.c: In function 'calc_tkip_mic_key': BUILDSTDERR: crypto.c:932:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if((ptr-message) % 4 > 0) BUILDSTDERR: ^~ BUILDSTDERR: crypto.c:933:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: memcpy(ptr, ZERO, 4-((ptr-message)%4)); ptr+=4-((ptr-message)%4); BUILDSTDERR: ^~~ BUILDSTDERR: make[1]: *** [: crypto.o] Error 1 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... BUILDSTDERR: aircrack-ng.c: In function 'main': BUILDSTDERR: aircrack-ng.c:6280:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if( opt.l33t ) BUILDSTDERR: ^~ BUILDSTDERR: aircrack-ng.c:6282:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: printf( "\33[2J" ); BUILDSTDERR: ^~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/aircrack-ng-1.2-rc4/src' BUILDSTDERR: make: *** [Makefile:25: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Dp6j2A (%build) BUILDSTDERR: Macro expanded in comment on line 6: %{?dist} BUILDSTDERR: Macro expanded in comment on line 15: %{version}%{alphatag}.tar.gz BUILDSTDERR: Macro expanded in comment on line 19: %{version}%{alphatag}.tar.bz2 BUILDSTDERR: Macro expanded in comment on line 20: %{version}-%{alphatag}.tar.gz BUILDSTDERR: Macro expanded in comment on line 21: %{version}-%{alphatag}.tar.gz BUILDSTDERR: Macro expanded in comment on line 22: %{name}-tarball BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Dp6j2A (%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/aircrack-ng.spec