>>> rtty 7.4.0 Downloading wget --passive-ftp -nd -t 3 -O '/tmp/instance-18/output-1/build/.rtty-7.4.0.tar.gz.krocLk/output' 'https://github.com/zhaojh329/rtty/releases/download/v7.4.0/rtty-7.4.0.tar.gz' --2023-02-25 03:23:13-- https://github.com/zhaojh329/rtty/releases/download/v7.4.0/rtty-7.4.0.tar.gz Resolving github.com (github.com)... 140.82.112.3 Connecting to github.com (github.com)|140.82.112.3|: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%2F20230225%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230225T102313Z&X-Amz-Expires=300&X-Amz-Signature=82648c3b49f356c4698e56f242968ead7a997b8097c0a8f079fd83ed2cba5c17&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] --2023-02-25 03:23:13-- 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%2F20230225%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230225T102313Z&X-Amz-Expires=300&X-Amz-Signature=82648c3b49f356c4698e56f242968ead7a997b8097c0a8f079fd83ed2cba5c17&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.109.133, 185.199.110.133, 185.199.108.133, ... Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 34501 (34K) [application/octet-stream] Saving to: '/tmp/instance-18/output-1/build/.rtty-7.4.0.tar.gz.krocLk/output' 0K .......... .......... .......... ... 100% 21.9M=0.002s 2023-02-25 03:23:13 (21.9 MB/s) - '/tmp/instance-18/output-1/build/.rtty-7.4.0.tar.gz.krocLk/output' saved [34501/34501] rtty-7.4.0.tar.gz: OK (sha256: 9bc5d30dfa9bd664a62711b6229f47505b83adb364907f24e3a404aad52a4802) >>> rtty 7.4.0 Extracting gzip -d -c /tmp/instance-18/dl/rtty/rtty-7.4.0.tar.gz | tar --strip-components=1 -C /tmp/instance-18/output-1/build/rtty-7.4.0 -xf - >>> rtty 7.4.0 Patching >>> rtty 7.4.0 Configuring (mkdir -p /tmp/instance-18/output-1/build/rtty-7.4.0/ && cd /tmp/instance-18/output-1/build/rtty-7.4.0/ && rm -f CMakeCache.txt && PATH="/tmp/instance-18/output-1/host/bin:/tmp/instance-18/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /tmp/instance-18/output-1/host/bin/cmake /tmp/instance-18/output-1/build/rtty-7.4.0/ -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/tmp/instance-18/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=ON -DRTTY_SSL_SUPPORT=ON -DRTTY_USE_MBEDTLS=OFF -DRTTY_USE_OPENSSL=OFF -DRTTY_USE_WOLFSSL=ON ) -- The C compiler identification is GNU 11.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /tmp/instance-18/output-1/host/bin/powerpc-buildroot-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Libev: /tmp/instance-18/output-1/host/powerpc-buildroot-linux-gnu/sysroot/usr/lib/libev.so (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 /tmp/instance-18/output-1/host/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: /tmp/instance-18/output-1/host/powerpc-buildroot-linux-gnu/sysroot/usr/lib/libwolfssl.so (found version "5.5.3") -- Could NOT find MbedTLS (missing: MBEDTLS_LIBRARY MBEDX509_LIBRARY MBEDCRYPTO_LIBRARY MBEDTLS_INCLUDE_DIR) -- Found ZLIB: /tmp/instance-18/output-1/host/powerpc-buildroot-linux-gnu/sysroot/usr/lib/libz.so (found version "1.2.13") -- 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: /tmp/instance-18/output-1/build/rtty-7.4.0 >>> rtty 7.4.0 Building PATH="/tmp/instance-18/output-1/host/bin:/tmp/instance-18/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/autobuild/make/make -j1 -C /tmp/instance-18/output-1/build/rtty-7.4.0/ make[1]: Entering directory '/tmp/instance-18/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 /tmp/instance-18/output-1/build/rtty-7.4.0/src/ssl.c:75:5: error: unknown type name 'SSL_CTX' 75 | SSL_CTX *ctx; | ^~~~~~~ /tmp/instance-18/output-1/build/rtty-7.4.0/src/ssl.c:76:5: error: unknown type name 'SSL' 76 | SSL *ssl; | ^~~ /tmp/instance-18/output-1/build/rtty-7.4.0/src/ssl.c: In function 'rtty_ssl_init': /tmp/instance-18/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 /tmp/instance-18/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 /tmp/instance-18/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()); | ^ /tmp/instance-18/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 /tmp/instance-18/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 /tmp/instance-18/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 /tmp/instance-18/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 /tmp/instance-18/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); | ^ /tmp/instance-18/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 /tmp/instance-18/output-1/build/rtty-7.4.0/src/ssl.c: In function 'rtty_ssl_handshake': /tmp/instance-18/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 /tmp/instance-18/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 /tmp/instance-18/output-1/build/rtty-7.4.0/src/ssl.c:29: /tmp/instance-18/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)); | ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/instance-18/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) | ^~~ /tmp/instance-18/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)); | ^~~~~~~ /tmp/instance-18/output-1/build/rtty-7.4.0/src/ssl.c: In function 'rtty_ssl_free': /tmp/instance-18/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 /tmp/instance-18/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 /tmp/instance-18/output-1/build/rtty-7.4.0/src/ssl.c: In function 'rtty_ssl_read': /tmp/instance-18/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 /tmp/instance-18/output-1/build/rtty-7.4.0/src/ssl.c: In function 'rtty_ssl_write': /tmp/instance-18/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[2]: *** [CMakeFiles/Makefile2:98: src/CMakeFiles/rtty.dir/all] Error 2 make[1]: *** [Makefile:136: all] Error 2 make[1]: Leaving directory '/tmp/instance-18/output-1/build/rtty-7.4.0' make: *** [package/pkg-generic.mk:293: /tmp/instance-18/output-1/build/rtty-7.4.0/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-18/buildroot'