E -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 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.jgEc0o (%build) RPM build errors: 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.jgEc0o (%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