| EVP_PKEY_CTRL_SCRYPT_P BUILDSTDERR: /builddir/build/BUILD/luaossl-rel-20190731/src/openssl.c:12186:26: error: 'EVP_KDF_CTRL_ADD_TLS_SEED' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_TLS_SEED'? BUILDSTDERR: 12186 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_ADD_TLS_SEED, (const unsigned char*)str, len) <= 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | EVP_PKEY_CTRL_TLS_SEED BUILDSTDERR: /builddir/build/BUILD/luaossl-rel-20190731/src/openssl.c:12192:12: warning: implicit declaration of function 'EVP_KDF_size'; did you mean 'EVP_MD_size'? [-Wimplicit-function-declaration] BUILDSTDERR: 12192 | outlen = EVP_KDF_size(kctx); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: | EVP_MD_size BUILDSTDERR: /builddir/build/BUILD/luaossl-rel-20190731/src/openssl.c:12201:6: warning: implicit declaration of function 'EVP_KDF_derive'; did you mean 'EVP_PKEY_derive'? [-Wimplicit-function-declaration] BUILDSTDERR: 12201 | if (EVP_KDF_derive(kctx, out, &outlen) <= 0) BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: | EVP_PKEY_derive BUILDSTDERR: In file included from /builddir/build/BUILD/luaossl-rel-20190731/src/openssl.c:12416: BUILDSTDERR: /usr/include/sys/sysctl.h: At top level: BUILDSTDERR: /usr/include/sys/sysctl.h:21:2: warning: #warning "The header is deprecated and will be removed." [-Wcpp] BUILDSTDERR: 21 | #warning "The header is deprecated and will be removed." BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/luaossl-rel-20190731/src/openssl.c: In function 'randL_stir': BUILDSTDERR: /builddir/build/BUILD/luaossl-rel-20190731/src/openssl.c:12483:3: warning: 'sysctl' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 12483 | if (0 != sysctl(mib, countof(mib), data, &n, (void *)0, 0)) BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /builddir/build/BUILD/luaossl-rel-20190731/src/openssl.c:12416: BUILDSTDERR: /usr/include/sys/sysctl.h:70:12: note: declared here BUILDSTDERR: 70 | extern int sysctl (int *__name, int __nlen, void *__oldval, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: make: *** [/builddir/build/BUILD/luaossl-rel-20190731/src/GNUmakefile:61: /builddir/build/BUILD/luaossl-rel-20190731/src/5.3/openssl.o] Error 1 cp /builddir/build/BUILD/luaossl-rel-20190731/config.h.guess /builddir/build/BUILD/luaossl-rel-20190731/config.h cp /builddir/build/BUILD/luaossl-rel-20190731/config.h /builddir/build/BUILD/luaossl-rel-20190731/src/config.h mkdir -p /builddir/build/BUILD/luaossl-rel-20190731/src/5.3 cc -O2 -std=gnu99 -fPIC -g -Wall -Wextra -Wno-missing-field-initializers -Wno-override-init -Wno-unused -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 -fPIC -I/usr/include -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DHAVE_CONFIG_H -DCOMPAT53_PREFIX=luaossl -c -o /builddir/build/BUILD/luaossl-rel-20190731/src/5.3/openssl.o /builddir/build/BUILD/luaossl-rel-20190731/src/openssl.c RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.dPC9eP (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.dPC9eP (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, 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/lua-luaossl.spec