Applying /builder/shared-workdir/build/sdk/feeds/packages/net/softethervpn5/patches/001-iconv-cmake-fix.patch using plaintext: patching file src/Mayaqua/CMakeLists.txt Applying /builder/shared-workdir/build/sdk/feeds/packages/net/softethervpn5/patches/002-pthread-include-fix.patch using plaintext: patching file src/Mayaqua/Encrypt.h Applying /builder/shared-workdir/build/sdk/feeds/packages/net/softethervpn5/patches/100-increase-cfg-save-intervall.patch using plaintext: patching file src/Cedar/Server.h Applying /builder/shared-workdir/build/sdk/feeds/packages/net/softethervpn5/patches/101-add-config-write-syslog.patch using plaintext: patching file src/Cedar/Server.c Not searching for unused variables given on the command line. -- The C compiler identification is GNU 14.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-14.3.0_musl/bin/aarch64-openwrt-linux-musl-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Looking for sys/auxv.h -- Looking for sys/auxv.h - found -- Build date: 08/11/2025 -- Build time: 13:18:48 -- Found PkgConfig: /builder/shared-workdir/build/sdk/staging_dir/host/bin/pkg-config (found version "2.5.1") -- Checking for one of the modules 'libsodium' -- Looking for cbreak in /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/lib/libncurses.so -- Looking for cbreak in /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/lib/libncurses.so - found -- Looking for nodelay in /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/lib/libncurses.so -- Looking for nodelay in /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/lib/libncurses.so - found -- Found Curses: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/lib/libncurses.so -- Found OpenSSL: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/lib/libcrypto.so (found version "3.5.4") -- Looking for EVP_PKEY_get_raw_public_key -- Looking for EVP_PKEY_get_raw_public_key - found -- Looking for SSL_CTX_set_num_tickets -- Looking for SSL_CTX_set_num_tickets - found -- Checking for one of the modules 'zlib' -- Found ZLIB: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/lib/libz.so (found version "1.3.1") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Configuring done (3.0s) -- Generating done (0.1s) -- Build files have been written to: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184 ninja: Entering directory `/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184' ninja: warning: Ignoring jobserver: Pipe-based protocol is not supported! [--jobserver-auth=3,4] [1/100] Building C object src/libhamcore/CMakeFiles/libhamcore.dir/Memory.c.o [2/100] Building C object src/libhamcore/CMakeFiles/libhamcore.dir/FileSystem.c.o [3/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Microsoft.c.o [4/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Encoding.c.o [5/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Crypto/Key.c.o /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Crypto/Key.c: In function 'CryptoKeyRawNew': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Crypto/Key.c:63:33: warning: passing argument 2 of 'Copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 63 | Copy(key->Data, data, key->Size); | ^~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Crypto/Key.c:4: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/./Memory.h:194:28: note: expected 'void *' but argument is of type 'const void *' 194 | void Copy(void *dst, void *src, UINT size); | ~~~~~~^~~ [6/100] Building C object src/libhamcore/CMakeFiles/libhamcore.dir/Hamcore.c.o [7/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/HTTP.c.o [8/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/OS.c.o [9/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/DNS.c.o /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c: In function 'DnsCacheCompare': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:42:26: warning: passing argument 1 of 'StrCmpi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 42 | return StrCmpi(c1->Hostname, c2->Hostname); | ~~^~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:6: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Str.h:43:19: note: expected 'char *' but argument is of type 'const char *' 43 | int StrCmpi(char *str1, char *str2); | ~~~~~~^~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:42:40: warning: passing argument 2 of 'StrCmpi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 42 | return StrCmpi(c1->Hostname, c2->Hostname); | ~~^~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Str.h:43:31: note: expected 'char *' but argument is of type 'const char *' 43 | int StrCmpi(char *str1, char *str2); | ~~~~~~^~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.h:4, from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:1: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c: In function 'DnsCacheReverseCompare': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.h:99:59: warning: passing argument 1 of 'Cmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | #define CmpIpAddr(ip1, ip2) (Cmp((ip1)->address, (ip2)->address, sizeof((ip1)->address))) | ~~~~~^~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:55:16: note: in expansion of macro 'CmpIpAddr' 55 | return CmpIpAddr(&c1->IP, &c2->IP); | ^~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:3: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.h:196:15: note: expected 'void *' but argument is of type 'const BYTE *' {aka 'const unsigned char *'} 196 | int Cmp(void *p1, void *p2, UINT size); | ~~~~~~^~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.h:99:75: warning: passing argument 2 of 'Cmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | #define CmpIpAddr(ip1, ip2) (Cmp((ip1)->address, (ip2)->address, sizeof((ip1)->address))) | ~~~~~^~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:55:16: note: in expansion of macro 'CmpIpAddr' 55 | return CmpIpAddr(&c1->IP, &c2->IP); | ^~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.h:196:25: note: expected 'void *' but argument is of type 'const BYTE *' {aka 'const unsigned char *'} 196 | int Cmp(void *p1, void *p2, UINT size); | ~~~~~~^~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c: In function 'DnsCacheFind': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:133:56: warning: passing argument 1 of 'IsEmptyStr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | if (DnsCacheIsEnabled() == false || IsEmptyStr(hostname)) | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Str.h:97:23: note: expected 'char *' but argument is of type 'const char *' 97 | bool IsEmptyStr(char *str); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c: In function 'DnsCacheUpdate': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:153:56: warning: passing argument 1 of 'IsEmptyStr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | if (DnsCacheIsEnabled() == false || IsEmptyStr(hostname)) | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Str.h:97:23: note: expected 'char *' but argument is of type 'const char *' 97 | bool IsEmptyStr(char *str); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:164:51: warning: passing argument 2 of 'AddHostIPAddressToList' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 164 | AddHostIPAddressToList(iplist_v6, ipv6); | ^~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.h:1371:42: note: expected 'IP *' but argument is of type 'const IP *' 1371 | void AddHostIPAddressToList(LIST *o, IP *ip); | ~~~~^~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:170:51: warning: passing argument 2 of 'AddHostIPAddressToList' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 170 | AddHostIPAddressToList(iplist_v4, ipv4); | ^~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.h:1371:42: note: expected 'IP *' but argument is of type 'const IP *' 1371 | void AddHostIPAddressToList(LIST *o, IP *ip); | ~~~~^~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c: In function 'DnsCacheUpdateEx': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:182:56: warning: passing argument 1 of 'IsEmptyStr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 182 | if (DnsCacheIsEnabled() == false || IsEmptyStr(hostname)) | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Str.h:97:23: note: expected 'char *' but argument is of type 'const char *' 97 | bool IsEmptyStr(char *str); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:212:59: warning: passing argument 1 of 'CopyStr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 212 | entry->Hostname = CopyStr(hostname); | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Str.h:80:21: note: expected 'char *' but argument is of type 'const char *' 80 | char *CopyStr(char *str); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:224:71: warning: passing argument 1 of 'CloneIPAddressList' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 224 | entry->IPList_v6 = CloneIPAddressList(iplist_v6); | ^~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.h:1368:32: note: expected 'LIST *' but argument is of type 'const LIST *' 1368 | LIST *CloneIPAddressList(LIST *o); | ~~~~~~^ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:233:71: warning: passing argument 1 of 'CloneIPAddressList' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 233 | entry->IPList_v4 = CloneIPAddressList(iplist_v4); | ^~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.h:1368:32: note: expected 'LIST *' but argument is of type 'const LIST *' 1368 | LIST *CloneIPAddressList(LIST *o); | ~~~~~~^ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c: In function 'DnsCacheReverseFind': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:258:29: warning: passing argument 2 of 'Copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 258 | Copy(&t.IP, ip, sizeof(t.IP)); | ^~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.h:194:28: note: expected 'void *' but argument is of type 'const IP *' 194 | void Copy(void *dst, void *src, UINT size); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c: In function 'DnsCacheReverseUpdate': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:268:54: warning: passing argument 1 of 'IsZeroIP' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 268 | if (DnsCacheIsEnabled() == false || IsZeroIP(ip)) | ^~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.h:1230:19: note: expected 'IP *' but argument is of type 'const IP *' 1230 | bool IsZeroIP(IP *ip); | ~~~~^~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:278:29: warning: passing argument 2 of 'Copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 278 | Copy(&t.IP, ip, sizeof(t.IP)); | ^~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.h:194:28: note: expected 'void *' but argument is of type 'const IP *' 194 | void Copy(void *dst, void *src, UINT size); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:281:32: warning: passing argument 1 of 'IsEmptyStr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 281 | if (IsEmptyStr(hostname)) | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Str.h:97:23: note: expected 'char *' but argument is of type 'const char *' 97 | bool IsEmptyStr(char *str); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:295:50: warning: passing argument 2 of 'Copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 295 | Copy(&entry->IP, ip, sizeof(entry->IP)); | ^~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.h:194:28: note: expected 'void *' but argument is of type 'const IP *' 194 | void Copy(void *dst, void *src, UINT size); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:302:53: warning: passing argument 2 of 'StrCmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 302 | if (StrCmp(entry->Hostname, hostname) != 0) | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Str.h:42:30: note: expected 'char *' but argument is of type 'const char *' 42 | int StrCmp(char *str1, char *str2); | ~~~~~~^~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:305:59: warning: passing argument 1 of 'CopyStr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 305 | entry->Hostname = CopyStr(hostname); | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Str.h:80:21: note: expected 'char *' but argument is of type 'const char *' 80 | char *CopyStr(char *str); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c: In function 'DnsResolve': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:316:58: warning: passing argument 1 of 'IsEmptyStr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 316 | if ((ipv6 == NULL && ipv4 == NULL) || IsEmptyStr(hostname)) | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Str.h:97:23: note: expected 'char *' but argument is of type 'const char *' 97 | bool IsEmptyStr(char *str); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c: In function 'DnsResolveEx': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:353:66: warning: passing argument 1 of 'IsEmptyStr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 353 | if (iplist_v6 == NULL || iplist_v4 == NULL || IsEmptyStr(hostname)) | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Str.h:97:23: note: expected 'char *' but argument is of type 'const char *' 97 | bool IsEmptyStr(char *str); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:358:21: warning: passing argument 1 of 'StrCmpi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 358 | if (StrCmpi(hostname, "localhost") == 0) | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Str.h:43:19: note: expected 'char *' but argument is of type 'const char *' 43 | int StrCmpi(char *str1, char *str2); | ~~~~~~^~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:371:26: warning: passing argument 2 of 'StrToIP' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 371 | if (StrToIP(&ip, hostname)) | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.h:1098:28: note: expected 'char *' but argument is of type 'const char *' 1098 | bool StrToIP(IP *ip, char *str); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:414:38: warning: passing argument 1 of 'CopyStr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 414 | resolver->Hostname = CopyStr(hostname); | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Str.h:80:21: note: expected 'char *' but argument is of type 'const char *' 80 | char *CopyStr(char *str); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c: In function 'DnsResolver': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:515:50: warning: passing argument 2 of 'InAddrToIP6' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 515 | InAddrToIP6(&ip, &in->sin6_addr); | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.h:1095:43: note: expected 'struct in6_addr *' but argument is of type 'const struct in6_addr *' 1095 | void InAddrToIP6(IP *ip, struct in6_addr *addr); | ~~~~~~~~~~~~~~~~~^~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:531:49: warning: passing argument 2 of 'InAddrToIP' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 531 | InAddrToIP(&ip, &in->sin_addr); | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.h:1094:41: note: expected 'struct in_addr *' but argument is of type 'const struct in_addr *' 1094 | void InAddrToIP(IP *ip, struct in_addr *addr); | ~~~~~~~~~~~~~~~~^~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c: In function 'DnsResolveReverse': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:556:50: warning: passing argument 1 of 'IsZeroIP' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 556 | if (dst == NULL || size == 0 || IsZeroIP(ip)) | ^~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.h:1230:19: note: expected 'IP *' but argument is of type 'const IP *' 1230 | bool IsZeroIP(IP *ip); | ~~~~^~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:584:29: warning: passing argument 2 of 'Copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 584 | Copy(&resolver->IP, ip, sizeof(resolver->IP)); | ^~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.h:194:28: note: expected 'void *' but argument is of type 'const IP *' 194 | void Copy(void *dst, void *src, UINT size); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c: In function 'GetIPEx': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:680:38: warning: passing argument 1 of 'IsEmptyStr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 680 | if (ip == NULL || IsEmptyStr(hostname)) | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Str.h:97:23: note: expected 'char *' but argument is of type 'const char *' 97 | bool IsEmptyStr(char *str); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c: In function 'ReleaseDnsResolver': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/DNS.c:718:23: warning: passing argument 1 of 'Free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 718 | Free(p->Hostname); | ~^~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.h:184:17: note: expected 'void *' but argument is of type 'const char *' 184 | void Free(void *addr); | ~~~~~~^~~~ [10/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Object.c.o [11/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Mayaqua.c.o [12/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Kernel.c.o [13/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Cfg.c.o [14/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Tick64.c.o [15/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Proxy.c.o [16/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Win32.c.o [17/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/FileIO.c.o [18/100] Linking C static library src/libhamcore/liblibhamcore.a [19/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Tracking.c.o [20/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Secure.c.o /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Secure.c: In function 'WriteSecKey': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Secure.c:456:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 456 | rsa = EVP_PKEY_get0_RSA(k->pkey); | ^~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Secure.c:19: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/evp.h:1405:22: note: declared here 1405 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Secure.c:456:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 456 | rsa = EVP_PKEY_get0_RSA(k->pkey); | ^ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Secure.c:464:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 464 | RSA_get0_key(rsa, &n, &e, &d); | ^~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Secure.c:20: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/rsa.h:228:28: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Secure.c:465:9: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 465 | RSA_get0_factors(rsa, &p, &q); | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Secure.c:466:9: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 466 | RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); | ^~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/rsa.h:236:28: note: declared here 236 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Secure.c: In function 'InitSecureDeviceList': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Secure.c:1885:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1885 | SECURE_DEVICE *dev = &SupportedList[i]; | ^ [21/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Pack.c.o [22/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Internat.c.o [23/100] Building C object src/Cedar/CMakeFiles/cedar.dir/BridgeWin32.c.o [24/100] Building C object src/Cedar/CMakeFiles/cedar.dir/CM.c.o [25/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Table.c.o [26/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Bridge.c.o [27/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Account.c.o [28/100] Building C object src/Cedar/CMakeFiles/cedar.dir/AzureClient.c.o [29/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Unix.c.o /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Unix.c: In function 'UnixThreadId': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Unix.c:1588:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1588 | ret = (UINT)pthread_self(); | ^ [30/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/TcpIp.c.o /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/TcpIp.c: In function 'CorrectChecksum': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/TcpIp.c:1786:51: warning: taking address of packed member of 'struct PKT' may result in an unaligned pointer value [-Waddress-of-packed-member] 1786 | IPV6_HEADER_PACKET_INFO *v6info = &p->IPv6HeaderPacketInfo; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/TcpIp.c: In function 'ParsePacketIPv6': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/TcpIp.c:2641:35: warning: taking address of packed member of 'struct PKT' may result in an unaligned pointer value [-Waddress-of-packed-member] 2641 | if (ParsePacketIPv6Header(&p->IPv6HeaderPacketInfo, buf, size) == false) | ^~~~~~~~~~~~~~~~~~~~~~~~ [31/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Encrypt.c.o /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'Enc_tls1_P_hash': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:118:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 118 | ctx = HMAC_CTX_new(); | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/ssl.h:38, from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:20: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:119:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | ctx_tmp = HMAC_CTX_new(); | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:130:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 130 | HMAC_Init_ex(ctx,sec,sec_len,md, NULL); | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:131:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 131 | HMAC_Init_ex(ctx_tmp,sec,sec_len,md, NULL); | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:132:9: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 132 | HMAC_Update(ctx,seed,seed_len); | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:133:9: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 133 | HMAC_Final(ctx,A1,&A1_len); | ^~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:138:17: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 138 | HMAC_Init_ex(ctx,NULL,0,NULL,NULL); /* re-init */ | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:139:17: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 139 | HMAC_Init_ex(ctx_tmp,NULL,0,NULL,NULL); /* re-init */ | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:140:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 140 | HMAC_Update(ctx,A1,A1_len); | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:141:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_Update(ctx_tmp,A1,A1_len); | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:142:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 142 | HMAC_Update(ctx,seed,seed_len); | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:146:25: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | HMAC_Final(ctx,out,&j); | ^~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:149:25: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 149 | HMAC_Final(ctx_tmp,A1,&A1_len); /* calc the next A1 value */ | ^~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:153:25: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | HMAC_Final(ctx,A1,&A1_len); | ^~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:159:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 159 | HMAC_CTX_free(ctx); | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:160:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 160 | HMAC_CTX_free(ctx_tmp); | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'HashMd4': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:204:9: warning: 'MD4' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 204 | MD4(src, size, dst); | ^~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:30: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/md4.h:53:38: note: declared here 53 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD4(const unsigned char *d, size_t n, | ^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'Md5': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:216:9: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 216 | MD5(src, size, dst); | ^~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:29: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'NewMdEx': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:334:17: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 334 | m->Ctx = HMAC_CTX_new(); | ^ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'SetMdKey': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:366:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 366 | if (HMAC_Init_ex(md->Ctx, key, key_size, md->Md, NULL) == false) | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'MdProcess': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:389:17: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 389 | if (HMAC_Init_ex(md->Ctx, NULL, 0, NULL, NULL) == false) | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:395:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 395 | if (HMAC_Update(md->Ctx, src, size) == false) | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:401:17: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 401 | if (HMAC_Final(md->Ctx, dest, &len) == false) | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'FreeMd': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:437:25: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 437 | HMAC_CTX_free(md->Ctx); | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'RsaPublicToBuf': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:663:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 663 | rsa = EVP_PKEY_get0_RSA(k->pkey); | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/x509.h:29, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/ssl.h:32: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/evp.h:1405:22: note: declared here 1405 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:663:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 663 | rsa = EVP_PKEY_get0_RSA(k->pkey); | ^ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:669:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 669 | RSA_get0_key(rsa, &n, NULL, NULL); | ^~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/x509.h:36: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/rsa.h:228:28: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'RsaVerifyEx': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:2324:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2324 | rsa = EVP_PKEY_get0_RSA(k->pkey); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/evp.h:1405:22: note: declared here 1405 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:2324:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2324 | rsa = EVP_PKEY_get0_RSA(k->pkey); | ^ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:2336:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2336 | rsa_size = RSA_size(rsa); | ^~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:2341:9: warning: 'RSA_public_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2341 | if (RSA_public_decrypt(bits / 8, sign, decrypt_data, rsa, RSA_PKCS1_PADDING) <= 0) | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'RsaSignEx': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:2386:9: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2386 | if (RSA_private_encrypt(sizeof(hash), hash, dst, EVP_PKEY_get0_RSA(k->pkey), RSA_PKCS1_PADDING) <= 0) | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/rsa.h:296:5: note: declared here 296 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:2386:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2386 | if (RSA_private_encrypt(sizeof(hash), hash, dst, EVP_PKEY_get0_RSA(k->pkey), RSA_PKCS1_PADDING) <= 0) | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/evp.h:1405:22: note: declared here 1405 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:2386:58: warning: passing argument 4 of 'RSA_private_encrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2386 | if (RSA_private_encrypt(sizeof(hash), hash, dst, EVP_PKEY_get0_RSA(k->pkey), RSA_PKCS1_PADDING) <= 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/rsa.h:297:30: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 297 | RSA *rsa, int padding); | ~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'RsaCheck': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:2459:17: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2459 | rsa = RSA_new(); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:2460:17: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2460 | ret = RSA_generate_key_ex(rsa, bit, e, NULL); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/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, | ^~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:2474:17: warning: 'i2d_RSAPrivateKey_bio' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2474 | i2d_RSAPrivateKey_bio(bio, rsa); | ^~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/x509.h:635:27: note: declared here 635 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPrivateKey_bio(BIO *bp, const RSA *rsa); | ^~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:2485:17: warning: 'i2d_RSA_PUBKEY_bio' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2485 | i2d_RSA_PUBKEY_bio(bio, rsa); | ^~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/x509.h:639:27: note: declared here 639 | OSSL_DEPRECATEDIN_3_0 int i2d_RSA_PUBKEY_bio(BIO *bp, const RSA *rsa); | ^~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:2492:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2492 | RSA_free(rsa); | ^~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'RsaGen': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:2542:17: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2542 | rsa = RSA_new(); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:2543:17: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2543 | ret = RSA_generate_key_ex(rsa, bit, e, NULL); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/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, | ^~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:2557:17: warning: 'i2d_RSAPrivateKey_bio' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2557 | i2d_RSAPrivateKey_bio(bio, rsa); | ^~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/x509.h:635:27: note: declared here 635 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPrivateKey_bio(BIO *bp, const RSA *rsa); | ^~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:2568:17: warning: 'i2d_RSA_PUBKEY_bio' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2568 | i2d_RSA_PUBKEY_bio(bio, rsa); | ^~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/x509.h:639:27: note: declared here 639 | OSSL_DEPRECATEDIN_3_0 int i2d_RSA_PUBKEY_bio(BIO *bp, const RSA *rsa); | ^~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:2578:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2578 | RSA_free(rsa); | ^~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'OpensslEngineToK': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:3222:5: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3222 | ENGINE *engine = ENGINE_by_id(engine_name); | ^~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:23: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:3223:5: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3223 | ENGINE_init(engine); | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/engine.h:620:27: note: declared here 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:3225:5: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3225 | pkey = ENGINE_load_private_key(engine, key_file_name, NULL, NULL); | ^~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/engine.h:638:11: note: declared here 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, | ^~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'NewCrypt': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:4077:9: warning: 'RC4_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4077 | RC4_set_key(c->Rc4Key, size, (UCHAR *)key); | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:28: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/rc4.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void RC4_set_key(RC4_KEY *key, int len, | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'Encrypt': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:4099:9: warning: 'RC4' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4099 | RC4(c->Rc4Key, size, src, dst); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/rc4.h:37:28: note: declared here 37 | OSSL_DEPRECATEDIN_3_0 void RC4(RC4_KEY *key, size_t len, | ^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'Des3Encrypt2': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:4114:9: warning: 'DES_ede3_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4114 | DES_ede3_cbc_encrypt(src, dest, size, | ^~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:33: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/des.h:142:6: note: declared here 142 | void DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output, | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'DesEncrypt': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:4134:9: warning: 'DES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4134 | DES_cbc_encrypt(src, dest, size, | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/des.h:89:6: note: declared here 89 | void DES_cbc_encrypt(const unsigned char *input, unsigned char *output, | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'Des3Decrypt2': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:4152:9: warning: 'DES_ede3_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4152 | DES_ede3_cbc_encrypt(src, dest, size, | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/des.h:142:6: note: declared here 142 | void DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output, | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'DesEcbEncrypt': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:4186:9: warning: 'DES_set_odd_parity' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4186 | DES_set_odd_parity(&key); | ^~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/des.h:176:28: note: declared here 176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key); | ^~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:4187:9: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4187 | DES_set_key_unchecked(&key, &ks); | ^~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:4189:9: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4189 | DES_ecb_encrypt(src, dst, &ks, 1); | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'DesDecrypt': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:4204:9: warning: 'DES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4204 | DES_cbc_encrypt(src, dest, size, | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/des.h:89:6: note: declared here 89 | void DES_cbc_encrypt(const unsigned char *input, unsigned char *output, | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'DesNewKeyValue': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:4226:9: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4226 | DES_set_key_unchecked(value, v->KeySchedule); | ^~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'AesNewKey': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:4262:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4262 | AES_set_encrypt_key(data, size * 8, k->EncryptKey); | ^~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:34: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:4263:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4263 | AES_set_decrypt_key(data, size * 8, k->DecryptKey); | ^~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'DhCompute': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:4481:9: warning: 'DH_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4481 | i = DH_compute_key(dst_priv_key, bn, dh->dh); | ^ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/dsa.h:31, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/x509.h:37: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/dh.h:235:27: note: declared here 235 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'DhNew': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:4586:9: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4586 | dh->dh = DH_new(); | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/dh.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:4591:9: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4591 | DH_set0_pqg(dh->dh, dhp, NULL, dhg); | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/dh.h:266:27: note: declared here 266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:4598:9: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4598 | DH_generate_key(dh->dh); | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/dh.h:234:27: note: declared here 234 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:4601:9: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4601 | DH_get0_key(dh->dh, &pub, &priv); | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/dh.h:267:28: note: declared here 267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'DhFree': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:4625:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4625 | DH_free(dh->dh); | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c: In function 'Internal_HMac': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Encrypt.c:4652:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4652 | m->Ctx = HMAC_CTX_new(); | ^ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ [32/100] Building C object src/Cedar/CMakeFiles/cedar.dir/EM.c.o [33/100] Building C object src/Cedar/CMakeFiles/cedar.dir/BridgeUnix.c.o [34/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Cedar.c.o [35/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Str.c.o [36/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Memory.c.o /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c: In function 'InitCanaryRand': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:100:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] 100 | "%u " | ^~~~~ ...... 115 | (UINT64)InitCanaryRand, | ~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:101:37: note: format string is defined here 101 | "%llu " | ~~~^ | | | long long unsigned int | %lu /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:100:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] 100 | "%u " | ^~~~~ ...... 116 | (UINT64)&canary_inited, | ~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:102:37: note: format string is defined here 102 | "%llu " | ~~~^ | | | long long unsigned int | %lu /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:100:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] 100 | "%u " | ^~~~~ ...... 117 | (UINT64) & ((canary_rand_data[0].Data)[0]), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:103:37: note: format string is defined here 103 | "%llu " | ~~~^ | | | long long unsigned int | %lu /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:100:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=] 100 | "%u " | ^~~~~ ...... 118 | (UINT64)&random_seed[0], | ~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:104:37: note: format string is defined here 104 | "%llu " | ~~~^ | | | long long unsigned int | %lu /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:100:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'UINT64' {aka 'long unsigned int'} [-Wformat=] 100 | "%u " | ^~~~~ ...... 119 | tick1, | ~~~~~ | | | UINT64 {aka long unsigned int} /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:105:37: note: format string is defined here 105 | "%llu " | ~~~^ | | | long long unsigned int | %lu /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:100:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'UINT64' {aka 'long unsigned int'} [-Wformat=] 100 | "%u " | ^~~~~ ...... 120 | tick2, | ~~~~~ | | | UINT64 {aka long unsigned int} /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:106:37: note: format string is defined here 106 | "%llu " | ~~~^ | | | long long unsigned int | %lu /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:100:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 10 has type 'UINT64' {aka 'long unsigned int'} [-Wformat=] 100 | "%u " | ^~~~~ ...... 121 | dos_rand, | ~~~~~~~~ | | | UINT64 {aka long unsigned int} /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:107:37: note: format string is defined here 107 | "%llu " | ~~~^ | | | long long unsigned int | %lu /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:100:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 11 has type 'long unsigned int' [-Wformat=] 100 | "%u " | ^~~~~ ...... 122 | (UINT64)p1, | ~~~~~~~~~~ | | | long unsigned int /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:108:37: note: format string is defined here 108 | "%llu " | ~~~^ | | | long long unsigned int | %lu /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:100:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 12 has type 'long unsigned int' [-Wformat=] 100 | "%u " | ^~~~~ ...... 123 | (UINT64)p2, | ~~~~~~~~~~ | | | long unsigned int /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:109:37: note: format string is defined here 109 | "%llu " | ~~~^ | | | long long unsigned int | %lu /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:100:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 13 has type 'UINT64' {aka 'long unsigned int'} [-Wformat=] 100 | "%u " | ^~~~~ ...... 124 | t1, | ~~ | | | UINT64 {aka long unsigned int} /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:110:37: note: format string is defined here 110 | "%llu " | ~~~^ | | | long long unsigned int | %lu /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:100:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 14 has type 'UINT64' {aka 'long unsigned int'} [-Wformat=] 100 | "%u " | ^~~~~ ...... 125 | t2, | ~~ | | | UINT64 {aka long unsigned int} /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:111:37: note: format string is defined here 111 | "%llu " | ~~~^ | | | long long unsigned int | %lu /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c: In function 'CrashNow': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Memory.c:647:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 647 | UCHAR *c = (UCHAR *)r; | ^ [37/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Database.c.o [38/100] Building C object src/Cedar/CMakeFiles/cedar.dir/DDNS.c.o [39/100] Building C object src/Cedar/CMakeFiles/cedar.dir/NM.c.o [40/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Link.c.o [41/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Console.c.o [42/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Listener.c.o [43/100] Building C object src/Cedar/CMakeFiles/cedar.dir/EtherLog.c.o [44/100] Building C object src/Cedar/CMakeFiles/cedar.dir/NullLan.c.o [45/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Layer3.c.o [46/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto_EtherIP.c.o [47/100] Building C object src/Cedar/CMakeFiles/cedar.dir/NativeStack.c.o [48/100] Building C object src/Cedar/CMakeFiles/cedar.dir/IPC.c.o [49/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto.c.o /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.c: In function 'ProtoLog': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.c:32:43: warning: passing argument 1 of 'CopyStrToUni' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 32 | proto_name = CopyStrToUni(session->Impl->Name()); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.c:10: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Internat.h:73:29: note: expected 'char *' but argument is of type 'const char *' 73 | wchar_t *CopyStrToUni(char *str); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.c: In function 'ProtoContainerCompare': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.c:84:35: warning: passing argument 1 of 'StrCmpi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | return StrCmpi(container_1->Name, container_2->Name); | ~~~~~~~~~~~^~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.c:14: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Str.h:43:19: note: expected 'char *' but argument is of type 'const char *' 43 | int StrCmpi(char *str1, char *str2); | ~~~~~~^~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.c:84:54: warning: passing argument 2 of 'StrCmpi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | return StrCmpi(container_1->Name, container_2->Name); | ~~~~~~~~~~~^~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Str.h:43:31: note: expected 'char *' but argument is of type 'const char *' 43 | int StrCmpi(char *str1, char *str2); | ~~~~~~^~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.c: In function 'ProtoSessionNew': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.c:396:33: warning: passing argument 2 of 'CopyIP' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 396 | CopyIP(&session->SrcIp, src_ip); | ^~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.h:7, from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.c:1: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Network.h:1273:26: note: expected 'IP *' but argument is of type 'const IP *' 1273 | void CopyIP(IP *dst, IP *src); | ~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.c:398:33: warning: passing argument 2 of 'CopyIP' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 398 | CopyIP(&session->DstIp, dst_ip); | ^~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Network.h:1273:26: note: expected 'IP *' but argument is of type 'const IP *' 1273 | void CopyIP(IP *dst, IP *src); | ~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.c: In function 'ProtoSetListenIP': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.c:447:45: warning: passing argument 2 of 'Copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 447 | Copy(&proto->UdpListener->ListenIP, ip, sizeof(proto->UdpListener->ListenIP)); | ^~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.c:12: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Memory.h:194:28: note: expected 'void *' but argument is of type 'const IP *' 194 | void Copy(void *dst, void *src, UINT size); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.c: In function 'ProtoHandleConnection': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.c:502:47: warning: passing argument 1 of 'StrCmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 502 | if (StrCmp(tmp->Name, protocol) == 0) | ~~~^~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Str.h:42:18: note: expected 'char *' but argument is of type 'const char *' 42 | int StrCmp(char *str1, char *str2); | ~~~~~~^~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.c:502:55: warning: passing argument 2 of 'StrCmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 502 | if (StrCmp(tmp->Name, protocol) == 0) | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Str.h:42:30: note: expected 'char *' but argument is of type 'const char *' 42 | int StrCmp(char *str1, char *str2); | ~~~~~~^~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.c:547:52: warning: passing argument 1 of 'CopyStrToUni' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 547 | proto_name = CopyStrToUni(container->Name); | ~~~~~~~~~^~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Internat.h:73:29: note: expected 'char *' but argument is of type 'const char *' 73 | wchar_t *CopyStrToUni(char *str); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.c:640:52: warning: passing argument 1 of 'CopyStrToUni' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 640 | wchar_t *proto_name = CopyStrToUni(impl->Name()); | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Internat.h:73:29: note: expected 'char *' but argument is of type 'const char *' 73 | wchar_t *CopyStrToUni(char *str); | ~~~~~~^~~ [50/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Connection.c.o /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Connection.c: In function 'SendKeepAlive': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Connection.c:949:28: warning: passing argument 2 of 'Copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 949 | Copy(seek, &port, sizeof(port)); | ^~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Connection.c:27: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Memory.h:194:28: note: expected 'void *' but argument is of type 'const USHORT *' {aka 'const short unsigned int *'} 194 | void Copy(void *dst, void *src, UINT size); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Connection.c: In function 'ConnectionReceive': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Connection.c:2232:73: warning: passing argument 1 of 'Cmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2232 | if (Cmp(keep_alive_buffer, UDP_NAT_T_PORT_SIGNATURE_IN_KEEP_ALIVE, nat_t_port_sig_size) == 0) | ^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Memory.h:196:15: note: expected 'void *' but argument is of type 'const UCHAR *' {aka 'const unsigned char *'} 196 | int Cmp(void *p1, void *p2, UINT size); | ~~~~~~^~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Connection.c:2253:73: warning: passing argument 1 of 'Cmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2253 | if (Cmp(keep_alive_buffer, UDP_NAT_T_IP_SIGNATURE_IN_KEEP_ALIVE, nat_t_ip_sig_size) == 0) | ^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Memory.h:196:15: note: expected 'void *' but argument is of type 'const UCHAR *' {aka 'const unsigned char *'} 196 | int Cmp(void *p1, void *p2, UINT size); | ~~~~~~^~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Connection.c:2258:85: warning: passing argument 2 of 'SetIP6' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2258 | SetIP6(&ip, keep_alive_buffer); | ^~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Cedar.h:14, from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Connection.h:11, from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Connection.c:8: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Network.h:1277:28: note: expected 'UCHAR *' {aka 'unsigned char *'} but argument is of type 'const UCHAR *' {aka 'const unsigned char *'} 1277 | void SetIP6(IP *ip, UCHAR *value); | ~~~~~~~^~~~~ [51/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Nat.c.o [52/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto_IPsec.c.o [53/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto_Win7.c.o [54/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Logging.c.o /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Logging.c: In function 'PacketLogParseProc': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Logging.c:1598:60: warning: taking address of packed member of 'struct PKT' may result in an unaligned pointer value [-Waddress-of-packed-member] 1598 | ICMPV6_HEADER_INFO *icmp = &p->ICMPv6HeaderPacketInfo; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Logging.c:1663:91: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 498 [-Wformat-truncation=] 1663 | snprintf(tmp, sizeof(tmp), "TargetAddress=%s ", | ^~ 1664 | tmp2); | ~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Logging.c:1663:49: note: 'snprintf' output between 16 and 527 bytes into a destination of size 512 1663 | snprintf(tmp, sizeof(tmp), "TargetAddress=%s ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1664 | tmp2); | ~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Logging.c:1682:91: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 498 [-Wformat-truncation=] 1682 | snprintf(tmp, sizeof(tmp), "TargetAddress=%s Flags=0x%02X ", | ^~ 1683 | tmp2, h->Flags); | ~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Logging.c:1682:76: note: directive argument in the range [0, 255] 1682 | snprintf(tmp, sizeof(tmp), "TargetAddress=%s Flags=0x%02X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Logging.c:1682:49: note: 'snprintf' output between 27 and 538 bytes into a destination of size 512 1682 | snprintf(tmp, sizeof(tmp), "TargetAddress=%s Flags=0x%02X ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1683 | tmp2, h->Flags); | ~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Logging.c:1702:85: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 496 [-Wformat-truncation=] 1702 | snprintf(tmp, sizeof(tmp), "SourceLinkLayer=%s ", tmp2); | ^~ ~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Logging.c:1702:41: note: 'snprintf' output between 18 and 529 bytes into a destination of size 512 1702 | snprintf(tmp, sizeof(tmp), "SourceLinkLayer=%s ", tmp2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Logging.c:1709:85: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 496 [-Wformat-truncation=] 1709 | snprintf(tmp, sizeof(tmp), "TargetLinkLayer=%s ", tmp2); | ^~ ~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Logging.c:1709:41: note: 'snprintf' output between 18 and 529 bytes into a destination of size 512 1709 | snprintf(tmp, sizeof(tmp), "TargetLinkLayer=%s ", tmp2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Logging.c:1718:84: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 505 [-Wformat-truncation=] 1718 | snprintf(tmp, sizeof(tmp), "Prefix=%s/%u PrefixFlag=0x%02X ", tmp2, | ^~ ~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Logging.c:1718:76: note: directive argument in the range [0, 255] 1718 | snprintf(tmp, sizeof(tmp), "Prefix=%s/%u PrefixFlag=0x%02X ", tmp2, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Logging.c:1718:76: note: directive argument in the range [0, 255] /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Logging.c:1718:49: note: 'snprintf' output between 27 and 540 bytes into a destination of size 512 1718 | snprintf(tmp, sizeof(tmp), "Prefix=%s/%u PrefixFlag=0x%02X ", tmp2, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1719 | ol->Prefix[i]->SubnetLength, ol->Prefix[i]->Flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [55/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto_SSTP.c.o /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_SSTP.c: In function 'NewSstpServer': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_SSTP.c:1019:62: warning: passing argument 3 of 'StrCpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1019 | StrCpy(s->ClientHostName, sizeof(s->ClientHostName), hostname); | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_SSTP.c:17: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Str.h:34:41: note: expected 'char *' but argument is of type 'const char *' 34 | UINT StrCpy(char *dst, UINT size, char *src); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_SSTP.c:1020:66: warning: passing argument 3 of 'StrCpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1020 | StrCpy(s->ClientCipherName, sizeof(s->ClientCipherName), cipher); | ^~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Str.h:34:41: note: expected 'char *' but argument is of type 'const char *' 34 | UINT StrCpy(char *dst, UINT size, char *src); | ~~~~~~^~~ [56/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto_WireGuard.c.o /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c: In function 'WgsOptionStringValue': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c:56:20: warning: passing argument 1 of 'StrCmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | if (StrCmp(name, "PresharedKey") == 0 || StrCmp(name, "PrivateKey") == 0) | ^~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c:9: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Str.h:42:18: note: expected 'char *' but argument is of type 'const char *' 42 | int StrCmp(char *str1, char *str2); | ~~~~~~^~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c:56:57: warning: passing argument 1 of 'StrCmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | if (StrCmp(name, "PresharedKey") == 0 || StrCmp(name, "PrivateKey") == 0) | ^~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Str.h:42:18: note: expected 'char *' but argument is of type 'const char *' 42 | int StrCmp(char *str1, char *str2); | ~~~~~~^~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c: In function 'WgsProcessDatagrams': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c:248:49: warning: passing argument 2 of 'Copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 248 | Copy(&session->IPLocal, &packet->DstIP, sizeof(session->IPLocal)); | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c:8: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Memory.h:194:28: note: expected 'void *' but argument is of type 'const IP *' 194 | void Copy(void *dst, void *src, UINT size); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c:249:50: warning: passing argument 2 of 'Copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | Copy(&session->IPRemote, &packet->SrcIP, sizeof(session->IPRemote)); | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Memory.h:194:28: note: expected 'void *' but argument is of type 'const IP *' 194 | void Copy(void *dst, void *src, UINT size); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c: In function 'WgsDetectMessageType': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c:412:34: warning: passing argument 1 of 'IsZero' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 412 | if (IsZero(packet->Header.Reserved, sizeof(packet->Header.Reserved)) == false) | ~~~~~~~~~~~~~~^~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Memory.h:355:19: note: expected 'void *' but argument is of type 'const BYTE *' {aka 'const unsigned char *'} 355 | bool IsZero(void *data, UINT size); | ~~~~~~^~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c: In function 'WgsMSS': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c:435:19: warning: passing argument 1 of 'IsIP4' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 435 | if (IsIP4(&session->IPRemote)) | ^~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto.h:7, from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.h:4, from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c:1: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Network.h:1274:16: note: expected 'IP *' but argument is of type 'const IP *' 1274 | bool IsIP4(IP *ip); | ~~~~^~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c: In function 'WgsIPCNew': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c:475:60: warning: passing argument 3 of 'StrCpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 475 | StrCpy(param.ClientName, sizeof(param.ClientName), WgsName()); | ^~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Str.h:34:41: note: expected 'char *' but argument is of type 'const char *' 34 | UINT StrCpy(char *dst, UINT size, char *src); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c: In function 'WgsCreateTransportData': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c:834:39: warning: passing argument 2 of 'Copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 834 | Copy(ret->EncapsulatedPacket, data, size); | ^~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Memory.h:194:28: note: expected 'void *' but argument is of type 'const void *' 194 | void Copy(void *dst, void *src, UINT size); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c: In function 'WgsEncryptData': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c:939:49: warning: passing argument 2 of 'Copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 939 | Copy(iv + sizeof(iv) - sizeof(counter), &counter, sizeof(counter)); | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Memory.h:194:28: note: expected 'void *' but argument is of type 'const UINT64 *' {aka 'const long unsigned int *'} 194 | void Copy(void *dst, void *src, UINT size); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c: In function 'WgsDecryptData': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c:957:49: warning: passing argument 2 of 'Copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 957 | Copy(iv + sizeof(iv) - sizeof(counter), &counter, sizeof(counter)); | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Memory.h:194:28: note: expected 'void *' but argument is of type 'const UINT64 *' {aka 'const long unsigned int *'} 194 | void Copy(void *dst, void *src, UINT size); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c: In function 'WgsEphemeral': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c:1010:29: warning: passing argument 2 of 'Copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1010 | Copy(ephemeral_dst, ephemeral_src, WG_KEY_SIZE); | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Memory.h:194:28: note: expected 'void *' but argument is of type 'const BYTE *' {aka 'const unsigned char *'} 194 | void Copy(void *dst, void *src, UINT size); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c: In function 'WgsHKDF': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c:1021:22: warning: passing argument 2 of 'SetMdKey' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1021 | SetMdKey(md, chaining_key, WG_HASH_SIZE); | ^~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Network.h:11: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Encrypt.h:442:29: note: expected 'void *' but argument is of type 'const BYTE *' {aka 'const unsigned char *'} 442 | bool SetMdKey(MD *md, void *key, UINT key_size); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_WireGuard.c:1024:31: warning: passing argument 3 of 'MdProcess' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1024 | MdProcess(md, secret, data, data_size); | ^~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Encrypt.h:443:42: note: expected 'void *' but argument is of type 'const BYTE *' {aka 'const unsigned char *'} 443 | UINT MdProcess(MD *md, void *dest, void *src, UINT size); | ~~~~~~^~~ [57/100] Building C object src/Cedar/CMakeFiles/cedar.dir/SM.c.o [58/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto_IkePacket.c.o [59/100] Building C object src/Cedar/CMakeFiles/cedar.dir/SW.c.o [60/100] Building C object src/Cedar/CMakeFiles/cedar.dir/SeLowUser.c.o [61/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto_L2TP.c.o [62/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Client.c.o [63/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Remote.c.o [64/100] Building C object src/Cedar/CMakeFiles/cedar.dir/UT.c.o [65/100] Building C object src/Cedar/CMakeFiles/cedar.dir/SecureNAT.c.o [66/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto_OpenVPN.c.o /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_OpenVPN.c: In function 'OvsIsPacketForMe': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_OpenVPN.c:107:57: warning: passing argument 1 of 'OvsParsePacket' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | OPENVPN_PACKET *packet = OvsParsePacket(data, size); | ^~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_OpenVPN.c:8: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Proto_OpenVPN.h:235:39: note: expected 'UCHAR *' {aka 'unsigned char *'} but argument is of type 'const void *' 235 | OPENVPN_PACKET *OvsParsePacket(UCHAR *data, UINT size); | ~~~~~~~^~~~ [67/100] Building C object src/Cedar/CMakeFiles/cedar.dir/VLanWin32.c.o [68/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Hub.c.o [69/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Sam.c.o [70/100] Building C object src/Cedar/CMakeFiles/cedar.dir/VLanUnix.c.o [71/100] Building C object src/Cedar/CMakeFiles/cedar.dir/WaterMark.c.o [72/100] Building C object src/Cedar/CMakeFiles/cedar.dir/UdpAccel.c.o [73/100] Building C object src/Cedar/CMakeFiles/cedar.dir/WinUi.c.o [74/100] Building C object src/hamcorebuilder/CMakeFiles/hamcorebuilder.dir/main.c.o [75/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Radius.c.o [76/100] Building C object src/vpnserver/CMakeFiles/vpnserver.dir/vpnserver.c.o [77/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto_IKE.c.o [78/100] Building C object src/hamcorebuilder/CMakeFiles/hamcorebuilder.dir/FileSystem.c.o [79/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto_PPP.c.o [80/100] Linking C executable src/hamcorebuilder/hamcorebuilder [81/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Session.c.o [82/100] Building hamcore.se2 archive file... FAILED: [code=127] hamcore.se2 /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/hamcore.se2 cd /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184 && hamcorebuilder hamcore.se2 /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/bin/hamcore /bin/sh: 1: hamcorebuilder: not found [83/100] Building C object src/vpnclient/CMakeFiles/vpnclient.dir/vpncsvc.c.o [84/100] Building C object src/Cedar/CMakeFiles/cedar.dir/__/__/3rdparty/BLAKE2/ref/blake2s-ref.c.o [85/100] Building C object src/vpncmd/CMakeFiles/vpncmd.dir/vpncmd.c.o [86/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Wpc.c.o /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Wpc.c: In function 'DecodeSafe64': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Wpc.c:1297:31: warning: passing argument 1 of 'StrLen' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1297 | size = StrLen(src); | ^~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Wpc.c:19: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Str.h:31:19: note: expected 'char *' but argument is of type 'const char *' 31 | UINT StrLen(char *str); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Wpc.c:1301:19: warning: passing argument 2 of 'Copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1301 | Copy(tmp, src, size); | ^~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Wpc.c:15: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Memory.h:194:28: note: expected 'void *' but argument is of type 'const char *' 194 | void Copy(void *dst, void *src, UINT size); | ~~~~~~^~~ [87/100] Building C object src/vpnbridge/CMakeFiles/vpnbridge.dir/vpnbridge.c.o [88/100] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Network.c.o /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.c: In function 'NewCancelSpecial': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.c:10216:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 10216 | c->pipe_read = (int)hEvent; | ^ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.c: In function 'keylog_cb_func': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.c:16137:15: warning: passing argument 1 of 'Debug' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 16137 | Debug(line); | ^~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.c:19: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Str.h:49:18: note: expected 'char *' but argument is of type 'const char *' 49 | void Debug(char *fmt, ...); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.c: In function 'NewSSLCtx': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.c:16152:17: warning: 'SSL_CTX_set_ssl_version' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16152 | SSL_CTX_set_ssl_version(ctx, SSLv23_server_method()); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.h:14, from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.c:8: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/ssl.h:2043:12: note: declared here 2043 | __owur int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth); | ^~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.c:16156:17: warning: 'SSL_CTX_set_ssl_version' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16156 | SSL_CTX_set_ssl_version(ctx, SSLv23_client_method()); | ^~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/ssl.h:2043:12: note: declared here 2043 | __owur int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth); | ^~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.c:16174:9: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16174 | SSL_CTX_set_tmp_dh_callback(ctx, TmpDhCallback); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/ssl.h:2277:6: note: declared here 2277 | void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.c: In function 'GetOSSecurityLevel': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Mayaqua/Network.c:16207:9: warning: 'SSL_CTX_set_ssl_version' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16207 | security_level_set_ssl_version = SSL_CTX_set_ssl_version(ctx, SSLv23_server_method()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/openssl/ssl.h:2043:12: note: declared here 2043 | __owur int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth); | ^~~~~~~~~~~~~~~~~~~~~~~ [89/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Protocol.c.o /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Protocol.c: In function 'ServerAccept': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Protocol.c:1612:84: warning: passing argument 1 of 'IsEmptyStr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1612 | if (c->FirstSock != NULL && IsEmptyStr(c->FirstSock->SslVersion) == false) | ~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Protocol.c:42: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Str.h:97:23: note: expected 'char *' but argument is of type 'const char *' 97 | bool IsEmptyStr(char *str); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Protocol.c:1614:77: warning: passing argument 1 of 'CopyStr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1614 | c->SslVersion = CopyStr(c->FirstSock->SslVersion); | ~~~~~~~~~~~~^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Str.h:80:21: note: expected 'char *' but argument is of type 'const char *' 80 | char *CopyStr(char *str); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Protocol.c:2116:72: warning: passing argument 1 of 'IsLocalHostIP' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2116 | if (s != NULL && IsLocalHostIP(&s->RemoteIP) == false) | ^~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Cedar.h:14, from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Connection.h:11, from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Protocol.h:11, from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Protocol.c:8: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Network.h:1282:24: note: expected 'IP *' but argument is of type 'const IP *' 1282 | bool IsLocalHostIP(IP *ip); | ~~~~^~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Protocol.c: In function 'ClientConnect': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Protocol.c:4980:53: warning: passing argument 1 of 'CopyStr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4980 | c->SslVersion = CopyStr(c->FirstSock->SslVersion); | ~~~~~~~~~~~~^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Str.h:80:21: note: expected 'char *' but argument is of type 'const char *' 80 | char *CopyStr(char *str); | ~~~~~~^~~ [90/100] Building C object src/Cedar/CMakeFiles/cedar.dir/WebUI.c.o [91/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Virtual.c.o [92/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Server.c.o /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Server.c: In function 'SiLoadConfigurationCfg': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Server.c:2793:70: warning: passing argument 2 of 'CfgGetFolder' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2793 | FOLDER *f = CfgGetFolder(f9, name); | ^~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Server.c:28: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Cfg.h:100:44: note: expected 'char *' but argument is of type 'const char *' 100 | FOLDER *CfgGetFolder(FOLDER *parent, char *name); | ~~~~~~^~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Server.c:2797:84: warning: passing argument 3 of 'StrCpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2797 | StrCpy(wgk->Key, sizeof(wgk->Key), name); | ^~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Server.c:37: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Str.h:34:41: note: expected 'char *' but argument is of type 'const char *' 34 | UINT StrCpy(char *dst, UINT size, char *src); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Server.c: In function 'SiLoadProtoCfg': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Server.c:6387:55: warning: passing argument 2 of 'CfgGetFolder' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 6387 | FOLDER *ff = CfgGetFolder(f, container->Name); | ~~~~~~~~~^~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Cfg.h:100:44: note: expected 'char *' but argument is of type 'const char *' 100 | FOLDER *CfgGetFolder(FOLDER *parent, char *name); | ~~~~~~^~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Server.c: In function 'SiWriteProtoCfg': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Server.c:6449:58: warning: passing argument 2 of 'CfgCreateFolder' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 6449 | FOLDER *ff = CfgCreateFolder(f, container->Name); | ~~~~~~~~~^~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Cfg.h:86:47: note: expected 'char *' but argument is of type 'const char *' 86 | FOLDER *CfgCreateFolder(FOLDER *parent, char *name); | ~~~~~~^~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Server.c: In function 'SiCalledDeleteIpTable': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Server.c:7759:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 7759 | if (IsInList(h->IpTable, (void *)key)) | ^ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Server.c:7761:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 7761 | IP_TABLE_ENTRY *e = (IP_TABLE_ENTRY *)key; | ^ [93/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Admin.c.o [94/100] Building C object src/Cedar/CMakeFiles/cedar.dir/Command.c.o /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c: In function 'CheckThread1': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c:318:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 318 | InputToNull((void *)check_thread_global_1); | ^ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c: In function 'CheckMemory': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c:608:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 608 | InputToNull((void *)(UINT)(((UCHAR *)pp[i])[j] = j % 256)); | ^ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c: In function 'PtGetPublicX25519': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c:2733:54: warning: passing argument 4 of 'ParseCommandList' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2733 | LIST *o = ParseCommandList(c, cmd_name, str, args, sizeof(args) / sizeof(args[0])); | ^~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c:13: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Console.h:110:76: note: expected 'PARAM *' but argument is of type 'const PARAM *' 110 | LIST *ParseCommandList(CONSOLE *c, char *cmd_name, wchar_t *command, PARAM param[], UINT num_param); | ~~~~~~^~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c: In function 'StrToPortList': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c:7969:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 7969 | if (IsInList(o, (void *)n)) | ^ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c:7975:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 7975 | Add(o, (void *)n); | ^ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c: In function 'PsClusterSettingMember': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c:8052:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 8052 | t.Ports[i] = (UINT)LIST_DATA(ports, i); | ^ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c: In function 'CmdEvalHostAndPort': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c:8124:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 8124 | ret = ParseHostPort(tmp, NULL, NULL, (UINT)param); | ^ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c: In function 'PsWgkEnum': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c:10829:47: warning: passing argument 1 of 'CopyStrToUni' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10829 | key = CopyStrToUni(wgk->Key); | ~~~^~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c:27: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Internat.h:73:29: note: expected 'char *' but argument is of type 'const char *' 73 | wchar_t *CopyStrToUni(char *str); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c:10830:47: warning: passing argument 1 of 'CopyStrToUni' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10830 | hub = CopyStrToUni(wgk->Hub); | ~~~^~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Internat.h:73:29: note: expected 'char *' but argument is of type 'const char *' 73 | wchar_t *CopyStrToUni(char *str); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c:10831:48: warning: passing argument 1 of 'CopyStrToUni' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10831 | user = CopyStrToUni(wgk->User); | ~~~^~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/./Mayaqua/Internat.h:73:29: note: expected 'char *' but argument is of type 'const char *' 73 | wchar_t *CopyStrToUni(char *str); | ~~~~~~^~~ /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c: In function 'PsPortsUDPSet': /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/src/Cedar/Command.c:23060:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 23060 | t.Ports[i] = (UINT)LIST_DATA(ports, i); | ^ ninja: build stopped: subcommand failed. make[3]: *** [Makefile:178: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/SoftEtherVPN-5.02.5184/.built] Error 127 time: package/feeds/packages/softethervpn5/compile#151.90#9.23#31.41