* Package: net-libs/libwebsockets-2.0.2 * Repository: gentoo * Maintainer: jaco@uls.co.za yuchen.xie@live.com,proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc http2 ipv6 kernel_linux ssl userland_GNU * FEATURES: ccache preserve-libs sandbox userpriv usersandbox cache directory /var/cache/ccache/net-libs/libwebsockets:0 primary config /var/cache/ccache/net-libs/libwebsockets:0/ccache.conf secondary config (readonly) /etc/ccache.conf cache hit (direct) 248 cache hit (preprocessed) 4 cache miss 261 cache hit rate 49.12 % called for link 313 compile failed 6 preprocessor error 14 cleanups performed 0 files in cache 526 cache size 3.5 MB max cache size 5.0 GB >>> Unpacking source... >>> Unpacking libwebsockets-2.0.2.tar.gz to /var/tmp/portage/net-libs/libwebsockets-2.0.2/work >>> Source unpacked in /var/tmp/portage/net-libs/libwebsockets-2.0.2/work cache directory /var/cache/ccache/net-libs/libwebsockets:0 primary config /var/cache/ccache/net-libs/libwebsockets:0/ccache.conf secondary config (readonly) /etc/ccache.conf cache hit (direct) 248 cache hit (preprocessed) 4 cache miss 261 cache hit rate 49.12 % called for link 313 compile failed 6 preprocessor error 14 cleanups performed 0 files in cache 526 cache size 3.5 MB max cache size 5.0 GB >>> Preparing source in /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2 ... >>> Source prepared. cache directory /var/cache/ccache/net-libs/libwebsockets:0 primary config /var/cache/ccache/net-libs/libwebsockets:0/ccache.conf secondary config (readonly) /etc/ccache.conf cache hit (direct) 248 cache hit (preprocessed) 4 cache miss 261 cache hit rate 49.12 % called for link 313 compile failed 6 preprocessor error 14 cleanups performed 0 files in cache 526 cache size 3.5 MB max cache size 5.0 GB >>> Configuring source in /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2 ... >>> Working in BUILD_DIR: "/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build" cmake -C /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DLWS_IPV6=ON -DLWS_LINK_TESTAPPS_DYNAMIC=ON -DLWS_WITH_HTTP2=ON -DLWS_WITH_STATIC=OFF -DLWS_WITH_LIBEV=OFF -DLWS_WITH_LIBUV=OFF -DLWS_WITH_SSL=ON -DLWS_WITHOUT_CLIENT=ON -DLWS_WITHOUT_TEST_CLIENT=ON -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build/gentoo_toolchain.cmake /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2 loading initial cache file /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build/gentoo_common_config.cmake -- The C compiler identification is GNU 8.2.0 -- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-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='/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build/gentoo_toolchain.cmake' -- 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 -- Looking for bzero -- Looking for bzero - found -- 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 - 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 inttypes.h -- Looking for inttypes.h - 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/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 zlib.h -- Looking for zlib.h - found -- Looking for 4 include files stdlib.h, ..., float.h -- Looking for 4 include files stdlib.h, ..., float.h - found -- Performing Test LWS_HAVE_VISIBILITY -- Performing Test LWS_HAVE_VISIBILITY - Success -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") zlib include dirs: /usr/include zlib libraries: /usr/lib64/libz.so Compiling with SSL support -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.0.2p") OpenSSL include dir: /usr/include OpenSSL libraries: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so -- Looking for openssl/ecdh.h -- Looking for openssl/ecdh.h - found -- Looking for SSL_CTX_set1_param -- Looking for SSL_CTX_set1_param - found Searching for OpenSSL executable and dlls OpenSSL executable: /usr/bin/openssl Generating SSL Certificates for the test-server... SUCCESSFULLY generated SSL certificate Generating API documentation -- 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_USE_WOLFSSL = OFF (wolfSSL/CyaSSL replacement for OpenSSL) LWS_USE_POLARSSL = OFF (PolarSSL replacement for OpenSSL) LWS_USE_MBEDTLS = OFF (mbedtls (nee Polarssl) replacement for OpenSSL) LWS_WITHOUT_BUILTIN_SHA1 = OFF LWS_WITHOUT_BUILTIN_GETIFADDRS = OFF LWS_WITHOUT_CLIENT = ON LWS_WITHOUT_SERVER = OFF LWS_LINK_TESTAPPS_DYNAMIC = ON LWS_WITHOUT_TESTAPPS = OFF LWS_WITHOUT_TEST_SERVER = OFF LWS_WITHOUT_TEST_SERVER_EXTPOLL = OFF LWS_WITHOUT_TEST_PING = OFF LWS_WITHOUT_TEST_ECHO = OFF LWS_WITHOUT_TEST_CLIENT = ON LWS_WITHOUT_TEST_FRAGGLE = OFF LWS_WITHOUT_EXTENSIONS = OFF LWS_WITH_LATENCY = OFF LWS_WITHOUT_DAEMONIZE = ON LWS_USE_LIBEV = LWS_USE_LIBUV = LWS_IPV6 = ON LWS_UNIX_SOCK = OFF LWS_WITH_HTTP2 = ON LWS_MBED3 = OFF LWS_SSL_SERVER_WITH_ECDH_CERT = OFF LWS_MAX_SMP = 32 LWS_WITH_CGI = OFF LWS_HAVE_OPENSSL_ECDH_H = 1 LWS_HAVE_SSL_CTX_set1_param = 1 LWS_WITH_HTTP_PROXY = OFF LIBHUBBUB_LIBRARIES = PLUGINS = LWS_WITH_ACCESS_LOG = OFF LWS_WITH_SERVER_STATUS = OFF --------------------------------------------------------------------- -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread C++ Linker flags: Executable -Wl,-O1 -Wl,--as-needed Module -Wl,-O1 -Wl,--as-needed Shared -Wl,-O1 -Wl,--as-needed -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build >>> Source configured. cache directory /var/cache/ccache/net-libs/libwebsockets:0 primary config /var/cache/ccache/net-libs/libwebsockets:0/ccache.conf secondary config (readonly) /etc/ccache.conf cache hit (direct) 248 cache hit (preprocessed) 4 cache miss 303 cache hit rate 45.41 % called for link 356 compile failed 6 preprocessor error 16 cleanups performed 0 files in cache 616 cache size 3.9 MB max cache size 5.0 GB >>> Compiling source in /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2 ... >>> Working in BUILD_DIR: "/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build" make -j3 VERBOSE=1 /usr/bin/cmake -H/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2 -B/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build/CMakeFiles /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build' make -f CMakeFiles/websockets_shared.dir/build.make CMakeFiles/websockets_shared.dir/depend make[2]: Entering directory '/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build' cd /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2 /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2 /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build/CMakeFiles/websockets_shared.dir/DependInfo.cmake Dependee "/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build/CMakeFiles/websockets_shared.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build/CMakeFiles/websockets_shared.dir/depend.internal". Dependee "/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build/CMakeFiles/websockets_shared.dir/depend.internal". Scanning dependencies of target websockets_shared make[2]: Leaving directory '/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build' make -f CMakeFiles/websockets_shared.dir/build.make CMakeFiles/websockets_shared.dir/build make[2]: Entering directory '/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build' [ 2%] Building C object CMakeFiles/websockets_shared.dir/lib/handshake.c.o [ 4%] Building C object CMakeFiles/websockets_shared.dir/lib/base64-decode.c.o [ 6%] Building C object CMakeFiles/websockets_shared.dir/lib/libwebsockets.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dwebsockets_shared_EXPORTS -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib -DNDEBUG -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread -fPIC -o CMakeFiles/websockets_shared.dir/lib/base64-decode.c.o -c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/base64-decode.c /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dwebsockets_shared_EXPORTS -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib -DNDEBUG -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread -fPIC -o CMakeFiles/websockets_shared.dir/lib/handshake.c.o -c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/handshake.c /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dwebsockets_shared_EXPORTS -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib -DNDEBUG -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread -fPIC -o CMakeFiles/websockets_shared.dir/lib/libwebsockets.c.o -c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/libwebsockets.c [ 8%] Building C object CMakeFiles/websockets_shared.dir/lib/service.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dwebsockets_shared_EXPORTS -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib -DNDEBUG -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread -fPIC -o CMakeFiles/websockets_shared.dir/lib/service.c.o -c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/service.c [ 11%] Building C object CMakeFiles/websockets_shared.dir/lib/pollfd.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dwebsockets_shared_EXPORTS -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib -DNDEBUG -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread -fPIC -o CMakeFiles/websockets_shared.dir/lib/pollfd.c.o -c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/pollfd.c [ 13%] Building C object CMakeFiles/websockets_shared.dir/lib/output.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dwebsockets_shared_EXPORTS -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib -DNDEBUG -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread -fPIC -o CMakeFiles/websockets_shared.dir/lib/output.c.o -c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/output.c [ 15%] Building C object CMakeFiles/websockets_shared.dir/lib/parsers.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dwebsockets_shared_EXPORTS -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib -DNDEBUG -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread -fPIC -o CMakeFiles/websockets_shared.dir/lib/parsers.c.o -c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/parsers.c [ 17%] Building C object CMakeFiles/websockets_shared.dir/lib/context.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dwebsockets_shared_EXPORTS -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib -DNDEBUG -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread -fPIC -o CMakeFiles/websockets_shared.dir/lib/context.c.o -c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/context.c [ 20%] Building C object CMakeFiles/websockets_shared.dir/lib/alloc.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dwebsockets_shared_EXPORTS -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib -DNDEBUG -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread -fPIC -o CMakeFiles/websockets_shared.dir/lib/alloc.c.o -c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/alloc.c [ 22%] Building C object CMakeFiles/websockets_shared.dir/lib/header.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dwebsockets_shared_EXPORTS -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib -DNDEBUG -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread -fPIC -o CMakeFiles/websockets_shared.dir/lib/header.c.o -c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/header.c [ 24%] Building C object CMakeFiles/websockets_shared.dir/lib/ssl.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dwebsockets_shared_EXPORTS -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib -DNDEBUG -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread -fPIC -o CMakeFiles/websockets_shared.dir/lib/ssl.c.o -c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/ssl.c [ 26%] Building C object CMakeFiles/websockets_shared.dir/lib/ssl-server.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dwebsockets_shared_EXPORTS -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib -DNDEBUG -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread -fPIC -o CMakeFiles/websockets_shared.dir/lib/ssl-server.c.o -c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/ssl-server.c [ 28%] Building C object CMakeFiles/websockets_shared.dir/lib/sha-1.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dwebsockets_shared_EXPORTS -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib -DNDEBUG -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread -fPIC -o CMakeFiles/websockets_shared.dir/lib/sha-1.c.o -c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/sha-1.c [ 31%] Building C object CMakeFiles/websockets_shared.dir/lib/http2.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dwebsockets_shared_EXPORTS -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib -DNDEBUG -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread -fPIC -o CMakeFiles/websockets_shared.dir/lib/http2.c.o -c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/http2.c [ 33%] Building C object CMakeFiles/websockets_shared.dir/lib/hpack.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dwebsockets_shared_EXPORTS -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib -DNDEBUG -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread -fPIC -o CMakeFiles/websockets_shared.dir/lib/hpack.c.o -c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/hpack.c [ 35%] Building C object CMakeFiles/websockets_shared.dir/lib/ssl-http2.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dwebsockets_shared_EXPORTS -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib -DNDEBUG -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread -fPIC -o CMakeFiles/websockets_shared.dir/lib/ssl-http2.c.o -c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/ssl-http2.c [ 37%] Building C object CMakeFiles/websockets_shared.dir/lib/lws-plat-unix.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dwebsockets_shared_EXPORTS -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib -DNDEBUG -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread -fPIC -o CMakeFiles/websockets_shared.dir/lib/lws-plat-unix.c.o -c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/lws-plat-unix.c [ 40%] Building C object CMakeFiles/websockets_shared.dir/lib/server.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dwebsockets_shared_EXPORTS -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib -DNDEBUG -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread -fPIC -o CMakeFiles/websockets_shared.dir/lib/server.c.o -c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/server.c [ 42%] Building C object CMakeFiles/websockets_shared.dir/lib/server-handshake.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dwebsockets_shared_EXPORTS -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib -DNDEBUG -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread -fPIC -o CMakeFiles/websockets_shared.dir/lib/server-handshake.c.o -c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/server-handshake.c [ 44%] Building C object CMakeFiles/websockets_shared.dir/lib/extension.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dwebsockets_shared_EXPORTS -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build -I/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib -DNDEBUG -Wall -Werror -fvisibility=hidden -march=native -mtune=native -O2 -pipe -pthread -fPIC -o CMakeFiles/websockets_shared.dir/lib/extension.c.o -c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/extension.c /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/server.c: In function ‘lws_http_action’: /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/server.c:293:40: error: ‘__builtin_snprintf’ output may be truncated before the last format character [-Werror=format-truncation=] snprintf(path, sizeof(path) - 1, "%s", sym); ^ In file included from /usr/include/stdio.h:862, from /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/private-libwebsockets.h:34, from /var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2/lib/server.c:23: /usr/include/bits/stdio2.h:64:10: note: ‘__builtin_snprintf’ output between 1 and 256 bytes into a destination of size 255 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [CMakeFiles/websockets_shared.dir/build.make:471: CMakeFiles/websockets_shared.dir/lib/server.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build' make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/websockets_shared.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build' make: *** [Makefile:152: all] Error 2 * ERROR: net-libs/libwebsockets-2.0.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-libs/libwebsockets-2.0.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/libwebsockets-2.0.2::gentoo'`. * The complete build log is located at '/var/log/portage-build/build/net-libs/libwebsockets-2.0.2:20181020-224934.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-libs/libwebsockets-2.0.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/libwebsockets-2.0.2/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2_build' * S: '/var/tmp/portage/net-libs/libwebsockets-2.0.2/work/libwebsockets-2.0.2'