>>> libks: Building main/libks 1.8.2-r1 (using abuild 3.14.0-r0) started Thu, 17 Oct 2024 00:51:15 +0000 >>> libks: Validating /home/buildozer/aports/main/libks/APKBUILD... >>> WARNING: libks: Setting the maintainer with a comment is deprecated. Use maintainer="Francesco Colista " instead >>> libks: Analyzing dependencies... >>> libks: Installing for build: build-base cmake samurai util-linux-dev openssl-dev>3 (1/48) Installing libbz2 (1.0.8-r6) (2/48) Installing xz-libs (5.6.3-r0) (3/48) Installing libarchive (3.7.6-r0) (4/48) Installing rhash-libs (1.4.4-r0) (5/48) Installing libuv (1.49.1-r0) (6/48) Installing cmake (3.30.5-r0) (7/48) Installing samurai (1.2-r5) (8/48) Installing libeconf (0.6.3-r0) (9/48) Installing libblkid (2.40.2-r3) (10/48) Installing libuuid (2.40.2-r3) (11/48) Installing libfdisk (2.40.2-r3) (12/48) Installing libmount (2.40.2-r3) (13/48) Installing libsmartcols (2.40.2-r3) (14/48) Installing sqlite (3.46.1-r0) (15/48) Installing sqlite-libs (3.46.1-r0) (16/48) Installing sqlite-dev (3.46.1-r0) (17/48) Installing util-linux (2.40.2-r3) (18/48) Installing dmesg (2.40.2-r3) (19/48) Installing setarch (2.40.2-r3) (20/48) Installing util-linux-misc (2.40.2-r3) (21/48) Installing utmps-libs (0.1.2.3-r1) (22/48) Installing linux-pam (1.6.1-r1) (23/48) Installing runuser (2.40.2-r3) (24/48) Installing mount (2.40.2-r3) (25/48) Installing losetup (2.40.2-r3) (26/48) Installing hexdump (2.40.2-r3) (27/48) Installing uuidgen (2.40.2-r3) (28/48) Installing blkid (2.40.2-r3) (29/48) Installing sfdisk (2.40.2-r3) (30/48) Installing mcookie (2.40.2-r3) (31/48) Installing agetty (2.40.2-r3) (32/48) Installing wipefs (2.40.2-r3) (33/48) Installing cfdisk (2.40.2-r3) (34/48) Installing umount (2.40.2-r3) (35/48) Installing flock (2.40.2-r3) (36/48) Installing lsblk (2.40.2-r3) (37/48) Installing libcap-ng (0.8.5-r0) (38/48) Installing setpriv (2.40.2-r3) (39/48) Installing lscpu (2.40.2-r3) (40/48) Installing logger (2.40.2-r3) (41/48) Installing partx (2.40.2-r3) (42/48) Installing fstrim (2.40.2-r3) (43/48) Installing findmnt (2.40.2-r3) (44/48) Installing util-linux-dev (2.40.2-r3) (45/48) Installing openssl-dev (3.3.2-r2) (46/48) Installing .makedepends-libks (20241017.005118) (47/48) Installing util-linux-openrc (2.40.2-r3) (48/48) Installing agetty-openrc (0.55.1-r2) Executing busybox-1.36.1-r32.trigger OK: 302 MiB in 145 packages >>> libks: Cleaning up srcdir >>> libks: Cleaning up pkgdir >>> libks: Cleaning up tmpdir >>> libks: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libks-1.8.2.tar.gz >>> libks: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libks-1.8.2.tar.gz >>> libks: Checking sha512sums... libks-1.8.2.tar.gz: OK disable-failing-tests.patch: OK >>> libks: Unpacking /var/cache/distfiles/libks-1.8.2.tar.gz... >>> libks: disable-failing-tests.patch patching file tests/CMakeLists.txt Platform is linux Build type: MinSizeRel CXX Flags: Install prefix: /usr -- Found Git: /usr/bin/git (found version "2.46.2") -- The C compiler identification is GNU 14.2.0 -- The CXX compiler identification is GNU 14.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/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: /usr/bin/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 -- Found LibM: /usr/lib/libm.a -- Found PkgConfig: /usr/bin/pkg-config (found version "2.3.0") -- Checking for module 'uuid' -- Found uuid, version 2.40.2 Found UUID setup target at imported location: /usr/lib/libuuid.so -- Found OpenSSL: /usr/lib/libcrypto.so (found version "3.3.2") -- Found OpenSSL: /usr/lib/libcrypto.so (found version "3.3.2") found components: Crypto SSL -- 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 (1.8s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/main/libks/src/libks-1.8.2 [1/64] Building C object tests/CMakeFiles/testlog.dir/tap.c.o [2/64] Building C object tests/CMakeFiles/testlog.dir/testlog.c.o [3/64] Building C object tests/CMakeFiles/teststring.dir/tap.c.o [4/64] Building C object tests/CMakeFiles/teststring.dir/teststring.c.o [5/64] Building C object tests/CMakeFiles/testwebsock2.dir/tap.c.o [6/64] Building C object tests/CMakeFiles/testwebsock2.dir/testwebsock2.c.o [7/64] Building C object tests/CMakeFiles/testwebsock.dir/tap.c.o [8/64] Building C object tests/CMakeFiles/testwebsock.dir/testwebsock.c.o [9/64] Building C object tests/CMakeFiles/testsock2.dir/tap.c.o [10/64] Building C object tests/CMakeFiles/testsock2.dir/testsock2.c.o [11/64] Building C object tests/CMakeFiles/testhash.dir/tap.c.o [12/64] Building C object tests/CMakeFiles/testhash.dir/testhash.c.o [13/64] Building C object tests/CMakeFiles/testthreadpools.dir/tap.c.o [14/64] Building C object tests/CMakeFiles/testthreadpools.dir/testthreadpools.c.o [15/64] Building C object tests/CMakeFiles/testacl.dir/tap.c.o [16/64] Building C object tests/CMakeFiles/testacl.dir/testacl.c.o [17/64] Building C object tests/CMakeFiles/testrealloc.dir/tap.c.o [18/64] Building C object tests/CMakeFiles/testrealloc.dir/testrealloc.c.o [19/64] Building C object tests/CMakeFiles/testpools.dir/tap.c.o [20/64] Building C object tests/CMakeFiles/testpools.dir/testpools.c.o [21/64] Building C object CMakeFiles/ks.dir/src/simclist.c.o [22/64] Building C object CMakeFiles/ks.dir/src/kws.c.o [23/64] Building C object CMakeFiles/ks.dir/src/ks_uuid.c.o [24/64] Building C object CMakeFiles/ks.dir/src/ks_utf8.c.o [25/64] Building C object CMakeFiles/ks.dir/src/ks_time.c.o [26/64] Building C object CMakeFiles/ks.dir/src/ks_throughput.c.o [27/64] Building C object CMakeFiles/ks.dir/src/ks_thread_pool.c.o [28/64] Building C object CMakeFiles/ks.dir/src/ks_thread.c.o [29/64] Building C object CMakeFiles/ks.dir/src/ks_string.c.o [30/64] Building C object CMakeFiles/ks.dir/src/ks_ssl.c.o [31/64] Building C object CMakeFiles/ks.dir/src/ks_socket.c.o [32/64] Building C object CMakeFiles/ks.dir/src/ks_sb.c.o [33/64] Building C object CMakeFiles/ks.dir/src/ks_q.c.o [34/64] Building C object CMakeFiles/ks.dir/src/ks_printf.c.o [35/64] Building C object CMakeFiles/ks.dir/src/ks_pool.c.o [36/64] Building C object CMakeFiles/ks.dir/src/ks_mutex.c.o [37/64] Building C object CMakeFiles/ks.dir/src/ks_metrics.c.o In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/tests/testlog.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ [38/64] Building C object CMakeFiles/ks.dir/src/ks_log.c.o In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/tests/testsock2.c:22: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ [39/64] Building C object CMakeFiles/ks.dir/src/ks_json_check.c.o [40/64] Building C object CMakeFiles/ks.dir/src/ks_json.c.o In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/tests/teststring.c:22: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/tests/testacl.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/tests/testrealloc.c:22: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ [41/64] Building C object CMakeFiles/ks.dir/src/ks_hash.c.o [42/64] Building C object CMakeFiles/ks.dir/src/ks_handle.c.o [43/64] Building C object CMakeFiles/ks.dir/src/ks_env.c.o In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_time.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ [44/64] Building C object CMakeFiles/ks.dir/src/ks_dso.c.o In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/tests/testthreadpools.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ [45/64] Building C object CMakeFiles/ks.dir/src/ks_debug.c.o [46/64] Building C object CMakeFiles/ks.dir/src/ks_config.c.o In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_uuid.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ [47/64] Building C object CMakeFiles/ks.dir/src/ks_buffer.c.o In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_ssl.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_ssl.c: In function 'mkcert': /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_ssl.c:224:5: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 224 | rsa = RSA_new(); | ^~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:32, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_ssl.h:25, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:79: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_ssl.c:233:9: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 233 | RSA_generate_key_ex(rsa, bits, BN_value_RSA_F4, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_ssl.c:240:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 240 | if (!EVP_PKEY_assign_RSA(pk, rsa)) { | ^~ In file included from /usr/include/openssl/x509.h:29: /usr/include/openssl/evp.h:1338:5: note: declared here 1338 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ [48/64] Building C object CMakeFiles/ks.dir/src/ks_base64.c.o [49/64] Building C object CMakeFiles/ks.dir/src/ks_acl.c.o In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_thread_pool.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ [50/64] Building C object CMakeFiles/ks.dir/src/ks.c.o In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/tests/testhash.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ [51/64] Building C object CMakeFiles/ks.dir/src/include/cJSON/cJSON_Utils.c.o [52/64] Building C object CMakeFiles/ks.dir/src/include/cJSON/cJSON.c.o In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_sb.c:22: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/tests/testpools.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/tests/testwebsock.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/tests/testwebsock2.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ /home/buildozer/aports/main/libks/src/libks-1.8.2/tests/testwebsock2.c: In function 'sha1_digest': /home/buildozer/aports/main/libks/src/libks-1.8.2/tests/testwebsock2.c:102:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 102 | SHA1_Init(&sha); | ^~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/ssl.h:32, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_ssl.h:25, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:79: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ /home/buildozer/aports/main/libks/src/libks-1.8.2/tests/testwebsock2.c:103:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 103 | SHA1_Update(&sha, in, strlen(in)); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ /home/buildozer/aports/main/libks/src/libks-1.8.2/tests/testwebsock2.c:104:9: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 104 | SHA1_Final(digest, &sha); | ^~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ /home/buildozer/aports/main/libks/src/libks-1.8.2/tests/testwebsock2.c: In function 'test_ws': /home/buildozer/aports/main/libks/src/libks-1.8.2/tests/testwebsock2.c:330:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'ks_ssize_t' {aka 'long int'} [-Wformat=] 330 | printf("read bytes=%d oc=%d [%s]\n", bytes, oc, (char *)rdata); | ~^ ~~~~~ | | | | int ks_ssize_t {aka long int} | %ld /home/buildozer/aports/main/libks/src/libks-1.8.2/tests/testwebsock2.c:334:37: warning: format '%d' expects argument of type 'int', but argument 2 has type 'ks_ssize_t' {aka 'long int'} [-Wformat=] 334 | printf("read bytes=%d oc=%d [%s]\n", bytes, oc, (char *)rdata); | ~^ ~~~~~ | | | | int ks_ssize_t {aka long int} | %ld In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_env.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_string.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_debug.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_throughput.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_metrics.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_utf8.h:15, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_utf8.c:1: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_socket.c:42: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_dso.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_thread.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_base64.h:27, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_base64.c:22: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_config.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_q.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_mutex.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_buffer.c:24: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_log.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_acl.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_json_check.c:25: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_pool.c:31: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_json.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_hash.c:34: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/simclist.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_printf.c:61: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/ks_handle.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_platform.h:94, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:38, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/kws.c:23: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ /home/buildozer/aports/main/libks/src/libks-1.8.2/src/kws.c: In function 'sha1_digest': /home/buildozer/aports/main/libks/src/libks-1.8.2/src/kws.c:179:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 179 | SHA1_Init(&sha); | ^~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/ssl.h:32, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks_ssl.h:25, from /home/buildozer/aports/main/libks/src/libks-1.8.2/src/include/libks/ks.h:79: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ /home/buildozer/aports/main/libks/src/libks-1.8.2/src/kws.c:180:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 180 | SHA1_Update(&sha, in, strlen(in)); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ /home/buildozer/aports/main/libks/src/libks-1.8.2/src/kws.c:181:9: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 181 | SHA1_Final(digest, &sha); | ^~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ [53/64] Linking C shared library libks.so.1 [54/64] Creating library symlink libks.so [55/64] Linking C executable tests/testlog [56/64] Linking C executable tests/teststring [57/64] Linking C executable tests/testwebsock2 [58/64] Linking C executable tests/testwebsock [59/64] Linking C executable tests/testsock2 [60/64] Linking C executable tests/testhash [61/64] Linking C executable tests/testthreadpools [62/64] Linking C executable tests/testacl [63/64] Linking C executable tests/testrealloc [64/64] Linking C executable tests/testpools Test project /home/buildozer/aports/main/libks/src/libks-1.8.2 Start 1: testpools Start 2: testrealloc Start 3: testacl Start 4: testthreadpools Start 5: testhash Start 6: testsock2 Start 7: testwebsock Start 8: testwebsock2 Start 9: teststring Start 10: testlog 1/10 Test #1: testpools ........................ Passed 0.02 sec 2/10 Test #2: testrealloc ...................... Passed 0.02 sec 3/10 Test #3: testacl .......................... Passed 0.02 sec 4/10 Test #6: testsock2 ........................ Passed 0.01 sec 5/10 Test #9: teststring ....................... Passed 0.01 sec 6/10 Test #10: testlog .......................... Passed 0.01 sec 7/10 Test #8: testwebsock2 ..................... Passed 0.03 sec 8/10 Test #7: testwebsock ...................... Passed 0.17 sec 9/10 Test #4: testthreadpools .................. Passed 5.05 sec 10/10 Test #5: testhash ......................... Passed 9.37 sec 100% tests passed, 0 tests failed out of 10 Total Test time (real) = 9.38 sec >>> libks: Entering fakeroot... -- Install configuration: "MinSizeRel" -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/lib/libks.so.1 -- Set non-toolchain portion of runtime path of "/home/buildozer/aports/main/libks/pkg/libks/usr/lib/libks.so.1" to "/usr/lib" -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/lib/libks.so -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_string.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/kws.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_uuid.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_throughput.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_hash.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_printf.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_buffer.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_sb.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_env.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_atomic.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_log.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_ssl.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_platform.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_pool.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_types.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_acl.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_threadmutex.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_json.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_thread_pool.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_q.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_handle.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_base64.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_dso.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/simclist.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_utf8.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_time.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_metrics.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_debug.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_config.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_json_check.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/ks_socket.h -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/lib/pkgconfig/libks.pc -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/cmake/ksutil.cmake -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/cmake/FindPCRE.cmake -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/cmake/FindConfig.cmake -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/cmake/FindConfigCpp.cmake -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/cmake/AddLibBacktrace.cmake -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/share/doc/libks/copyright -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/cmake/LibKSConfig.cmake -- Installing: /home/buildozer/aports/main/libks/pkg/libks/usr/include/libks/cmake/LibKSConfig-minsizerel.cmake >>> libks-dev*: Running split function dev... 'usr/include' -> '/home/buildozer/aports/main/libks/pkg/libks-dev/usr/include' 'usr/lib/pkgconfig' -> '/home/buildozer/aports/main/libks/pkg/libks-dev/usr/lib/pkgconfig' 'usr/lib/libks.so' -> '/home/buildozer/aports/main/libks/pkg/libks-dev/usr/lib/libks.so' >>> libks-dev*: Preparing subpackage libks-dev... >>> libks-dev*: Stripping binaries >>> libks-dev*: Running postcheck for libks-dev >>> libks-doc*: Running split function doc... 'usr/share/doc' -> '/home/buildozer/aports/main/libks/pkg/libks-doc/usr/share/doc' >>> libks-doc*: Preparing subpackage libks-doc... >>> libks-doc*: Running postcheck for libks-doc >>> libks*: Running postcheck for libks >>> libks*: Preparing package libks... >>> libks*: Stripping binaries >>> WARNING: libks*: Redundant /usr/lib in rpath found >>> libks-dev*: Scanning shared objects >>> libks-doc*: Scanning shared objects >>> libks*: Scanning shared objects >>> libks-dev*: Tracing dependencies... libks=1.8.2-r1 pkgconfig >>> libks-dev*: Package size: 221.1 KB >>> libks-dev*: Compressing data... >>> libks-dev*: Create checksum... >>> libks-dev*: Create libks-dev-1.8.2-r1.apk >>> libks-doc*: Tracing dependencies... >>> libks-doc*: Package size: 11.8 KB >>> libks-doc*: Compressing data... >>> libks-doc*: Create checksum... >>> libks-doc*: Create libks-doc-1.8.2-r1.apk >>> libks*: Tracing dependencies... so:libc.musl-loongarch64.so.1 so:libcrypto.so.3 so:libssl.so.3 so:libuuid.so.1 >>> libks*: Package size: 242.0 KB >>> libks*: Compressing data... >>> libks*: Create checksum... >>> libks*: Create libks-1.8.2-r1.apk >>> libks: Build complete at Thu, 17 Oct 2024 00:51:32 +0000 elapsed time 0h 0m 17s >>> libks: Cleaning up srcdir >>> libks: Cleaning up pkgdir >>> libks: Uninstalling dependencies... (1/48) Purging .makedepends-libks (20241017.005118) (2/48) Purging cmake (3.30.5-r0) (3/48) Purging samurai (1.2-r5) (4/48) Purging util-linux-dev (2.40.2-r3) (5/48) Purging openssl-dev (3.3.2-r2) (6/48) Purging agetty-openrc (0.55.1-r2) (7/48) Purging agetty (2.40.2-r3) (8/48) Purging blkid (2.40.2-r3) (9/48) Purging cfdisk (2.40.2-r3) (10/48) Purging dmesg (2.40.2-r3) (11/48) Purging findmnt (2.40.2-r3) (12/48) Purging flock (2.40.2-r3) (13/48) Purging fstrim (2.40.2-r3) (14/48) Purging hexdump (2.40.2-r3) (15/48) Purging libarchive (3.7.6-r0) (16/48) Purging libbz2 (1.0.8-r6) (17/48) Purging libuv (1.49.1-r0) (18/48) Purging logger (2.40.2-r3) (19/48) Purging losetup (2.40.2-r3) (20/48) Purging lsblk (2.40.2-r3) (21/48) Purging lscpu (2.40.2-r3) (22/48) Purging mcookie (2.40.2-r3) (23/48) Purging mount (2.40.2-r3) (24/48) Purging partx (2.40.2-r3) (25/48) Purging rhash-libs (1.4.4-r0) (26/48) Purging runuser (2.40.2-r3) (27/48) Purging setpriv (2.40.2-r3) (28/48) Purging sfdisk (2.40.2-r3) (29/48) Purging sqlite-dev (3.46.1-r0) (30/48) Purging sqlite (3.46.1-r0) (31/48) Purging umount (2.40.2-r3) (32/48) Purging util-linux-misc (2.40.2-r3) (33/48) Purging setarch (2.40.2-r3) (34/48) Purging util-linux-openrc (2.40.2-r3) (35/48) Purging uuidgen (2.40.2-r3) (36/48) Purging wipefs (2.40.2-r3) (37/48) Purging xz-libs (5.6.3-r0) (38/48) Purging libfdisk (2.40.2-r3) (39/48) Purging libmount (2.40.2-r3) (40/48) Purging libblkid (2.40.2-r3) (41/48) Purging libcap-ng (0.8.5-r0) (42/48) Purging libeconf (0.6.3-r0) (43/48) Purging libsmartcols (2.40.2-r3) (44/48) Purging libuuid (2.40.2-r3) (45/48) Purging linux-pam (1.6.1-r1) (46/48) Purging util-linux (2.40.2-r3) (47/48) Purging sqlite-libs (3.46.1-r0) (48/48) Purging utmps-libs (0.1.2.3-r1) Executing busybox-1.36.1-r32.trigger OK: 243 MiB in 97 packages >>> libks: Updating the main/loongarch64 repository index... >>> libks: Signing the index...