Build started at 2025-10-13T01:46:02.310756 Main binary: /usr/bin/python3 Build Options: -Ddefault_library=static -Db_lto=true -Dcompressed-help=false -Ddocs=disabled -Dhelp=enabled -Dlua_version=5.1 -Durl_backend=wget -Dzstd=false -Dpython=disabled -Dtests=disabled -Dcrypto_backend=openssl --native-file=/var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-native.txt Python system: Linux The Meson build system Version: 1.3.2 Source dir: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007 Build dir: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build Build type: native build Running command: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/./get-version.sh --- stdout --- 3.0.0_pre20251007 --- stderr --- Project name: apk-tools Project version: 3.0.0_pre20251007 ----------- Detecting compiler via: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc --version` -> 0 stdout: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ----------- Running command: /var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -E -dM - ----- ----------- Detecting linker via: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -Wl,--version` -> 0 stdout: GNU ld (GNU Binutils for Ubuntu) 2.42 Copyright (C) 2024 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. ----------- stderr: collect2 version 13.3.0 /var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/ld -plugin /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/var/www/html/openwrt-packages/openwrt/tmp/cca4YEMb.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. --version -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o ----------- Sanity testing C compiler: /var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc Is cross compiler: False. Sanity check compiler command line: /var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc sanitycheckc.c -o sanitycheckc.exe -O2 -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include -D_FILE_OFFSET_BITS=64 Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/sanitycheckc.exe C compiler for the host machine: /var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc (gcc 13.3.0 "gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0") C linker for the host machine: /var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc ld.bfd 2.42 ----------- Detecting archiver via: `gcc-ar --version` -> 0 stdout: GNU ar (GNU Binutils for Ubuntu) 2.42 Copyright (C) 2024 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. ----------- ----------- Detecting compiler via: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc --version` -> 0 stdout: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ----------- Running command: /var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -E -dM - ----- ----------- Detecting linker via: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -Wl,--version` -> 0 stdout: GNU ld (GNU Binutils for Ubuntu) 2.42 Copyright (C) 2024 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. ----------- stderr: collect2 version 13.3.0 /var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/ld -plugin /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/var/www/html/openwrt-packages/openwrt/tmp/ccPSuIe4.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. --version -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o ----------- Sanity testing C compiler: /var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc Is cross compiler: False. Sanity check compiler command line: /var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc sanitycheckc.c -o sanitycheckc.exe -D_FILE_OFFSET_BITS=64 Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/sanitycheckc.exe C compiler for the build machine: /var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc (gcc 13.3.0 "gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0") C linker for the build machine: /var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc ld.bfd 2.42 ----------- Detecting archiver via: `gcc-ar --version` -> 0 stdout: GNU ar (GNU Binutils for Ubuntu) 2.42 Copyright (C) 2024 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. ----------- Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: x86_64 Host machine cpu: x86_64 Target machine cpu family: x86_64 Target machine cpu: x86_64 Running command: /usr/bin/cat VERSION --- stdout --- 3.0.0_rc6 --- stderr --- Program lua5.1 found: YES (/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/bin/lua5.1) Pkg-config binary for host machine specified from cross file, native file, or env var as ['/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/pkg-config'] WARNING: We thought we found pkg-config '/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/pkg-config' but now it's not there. How odd! Found pkg-config: NO Pkg-config for machine host machine not found. Giving up. CMake binary for host machine is not cached CMake binary for host machine specified from cross file, native file, or env var as ['/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/cmake'] WARNING: We thought we found CMake '/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/cmake' but now it's not there. How odd! Found CMake: NO CMake binary for machine host machine not found. Giving up. Run-time dependency lua5.1 found: NO (tried pkgconfig and cmake) Dependency python3 skipped: feature python disabled Dependency scdoc skipped: feature docs disabled Dependency lookup for zlib with method 'pkgconfig' failed: Pkg-config for machine host machine not found. Giving up. CMake binary for host machine is cached as not found Dependency lookup for zlib with method 'cmake' failed: CMake binary for machine host machine not found. Giving up. Running compile: Working directory: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpnvxurtxy Code: int main(void) { return 0; } ----------- Command line: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpnvxurtxy/testfile.c -o /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpnvxurtxy/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -Wl,--start-group -lz -Wl,--end-group -Wl,--allow-shlib-undefined` -> 0 Running compile: Working directory: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpkr3cuk96 Code: #ifdef __has_include #if !__has_include("zlib.h") #error "Header 'zlib.h' could not be found" #endif #else #include #endif ----------- Command line: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpkr3cuk96/testfile.c -E -P -O2 -D_FILE_OFFSET_BITS=64 -P -O0` -> 0 Running compile: Working directory: /var/www/html/openwrt-packages/openwrt/tmp/tmpevb4grp2 Code: #include #ifndef ZLIB_VERSION # define ZLIB_VERSION "MESON_GET_DEFINE_UNDEFINED_SENTINEL" #endif "MESON_GET_DEFINE_DELIMITER_START" ZLIB_VERSION "MESON_GET_DEFINE_DELIMITER_END" ----------- Command line: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/tmp/tmpevb4grp2/testfile.c -E -P -O2 -D_FILE_OFFSET_BITS=64 -P -O0` -> 0 stdout: typedef long int ptrdiff_t; typedef long unsigned int size_t; typedef int wchar_t; typedef struct { long long __max_align_ll __attribute__((__aligned__(__alignof__(long long)))); long double __max_align_ld __attribute__((__aligned__(__alignof__(long double)))); } max_align_t; typedef size_t z_size_t; typedef unsigned char Byte; typedef unsigned int uInt; typedef unsigned long uLong; typedef Byte Bytef; typedef char charf; typedef int intf; typedef uInt uIntf; typedef uLong uLongf; typedef void const *voidpc; typedef void *voidpf; typedef void *voidp; typedef unsigned z_crc_t; typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef __int8_t __int_least8_t; typedef __uint8_t __uint_least8_t; typedef __int16_t __int_least16_t; typedef __uint16_t __uint_least16_t; typedef __int32_t __int_least32_t; typedef __uint32_t __uint_least32_t; typedef __int64_t __int_least64_t; typedef __uint64_t __uint_least64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; typedef long int __intmax_t; typedef unsigned long int __uintmax_t; typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef long int __suseconds64_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; typedef int __sig_atomic_t; typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino64_t ino_t; typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off64_t off_t; typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; typedef __clock_t clock_t; typedef __clockid_t clockid_t; typedef __time_t time_t; typedef __timer_t timer_t; typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; typedef __int8_t int8_t; typedef __int16_t int16_t; typedef __int32_t int32_t; typedef __int64_t int64_t; typedef __uint8_t u_int8_t; typedef __uint16_t u_int16_t; typedef __uint32_t u_int32_t; typedef __uint64_t u_int64_t; typedef int register_t __attribute__ ((__mode__ (__word__))); static __inline __uint16_t __bswap_16 (__uint16_t __bsx) { return __builtin_bswap16 (__bsx); } static __inline __uint32_t __bswap_32 (__uint32_t __bsx) { return __builtin_bswap32 (__bsx); } __extension__ static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } static __inline __uint16_t __uint16_identity (__uint16_t __x) { return __x; } static __inline __uint32_t __uint32_identity (__uint32_t __x) { return __x; } static __inline __uint64_t __uint64_identity (__uint64_t __x) { return __x; } typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; typedef __sigset_t sigset_t; struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; typedef __suseconds_t suseconds_t; typedef long int __fd_mask; typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); typedef __blksize_t blksize_t; typedef __blkcnt64_t blkcnt_t; typedef __fsblkcnt64_t fsblkcnt_t; typedef __fsfilcnt64_t fsfilcnt_t; typedef union { __extension__ unsigned long long int __value64; struct { unsigned int __low; unsigned int __high; } __value32; } __atomic_wide_counter; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; short __spins; short __elision; __pthread_list_t __list; }; struct __pthread_rwlock_arch_t { unsigned int __readers; unsigned int __writers; unsigned int __wrphase_futex; unsigned int __writers_futex; unsigned int __pad3; unsigned int __pad4; int __cur_writer; int __shared; signed char __rwelision; unsigned char __pad1[7]; unsigned long int __pad2; unsigned int __flags; }; struct __pthread_cond_s { __atomic_wide_counter __wseq; __atomic_wide_counter __g1_start; unsigned int __g_refs[2] ; unsigned int __g_size[2]; unsigned int __g1_orig_size; unsigned int __wrefs; unsigned int __g_signals[2]; }; typedef unsigned int __tss_t; typedef unsigned long int __thrd_t; typedef struct { int __data ; } __once_flag; typedef unsigned long int pthread_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef union { struct __pthread_mutex_s __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { struct __pthread_cond_s __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { struct __pthread_rwlock_arch_t __data; char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; typedef __builtin_va_list __gnuc_va_list; typedef __gnuc_va_list va_list; typedef __useconds_t useconds_t; typedef __intptr_t intptr_t; typedef __socklen_t socklen_t; extern int access (const char *__name, int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int faccessat (int __fd, const char *__file, int __type, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; extern __off64_t lseek (int __fd, __off64_t __offset, int __whence) __asm__ ("" "lseek64") __attribute__ ((__nothrow__ , __leaf__)); extern int close (int __fd); extern void closefrom (int __lowfd) __attribute__ ((__nothrow__ , __leaf__)); extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __attribute__ ((__access__ (__write_only__, 2, 3))); extern ssize_t write (int __fd, const void *__buf, size_t __n) __attribute__ ((__access__ (__read_only__, 2, 3))); extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64") __attribute__ ((__access__ (__write_only__, 2, 3))); extern ssize_t pwrite (int __fd, const void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pwrite64") __attribute__ ((__access__ (__read_only__, 2, 3))); extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__ , __leaf__)) ; extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__ , __leaf__)); extern unsigned int sleep (unsigned int __seconds); extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) __attribute__ ((__nothrow__ , __leaf__)); extern int usleep (__useconds_t __useconds); extern int pause (void); extern int chown (const char *__file, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) ; extern int lchown (const char *__file, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int fchownat (int __fd, const char *__file, __uid_t __owner, __gid_t __group, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; extern int chdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int fchdir (int __fd) __attribute__ ((__nothrow__ , __leaf__)) ; extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) ; extern char *getwd (char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__access__ (__write_only__, 1))); extern int dup (int __fd) __attribute__ ((__nothrow__ , __leaf__)) ; extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__ , __leaf__)); extern char **__environ; extern int execve (const char *__path, char *const __argv[], char *const __envp[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int fexecve (int __fd, char *const __argv[], char *const __envp[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int execv (const char *__path, char *const __argv[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execle (const char *__path, const char *__arg, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execl (const char *__path, const char *__arg, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execvp (const char *__file, char *const __argv[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execlp (const char *__file, const char *__arg, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int nice (int __inc) __attribute__ ((__nothrow__ , __leaf__)) ; extern void _exit (int __status) __attribute__ ((__noreturn__)); enum { _PC_LINK_MAX, _PC_MAX_CANON, _PC_MAX_INPUT, _PC_NAME_MAX, _PC_PATH_MAX, _PC_PIPE_BUF, _PC_CHOWN_RESTRICTED, _PC_NO_TRUNC, _PC_VDISABLE, _PC_SYNC_IO, _PC_ASYNC_IO, _PC_PRIO_IO, _PC_SOCK_MAXBUF, _PC_FILESIZEBITS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, _PC_ALLOC_SIZE_MIN, _PC_SYMLINK_MAX, _PC_2_SYMLINKS }; enum { _SC_ARG_MAX, _SC_CHILD_MAX, _SC_CLK_TCK, _SC_NGROUPS_MAX, _SC_OPEN_MAX, _SC_STREAM_MAX, _SC_TZNAME_MAX, _SC_JOB_CONTROL, _SC_SAVED_IDS, _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS, _SC_AIO_LISTIO_MAX, _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX, _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_VERSION, _SC_PAGESIZE, _SC_RTSIG_MAX, _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, _SC_TIMER_MAX, _SC_BC_BASE_MAX, _SC_BC_DIM_MAX, _SC_BC_SCALE_MAX, _SC_BC_STRING_MAX, _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_EXPR_NEST_MAX, _SC_LINE_MAX, _SC_RE_DUP_MAX, _SC_CHARCLASS_NAME_MAX, _SC_2_VERSION, _SC_2_C_BIND, _SC_2_C_DEV, _SC_2_FORT_DEV, _SC_2_FORT_RUN, _SC_2_SW_DEV, _SC_2_LOCALEDEF, _SC_PII, _SC_PII_XTI, _SC_PII_SOCKET, _SC_PII_INTERNET, _SC_PII_OSI, _SC_POLL, _SC_SELECT, _SC_UIO_MAXIOV, _SC_IOV_MAX = _SC_UIO_MAXIOV, _SC_PII_INTERNET_STREAM, _SC_PII_INTERNET_DGRAM, _SC_PII_OSI_COTS, _SC_PII_OSI_CLTS, _SC_PII_OSI_M, _SC_T_IOV_MAX, _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_GETGR_R_SIZE_MAX, _SC_GETPW_R_SIZE_MAX, _SC_LOGIN_NAME_MAX, _SC_TTY_NAME_MAX, _SC_THREAD_DESTRUCTOR_ITERATIONS, _SC_THREAD_KEYS_MAX, _SC_THREAD_STACK_MIN, _SC_THREAD_THREADS_MAX, _SC_THREAD_ATTR_STACKADDR, _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING, _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT, _SC_THREAD_PROCESS_SHARED, _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES, _SC_ATEXIT_MAX, _SC_PASS_MAX, _SC_XOPEN_VERSION, _SC_XOPEN_XCU_VERSION, _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N, _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, _SC_2_UPE, _SC_XOPEN_XPG2, _SC_XOPEN_XPG3, _SC_XOPEN_XPG4, _SC_CHAR_BIT, _SC_CHAR_MAX, _SC_CHAR_MIN, _SC_INT_MAX, _SC_INT_MIN, _SC_LONG_BIT, _SC_WORD_BIT, _SC_MB_LEN_MAX, _SC_NZERO, _SC_SSIZE_MAX, _SC_SCHAR_MAX, _SC_SCHAR_MIN, _SC_SHRT_MAX, _SC_SHRT_MIN, _SC_UCHAR_MAX, _SC_UINT_MAX, _SC_ULONG_MAX, _SC_USHRT_MAX, _SC_NL_ARGMAX, _SC_NL_LANGMAX, _SC_NL_MSGMAX, _SC_NL_NMAX, _SC_NL_SETMAX, _SC_NL_TEXTMAX, _SC_XBS5_ILP32_OFF32, _SC_XBS5_ILP32_OFFBIG, _SC_XBS5_LP64_OFF64, _SC_XBS5_LPBIG_OFFBIG, _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME, _SC_XOPEN_REALTIME_THREADS, _SC_ADVISORY_INFO, _SC_BARRIERS, _SC_BASE, _SC_C_LANG_SUPPORT, _SC_C_LANG_SUPPORT_R, _SC_CLOCK_SELECTION, _SC_CPUTIME, _SC_THREAD_CPUTIME, _SC_DEVICE_IO, _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO, _SC_PIPE, _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM, _SC_MONOTONIC_CLOCK, _SC_MULTI_PROCESS, _SC_SINGLE_PROCESS, _SC_NETWORKING, _SC_READER_WRITER_LOCKS, _SC_SPIN_LOCKS, _SC_REGEXP, _SC_REGEX_VERSION, _SC_SHELL, _SC_SIGNALS, _SC_SPAWN, _SC_SPORADIC_SERVER, _SC_THREAD_SPORADIC_SERVER, _SC_SYSTEM_DATABASE, _SC_SYSTEM_DATABASE_R, _SC_TIMEOUTS, _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R, _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK, _SC_SYMLOOP_MAX, _SC_STREAMS, _SC_2_PBS_CHECKPOINT, _SC_V6_ILP32_OFF32, _SC_V6_ILP32_OFFBIG, _SC_V6_LP64_OFF64, _SC_V6_LPBIG_OFFBIG, _SC_HOST_NAME_MAX, _SC_TRACE, _SC_TRACE_EVENT_FILTER, _SC_TRACE_INHERIT, _SC_TRACE_LOG, _SC_LEVEL1_ICACHE_SIZE, _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE, _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC, _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE, _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE, _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC, _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE, _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE, _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50, _SC_RAW_SOCKETS, _SC_V7_ILP32_OFF32, _SC_V7_ILP32_OFFBIG, _SC_V7_LP64_OFF64, _SC_V7_LPBIG_OFFBIG, _SC_SS_REPL_MAX, _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS, _SC_THREAD_ROBUST_PRIO_INHERIT, _SC_THREAD_ROBUST_PRIO_PROTECT, _SC_MINSIGSTKSZ, _SC_SIGSTKSZ }; enum { _CS_PATH, _CS_V6_WIDTH_RESTRICTED_ENVS, _CS_GNU_LIBC_VERSION, _CS_GNU_LIBPTHREAD_VERSION, _CS_V5_WIDTH_RESTRICTED_ENVS, _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_LFS_CFLAGS = 1000, _CS_LFS_LDFLAGS, _CS_LFS_LIBS, _CS_LFS_LINTFLAGS, _CS_LFS64_CFLAGS, _CS_LFS64_LDFLAGS, _CS_LFS64_LIBS, _CS_LFS64_LINTFLAGS, _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, _CS_XBS5_ILP32_OFF32_LDFLAGS, _CS_XBS5_ILP32_OFF32_LIBS, _CS_XBS5_ILP32_OFF32_LINTFLAGS, _CS_XBS5_ILP32_OFFBIG_CFLAGS, _CS_XBS5_ILP32_OFFBIG_LDFLAGS, _CS_XBS5_ILP32_OFFBIG_LIBS, _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, _CS_XBS5_LP64_OFF64_CFLAGS, _CS_XBS5_LP64_OFF64_LDFLAGS, _CS_XBS5_LP64_OFF64_LIBS, _CS_XBS5_LP64_OFF64_LINTFLAGS, _CS_XBS5_LPBIG_OFFBIG_CFLAGS, _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, _CS_XBS5_LPBIG_OFFBIG_LIBS, _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, _CS_POSIX_V6_ILP32_OFF32_CFLAGS, _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, _CS_POSIX_V6_ILP32_OFF32_LIBS, _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_LIBS, _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, _CS_POSIX_V6_LP64_OFF64_CFLAGS, _CS_POSIX_V6_LP64_OFF64_LDFLAGS, _CS_POSIX_V6_LP64_OFF64_LIBS, _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS, _CS_POSIX_V7_ILP32_OFF32_CFLAGS, _CS_POSIX_V7_ILP32_OFF32_LDFLAGS, _CS_POSIX_V7_ILP32_OFF32_LIBS, _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_LIBS, _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS, _CS_POSIX_V7_LP64_OFF64_CFLAGS, _CS_POSIX_V7_LP64_OFF64_LDFLAGS, _CS_POSIX_V7_LP64_OFF64_LIBS, _CS_POSIX_V7_LP64_OFF64_LINTFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_LIBS, _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS, _CS_V6_ENV, _CS_V7_ENV }; extern long int pathconf (const char *__path, int __name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__ , __leaf__)); extern long int sysconf (int __name) __attribute__ ((__nothrow__ , __leaf__)); extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 2, 3))); extern __pid_t getpid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getppid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getpgrp (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__ , __leaf__)); extern int setpgrp (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t setsid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern __uid_t getuid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __uid_t geteuid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __gid_t getgid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __gid_t getegid (void) __attribute__ ((__nothrow__ , __leaf__)); extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 2, 1))); extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) ; extern __pid_t fork (void) __attribute__ ((__nothrow__)); extern __pid_t vfork (void) __attribute__ ((__nothrow__ , __leaf__)); extern char *ttyname (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int ttyname_r (int __fd, char *__buf, size_t __buflen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__access__ (__write_only__, 2, 3))); extern int isatty (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int ttyslot (void) __attribute__ ((__nothrow__ , __leaf__)); extern int link (const char *__from, const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ; extern int linkat (int __fromfd, const char *__from, int __tofd, const char *__to, int __flags) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))) ; extern int symlink (const char *__from, const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ; extern ssize_t readlink (const char *__restrict __path, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__access__ (__write_only__, 2, 3))); extern int symlinkat (const char *__from, int __tofd, const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))) ; extern ssize_t readlinkat (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__access__ (__write_only__, 3, 4))); extern int unlink (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int unlinkat (int __fd, const char *__name, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int rmdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__ , __leaf__)); extern char *getlogin (void); extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2))); extern int setlogin (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern char *optarg; extern int optind; extern int opterr; extern int optopt; extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2))); extern int sethostname (const char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__read_only__, 1, 2))); extern int sethostid (long int __id) __attribute__ ((__nothrow__ , __leaf__)) ; extern int getdomainname (char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2))); extern int setdomainname (const char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__read_only__, 1, 2))); extern int vhangup (void) __attribute__ ((__nothrow__ , __leaf__)); extern int revoke (const char *__file) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int profil (unsigned short int *__sample_buffer, size_t __size, size_t __offset, unsigned int __scale) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int acct (const char *__name) __attribute__ ((__nothrow__ , __leaf__)); extern char *getusershell (void) __attribute__ ((__nothrow__ , __leaf__)); extern void endusershell (void) __attribute__ ((__nothrow__ , __leaf__)); extern void setusershell (void) __attribute__ ((__nothrow__ , __leaf__)); extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__ , __leaf__)) ; extern int chroot (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern char *getpass (const char *__prompt) __attribute__ ((__nonnull__ (1))); extern int fsync (int __fd); extern long int gethostid (void); extern void sync (void) __attribute__ ((__nothrow__ , __leaf__)); extern int getpagesize (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int getdtablesize (void) __attribute__ ((__nothrow__ , __leaf__)); extern int truncate (const char *__file, __off64_t __length) __asm__ ("" "truncate64") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int ftruncate (int __fd, __off64_t __length) __asm__ ("" "ftruncate64") __attribute__ ((__nothrow__ , __leaf__)) ; extern int brk (void *__addr) __attribute__ ((__nothrow__ , __leaf__)) ; extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__ , __leaf__)); extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__ , __leaf__)); extern int lockf (int __fd, int __cmd, __off64_t __len) __asm__ ("" "lockf64") ; extern int fdatasync (int __fildes); extern char *crypt (const char *__key, const char *__salt) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); int getentropy (void *__buffer, size_t __length) __attribute__ ((__access__ (__write_only__, 1, 2))); typedef voidpf (*alloc_func)(voidpf opaque, uInt items, uInt size); typedef void (*free_func)(voidpf opaque, voidpf address); struct internal_state; typedef struct z_stream_s { Bytef *next_in; uInt avail_in; uLong total_in; Bytef *next_out; uInt avail_out; uLong total_out; char *msg; struct internal_state *state; alloc_func zalloc; free_func zfree; voidpf opaque; int data_type; uLong adler; uLong reserved; } z_stream; typedef z_stream *z_streamp; typedef struct gz_header_s { int text; uLong time; int xflags; int os; Bytef *extra; uInt extra_len; uInt extra_max; Bytef *name; uInt name_max; Bytef *comment; uInt comm_max; int hcrc; int done; } gz_header; typedef gz_header *gz_headerp; extern const char * zlibVersion(void); extern int deflate(z_streamp strm, int flush); extern int deflateEnd(z_streamp strm); extern int inflate(z_streamp strm, int flush); extern int inflateEnd(z_streamp strm); extern int deflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength); extern int deflateGetDictionary(z_streamp strm, Bytef *dictionary, uInt *dictLength); extern int deflateCopy(z_streamp dest, z_streamp source); extern int deflateReset(z_streamp strm); extern int deflateParams(z_streamp strm, int level, int strategy); extern int deflateTune(z_streamp strm, int good_length, int max_lazy, int nice_length, int max_chain); extern uLong deflateBound(z_streamp strm, uLong sourceLen); extern int deflatePending(z_streamp strm, unsigned *pending, int *bits); extern int deflatePrime(z_streamp strm, int bits, int value); extern int deflateSetHeader(z_streamp strm, gz_headerp head); extern int inflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength); extern int inflateGetDictionary(z_streamp strm, Bytef *dictionary, uInt *dictLength); extern int inflateSync(z_streamp strm); extern int inflateCopy(z_streamp dest, z_streamp source); extern int inflateReset(z_streamp strm); extern int inflateReset2(z_streamp strm, int windowBits); extern int inflatePrime(z_streamp strm, int bits, int value); extern long inflateMark(z_streamp strm); extern int inflateGetHeader(z_streamp strm, gz_headerp head); typedef unsigned (*in_func)(void *, unsigned char * *); typedef int (*out_func)(void *, unsigned char *, unsigned); extern int inflateBack(z_streamp strm, in_func in, void *in_desc, out_func out, void *out_desc); extern int inflateBackEnd(z_streamp strm); extern uLong zlibCompileFlags(void); extern int compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen); extern int compress2(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level); extern uLong compressBound(uLong sourceLen); extern int uncompress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen); extern int uncompress2(Bytef *dest, uLongf *destLen, const Bytef *source, uLong *sourceLen); typedef struct gzFile_s *gzFile; extern gzFile gzdopen(int fd, const char *mode); extern int gzbuffer(gzFile file, unsigned size); extern int gzsetparams(gzFile file, int level, int strategy); extern int gzread(gzFile file, voidp buf, unsigned len); extern z_size_t gzfread(voidp buf, z_size_t size, z_size_t nitems, gzFile file); extern int gzwrite(gzFile file, voidpc buf, unsigned len); extern z_size_t gzfwrite(voidpc buf, z_size_t size, z_size_t nitems, gzFile file); extern int gzprintf(gzFile file, const char *format, ...); extern int gzputs(gzFile file, const char *s); extern char * gzgets(gzFile file, char *buf, int len); extern int gzputc(gzFile file, int c); extern int gzgetc(gzFile file); extern int gzungetc(int c, gzFile file); extern int gzflush(gzFile file, int flush); extern int gzrewind(gzFile file); extern int gzeof(gzFile file); extern int gzdirect(gzFile file); extern int gzclose(gzFile file); extern int gzclose_r(gzFile file); extern int gzclose_w(gzFile file); extern const char * gzerror(gzFile file, int *errnum); extern void gzclearerr(gzFile file); extern uLong adler32(uLong adler, const Bytef *buf, uInt len); extern uLong adler32_z(uLong adler, const Bytef *buf, z_size_t len); extern uLong crc32(uLong crc, const Bytef *buf, uInt len); extern uLong crc32_z(uLong crc, const Bytef *buf, z_size_t len); extern uLong crc32_combine_op(uLong crc1, uLong crc2, uLong op); extern int deflateInit_(z_streamp strm, int level, const char *version, int stream_size); extern int inflateInit_(z_streamp strm, const char *version, int stream_size); extern int deflateInit2_(z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size); extern int inflateInit2_(z_streamp strm, int windowBits, const char *version, int stream_size); extern int inflateBackInit_(z_streamp strm, int windowBits, unsigned char *window, const char *version, int stream_size); struct gzFile_s { unsigned have; unsigned char *next; off_t pos; }; extern int gzgetc_(gzFile file); extern gzFile gzopen64(const char *, const char *); extern off_t gzseek64(gzFile, off_t, int); extern off_t gztell64(gzFile); extern off_t gzoffset64(gzFile); extern uLong adler32_combine64(uLong, uLong, off_t); extern uLong crc32_combine64(uLong, uLong, off_t); extern uLong crc32_combine_gen64(off_t); extern const char * zError(int); extern int inflateSyncPoint(z_streamp); extern const z_crc_t * get_crc_table(void); extern int inflateUndermine(z_streamp, int); extern int inflateValidate(z_streamp, int); extern unsigned long inflateCodesUsed(z_streamp); extern int inflateResetKeep(z_streamp); extern int deflateResetKeep(z_streamp); extern int gzvprintf(gzFile file, const char *format, va_list va); "MESON_GET_DEFINE_DELIMITER_START" "1.3" "MESON_GET_DEFINE_DELIMITER_END" ----------- Run-time dependency zlib found: YES 1.3 Pkg-config for machine host machine not found. Giving up. CMake binary for host machine is cached as not found CMake binary for machine host machine not found. Giving up. Run-time dependency libzstd found: NO (tried pkgconfig and cmake) Dependency lookup for openssl with method 'pkgconfig' failed: Pkg-config for machine host machine not found. Giving up. Running compile: Working directory: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpo5xt1s7i Code: #ifdef __has_include #if !__has_include("openssl/ssl.h") #error "Header 'openssl/ssl.h' could not be found" #endif #else #include #endif ----------- Command line: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpo5xt1s7i/testfile.c -E -P -O2 -D_FILE_OFFSET_BITS=64 -P -O0` -> 0 Running compile: Working directory: /var/www/html/openwrt-packages/openwrt/tmp/tmpndvkzwq5 Code: #include #ifndef OPENSSL_VERSION_STR # define OPENSSL_VERSION_STR "MESON_GET_DEFINE_UNDEFINED_SENTINEL" #endif "MESON_GET_DEFINE_DELIMITER_START" OPENSSL_VERSION_STR "MESON_GET_DEFINE_DELIMITER_END" ----------- Command line: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/tmp/tmpndvkzwq5/testfile.c -E -P -O2 -D_FILE_OFFSET_BITS=64 -P -O0` -> 0 stdout: "MESON_GET_DEFINE_DELIMITER_START" "3.0.13" "MESON_GET_DEFINE_DELIMITER_END" ----------- Using cached compile: Cached command line: /var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpo5xt1s7i/testfile.c -E -P -O2 -D_FILE_OFFSET_BITS=64 -P -O0 Code: #ifdef __has_include #if !__has_include("openssl/ssl.h") #error "Header 'openssl/ssl.h' could not be found" #endif #else #include #endif Cached compiler stdout: Cached compiler stderr: Using cached compile: Cached command line: /var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/tmp/tmpndvkzwq5/testfile.c -E -P -O2 -D_FILE_OFFSET_BITS=64 -P -O0 Code: #include #ifndef OPENSSL_VERSION_STR # define OPENSSL_VERSION_STR "MESON_GET_DEFINE_UNDEFINED_SENTINEL" #endif "MESON_GET_DEFINE_DELIMITER_START" OPENSSL_VERSION_STR "MESON_GET_DEFINE_DELIMITER_END" Cached compiler stdout: "MESON_GET_DEFINE_DELIMITER_START" "3.0.13" "MESON_GET_DEFINE_DELIMITER_END" Cached compiler stderr: Running compile: Working directory: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpwv4y1czr Code: int main(void) { return 0; } ----------- Command line: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpwv4y1czr/testfile.c -o /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpwv4y1czr/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -Wl,--start-group -lssl -Wl,--end-group -Wl,--allow-shlib-undefined` -> 0 Using cached compile: Cached command line: /var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpo5xt1s7i/testfile.c -E -P -O2 -D_FILE_OFFSET_BITS=64 -P -O0 Code: #ifdef __has_include #if !__has_include("openssl/ssl.h") #error "Header 'openssl/ssl.h' could not be found" #endif #else #include #endif Cached compiler stdout: Cached compiler stderr: Using cached compile: Cached command line: /var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/tmp/tmpndvkzwq5/testfile.c -E -P -O2 -D_FILE_OFFSET_BITS=64 -P -O0 Code: #include #ifndef OPENSSL_VERSION_STR # define OPENSSL_VERSION_STR "MESON_GET_DEFINE_UNDEFINED_SENTINEL" #endif "MESON_GET_DEFINE_DELIMITER_START" OPENSSL_VERSION_STR "MESON_GET_DEFINE_DELIMITER_END" Cached compiler stdout: "MESON_GET_DEFINE_DELIMITER_START" "3.0.13" "MESON_GET_DEFINE_DELIMITER_END" Cached compiler stderr: Running compile: Working directory: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpdj08abs9 Code: int main(void) { return 0; } ----------- Command line: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpdj08abs9/testfile.c -o /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpdj08abs9/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -Wl,--start-group -lcrypto -Wl,--end-group -Wl,--allow-shlib-undefined` -> 0 Run-time dependency openssl found: YES "3.0.13" Running compile: Working directory: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpb2xrhdn6 Code: #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef fexecve fexecve; #endif return 0; } ----------- Command line: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpb2xrhdn6/testfile.c -o /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpb2xrhdn6/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu11 -D_GNU_SOURCE` -> 0 Header "unistd.h" has symbol "fexecve" : YES Running compile: Working directory: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpo241i4dn Code: #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef getrandom getrandom; #endif return 0; } ----------- Command line: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpo241i4dn/testfile.c -o /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpo241i4dn/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu11 -D_GNU_SOURCE` -> 0 Header "sys/random.h" has symbol "getrandom" : YES Running compile: Working directory: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmp96786z8x Code: #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef memrchr memrchr; #endif return 0; } ----------- Command line: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmp96786z8x/testfile.c -o /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmp96786z8x/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu11 -D_GNU_SOURCE` -> 0 Header "string.h" has symbol "memrchr" : YES Running compile: Working directory: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmp71jebtw2 Code: #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef memfd_create memfd_create; #endif return 0; } ----------- Command line: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmp71jebtw2/testfile.c -o /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmp71jebtw2/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu11 -D_GNU_SOURCE` -> 0 Header "sys/mman.h" has symbol "memfd_create" : YES Running compile: Working directory: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmp7b9ry8sz Code: #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef mknodat mknodat; #endif return 0; } ----------- Command line: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmp7b9ry8sz/testfile.c -o /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmp7b9ry8sz/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu11 -D_GNU_SOURCE` -> 0 Header "sys/stat.h" has symbol "mknodat" : YES Running compile: Working directory: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpmk6jr24i Code: #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef pipe2 pipe2; #endif return 0; } ----------- Command line: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpmk6jr24i/testfile.c -o /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpmk6jr24i/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu11 -D_GNU_SOURCE` -> 0 Header "unistd.h" has symbol "pipe2" : YES Running compile: Working directory: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpsl0qqp80 Code: #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef qsort_r qsort_r; #endif return 0; } ----------- Command line: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpsl0qqp80/testfile.c -o /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpsl0qqp80/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu11 -D_GNU_SOURCE` -> 0 Header "stdlib.h" has symbol "qsort_r" : YES Running compile: Working directory: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmp08k7ll19 Code: #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef reallocarray reallocarray; #endif return 0; } ----------- Command line: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmp08k7ll19/testfile.c -o /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmp08k7ll19/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu11 -D_GNU_SOURCE` -> 0 Header "stdlib.h" has symbol "reallocarray" : YES Running compile: Working directory: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpjl6iso8n Code: #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef strchrnul strchrnul; #endif return 0; } ----------- Command line: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpjl6iso8n/testfile.c -o /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpjl6iso8n/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu11 -D_GNU_SOURCE` -> 0 Header "string.h" has symbol "strchrnul" : YES Running compile: Working directory: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmprj7wqapp Code: #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef strlcpy strlcpy; #endif return 0; } ----------- Command line: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmprj7wqapp/testfile.c -o /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmprj7wqapp/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu11 -D_GNU_SOURCE` -> 0 Header "string.h" has symbol "strlcpy" : YES Running compile: Working directory: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmp5cx8h434 Code: #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef SOCK_CLOEXEC SOCK_CLOEXEC; #endif return 0; } ----------- Command line: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmp5cx8h434/testfile.c -o /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmp5cx8h434/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu11 -D_GNU_SOURCE` -> 0 Header "sys/socket.h" has symbol "SOCK_CLOEXEC" : YES Running compile: Working directory: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpqwlh12dz Code: #define _GNU_SOURCE #include _Static_assert(_Generic((qsort_r), void (*)(void *, size_t, size_t, void *, int (*)(void *, const void *, const void *)) : 1, default: 0), "Bad prototype not matched"); ----------- Command line: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpqwlh12dz/testfile.c -o /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpqwlh12dz/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu11` -> 1 stderr: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpqwlh12dz/testfile.c:4:9: error: static assertion failed: "Bad prototype not matched" 4 | _Static_assert(_Generic((qsort_r), | ^~~~~~~~~~~~~~ ----------- Checking if "Test qsort_r non-POSIX prototype" compiles: NO Dependency cmocka skipped: feature tests disabled Program enum.sh skipped: feature tests disabled Program solver.sh skipped: feature tests disabled Program shellcheck.sh skipped: feature tests disabled Program shellcheck found: NO Build targets in project: 3 apk-tools 3.0.0_pre20251007 User defined options Native files : /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-native.txt default_library: static b_lto : true compressed-help: false crypto_backend : openssl docs : disabled help : enabled lua_version : 5.1 python : disabled tests : disabled url_backend : wget zstd : false Found ninja-1.11.1 at /usr/bin/ninja Running compile: Working directory: /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpt6i515dv Code: ----------- Command line: `/var/www/html/openwrt-packages/openwrt/staging_dir/host/bin/gcc -I/var/www/html/openwrt-packages/openwrt/staging_dir/host/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/hostpkg/include -I/var/www/html/openwrt-packages/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpt6i515dv/testfile.c -o /var/www/html/openwrt-packages/openwrt/build_dir/hostpkg/apk-3.0.0_pre20251007/openwrt-build/meson-private/tmpt6i515dv/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 --print-search-dirs` -> 0 stdout: install: /usr/lib/gcc/x86_64-linux-gnu/13/ programs: =/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/bin/ libraries: =/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/13/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/13/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/ -----------