>>> libwebsockets 3.2.0 Extracting gzip -d -c /home/test/autobuild/run/instance-2/dl/libwebsockets/libwebsockets-3.2.0.tar.gz | tar --strip-components=1 -C /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0 -xf - >>> libwebsockets 3.2.0 Patching Applying 0001-CMakeLists.txt-fix-build-with-libev-and-without-test.patch using patch: patching file CMakeLists.txt Hunk #1 succeeded at 1360 (offset -75 lines). Hunk #2 succeeded at 2116 (offset -81 lines). Applying 0002-CMakeLists.txt-fix-static-build-with-openssl.patch using patch: patching file CMakeLists.txt Hunk #1 succeeded at 1718 (offset -85 lines). >>> libwebsockets 3.2.0 Configuring (mkdir -p /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/ && cd /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/ && rm -f CMakeCache.txt && PATH="/home/test/autobuild/run/instance-2/output-1/host/bin:/home/test/autobuild/run/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /home/test/autobuild/run/instance-2/output-1/host/bin/cmake /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/ -DCMAKE_TOOLCHAIN_FILE="/home/test/autobuild/run/instance-2/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -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 -DLWS_WITHOUT_TESTAPPS=ON -DLWS_IPV6=ON -DLWS_MAX_SMP=1 -DLWS_WITH_SSL=ON -DLWS_WITH_LIBEV=OFF -DLWS_WITH_LIBEVENT=ON -DLWS_WITH_LIBUV=OFF -DLWS_WITH_STATIC=OFF ) -- Compiled with LWS_WITH_DIR and LWS_WITH_DIR -- The C compiler identification is GNU 7.4.0 -- Check for working C compiler: /home/test/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -- Check for working C compiler: /home/test/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- CMAKE_TOOLCHAIN_FILE='/home/test/autobuild/run/instance-2/output-1/host/share/buildroot/toolchainfile.cmake' -- Found Git: /usr/bin/git fatal: Not a git repository (or any of the parent directories): .git Git commit hash: -- Performing Test LWS_HAVE_inline -- Performing Test LWS_HAVE_inline - Success -- Performing Test LWS_HAVE___inline__ -- Performing Test LWS_HAVE___inline__ - Success -- Performing Test LWS_HAVE___inline -- Performing Test LWS_HAVE___inline - Success -- Performing Test LWS_HAVE_MALLOC_TRIM -- Performing Test LWS_HAVE_MALLOC_TRIM - Success -- Performing Test LWS_HAVE_MALLOC_USABLE_SIZE -- Performing Test LWS_HAVE_MALLOC_USABLE_SIZE - Success -- Looking for fork -- Looking for fork - found -- Looking for getenv -- Looking for getenv - found -- Looking for malloc -- Looking for malloc - found -- Looking for memset -- Looking for memset - found -- Looking for realloc -- Looking for realloc - found -- Looking for socket -- Looking for socket - found -- Looking for strerror -- Looking for strerror - found -- Looking for vfork -- Looking for vfork - found -- Looking for execvpe -- Looking for execvpe - found -- Looking for getifaddrs -- Looking for getifaddrs - found -- Looking for snprintf -- Looking for snprintf - found -- Looking for _snprintf -- Looking for _snprintf - not found -- Looking for _vsnprintf -- Looking for _vsnprintf - not found -- Looking for getloadavg -- Looking for getloadavg - not found -- Looking for atoll -- Looking for atoll - found -- Looking for _atoi64 -- Looking for _atoi64 - not found -- Looking for _stat32i64 -- Looking for _stat32i64 - not found -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for in6addr.h -- Looking for in6addr.h - not found -- Looking for memory.h -- Looking for memory.h - found -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for sys/prctl.h -- Looking for sys/prctl.h - found -- Looking for sys/socket.h -- Looking for sys/socket.h - found -- Looking for sys/sockio.h -- Looking for sys/sockio.h - not found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for vfork.h -- Looking for vfork.h - not found -- Looking for sys/capability.h -- Looking for sys/capability.h - found -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for pthread.h -- Looking for pthread.h - not found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for cap_set_flag in cap -- Looking for cap_set_flag in cap - found -- Looking for 4 include files stdlib.h, ..., float.h -- Looking for 4 include files stdlib.h, ..., float.h - found -- Performing Test LWS_HAS_INTPTR_T -- Performing Test LWS_HAS_INTPTR_T - Success -- Performing Test LWS_HAS_PTHREAD_SETNAME_NP -- Performing Test LWS_HAS_PTHREAD_SETNAME_NP - Failed -- Performing Test LWS_HAS_GETOPT_LONG -- Performing Test LWS_HAS_GETOPT_LONG - Failed -- Performing Test LWS_HAVE_VISIBILITY -- Performing Test LWS_HAVE_VISIBILITY - Failed -- Performing Test LWS_GCC_HAS_IGNORED_QUALIFIERS -- Performing Test LWS_GCC_HAS_IGNORED_QUALIFIERS - Failed -- Performing Test LWS_GCC_HAS_TYPE_LIMITS -- Performing Test LWS_GCC_HAS_TYPE_LIMITS - Failed CMake Warning (dev) at CMakeLists.txt:1592 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'websockets' has been created in this directory. This warning is for project developers. Use -Wno-dev to suppress it. Compiling with SSL support -- Found OpenSSL: /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/lib/libcrypto.so (found version "1.1.1d") OpenSSL include dir: /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include OpenSSL libraries: /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/lib/libssl.so;/home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/lib/libcrypto.so;ssl;crypto -- Looking for openssl/ecdh.h -- Looking for openssl/ecdh.h - not found libevent include dir: /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include libevent libraries: /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/lib/libevent.so -- Looking for SSL_CTX_set1_param -- Looking for SSL_CTX_set1_param - not found -- Looking for SSL_set_info_callback -- Looking for SSL_set_info_callback - not found -- Looking for X509_VERIFY_PARAM_set1_host -- Looking for X509_VERIFY_PARAM_set1_host - not found -- Looking for RSA_set0_key -- Looking for RSA_set0_key - not found -- Looking for X509_get_key_usage -- Looking for X509_get_key_usage - not found -- Looking for EVP_PKEY_new_raw_private_key -- Looking for EVP_PKEY_new_raw_private_key - not found -- Looking for SSL_CTX_get0_certificate -- Looking for SSL_CTX_get0_certificate - not found -- Looking for SSL_get0_alpn_selected -- Looking for SSL_get0_alpn_selected - not found -- Looking for SSL_set_alpn_protos -- Looking for SSL_set_alpn_protos - not found -- Looking for EVP_aes_128_cfb8 -- Looking for EVP_aes_128_cfb8 - not found -- Looking for EVP_aes_128_cfb128 -- Looking for EVP_aes_128_cfb128 - not found -- Looking for EVP_aes_192_cfb8 -- Looking for EVP_aes_192_cfb8 - not found -- Looking for EVP_aes_192_cfb128 -- Looking for EVP_aes_192_cfb128 - not found -- Looking for EVP_aes_256_cfb8 -- Looking for EVP_aes_256_cfb8 - not found -- Looking for EVP_aes_256_cfb128 -- Looking for EVP_aes_256_cfb128 - not found -- Looking for EVP_aes_128_xts -- Looking for EVP_aes_128_xts - not found -- Looking for RSA_verify_pss_mgf1 -- Looking for RSA_verify_pss_mgf1 - not found -- Looking for HMAC_CTX_new -- Looking for HMAC_CTX_new - not found -- Looking for SSL_CTX_set_ciphersuites -- Looking for SSL_CTX_set_ciphersuites - not found -- Performing Test LWS_HAVE_SSL_EXTRA_CHAIN_CERTS -- Performing Test LWS_HAVE_SSL_EXTRA_CHAIN_CERTS - Failed -- Performing Test LWS_HAVE_EVP_MD_CTX_free -- Performing Test LWS_HAVE_EVP_MD_CTX_free - Failed -- Looking for ECDSA_SIG_set0 -- Looking for ECDSA_SIG_set0 - not found -- Looking for BN_bn2binpad -- Looking for BN_bn2binpad - not found -- Looking for EVP_aes_128_wrap -- Looking for EVP_aes_128_wrap - not found -- Looking for EC_POINT_get_affine_coordinates -- Looking for EC_POINT_get_affine_coordinates - not found -- Looking for TLS_client_method -- Looking for TLS_client_method - not found -- Looking for TLSv1_2_client_method -- Looking for TLSv1_2_client_method - not found -- Performing Test LWS_HAVE_PIPE2 -- Performing Test LWS_HAVE_PIPE2 - Failed -- Performing Test LWS_HAVE_TCP_USER_TIMEOUT -- Performing Test LWS_HAVE_TCP_USER_TIMEOUT - Failed Searching for OpenSSL executable and dlls OpenSSL executable: /home/test/autobuild/run/instance-2/output-1/host/bin/openssl GENCERTS = 0 -- Looking for RPMTools... - rpmbuild NOT FOUND --------------------------------------------------------------------- Settings: (For more help do cmake -LH ) --------------------------------------------------------------------- LWS_WITH_STATIC = OFF LWS_WITH_SHARED = ON LWS_WITH_SSL = ON (SSL Support) LWS_SSL_CLIENT_USE_OS_CA_CERTS = 1 LWS_WITH_WOLFSSL = OFF (wolfSSL/CyaSSL replacement for OpenSSL) LWS_WITH_MBEDTLS = OFF (mbedTLS replacement for OpenSSL) LWS_WITHOUT_BUILTIN_SHA1 = OFF LWS_WITHOUT_BUILTIN_GETIFADDRS = OFF LWS_WITHOUT_CLIENT = OFF LWS_WITHOUT_SERVER = OFF LWS_LINK_TESTAPPS_DYNAMIC = OFF LWS_WITHOUT_TESTAPPS = ON LWS_WITHOUT_TEST_SERVER = OFF LWS_WITHOUT_TEST_SERVER_EXTPOLL = OFF LWS_WITHOUT_TEST_PING = OFF LWS_WITHOUT_TEST_CLIENT = OFF LWS_WITHOUT_EXTENSIONS = ON LWS_WITH_LATENCY = OFF LWS_WITHOUT_DAEMONIZE = ON LWS_WITH_LIBEV = OFF LWS_WITH_LIBUV = OFF LWS_WITH_LIBEVENT = 1 LWS_IPV6 = ON LWS_UNIX_SOCK = OFF LWS_WITH_HTTP2 = 1 LWS_SSL_SERVER_WITH_ECDH_CERT = OFF LWS_MAX_SMP = 1 LWS_HAVE_PTHREAD_H = LWS_WITH_CGI = OFF LWS_HAVE_OPENSSL_ECDH_H = LWS_HAVE_SSL_CTX_set1_param = LWS_HAVE_RSA_SET0_KEY = LWS_WITH_HTTP_PROXY = OFF LIBHUBBUB_LIBRARIES = PLUGINS = LWS_WITH_ACCESS_LOG = OFF LWS_WITH_SERVER_STATUS = OFF LWS_WITH_LEJP = ON LWS_WITH_LEJP_CONF = ON LWS_WITH_SMTP = OFF LWS_WITH_GENERIC_SESSIONS = OFF LWS_STATIC_PIC = OFF LWS_WITH_RANGES = OFF LWS_PLAT_OPTEE = OFF LWS_WITH_ESP32 = OFF LWS_WITH_ZIP_FOPS = OFF LWS_AVOID_SIGPIPE_IGN = OFF LWS_WITH_STATS = OFF LWS_WITH_SOCKS5 = OFF LWS_HAVE_SYS_CAPABILITY_H = 1 LWS_HAVE_LIBCAP = 1 LWS_WITH_PEER_LIMITS = OFF LWS_HAVE_ATOLL = 1 LWS_HAVE__ATOI64 = LWS_HAVE_STAT32I64 = LWS_HAS_INTPTR_T = 1 LWS_WITH_EXPORT_LWSTARGETS = ON LWS_WITH_ABSTRACT = --------------------------------------------------------------------- -- 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 -- Build files have been written to: /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0 >>> libwebsockets 3.2.0 Building PATH="/home/test/autobuild/run/instance-2/output-1/host/bin:/home/test/autobuild/run/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j4 -C /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/ make[1]: Entering directory '/home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0' make[2]: Entering directory '/home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0' make[3]: Entering directory '/home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0' Scanning dependencies of target websockets_shared make[3]: Leaving directory '/home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0' make[3]: Entering directory '/home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0' [ 2%] Building C object CMakeFiles/websockets_shared.dir/lib/core/buflist.c.o [ 2%] Building C object CMakeFiles/websockets_shared.dir/lib/core/alloc.c.o [ 4%] Building C object CMakeFiles/websockets_shared.dir/lib/core/lws_dll2.c.o [ 5%] Building C object CMakeFiles/websockets_shared.dir/lib/core/context.c.o In file included from /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/include/libwebsockets.h:570:0, from /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/lib/core/private.h:130, from /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/lib/core/lws_dll2.c:22: /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/include/libwebsockets/lws-genhash.h:79:18: error: field 'ctx' has incomplete type HMAC_CTX ctx; ^~~ In file included from /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/include/libwebsockets.h:570:0, from /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/lib/core/private.h:130, from /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/lib/core/alloc.c:1: /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/include/libwebsockets/lws-genhash.h:79:18: error: field 'ctx' has incomplete type HMAC_CTX ctx; ^~~ In file included from /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/include/libwebsockets.h:570:0, from /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/lib/core/private.h:130, from /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/lib/core/buflist.c:22: /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/include/libwebsockets/lws-genhash.h:79:18: error: field 'ctx' has incomplete type HMAC_CTX ctx; ^~~ In file included from /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/include/libwebsockets.h:570:0, from /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/lib/core/private.h:130, from /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/lib/core/context.c:22: /home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/include/libwebsockets/lws-genhash.h:79:18: error: field 'ctx' has incomplete type HMAC_CTX ctx; ^~~ CMakeFiles/websockets_shared.dir/build.make:62: recipe for target 'CMakeFiles/websockets_shared.dir/lib/core/alloc.c.o' failed make[3]: *** [CMakeFiles/websockets_shared.dir/lib/core/alloc.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... CMakeFiles/websockets_shared.dir/build.make:101: recipe for target 'CMakeFiles/websockets_shared.dir/lib/core/lws_dll2.c.o' failed make[3]: *** [CMakeFiles/websockets_shared.dir/lib/core/lws_dll2.c.o] Error 1 CMakeFiles/websockets_shared.dir/build.make:75: recipe for target 'CMakeFiles/websockets_shared.dir/lib/core/buflist.c.o' failed make[3]: *** [CMakeFiles/websockets_shared.dir/lib/core/buflist.c.o] Error 1 CMakeFiles/websockets_shared.dir/build.make:88: recipe for target 'CMakeFiles/websockets_shared.dir/lib/core/context.c.o' failed make[3]: *** [CMakeFiles/websockets_shared.dir/lib/core/context.c.o] Error 1 make[3]: Leaving directory '/home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0' CMakeFiles/Makefile2:103: recipe for target 'CMakeFiles/websockets_shared.dir/all' failed make[2]: *** [CMakeFiles/websockets_shared.dir/all] Error 2 make[2]: Leaving directory '/home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0' Makefile:151: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0' package/pkg-generic.mk:257: recipe for target '/home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/.stamp_built' failed make: *** [/home/test/autobuild/run/instance-2/output-1/build/libwebsockets-3.2.0/.stamp_built] Error 2 make: Leaving directory '/home/test/autobuild/run/instance-2/buildroot'