>>> libuwsc 3.3.5 Downloading wget --passive-ftp -nd -t 3 -O '/home/autobuild/autobuild/instance-17/output-1/build/.libuwsc-3.3.5.tar.gz.iMiFq3/output' 'https://github.com/zhaojh329/libuwsc/releases/download/v3.3.5/libuwsc-3.3.5.tar.gz' --2023-06-30 16:25:29-- https://github.com/zhaojh329/libuwsc/releases/download/v3.3.5/libuwsc-3.3.5.tar.gz Resolving github.com (github.com)... 140.82.112.4 Connecting to github.com (github.com)|140.82.112.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/116388230/dc6e4900-78cf-11ea-9b32-95d11c5fe7bc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230630%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230630T222530Z&X-Amz-Expires=300&X-Amz-Signature=b3823eeab8a7c0ef6f19ef8c59dd7327f42b5f2209c0042595831633247afd89&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=116388230&response-content-disposition=attachment%3B%20filename%3Dlibuwsc-3.3.5.tar.gz&response-content-type=application%2Foctet-stream [following] --2023-06-30 16:25:30-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/116388230/dc6e4900-78cf-11ea-9b32-95d11c5fe7bc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230630%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230630T222530Z&X-Amz-Expires=300&X-Amz-Signature=b3823eeab8a7c0ef6f19ef8c59dd7327f42b5f2209c0042595831633247afd89&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=116388230&response-content-disposition=attachment%3B%20filename%3Dlibuwsc-3.3.5.tar.gz&response-content-type=application%2Foctet-stream Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.110.133, 185.199.111.133, ... Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 24325 (24K) [application/octet-stream] Saving to: '/home/autobuild/autobuild/instance-17/output-1/build/.libuwsc-3.3.5.tar.gz.iMiFq3/output' 0K .......... .......... ... 100% 3.05M=0.008s 2023-06-30 16:25:30 (3.05 MB/s) - '/home/autobuild/autobuild/instance-17/output-1/build/.libuwsc-3.3.5.tar.gz.iMiFq3/output' saved [24325/24325] libuwsc-3.3.5.tar.gz: OK (sha256: a06b7324671e181ffe3165e93e6f94c7ac1380f69e32a52e80c8da7016acd60d) >>> libuwsc 3.3.5 Extracting gzip -d -c /home/autobuild/autobuild/instance-17/dl/libuwsc/libuwsc-3.3.5.tar.gz | /home/autobuild/autobuild/instance-17/output-1/host/bin/tar --strip-components=1 -C /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5 -xf - >>> libuwsc 3.3.5 Patching Applying 0001-CMakeLists.txt-add-BUILD_EXAMPLE.patch using patch: patching file CMakeLists.txt Applying 0002-fix-bad-indentation.patch using patch: patching file src/lua/uwsc_lua.c Hunk #1 succeeded at 177 (offset -1 lines). >>> libuwsc 3.3.5 Configuring (mkdir -p /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/ && cd /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/ && rm -f CMakeCache.txt && PATH="/home/autobuild/autobuild/instance-17/output-1/host/bin:/home/autobuild/autobuild/instance-17/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/autobuild/autobuild/instance-17/output-1/host/bin/cmake /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/ -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/autobuild/autobuild/instance-17/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 -DUWSC_SSL_SUPPORT=ON -DUWSC_USE_MBEDTLS=OFF -DUWSC_USE_OPENSSL=OFF -DUWSC_USE_WOLFSSL=ON -DUWSC_LUA_SUPPORT=OFF -DBUILD_STATIC_LIBS=OFF ) CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/autobuild/autobuild/instance-17/output-1/host/bin/riscv32-buildroot-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Libev: /home/autobuild/autobuild/instance-17/output-1/host/riscv32-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 /home/autobuild/autobuild/instance-17/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:44 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found WOLFSSL: /home/autobuild/autobuild/instance-17/output-1/host/riscv32-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) -- Select WolfSSL(CyaSSL) as the SSL backend -- Could NOT find Lua (missing: LUA_LIBRARIES LUA_INCLUDE_DIR) -- UWSC_VERSION: 3.3.5 -- UWSC_SSL_SUPPORT: WolfSSL(CyaSSL) -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS CMAKE_INSTALL_RUNSTATEDIR -- Build files have been written to: /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5 >>> libuwsc 3.3.5 Building PATH="/home/autobuild/autobuild/instance-17/output-1/host/bin:/home/autobuild/autobuild/instance-17/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 /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/ make[1]: Entering directory '/home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5' [ 14%] Building C object src/CMakeFiles/uwsc.dir/uwsc.c.o [ 28%] Building C object src/CMakeFiles/uwsc.dir/log.c.o [ 42%] Building C object src/CMakeFiles/uwsc.dir/utils.c.o [ 57%] Building C object src/CMakeFiles/uwsc.dir/buffer/buffer.c.o [ 71%] Building C object src/CMakeFiles/uwsc.dir/sha1.c.o [ 85%] Building C object src/CMakeFiles/uwsc.dir/ssl.c.o /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c:62:5: error: unknown type name 'SSL_CTX' 62 | SSL_CTX *ctx; | ^~~~~~~ /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c:63:5: error: unknown type name 'SSL' 63 | SSL *ssl; | ^~~ /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c: In function 'uwsc_ssl_init': /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c:105:14: error: implicit declaration of function 'SSL_CTX_new'; did you mean 'wolfSSL_CTX_new'? [-Werror=implicit-function-declaration] 105 | c->ctx = SSL_CTX_new(TLSv1_2_client_method()); | ^~~~~~~~~~~ | wolfSSL_CTX_new /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c:105:26: error: implicit declaration of function 'TLSv1_2_client_method'; did you mean 'wolfTLSv1_2_client_method'? [-Werror=implicit-function-declaration] 105 | c->ctx = SSL_CTX_new(TLSv1_2_client_method()); | ^~~~~~~~~~~~~~~~~~~~~ | wolfTLSv1_2_client_method /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c:105:12: error: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 105 | c->ctx = SSL_CTX_new(TLSv1_2_client_method()); | ^ /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c:114:5: error: implicit declaration of function 'SSL_CTX_set_verify'; did you mean 'wolfSSL_CTX_set_verify'? [-Werror=implicit-function-declaration] 114 | SSL_CTX_set_verify(c->ctx, SSL_VERIFY_NONE, NULL); | ^~~~~~~~~~~~~~~~~~ | wolfSSL_CTX_set_verify /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c:115:14: error: implicit declaration of function 'SSL_new'; did you mean 'wolfSSL_new'? [-Werror=implicit-function-declaration] 115 | c->ssl = SSL_new(c->ctx); | ^~~~~~~ | wolfSSL_new /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c:115:12: error: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 115 | c->ssl = SSL_new(c->ctx); | ^ /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c:119:5: error: implicit declaration of function 'SSL_set_fd'; did you mean 'wolfSSL_set_fd'? [-Werror=implicit-function-declaration] 119 | SSL_set_fd(c->ssl, sock); | ^~~~~~~~~~ | wolfSSL_set_fd /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c: In function 'uwsc_ssl_handshake': /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c:136:15: error: implicit declaration of function 'SSL_connect'; did you mean 'wolfSSL_connect'? [-Werror=implicit-function-declaration] 136 | int ret = SSL_connect(ctx->ssl); | ^~~~~~~~~~~ | wolfSSL_connect /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c:140:19: error: implicit declaration of function 'SSL_get_error'; did you mean 'wolfSSL_get_error'? [-Werror=implicit-function-declaration] 140 | int err = SSL_get_error(ctx->ssl, ret); | ^~~~~~~~~~~~~ | wolfSSL_get_error In file included from /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c:28: /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c:143:30: error: implicit declaration of function 'ERR_reason_error_string'; did you mean 'wolfSSL_ERR_reason_error_string'? [-Werror=implicit-function-declaration] 143 | uwsc_log_err("%s\n", ERR_reason_error_string(err)); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/log.h:36:81: note: in definition of macro 'uwsc_log' 36 | #define uwsc_log(priority, fmt...) __uwsc_log(__FILENAME__, __LINE__, priority, fmt) | ^~~ /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c:143:9: note: in expansion of macro 'uwsc_log_err' 143 | uwsc_log_err("%s\n", ERR_reason_error_string(err)); | ^~~~~~~~~~~~ /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c: In function 'uwsc_ssl_free': /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c:158:5: error: implicit declaration of function 'SSL_shutdown'; did you mean 'wolfSSL_shutdown'? [-Werror=implicit-function-declaration] 158 | SSL_shutdown(ctx->ssl); | ^~~~~~~~~~~~ | wolfSSL_shutdown /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c:159:5: error: implicit declaration of function 'SSL_CTX_free'; did you mean 'wolfSSL_CTX_free'? [-Werror=implicit-function-declaration] 159 | SSL_CTX_free(ctx->ctx); | ^~~~~~~~~~~~ | wolfSSL_CTX_free /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c: In function 'uwsc_ssl_read': /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c:185:15: error: implicit declaration of function 'SSL_read'; did you mean 'SSLeay'? [-Werror=implicit-function-declaration] 185 | int ret = SSL_read(ctx->ssl, buf, count); | ^~~~~~~~ | SSLeay /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c: In function 'uwsc_ssl_write': /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/src/ssl.c:209:15: error: implicit declaration of function 'SSL_write'; did you mean 'wolfSSL_write'? [-Werror=implicit-function-declaration] 209 | int ret = SSL_write(ctx->ssl, buf, count); | ^~~~~~~~~ | wolfSSL_write cc1: all warnings being treated as errors make[3]: *** [src/CMakeFiles/uwsc.dir/build.make:146: src/CMakeFiles/uwsc.dir/ssl.c.o] Error 1 make[2]: *** [CMakeFiles/Makefile2:115: src/CMakeFiles/uwsc.dir/all] Error 2 make[1]: *** [Makefile:136: all] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5' make: *** [package/pkg-generic.mk:293: /home/autobuild/autobuild/instance-17/output-1/build/libuwsc-3.3.5/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-17/buildroot'