>>> libuwsc 3.3.5 Downloading wget --passive-ftp -nd -t 3 -O '/home/autobuild/autobuild/instance-13/output-1/build/.libuwsc-3.3.5.tar.gz.aT8fFR/output' 'https://github.com/zhaojh329/libuwsc/releases/download/v3.3.5/libuwsc-3.3.5.tar.gz' --2022-12-12 19:08:57-- https://github.com/zhaojh329/libuwsc/releases/download/v3.3.5/libuwsc-3.3.5.tar.gz Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' 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/116388230/dc6e4900-78cf-11ea-9b32-95d11c5fe7bc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221212%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221212T190857Z&X-Amz-Expires=300&X-Amz-Signature=76d853871d7f26ae9917f0e8d493814adc63fd5a07b04fef698722ffcf603f43&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] --2022-12-12 19:08:57-- 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%2F20221212%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221212T190857Z&X-Amz-Expires=300&X-Amz-Signature=76d853871d7f26ae9917f0e8d493814adc63fd5a07b04fef698722ffcf603f43&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.110.133, 185.199.109.133, 185.199.111.133, ... Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.110.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 24325 (24K) [application/octet-stream] Saving to: '/home/autobuild/autobuild/instance-13/output-1/build/.libuwsc-3.3.5.tar.gz.aT8fFR/output' 0K .......... .......... ... 100% 354K=0.07s 2022-12-12 19:08:58 (354 KB/s) - '/home/autobuild/autobuild/instance-13/output-1/build/.libuwsc-3.3.5.tar.gz.aT8fFR/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-13/dl/libuwsc/libuwsc-3.3.5.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-13/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-13/output-1/build/libuwsc-3.3.5/ && cd /home/autobuild/autobuild/instance-13/output-1/build/libuwsc-3.3.5/ && rm -f CMakeCache.txt && PATH="/home/autobuild/autobuild/instance-13/output-1/host/bin:/home/autobuild/autobuild/instance-13/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /home/autobuild/autobuild/instance-13/output-1/host/bin/cmake /home/autobuild/autobuild/instance-13/output-1/build/libuwsc-3.3.5/ -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/autobuild/autobuild/instance-13/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=ON ) 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.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/autobuild/autobuild/instance-13/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Libev: /home/autobuild/autobuild/instance-13/output-1/host/powerpc64le-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-13/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-13/output-1/host/powerpc64le-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-13/output-1/build/libuwsc-3.3.5 >>> libuwsc 3.3.5 Building PATH="/home/autobuild/autobuild/instance-13/output-1/host/bin:/home/autobuild/autobuild/instance-13/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /home/autobuild/make/make -j1 -C /home/autobuild/autobuild/instance-13/output-1/build/libuwsc-3.3.5/ make[1]: Entering directory '/home/autobuild/autobuild/instance-13/output-1/build/libuwsc-3.3.5' [ 7%] Building C object src/CMakeFiles/uwsc.dir/uwsc.c.o [ 14%] Building C object src/CMakeFiles/uwsc.dir/log.c.o [ 21%] Building C object src/CMakeFiles/uwsc.dir/utils.c.o [ 28%] Building C object src/CMakeFiles/uwsc.dir/buffer/buffer.c.o [ 35%] Building C object src/CMakeFiles/uwsc.dir/sha1.c.o [ 42%] Building C object src/CMakeFiles/uwsc.dir/ssl.c.o /home/autobuild/autobuild/instance-13/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-13/output-1/build/libuwsc-3.3.5/src/ssl.c:63:5: error: unknown type name 'SSL' 63 | SSL *ssl; | ^~~ /home/autobuild/autobuild/instance-13/output-1/build/libuwsc-3.3.5/src/ssl.c: In function 'uwsc_ssl_init': /home/autobuild/autobuild/instance-13/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-13/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-13/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-13/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-13/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-13/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-13/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-13/output-1/build/libuwsc-3.3.5/src/ssl.c: In function 'uwsc_ssl_handshake': /home/autobuild/autobuild/instance-13/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-13/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-13/output-1/build/libuwsc-3.3.5/src/ssl.c:28: /home/autobuild/autobuild/instance-13/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-13/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-13/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-13/output-1/build/libuwsc-3.3.5/src/ssl.c: In function 'uwsc_ssl_free': /home/autobuild/autobuild/instance-13/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-13/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-13/output-1/build/libuwsc-3.3.5/src/ssl.c: In function 'uwsc_ssl_read': /home/autobuild/autobuild/instance-13/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-13/output-1/build/libuwsc-3.3.5/src/ssl.c: In function 'uwsc_ssl_write': /home/autobuild/autobuild/instance-13/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:117: src/CMakeFiles/uwsc.dir/all] Error 2 make[1]: *** [Makefile:136: all] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-13/output-1/build/libuwsc-3.3.5' make: *** [package/pkg-generic.mk:293: /home/autobuild/autobuild/instance-13/output-1/build/libuwsc-3.3.5/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-13/buildroot'