>>> libks 1.8.0 Downloading wget --passive-ftp -nd -t 3 -O '/nvmedata/autobuild/instance-17/output-1/build/.libks-1.8.0.tar.gz.V0uXGa/output' 'https://github.com/signalwire/libks/archive/v1.8.0/libks-1.8.0.tar.gz' --2022-04-24 06:04:29-- https://github.com/signalwire/libks/archive/v1.8.0/libks-1.8.0.tar.gz Resolving github.com (github.com)... 140.82.114.4 Connecting to github.com (github.com)|140.82.114.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/signalwire/libks/tar.gz/refs/tags/v1.8.0 [following] --2022-04-24 06:04:29-- https://codeload.github.com/signalwire/libks/tar.gz/refs/tags/v1.8.0 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/nvmedata/autobuild/instance-17/output-1/build/.libks-1.8.0.tar.gz.V0uXGa/output' 0K .......... .......... .......... .......... .......... 464K 50K .......... .......... .......... .......... .......... 889K 100K .......... .......... .......... .......... .......... 65.6M 150K .......... .......... .......... .......... .......... 72.0M 200K .......... .......... .......... .......... .......... 978K 250K .. 45.1M=0.2s 2022-04-24 06:04:29 (1.14 MB/s) - '/nvmedata/autobuild/instance-17/output-1/build/.libks-1.8.0.tar.gz.V0uXGa/output' saved [258566] libks-1.8.0.tar.gz: OK (sha256: b42544a5544ac00ceeb0675a9e6a99c8e6ecc752452c7f38c6ffe32fbedb906d) >>> libks 1.8.0 Extracting gzip -d -c /nvmedata/autobuild/instance-17/dl/libks/libks-1.8.0.tar.gz | tar --strip-components=1 -C /nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0 -xf - >>> libks 1.8.0 Patching >>> libks 1.8.0 Configuring (mkdir -p /nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0/ && cd /nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0/ && rm -f CMakeCache.txt && PATH="/nvmedata/autobuild/instance-17/output-1/host/bin:/nvmedata/autobuild/instance-17/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /nvmedata/autobuild/instance-17/output-1/host/bin/cmake /nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0/ -DCMAKE_TOOLCHAIN_FILE="/nvmedata/autobuild/instance-17/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 ) Platform is linux Build type: Debug CXX Flags: Install prefix: /usr -- Found Git: /usr/bin/git (found version "2.25.1") -- The C compiler identification is GNU 10.2.0 -- The CXX compiler identification is GNU 10.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nvmedata/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-uclibc-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /nvmedata/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-uclibc-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done LibKS Version 1.8 -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for clock_getres in rt -- Looking for clock_getres in rt - found -- Looking for clock_nanosleep in rt -- Looking for clock_nanosleep in rt - found -- Looking for strftime in rt -- Looking for strftime in rt - found -- Looking for sched_setscheduler in c -- Looking for sched_setscheduler in c - found -- Looking for malloc in c -- Looking for malloc in c - found -- Looking for usleep in c -- Looking for usleep in c - found -- Looking for pthread_setschedparam -- Looking for pthread_setschedparam - found -- Looking for memmem -- Looking for memmem - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for memory.h -- Looking for memory.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for sched.h -- Looking for sched.h - found -- Looking for byteswap.h -- Looking for byteswap.h - found -- Looking for dirent.h -- Looking for dirent.h - found -- Check if the system is big endian -- Searching 16 bit integer -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Searching 16 bit integer - Using unsigned short -- Check if the system is big endian - little endian -- Found LibM: /nvmedata/autobuild/instance-17/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/lib/libm.a -- Found PkgConfig: /nvmedata/autobuild/instance-17/output-1/host/bin/pkg-config (found version "1.6.3") -- Checking for module 'uuid' -- Found uuid, version 2.38.0 Found UUID setup target at imported location: /nvmedata/autobuild/instance-17/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/lib/libuuid.so -- Found OpenSSL: /nvmedata/autobuild/instance-17/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.so (found version "1.1.1n") -- Found OpenSSL: /nvmedata/autobuild/instance-17/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.so (found version "1.1.1n") found components: Crypto SSL -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success Compiler supports visibility -- 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: /nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0 >>> libks 1.8.0 Building PATH="/nvmedata/autobuild/instance-17/output-1/host/bin:/nvmedata/autobuild/instance-17/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 -C /nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0/ make[1]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0' make[3]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0' Scanning dependencies of target ks make[3]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0' make[3]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0' [ 1%] Building C object CMakeFiles/ks.dir/src/include/cJSON/cJSON.c.o [ 2%] Building C object CMakeFiles/ks.dir/src/include/cJSON/cJSON_Utils.c.o [ 3%] Building C object CMakeFiles/ks.dir/src/ks.c.o [ 4%] Building C object CMakeFiles/ks.dir/src/ks_acl.c.o [ 5%] Building C object CMakeFiles/ks.dir/src/ks_base64.c.o [ 7%] Building C object CMakeFiles/ks.dir/src/ks_buffer.c.o [ 8%] Building C object CMakeFiles/ks.dir/src/ks_config.c.o [ 9%] Building C object CMakeFiles/ks.dir/src/ks_debug.c.o [ 10%] Building C object CMakeFiles/ks.dir/src/ks_dso.c.o [ 11%] Building C object CMakeFiles/ks.dir/src/ks_env.c.o [ 13%] Building C object CMakeFiles/ks.dir/src/ks_handle.c.o [ 14%] Building C object CMakeFiles/ks.dir/src/ks_hash.c.o [ 15%] Building C object CMakeFiles/ks.dir/src/ks_json.c.o [ 16%] Building C object CMakeFiles/ks.dir/src/ks_json_check.c.o [ 17%] Building C object CMakeFiles/ks.dir/src/ks_log.c.o [ 19%] Building C object CMakeFiles/ks.dir/src/ks_metrics.c.o [ 20%] Building C object CMakeFiles/ks.dir/src/ks_mutex.c.o [ 21%] Building C object CMakeFiles/ks.dir/src/ks_pool.c.o [ 22%] Building C object CMakeFiles/ks.dir/src/ks_printf.c.o [ 23%] Building C object CMakeFiles/ks.dir/src/ks_q.c.o [ 25%] Building C object CMakeFiles/ks.dir/src/ks_sb.c.o [ 26%] Building C object CMakeFiles/ks.dir/src/ks_socket.c.o [ 27%] Building C object CMakeFiles/ks.dir/src/ks_ssl.c.o [ 28%] Building C object CMakeFiles/ks.dir/src/ks_string.c.o [ 29%] Building C object CMakeFiles/ks.dir/src/ks_thread.c.o /nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0/src/ks_thread.c: In function 'thread_launch': /nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0/src/ks_thread.c:237:21: error: 'pthread_setname_np' undeclared (first use in this function); did you mean 'pthread_setcanceltype'? 237 | if (thread->tag && pthread_setname_np) | ^~~~~~~~~~~~~~~~~~ | pthread_setcanceltype /nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0/src/ks_thread.c:237:21: note: each undeclared identifier is reported only once for each function it appears in /nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0/src/ks_thread.c:238:3: warning: implicit declaration of function 'pthread_setname_np'; did you mean 'pthread_setcanceltype'? [-Wimplicit-function-declaration] 238 | pthread_setname_np(pthread_self(), thread->tag); | ^~~~~~~~~~~~~~~~~~ | pthread_setcanceltype make[3]: *** [CMakeFiles/ks.dir/build.make:394: CMakeFiles/ks.dir/src/ks_thread.c.o] Error 1 make[3]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0' make[2]: *** [CMakeFiles/Makefile2:175: CMakeFiles/ks.dir/all] Error 2 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0' make[1]: *** [Makefile:182: all] Error 2 make[1]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0' make: *** [package/pkg-generic.mk:292: /nvmedata/autobuild/instance-17/output-1/build/libks-1.8.0/.stamp_built] Error 2 make: Leaving directory '/nvmedata/autobuild/instance-17/buildroot'