Build started at 2024-06-16T13:28:41.279058 Main binary: /home/jack/SDK/openwrt-23.05/staging_dir/host/bin/python3 Build Options: -Ddefault_library=static -Dtests=disabled --native-file=/home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-native.txt Python system: Linux The Meson build system Version: 1.3.2 Source dir: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0 Build dir: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build Build type: native build Project name: pkgconf Project version: 2.2.0 ----------- Detecting compiler via: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc --version` -> 0 stdout: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 Copyright (C) 2019 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: /home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -E -dM - ----- ----------- Detecting linker via: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -Wl,--version -L/home/jack/SDK/openwrt-23.05/staging_dir/host/lib` -> 0 stdout: GNU ld (GNU Binutils for Ubuntu) 2.34 Copyright (C) 2020 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 9.4.0 /usr/bin/ld -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/home/jack/SDK/openwrt-23.05/tmp/ccb7lTCj.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/9/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/home/jack/SDK/openwrt-23.05/staging_dir/host/lib -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../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/9/../../.. --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/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o ----------- Sanity testing C compiler: /home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc Is cross compiler: False. Sanity check compiler command line: /home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc sanitycheckc.c -o sanitycheckc.exe -O2 -I/home/jack/SDK/openwrt-23.05/staging_dir/host/include -I/home/jack/SDK/openwrt-23.05/staging_dir/host/include -D_FILE_OFFSET_BITS=64 -L/home/jack/SDK/openwrt-23.05/staging_dir/host/lib Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/sanitycheckc.exe C compiler for the host machine: /home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc (gcc 9.4.0 "gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0") C linker for the host machine: /home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc ld.bfd 2.34 ----------- Detecting archiver via: `gcc-ar --version` -> 0 stdout: GNU ar (GNU Binutils for Ubuntu) 2.34 Copyright (C) 2020 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: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc --version` -> 0 stdout: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 Copyright (C) 2019 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: /home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -E -dM - ----- ----------- Detecting linker via: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -Wl,--version` -> 0 stdout: GNU ld (GNU Binutils for Ubuntu) 2.34 Copyright (C) 2020 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 9.4.0 /usr/bin/ld -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/home/jack/SDK/openwrt-23.05/tmp/ccznfEVk.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/9/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../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/9/../../.. --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/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o ----------- Sanity testing C compiler: /home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc Is cross compiler: False. Sanity check compiler command line: /home/jack/SDK/openwrt-23.05/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: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/sanitycheckc.exe C compiler for the build machine: /home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc (gcc 9.4.0 "gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0") C linker for the build machine: /home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc ld.bfd 2.34 ----------- Detecting archiver via: `gcc-ar --version` -> 0 stdout: GNU ar (GNU Binutils for Ubuntu) 2.34 Copyright (C) 2020 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 compile: Working directory: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmprndrd3y_ Code: extern int i; int i; ----------- Command line: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -I/home/jack/SDK/openwrt-23.05/staging_dir/host/include /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmprndrd3y_/testfile.c -o /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmprndrd3y_/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -Wimplicit-function-declaration` -> 0 Compiler for C supports arguments -Wimplicit-function-declaration: YES Running compile: Working directory: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmprr9k7j99 Code: extern int i; int i; ----------- Command line: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -I/home/jack/SDK/openwrt-23.05/staging_dir/host/include /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmprr9k7j99/testfile.c -o /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmprr9k7j99/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -Wmisleading-indentation` -> 0 Compiler for C supports arguments -Wmisleading-indentation: YES Running compile: Working directory: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpv6m9l2os Code: #define _BSD_SOURCE #include #include #if defined __stub_strlcat || defined __stub___strlcat fail fail fail this function is not going to work #endif int main(void) { void *a = (void*) &strlcat; long long b = (long long) a; return (int) b; } ----------- Command line: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -L/home/jack/SDK/openwrt-23.05/staging_dir/host/lib -I/home/jack/SDK/openwrt-23.05/staging_dir/host/include /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpv6m9l2os/testfile.c -o /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpv6m9l2os/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99` -> 1 stderr: In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpv6m9l2os/testfile.c:2: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpv6m9l2os/testfile.c: In function 'main': /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpv6m9l2os/testfile.c:10:32: error: 'strlcat' undeclared (first use in this function); did you mean 'strncat'? 10 | void *a = (void*) &strlcat; | ^~~~~~~ | strncat /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpv6m9l2os/testfile.c:10:32: note: each undeclared identifier is reported only once for each function it appears in ----------- Running compile: Working directory: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp1dgs6px4 Code: #define _BSD_SOURCE #include int main(void) { /* With some toolchains (MSYS2/mingw for example) the compiler * provides various builtins which are not really implemented and * fall back to the stdlib where they aren't provided and fail at * build/link time. In case the user provides a header, including * the header didn't lead to the function being defined, and the * function we are checking isn't a builtin itself we assume the * builtin is not functional and we just error out. */ #if !0 && !defined(strlcat) && !0 #error "No definition for __builtin_strlcat found in the prefix" #endif #ifdef __has_builtin #if !__has_builtin(__builtin_strlcat) #error "__builtin_strlcat not found" #endif #elif ! defined(strlcat) __builtin_strlcat; #endif return 0; } ----------- Command line: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -L/home/jack/SDK/openwrt-23.05/staging_dir/host/lib -I/home/jack/SDK/openwrt-23.05/staging_dir/host/include /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp1dgs6px4/testfile.c -o /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp1dgs6px4/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99` -> 1 stderr: In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp1dgs6px4/testfile.c:2: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp1dgs6px4/testfile.c: In function 'main': /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp1dgs6px4/testfile.c:13:14: error: #error "No definition for __builtin_strlcat found in the prefix" 13 | #error "No definition for __builtin_strlcat found in the prefix" | ^~~~~ /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp1dgs6px4/testfile.c:21:13: error: '__builtin_strlcat' undeclared (first use in this function); did you mean '__builtin_strcat'? 21 | __builtin_strlcat; | ^~~~~~~~~~~~~~~~~ | __builtin_strcat /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp1dgs6px4/testfile.c:21:13: note: each undeclared identifier is reported only once for each function it appears in ----------- Checking for function "strlcat" : NO Running compile: Working directory: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpfadjtz7f Code: #define _BSD_SOURCE #include #include #if defined __stub_strlcpy || defined __stub___strlcpy fail fail fail this function is not going to work #endif int main(void) { void *a = (void*) &strlcpy; long long b = (long long) a; return (int) b; } ----------- Command line: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -L/home/jack/SDK/openwrt-23.05/staging_dir/host/lib -I/home/jack/SDK/openwrt-23.05/staging_dir/host/include /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpfadjtz7f/testfile.c -o /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpfadjtz7f/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99` -> 1 stderr: In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpfadjtz7f/testfile.c:2: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpfadjtz7f/testfile.c: In function 'main': /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpfadjtz7f/testfile.c:10:32: error: 'strlcpy' undeclared (first use in this function); did you mean 'strncpy'? 10 | void *a = (void*) &strlcpy; | ^~~~~~~ | strncpy /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpfadjtz7f/testfile.c:10:32: note: each undeclared identifier is reported only once for each function it appears in ----------- Running compile: Working directory: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp6ole22yd Code: #define _BSD_SOURCE #include int main(void) { /* With some toolchains (MSYS2/mingw for example) the compiler * provides various builtins which are not really implemented and * fall back to the stdlib where they aren't provided and fail at * build/link time. In case the user provides a header, including * the header didn't lead to the function being defined, and the * function we are checking isn't a builtin itself we assume the * builtin is not functional and we just error out. */ #if !0 && !defined(strlcpy) && !0 #error "No definition for __builtin_strlcpy found in the prefix" #endif #ifdef __has_builtin #if !__has_builtin(__builtin_strlcpy) #error "__builtin_strlcpy not found" #endif #elif ! defined(strlcpy) __builtin_strlcpy; #endif return 0; } ----------- Command line: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -L/home/jack/SDK/openwrt-23.05/staging_dir/host/lib -I/home/jack/SDK/openwrt-23.05/staging_dir/host/include /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp6ole22yd/testfile.c -o /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp6ole22yd/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99` -> 1 stderr: In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp6ole22yd/testfile.c:2: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp6ole22yd/testfile.c: In function 'main': /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp6ole22yd/testfile.c:13:14: error: #error "No definition for __builtin_strlcpy found in the prefix" 13 | #error "No definition for __builtin_strlcpy found in the prefix" | ^~~~~ /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp6ole22yd/testfile.c:21:13: error: '__builtin_strlcpy' undeclared (first use in this function); did you mean '__builtin_strcpy'? 21 | __builtin_strlcpy; | ^~~~~~~~~~~~~~~~~ | __builtin_strcpy /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp6ole22yd/testfile.c:21:13: note: each undeclared identifier is reported only once for each function it appears in ----------- Checking for function "strlcpy" : NO Running compile: Working directory: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp5uod55va Code: #define _BSD_SOURCE #include #include #if defined __stub_strndup || defined __stub___strndup fail fail fail this function is not going to work #endif int main(void) { void *a = (void*) &strndup; long long b = (long long) a; return (int) b; } ----------- Command line: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -L/home/jack/SDK/openwrt-23.05/staging_dir/host/lib -I/home/jack/SDK/openwrt-23.05/staging_dir/host/include /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp5uod55va/testfile.c -o /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp5uod55va/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99` -> 0 stderr: In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp5uod55va/testfile.c:2: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ----------- Checking for function "strndup" : YES Running compile: Working directory: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpnkvruukb Code: #define _BSD_SOURCE #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef strndup strndup; #endif return 0; } ----------- Command line: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -I/home/jack/SDK/openwrt-23.05/staging_dir/host/include /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpnkvruukb/testfile.c -o /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpnkvruukb/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99` -> 0 stderr: In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpnkvruukb/testfile.c:2: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ----------- Header "string.h" has symbol "strndup" : YES Running compile: Working directory: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp0ajbhljw Code: #define _BSD_SOURCE #include #include #if defined __stub_strdup || defined __stub___strdup fail fail fail this function is not going to work #endif int main(void) { void *a = (void*) &strdup; long long b = (long long) a; return (int) b; } ----------- Command line: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -L/home/jack/SDK/openwrt-23.05/staging_dir/host/lib -I/home/jack/SDK/openwrt-23.05/staging_dir/host/include /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp0ajbhljw/testfile.c -o /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp0ajbhljw/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99` -> 0 stderr: In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp0ajbhljw/testfile.c:2: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ----------- Checking for function "strdup" : YES Running compile: Working directory: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpfffteoav Code: #define _BSD_SOURCE #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef strdup strdup; #endif return 0; } ----------- Command line: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -I/home/jack/SDK/openwrt-23.05/staging_dir/host/include /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpfffteoav/testfile.c -o /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpfffteoav/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99` -> 0 stderr: In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpfffteoav/testfile.c:2: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ----------- Header "string.h" has symbol "strdup" : YES Running compile: Working directory: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpp8zxjlfr Code: #define _BSD_SOURCE #include #include #if defined __stub_strncasecmp || defined __stub___strncasecmp fail fail fail this function is not going to work #endif int main(void) { void *a = (void*) &strncasecmp; long long b = (long long) a; return (int) b; } ----------- Command line: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -L/home/jack/SDK/openwrt-23.05/staging_dir/host/lib -I/home/jack/SDK/openwrt-23.05/staging_dir/host/include /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpp8zxjlfr/testfile.c -o /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpp8zxjlfr/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99` -> 0 stderr: In file included from /usr/include/strings.h:21, from /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpp8zxjlfr/testfile.c:2: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ----------- Checking for function "strncasecmp" : YES Running compile: Working directory: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp5ft9p_fa Code: #define _BSD_SOURCE #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef strncasecmp strncasecmp; #endif return 0; } ----------- Command line: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -I/home/jack/SDK/openwrt-23.05/staging_dir/host/include /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp5ft9p_fa/testfile.c -o /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp5ft9p_fa/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99` -> 0 stderr: In file included from /usr/include/strings.h:21, from /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp5ft9p_fa/testfile.c:2: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ----------- Header "strings.h" has symbol "strncasecmp" : YES Running compile: Working directory: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpe_pa6ixh Code: #define _BSD_SOURCE #include #include #if defined __stub_strcasecmp || defined __stub___strcasecmp fail fail fail this function is not going to work #endif int main(void) { void *a = (void*) &strcasecmp; long long b = (long long) a; return (int) b; } ----------- Command line: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -L/home/jack/SDK/openwrt-23.05/staging_dir/host/lib -I/home/jack/SDK/openwrt-23.05/staging_dir/host/include /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpe_pa6ixh/testfile.c -o /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpe_pa6ixh/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99` -> 0 stderr: In file included from /usr/include/strings.h:21, from /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpe_pa6ixh/testfile.c:2: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ----------- Checking for function "strcasecmp" : YES Running compile: Working directory: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp5bs48__m Code: #define _BSD_SOURCE #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef strcasecmp strcasecmp; #endif return 0; } ----------- Command line: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -I/home/jack/SDK/openwrt-23.05/staging_dir/host/include /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp5bs48__m/testfile.c -o /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp5bs48__m/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99` -> 0 stderr: In file included from /usr/include/strings.h:21, from /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmp5bs48__m/testfile.c:2: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ----------- Header "strings.h" has symbol "strcasecmp" : YES Running compile: Working directory: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpsfoj56bj Code: #define _BSD_SOURCE #include #include #if defined __stub_reallocarray || defined __stub___reallocarray fail fail fail this function is not going to work #endif int main(void) { void *a = (void*) &reallocarray; long long b = (long long) a; return (int) b; } ----------- Command line: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -L/home/jack/SDK/openwrt-23.05/staging_dir/host/lib -I/home/jack/SDK/openwrt-23.05/staging_dir/host/include /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpsfoj56bj/testfile.c -o /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpsfoj56bj/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99` -> 0 stderr: In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpsfoj56bj/testfile.c:2: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ----------- Checking for function "reallocarray" : YES Running compile: Working directory: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpiyuelklh Code: #define _BSD_SOURCE #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: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -I/home/jack/SDK/openwrt-23.05/staging_dir/host/include /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpiyuelklh/testfile.c -o /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpiyuelklh/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99` -> 0 stderr: In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpiyuelklh/testfile.c:2: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ----------- Header "stdlib.h" has symbol "reallocarray" : YES Configuring config.h using configuration Pkg-config binary for host machine specified from cross file, native file, or env var as ['/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/pkg-config'] WARNING: We thought we found pkg-config '/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/pkg-config' but now it's not there. How odd! Found pkg-config: NO Program kyua skipped: feature tests disabled Program atf-sh skipped: feature tests disabled Configuring Kyuafile using configuration Configuring Kyuafile using configuration Configuring test_env.sh using configuration ../../build_dir/host/pkgconf-2.2.0/tests/meson.build:2: WARNING: The variable(s) 'datarootdir', 'exec_prefix', 'prefix' in the input file 'tests/test_env.sh.in' are not present in the given configuration data. Build targets in project: 2 NOTICE: Future-deprecated features used: * 0.64.0: {'copy arg in configure_file'} pkgconf 2.2.0 User defined options Native files : /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-native.txt default_library: static tests : disabled Found ninja-1.11.1 at /home/jack/SDK/openwrt-23.05/staging_dir/host/bin/ninja Running compile: Working directory: /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpb0vfnhw3 Code: ----------- Command line: `/home/jack/SDK/openwrt-23.05/staging_dir/host/bin/gcc -I/home/jack/SDK/openwrt-23.05/staging_dir/host/include /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpb0vfnhw3/testfile.c -o /home/jack/SDK/openwrt-23.05/build_dir/host/pkgconf-2.2.0/openwrt-build/meson-private/tmpb0vfnhw3/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 --print-search-dirs` -> 0 stdout: install: /usr/lib/gcc/x86_64-linux-gnu/9/ programs: =/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/bin/ libraries: =/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/9/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/9/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/ ----------- Failed to guess install tag for /home/jack/SDK/openwrt-23.05/staging_dir/host/share/aclocal/pkg.m4 Failed to guess install tag for /home/jack/SDK/openwrt-23.05/staging_dir/host/share/doc/pkgconf/AUTHORS Failed to guess install tag for /home/jack/SDK/openwrt-23.05/staging_dir/host/share/doc/pkgconf/README.md Failed to guess install tag for /home/jack/SDK/openwrt-23.05/staging_dir/host/share/aclocal/pkg.m4 Failed to guess install tag for /home/jack/SDK/openwrt-23.05/staging_dir/host/share/doc/pkgconf/AUTHORS Failed to guess install tag for /home/jack/SDK/openwrt-23.05/staging_dir/host/share/doc/pkgconf/README.md