Build started at 2024-06-16T15:38:32.141021 Main binary: /home/jack/SDK/immortalwrt-23.05/staging_dir/host/bin/python3 Build Options: -Ddefault_library=static -Dtests=disabled --native-file=/home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-native.txt Python system: Linux The Meson build system Version: 1.3.2 Source dir: /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1 Build dir: /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build Build type: native build Project name: pkgconf Project version: 2.1.1 ----------- Detecting compiler via: `/home/jack/SDK/immortalwrt-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/immortalwrt-23.05/staging_dir/host/bin/gcc -E -dM - ----- ----------- Detecting linker via: `/home/jack/SDK/immortalwrt-23.05/staging_dir/host/bin/gcc -Wl,--version -L/home/jack/SDK/immortalwrt-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/immortalwrt-23.05/tmp/ccPi1UUy.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/immortalwrt-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/immortalwrt-23.05/staging_dir/host/bin/gcc Is cross compiler: False. Sanity check compiler command line: /home/jack/SDK/immortalwrt-23.05/staging_dir/host/bin/gcc sanitycheckc.c -o sanitycheckc.exe -O2 -I/home/jack/SDK/immortalwrt-23.05/staging_dir/host/include -I/home/jack/SDK/immortalwrt-23.05/staging_dir/host/include -D_FILE_OFFSET_BITS=64 -L/home/jack/SDK/immortalwrt-23.05/staging_dir/host/lib Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/sanitycheckc.exe C compiler for the host machine: /home/jack/SDK/immortalwrt-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/immortalwrt-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/immortalwrt-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/immortalwrt-23.05/staging_dir/host/bin/gcc -E -dM - ----- ----------- Detecting linker via: `/home/jack/SDK/immortalwrt-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/immortalwrt-23.05/tmp/ccvjNwTi.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/immortalwrt-23.05/staging_dir/host/bin/gcc Is cross compiler: False. Sanity check compiler command line: /home/jack/SDK/immortalwrt-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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/sanitycheckc.exe C compiler for the build machine: /home/jack/SDK/immortalwrt-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/immortalwrt-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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpopgcf6bg Code: extern int i; int i; ----------- Command line: `/home/jack/SDK/immortalwrt-23.05/staging_dir/host/bin/gcc -I/home/jack/SDK/immortalwrt-23.05/staging_dir/host/include /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpopgcf6bg/testfile.c -o /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpopgcf6bg/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpxqcn7723 Code: extern int i; int i; ----------- Command line: `/home/jack/SDK/immortalwrt-23.05/staging_dir/host/bin/gcc -I/home/jack/SDK/immortalwrt-23.05/staging_dir/host/include /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpxqcn7723/testfile.c -o /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpxqcn7723/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpzloa1uyk 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/immortalwrt-23.05/staging_dir/host/bin/gcc -L/home/jack/SDK/immortalwrt-23.05/staging_dir/host/lib -I/home/jack/SDK/immortalwrt-23.05/staging_dir/host/include /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpzloa1uyk/testfile.c -o /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpzloa1uyk/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpzloa1uyk/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpzloa1uyk/testfile.c: In function 'main': /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpzloa1uyk/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpzloa1uyk/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp_etjdc3u 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/immortalwrt-23.05/staging_dir/host/bin/gcc -L/home/jack/SDK/immortalwrt-23.05/staging_dir/host/lib -I/home/jack/SDK/immortalwrt-23.05/staging_dir/host/include /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp_etjdc3u/testfile.c -o /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp_etjdc3u/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp_etjdc3u/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp_etjdc3u/testfile.c: In function 'main': /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp_etjdc3u/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp_etjdc3u/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp_etjdc3u/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp2e7g1klm 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/immortalwrt-23.05/staging_dir/host/bin/gcc -L/home/jack/SDK/immortalwrt-23.05/staging_dir/host/lib -I/home/jack/SDK/immortalwrt-23.05/staging_dir/host/include /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp2e7g1klm/testfile.c -o /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp2e7g1klm/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp2e7g1klm/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp2e7g1klm/testfile.c: In function 'main': /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp2e7g1klm/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp2e7g1klm/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpir_kkvrw 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/immortalwrt-23.05/staging_dir/host/bin/gcc -L/home/jack/SDK/immortalwrt-23.05/staging_dir/host/lib -I/home/jack/SDK/immortalwrt-23.05/staging_dir/host/include /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpir_kkvrw/testfile.c -o /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpir_kkvrw/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpir_kkvrw/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpir_kkvrw/testfile.c: In function 'main': /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpir_kkvrw/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpir_kkvrw/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpir_kkvrw/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpscmbal11 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/immortalwrt-23.05/staging_dir/host/bin/gcc -L/home/jack/SDK/immortalwrt-23.05/staging_dir/host/lib -I/home/jack/SDK/immortalwrt-23.05/staging_dir/host/include /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpscmbal11/testfile.c -o /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpscmbal11/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpscmbal11/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmppgc229pa 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/immortalwrt-23.05/staging_dir/host/bin/gcc -I/home/jack/SDK/immortalwrt-23.05/staging_dir/host/include /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmppgc229pa/testfile.c -o /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmppgc229pa/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmppgc229pa/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp3vxr8m05 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/immortalwrt-23.05/staging_dir/host/bin/gcc -L/home/jack/SDK/immortalwrt-23.05/staging_dir/host/lib -I/home/jack/SDK/immortalwrt-23.05/staging_dir/host/include /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp3vxr8m05/testfile.c -o /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp3vxr8m05/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp3vxr8m05/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp211b4_wo 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/immortalwrt-23.05/staging_dir/host/bin/gcc -I/home/jack/SDK/immortalwrt-23.05/staging_dir/host/include /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp211b4_wo/testfile.c -o /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp211b4_wo/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp211b4_wo/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpzdzrvl5r 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/immortalwrt-23.05/staging_dir/host/bin/gcc -L/home/jack/SDK/immortalwrt-23.05/staging_dir/host/lib -I/home/jack/SDK/immortalwrt-23.05/staging_dir/host/include /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpzdzrvl5r/testfile.c -o /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpzdzrvl5r/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpzdzrvl5r/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp078p9bqs 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/immortalwrt-23.05/staging_dir/host/bin/gcc -I/home/jack/SDK/immortalwrt-23.05/staging_dir/host/include /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp078p9bqs/testfile.c -o /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp078p9bqs/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp078p9bqs/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp1skt7xoe 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/immortalwrt-23.05/staging_dir/host/bin/gcc -L/home/jack/SDK/immortalwrt-23.05/staging_dir/host/lib -I/home/jack/SDK/immortalwrt-23.05/staging_dir/host/include /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp1skt7xoe/testfile.c -o /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp1skt7xoe/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmp1skt7xoe/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpzxtdqrvf 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/immortalwrt-23.05/staging_dir/host/bin/gcc -I/home/jack/SDK/immortalwrt-23.05/staging_dir/host/include /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpzxtdqrvf/testfile.c -o /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpzxtdqrvf/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpzxtdqrvf/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpvnh2u2yu 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/immortalwrt-23.05/staging_dir/host/bin/gcc -L/home/jack/SDK/immortalwrt-23.05/staging_dir/host/lib -I/home/jack/SDK/immortalwrt-23.05/staging_dir/host/include /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpvnh2u2yu/testfile.c -o /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpvnh2u2yu/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpvnh2u2yu/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpl20p048u 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/immortalwrt-23.05/staging_dir/host/bin/gcc -I/home/jack/SDK/immortalwrt-23.05/staging_dir/host/include /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpl20p048u/testfile.c -o /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpl20p048u/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/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpl20p048u/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/immortalwrt-23.05/staging_dir/host/bin/pkg-config'] WARNING: We thought we found pkg-config '/home/jack/SDK/immortalwrt-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.1.1/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.1.1 User defined options Native files : /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-native.txt default_library: static tests : disabled Found ninja-1.11.1 at /home/jack/SDK/immortalwrt-23.05/staging_dir/host/bin/ninja Running compile: Working directory: /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpzdmmmco8 Code: ----------- Command line: `/home/jack/SDK/immortalwrt-23.05/staging_dir/host/bin/gcc -I/home/jack/SDK/immortalwrt-23.05/staging_dir/host/include /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpzdmmmco8/testfile.c -o /home/jack/SDK/immortalwrt-23.05/build_dir/host/pkgconf-2.1.1/openwrt-build/meson-private/tmpzdmmmco8/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/immortalwrt-23.05/staging_dir/host/share/aclocal/pkg.m4 Failed to guess install tag for /home/jack/SDK/immortalwrt-23.05/staging_dir/host/share/doc/pkgconf/AUTHORS Failed to guess install tag for /home/jack/SDK/immortalwrt-23.05/staging_dir/host/share/doc/pkgconf/README.md Failed to guess install tag for /home/jack/SDK/immortalwrt-23.05/staging_dir/host/share/aclocal/pkg.m4 Failed to guess install tag for /home/jack/SDK/immortalwrt-23.05/staging_dir/host/share/doc/pkgconf/AUTHORS Failed to guess install tag for /home/jack/SDK/immortalwrt-23.05/staging_dir/host/share/doc/pkgconf/README.md