Build started at 2024-10-25T12:51:37.930036 Main binary: /home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/bin/python3 Build Options: -Ddefault_library=static -Dtests=disabled '--native-file /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-native.txt' Python system: Linux The Meson build system Version: 0.61.5 Source dir: /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5 Build dir: /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build Build type: native build Project name: pkgconf Project version: 1.9.5 Sanity testing C compiler: gcc Is cross compiler: False. Sanity check compiler command line: gcc sanitycheckc.c -o sanitycheckc.exe -O2 -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include -D_FILE_OFFSET_BITS=64 -L/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/lib Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/sanitycheckc.exe C compiler for the host machine: gcc (gcc 8.3.0 "gcc (Debian 8.3.0-6) 8.3.0") C linker for the host machine: gcc ld.bfd 2.31.1 Sanity testing C compiler: gcc Is cross compiler: False. Sanity check compiler command line: gcc sanitycheckc.c -o sanitycheckc.exe -D_FILE_OFFSET_BITS=64 Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/sanitycheckc.exe C compiler for the build machine: gcc (gcc 8.3.0 "gcc (Debian 8.3.0-6) 8.3.0") C linker for the build machine: gcc ld.bfd 2.31.1 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/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp5pmlzwfv Command line: gcc -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp5pmlzwfv/testfile.c -o /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp5pmlzwfv/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -Wimplicit-function-declaration Code: extern int i; int i; Compiler stdout: Compiler stderr: Compiler for C supports arguments -Wimplicit-function-declaration: YES Running compile: Working directory: /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpf7dweos3 Command line: gcc -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpf7dweos3/testfile.c -o /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpf7dweos3/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -Wmisleading-indentation Code: extern int i; int i; Compiler stdout: Compiler stderr: Compiler for C supports arguments -Wmisleading-indentation: YES Running compile: Working directory: /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp_g9_7gw5 Command line: gcc -L/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/lib -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp_g9_7gw5/testfile.c -o /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp_g9_7gw5/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99 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; } Compiler stdout: Compiler 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/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp_g9_7gw5/testfile.c:2: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp_g9_7gw5/testfile.c: In function 'main': /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp_g9_7gw5/testfile.c:10:32: error: 'strlcat' undeclared (first use in this function); did you mean 'strncat'? void *a = (void*) &strlcat; ^~~~~~~ strncat /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp_g9_7gw5/testfile.c:10:32: note: each undeclared identifier is reported only once for each function it appears in Running compile: Working directory: /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpn991r4d0 Command line: gcc -L/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/lib -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpn991r4d0/testfile.c -o /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpn991r4d0/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99 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; } Compiler stdout: Compiler 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/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpn991r4d0/testfile.c:2: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpn991r4d0/testfile.c: In function 'main': /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpn991r4d0/testfile.c:13:14: error: #error "No definition for __builtin_strlcat found in the prefix" #error "No definition for __builtin_strlcat found in the prefix" ^~~~~ /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpn991r4d0/testfile.c:21:13: error: '__builtin_strlcat' undeclared (first use in this function); did you mean '__builtin_strcat'? __builtin_strlcat; ^~~~~~~~~~~~~~~~~ __builtin_strcat /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpn991r4d0/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/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpi7c1r7mw Command line: gcc -L/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/lib -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpi7c1r7mw/testfile.c -o /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpi7c1r7mw/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99 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; } Compiler stdout: Compiler 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/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpi7c1r7mw/testfile.c:2: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpi7c1r7mw/testfile.c: In function 'main': /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpi7c1r7mw/testfile.c:10:32: error: 'strlcpy' undeclared (first use in this function); did you mean 'strncpy'? void *a = (void*) &strlcpy; ^~~~~~~ strncpy /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpi7c1r7mw/testfile.c:10:32: note: each undeclared identifier is reported only once for each function it appears in Running compile: Working directory: /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp8h33f960 Command line: gcc -L/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/lib -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp8h33f960/testfile.c -o /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp8h33f960/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99 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; } Compiler stdout: Compiler 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/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp8h33f960/testfile.c:2: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp8h33f960/testfile.c: In function 'main': /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp8h33f960/testfile.c:13:14: error: #error "No definition for __builtin_strlcpy found in the prefix" #error "No definition for __builtin_strlcpy found in the prefix" ^~~~~ /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp8h33f960/testfile.c:21:13: error: '__builtin_strlcpy' undeclared (first use in this function); did you mean '__builtin_strcpy'? __builtin_strlcpy; ^~~~~~~~~~~~~~~~~ __builtin_strcpy /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp8h33f960/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/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp26oaml05 Command line: gcc -L/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/lib -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp26oaml05/testfile.c -o /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp26oaml05/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99 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; } Compiler stdout: Compiler 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/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp26oaml05/testfile.c:2: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ Checking for function "strndup" : YES Running compile: Working directory: /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp_x2ktpgk Command line: gcc -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp_x2ktpgk/testfile.c -o /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp_x2ktpgk/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99 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; } Compiler stdout: Compiler 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/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp_x2ktpgk/testfile.c:2: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ Header has symbol "strndup" : YES Running compile: Working directory: /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpeqc0w85f Command line: gcc -L/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/lib -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpeqc0w85f/testfile.c -o /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpeqc0w85f/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99 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; } Compiler stdout: Compiler 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/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpeqc0w85f/testfile.c:2: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ Checking for function "strdup" : YES Running compile: Working directory: /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpq9z6f3nx Command line: gcc -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpq9z6f3nx/testfile.c -o /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpq9z6f3nx/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99 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; } Compiler stdout: Compiler 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/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpq9z6f3nx/testfile.c:2: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ Header has symbol "strdup" : YES Running compile: Working directory: /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp5s9uci6q Command line: gcc -L/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/lib -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp5s9uci6q/testfile.c -o /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp5s9uci6q/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99 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; } Compiler stdout: Compiler stderr: In file included from /usr/include/strings.h:21, from /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp5s9uci6q/testfile.c:2: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ Checking for function "strncasecmp" : YES Running compile: Working directory: /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpwrpv_9it Command line: gcc -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpwrpv_9it/testfile.c -o /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpwrpv_9it/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99 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; } Compiler stdout: Compiler stderr: In file included from /usr/include/strings.h:21, from /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpwrpv_9it/testfile.c:2: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ Header has symbol "strncasecmp" : YES Running compile: Working directory: /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp0qqx9gs6 Command line: gcc -L/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/lib -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp0qqx9gs6/testfile.c -o /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp0qqx9gs6/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99 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; } Compiler stdout: Compiler stderr: In file included from /usr/include/strings.h:21, from /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmp0qqx9gs6/testfile.c:2: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ Checking for function "strcasecmp" : YES Running compile: Working directory: /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpzlc19_r_ Command line: gcc -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpzlc19_r_/testfile.c -o /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpzlc19_r_/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99 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; } Compiler stdout: Compiler stderr: In file included from /usr/include/strings.h:21, from /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpzlc19_r_/testfile.c:2: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ Header has symbol "strcasecmp" : YES Running compile: Working directory: /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpn27ribwp Command line: gcc -L/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/lib -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpn27ribwp/testfile.c -o /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpn27ribwp/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99 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; } Compiler stdout: Compiler 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/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpn27ribwp/testfile.c:2: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpn27ribwp/testfile.c: In function 'main': /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpn27ribwp/testfile.c:10:32: error: 'reallocarray' undeclared (first use in this function); did you mean 'realloc'? void *a = (void*) &reallocarray; ^~~~~~~~~~~~ realloc /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpn27ribwp/testfile.c:10:32: note: each undeclared identifier is reported only once for each function it appears in Running compile: Working directory: /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpcixv4lwf Command line: gcc -L/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/lib -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpcixv4lwf/testfile.c -o /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpcixv4lwf/output.exe -O2 -D_FILE_OFFSET_BITS=64 -O0 -std=c99 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(reallocarray) && !0 #error "No definition for __builtin_reallocarray found in the prefix" #endif #ifdef __has_builtin #if !__has_builtin(__builtin_reallocarray) #error "__builtin_reallocarray not found" #endif #elif ! defined(reallocarray) __builtin_reallocarray; #endif return 0; } Compiler stdout: Compiler 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/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpcixv4lwf/testfile.c:2: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpcixv4lwf/testfile.c: In function 'main': /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpcixv4lwf/testfile.c:13:14: error: #error "No definition for __builtin_reallocarray found in the prefix" #error "No definition for __builtin_reallocarray found in the prefix" ^~~~~ /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpcixv4lwf/testfile.c:21:13: error: '__builtin_reallocarray' undeclared (first use in this function); did you mean '__builtin_realloc'? __builtin_reallocarray; ^~~~~~~~~~~~~~~~~~~~~~ __builtin_realloc /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpcixv4lwf/testfile.c:21:13: note: each undeclared identifier is reported only once for each function it appears in Checking for function "reallocarray" : NO Configuring config.h using configuration 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-1.9.5/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 pkgconf 1.9.5 User defined options Native files : /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-native.txt default_library: static tests : disabled Found ninja-1.11.1 at /home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/bin/ninja Running compile: Working directory: /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpqhxncuqk Command line: gcc -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpqhxncuqk/testfile.c -o /home/user/openwrt23.05.3-lime2024-Ramips/build_dir/host/pkgconf-1.9.5/openwrt-build/meson-private/tmpqhxncuqk/output.obj -c -O2 -D_FILE_OFFSET_BITS=64 -O0 --print-search-dirs Code: Compiler stdout: install: /usr/lib/gcc/x86_64-linux-gnu/8/ programs: =/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/bin/ libraries: =/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib/:/lib/x86_64-linux-gnu/8/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/8/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../:/lib/:/usr/lib/ Compiler stderr: Failed to guess install tag for /home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/share/aclocal/pkg.m4 Failed to guess install tag for /home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/share/doc/pkgconf/AUTHORS Failed to guess install tag for /home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/share/doc/pkgconf/README.md Failed to guess install tag for /home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/share/aclocal/pkg.m4 Failed to guess install tag for /home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/share/doc/pkgconf/AUTHORS Failed to guess install tag for /home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/share/doc/pkgconf/README.md