>>> rtty 7.4.0 Downloading wget --passive-ftp -nd -t 3 -O '/nvmedata/autobuild/instance-27/output-1/build/.rtty-7.4.0.tar.gz.jIT0CM/output' 'https://github.com/zhaojh329/rtty/releases/download/v7.4.0/rtty-7.4.0.tar.gz' --2022-10-04 16:01:21-- https://github.com/zhaojh329/rtty/releases/download/v7.4.0/rtty-7.4.0.tar.gz Resolving github.com (github.com)... 140.82.113.4 Connecting to github.com (github.com)|140.82.113.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/92715023/13a3d980-7299-11eb-8f5b-84581a3822dd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221004%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221004T220121Z&X-Amz-Expires=300&X-Amz-Signature=e1ef1d95bccbb3d0a2d8a9098ce8f7cfb028462f9a25fbaa1914f918a1ee3b53&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=92715023&response-content-disposition=attachment%3B%20filename%3Drtty-7.4.0.tar.gz&response-content-type=application%2Foctet-stream [following] --2022-10-04 16:01:21-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/92715023/13a3d980-7299-11eb-8f5b-84581a3822dd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221004%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221004T220121Z&X-Amz-Expires=300&X-Amz-Signature=e1ef1d95bccbb3d0a2d8a9098ce8f7cfb028462f9a25fbaa1914f918a1ee3b53&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=92715023&response-content-disposition=attachment%3B%20filename%3Drtty-7.4.0.tar.gz&response-content-type=application%2Foctet-stream Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.111.133, 185.199.108.133, 185.199.110.133, ... Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 34501 (34K) [application/octet-stream] Saving to: '/nvmedata/autobuild/instance-27/output-1/build/.rtty-7.4.0.tar.gz.jIT0CM/output' 0K .......... .......... .......... ... 100% 83.3M=0s 2022-10-04 16:01:21 (83.3 MB/s) - '/nvmedata/autobuild/instance-27/output-1/build/.rtty-7.4.0.tar.gz.jIT0CM/output' saved [34501/34501] rtty-7.4.0.tar.gz: OK (sha256: 9bc5d30dfa9bd664a62711b6229f47505b83adb364907f24e3a404aad52a4802) >>> rtty 7.4.0 Extracting gzip -d -c /nvmedata/autobuild/instance-27/dl/rtty/rtty-7.4.0.tar.gz | tar --strip-components=1 -C /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0 -xf - >>> rtty 7.4.0 Patching >>> rtty 7.4.0 Configuring (mkdir -p /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/ && cd /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/ && rm -f CMakeCache.txt && PATH="/nvmedata/autobuild/instance-27/output-1/host/bin:/nvmedata/autobuild/instance-27/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/cmake /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/ -DCMAKE_TOOLCHAIN_FILE="/nvmedata/autobuild/instance-27/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_RUNSTATEDIR="/run" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=OFF -DRTTY_SSL_SUPPORT=ON -DRTTY_USE_MBEDTLS=OFF -DRTTY_USE_OPENSSL=OFF -DRTTY_USE_WOLFSSL=ON ) -- The C compiler identification is GNU 10.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nvmedata/autobuild/instance-27/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Libev: /nvmedata/autobuild/instance-27/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libev.a (found version "4.33") -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) (found version "") CMake Warning (dev) at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (WOLFSSL) does not match the name of the calling package (WolfSSL). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/Modules/FindWolfSSL.cmake:49 (find_package_handle_standard_args) src/CMakeLists.txt:34 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found WOLFSSL: /nvmedata/autobuild/instance-27/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libwolfssl.a (found version "5.5.1") -- Could NOT find MbedTLS (missing: MBEDTLS_LIBRARY MBEDX509_LIBRARY MBEDCRYPTO_LIBRARY MBEDTLS_INCLUDE_DIR) -- Found ZLIB: /nvmedata/autobuild/instance-27/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libz.a (found version "1.2.12") -- Select WolfSSL(CyaSSL) as the SSL backend -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS CMAKE_INSTALL_RUNSTATEDIR -- Build files have been written to: /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0 >>> rtty 7.4.0 Building PATH="/nvmedata/autobuild/instance-27/output-1/host/bin:/nvmedata/autobuild/instance-27/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 -C /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/ make[1]: Entering directory '/nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0' make[2]: Entering directory '/nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0' make[3]: Entering directory '/nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0' make[3]: Leaving directory '/nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0' make[3]: Entering directory '/nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0' [ 8%] Building C object src/CMakeFiles/rtty.dir/main.c.o [ 16%] Building C object src/CMakeFiles/rtty.dir/utils.c.o [ 25%] Building C object src/CMakeFiles/rtty.dir/buffer/buffer.c.o [ 33%] Building C object src/CMakeFiles/rtty.dir/log.c.o [ 41%] Building C object src/CMakeFiles/rtty.dir/net.c.o [ 50%] Building C object src/CMakeFiles/rtty.dir/rtty.c.o [ 58%] Building C object src/CMakeFiles/rtty.dir/command.c.o [ 66%] Building C object src/CMakeFiles/rtty.dir/file.c.o [ 75%] Building C object src/CMakeFiles/rtty.dir/filectl.c.o [ 83%] Building C object src/CMakeFiles/rtty.dir/ssl.c.o /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c:75:5: error: unknown type name 'SSL_CTX' 75 | SSL_CTX *ctx; | ^~~~~~~ /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c:76:5: error: unknown type name 'SSL' 76 | SSL *ssl; | ^~~ /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c: In function 'rtty_ssl_init': /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c:128:14: error: implicit declaration of function 'SSL_CTX_new'; did you mean 'wolfSSL_CTX_new'? [-Werror=implicit-function-declaration] 128 | c->ctx = SSL_CTX_new(TLSv1_2_client_method()); | ^~~~~~~~~~~ | wolfSSL_CTX_new /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c:128:26: error: implicit declaration of function 'TLSv1_2_client_method'; did you mean 'wolfTLSv1_2_client_method'? [-Werror=implicit-function-declaration] 128 | c->ctx = SSL_CTX_new(TLSv1_2_client_method()); | ^~~~~~~~~~~~~~~~~~~~~ | wolfTLSv1_2_client_method /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c:128:12: error: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 128 | c->ctx = SSL_CTX_new(TLSv1_2_client_method()); | ^ /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c:137:5: error: implicit declaration of function 'SSL_CTX_set_verify'; did you mean 'wolfSSL_CTX_set_verify'? [-Werror=implicit-function-declaration] 137 | SSL_CTX_set_verify(c->ctx, SSL_VERIFY_NONE, NULL); | ^~~~~~~~~~~~~~~~~~ | wolfSSL_CTX_set_verify /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c:139:18: error: implicit declaration of function 'SSL_CTX_use_PrivateKey_file'; did you mean 'wolfSSL_CTX_use_PrivateKey_file'? [-Werror=implicit-function-declaration] 139 | if (1 != SSL_CTX_use_PrivateKey_file(c->ctx, key, SSL_FILETYPE_PEM) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | wolfSSL_CTX_use_PrivateKey_file /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c:140:18: error: implicit declaration of function 'SSL_CTX_use_certificate_file'; did you mean 'wolfSSL_CTX_use_certificate_file'? [-Werror=implicit-function-declaration] 140 | 1 != SSL_CTX_use_certificate_file(c->ctx, cert, SSL_FILETYPE_PEM)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | wolfSSL_CTX_use_certificate_file /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c:146:14: error: implicit declaration of function 'SSL_new'; did you mean 'wolfSSL_new'? [-Werror=implicit-function-declaration] 146 | c->ssl = SSL_new(c->ctx); | ^~~~~~~ | wolfSSL_new /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c:146:12: error: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 146 | c->ssl = SSL_new(c->ctx); | ^ /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c:150:5: error: implicit declaration of function 'SSL_set_fd'; did you mean 'wolfSSL_set_fd'? [-Werror=implicit-function-declaration] 150 | SSL_set_fd(c->ssl, sock); | ^~~~~~~~~~ | wolfSSL_set_fd /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c: In function 'rtty_ssl_handshake': /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c:167:15: error: implicit declaration of function 'SSL_connect'; did you mean 'wolfSSL_connect'? [-Werror=implicit-function-declaration] 167 | int ret = SSL_connect(ctx->ssl); | ^~~~~~~~~~~ | wolfSSL_connect /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c:171:19: error: implicit declaration of function 'SSL_get_error'; did you mean 'wolfSSL_get_error'? [-Werror=implicit-function-declaration] 171 | int err = SSL_get_error(ctx->ssl, ret); | ^~~~~~~~~~~~~ | wolfSSL_get_error In file included from /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c:29: /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c:174:25: error: implicit declaration of function 'ERR_reason_error_string'; did you mean 'wolfSSL_ERR_reason_error_string'? [-Werror=implicit-function-declaration] 174 | log_err("%s\n", ERR_reason_error_string(err)); | ^~~~~~~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/log.h:37:72: note: in definition of macro 'log' 37 | #define log(priority, fmt...) __ilog(__FILENAME__, __LINE__, priority, fmt) | ^~~ /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c:174:9: note: in expansion of macro 'log_err' 174 | log_err("%s\n", ERR_reason_error_string(err)); | ^~~~~~~ /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c: In function 'rtty_ssl_free': /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c:189:5: error: implicit declaration of function 'SSL_shutdown'; did you mean 'wolfSSL_shutdown'? [-Werror=implicit-function-declaration] 189 | SSL_shutdown(ctx->ssl); | ^~~~~~~~~~~~ | wolfSSL_shutdown /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c:190:5: error: implicit declaration of function 'SSL_CTX_free'; did you mean 'wolfSSL_CTX_free'? [-Werror=implicit-function-declaration] 190 | SSL_CTX_free(ctx->ctx); | ^~~~~~~~~~~~ | wolfSSL_CTX_free /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c: In function 'rtty_ssl_read': /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c:216:15: error: implicit declaration of function 'SSL_read'; did you mean 'SSLeay'? [-Werror=implicit-function-declaration] 216 | int ret = SSL_read(ctx->ssl, buf, count); | ^~~~~~~~ | SSLeay /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c: In function 'rtty_ssl_write': /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/src/ssl.c:252:11: error: implicit declaration of function 'SSL_write'; did you mean 'wolfSSL_write'? [-Werror=implicit-function-declaration] 252 | ret = SSL_write(ctx->ssl, buf, count); | ^~~~~~~~~ | wolfSSL_write cc1: all warnings being treated as errors make[3]: *** [src/CMakeFiles/rtty.dir/build.make:202: src/CMakeFiles/rtty.dir/ssl.c.o] Error 1 make[3]: Leaving directory '/nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0' make[2]: *** [CMakeFiles/Makefile2:98: src/CMakeFiles/rtty.dir/all] Error 2 make[2]: Leaving directory '/nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0' make[1]: *** [Makefile:136: all] Error 2 make[1]: Leaving directory '/nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0' make: *** [package/pkg-generic.mk:293: /nvmedata/autobuild/instance-27/output-1/build/rtty-7.4.0/.stamp_built] Error 2 make: Leaving directory '/nvmedata/autobuild/instance-27/buildroot'