microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.9k stars 6.32k forks source link

[glib] Build error #34350

Closed jsnhsu closed 11 months ago

jsnhsu commented 12 months ago

Package: glib:x64-linux -> 2.76.5

Host Environment

To Reproduce

vcpkg install wxwidgets Failure logs

-- Downloading https://download.gnome.org/sources/glib/2.76/glib-2.76.5.tar.xz -> glib-2.76.5.tar.xz...
-- Extracting source /home/jason/vcpkg/downloads/glib-2.76.5.tar.xz
-- Applying patch use-libiconv-on-windows.patch
-- Applying patch libintl.patch
-- Applying patch fix-build-race-on-gio.patch
-- Using source at /home/jason/vcpkg/buildtrees/glib/src/glib-2-63e74fc4f1.clean
-- Getting CMake variables for x64-linux-dbg
-- Getting CMake variables for x64-linux-rel
-- Configuring x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: /usr/bin/python3 /home/jason/vcpkg/installed/x64-linux/tools/meson/meson.py -Dselinux=disabled -Dlibmount=disabled -Dgtk_doc=false -Dinstalled_tests=false -Dlibelf=disabled -Dman=false -Dtests=false -Dxattr=false --buildtype plain --backend ninja --wrap-mode nodownload --libdir lib --native /home/jason/vcpkg/buildtrees/glib/meson-x64-linux-dbg.log -Ddebug=true --prefix /home/jason/vcpkg/packages/glib_x64-linux/debug --includedir ../include -Dcmake_prefix_path=['/home/jason/vcpkg/installed/x64-linux/debug','/home/jason/vcpkg/installed/x64-linux'] /home/jason/vcpkg/buildtrees/glib/src/glib-2-63e74fc4f1.clean
    Working Directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg
    Error code: 1
    See logs for more information:
      /home/jason/vcpkg/buildtrees/glib/config-x64-linux-dbg-meson-log.txt.log
      /home/jason/vcpkg/buildtrees/glib/config-x64-linux-dbg-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_meson.cmake:431 (vcpkg_execute_required_process)
  ports/glib/portfile.cmake:43 (vcpkg_configure_meson)
  scripts/ports.cmake:168 (include)
/home/jason/vcpkg/buildtrees/glib/config-x64-linux-dbg-meson-log.txt.log ``` Build started at 2023-10-08T19:50:17.923294 Main binary: /usr/bin/python3 Build Options: -Dselinux=disabled -Dlibmount=disabled -Dgtk_doc=false -Dinstalled_tests=false -Dlibelf=disabled -Dman=false -Dtests=false -Dxattr=false -Ddebug=true '-Dcmake_prefix_path=['"'"'/home/jason/vcpkg/installed/x64-linux/debug'"'"','"'"'/home/jason/vcpkg/installed/x64-linux'"'"']' -Dprefix=/home/jason/vcpkg/packages/glib_x64-linux/debug -Dincludedir=../include -Dlibdir=lib -Dbackend=ninja -Dbuildtype=plain -Dwrap_mode=nodownload '--native-file /home/jason/vcpkg/buildtrees/glib/meson-x64-linux-dbg.log' Python system: Linux The Meson build system Version: 0.62.1 Source dir: /home/jason/vcpkg/buildtrees/glib/src/glib-2-63e74fc4f1.clean Build dir: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg Build type: native build Project name: glib Project version: 2.76.5 Sanity testing C compiler: /usr/bin/cc Is cross compiler: False. Sanity check compiler command line: /usr/bin/cc sanitycheckc.c -o sanitycheckc.exe -fPIC -g -I/home/jason/vcpkg/installed/x64-linux/include -D_FILE_OFFSET_BITS=64 -L/home/jason/vcpkg/installed/x64-linux/debug/lib Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/sanitycheckc.exe C compiler for the host machine: /usr/bin/cc (gcc 11.4.0 "cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") C linker for the host machine: /usr/bin/cc ld.bfd 2.38 Sanity testing C compiler: /usr/bin/cc Is cross compiler: False. Sanity check compiler command line: /usr/bin/cc sanitycheckc.c -o sanitycheckc.exe -D_FILE_OFFSET_BITS=64 Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/sanitycheckc.exe C compiler for the build machine: /usr/bin/cc (gcc 11.4.0 "cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") C linker for the build machine: /usr/bin/cc ld.bfd 2.38 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/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpd_2091uc Command line: /usr/bin/cc -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpd_2091uc/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpd_2091uc/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=c90 Code: extern int i; int i; Compiler stdout: Compiler stderr: Compiler for C supports arguments -std=c90: YES Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp6dnmouce Command line: /usr/bin/cc -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp6dnmouce/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp6dnmouce/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=c99 ... Skipped 6901 lines ... Cached compiler stderr: Has header "alloca.h" : YES (cached) Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpcvsdbi73 Command line: /usr/bin/cc -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpcvsdbi73/testfile.c -E -P -fPIC -g -D_FILE_OFFSET_BITS=64 -P -O0 -std=gnu99 Code: #ifdef __has_include #if !__has_include("sys/poll.h") #error "Header 'sys/poll.h' could not be found" #endif #else #include #endif Compiler stdout: Compiler stderr: Has header "sys/poll.h" : YES Using cached compile: Cached command line: Code: #ifdef __has_include #if !__has_include("sys/types.h") #error "Header 'sys/types.h' could not be found" #endif #else #include #endif Cached compiler stdout: Cached compiler stderr: Has header "sys/types.h" : YES (cached) Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpmlkhqdbp Command line: /usr/bin/cc -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpmlkhqdbp/testfile.c -E -P -fPIC -g -D_FILE_OFFSET_BITS=64 -P -O0 -std=gnu99 Code: #ifdef __has_include #if !__has_include("winsock2.h") #error "Header 'winsock2.h' could not be found" #endif #else #include #endif Compiler stdout: Compiler stderr: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpmlkhqdbp/testfile.c:4:12: error: #error "Header 'winsock2.h' could not be found" 4 | #error "Header 'winsock2.h' could not be found" | ^~~~~ Has header "winsock2.h" : NO Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpthjtfknu Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpthjtfknu/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpthjtfknu/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #include #include #include int main(void) { printf("%ld\n", (long)(POLLIN)); return 0; } Compiler stdout: Compiler stderr: Program stdout: 1 Program stderr: Computing int of "POLLIN" : 1 Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpj0x2p99p Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpj0x2p99p/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpj0x2p99p/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #include #include #include int main(void) { printf("%ld\n", (long)(POLLOUT)); return 0; } Compiler stdout: Compiler stderr: Program stdout: 4 Program stderr: Computing int of "POLLOUT" : 4 Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpsjfyfa0x Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpsjfyfa0x/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpsjfyfa0x/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #include #include #include int main(void) { printf("%ld\n", (long)(POLLPRI)); return 0; } Compiler stdout: Compiler stderr: Program stdout: 2 Program stderr: Computing int of "POLLPRI" : 2 Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp5ltfmgpt Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp5ltfmgpt/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp5ltfmgpt/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #include #include #include int main(void) { printf("%ld\n", (long)(POLLERR)); return 0; } Compiler stdout: Compiler stderr: Program stdout: 8 Program stderr: Computing int of "POLLERR" : 8 Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp0zxun7z5 Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp0zxun7z5/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp0zxun7z5/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #include #include #include int main(void) { printf("%ld\n", (long)(POLLHUP)); return 0; } Compiler stdout: Compiler stderr: Program stdout: 16 Program stderr: Computing int of "POLLHUP" : 16 Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmphq7ymsws Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmphq7ymsws/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmphq7ymsws/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #include #include #include int main(void) { printf("%ld\n", (long)(POLLNVAL)); return 0; } Compiler stdout: Compiler stderr: Program stdout: 32 Program stderr: Computing int of "POLLNVAL" : 32 Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpiwzfje11 Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpiwzfje11/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpiwzfje11/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #include #include #include int main(void) { printf("%ld\n", (long)(AF_UNIX)); return 0; } Compiler stdout: Compiler stderr: Program stdout: 1 Program stderr: Computing int of "AF_UNIX" : 1 Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpg6dxpgoy Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpg6dxpgoy/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpg6dxpgoy/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #include #include #include int main(void) { printf("%ld\n", (long)(AF_INET)); return 0; } Compiler stdout: Compiler stderr: Program stdout: 2 Program stderr: Computing int of "AF_INET" : 2 Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpwjc8bp65 Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpwjc8bp65/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpwjc8bp65/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #include #include #include int main(void) { printf("%ld\n", (long)(AF_INET6)); return 0; } Compiler stdout: Compiler stderr: Program stdout: 10 Program stderr: Computing int of "AF_INET6" : 10 Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp4wzij1m6 Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp4wzij1m6/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp4wzij1m6/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #include #include #include int main(void) { printf("%ld\n", (long)(MSG_OOB)); return 0; } Compiler stdout: Compiler stderr: Program stdout: 1 Program stderr: Computing int of "MSG_OOB" : 1 Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp8om34wef Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp8om34wef/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp8om34wef/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #include #include #include int main(void) { printf("%ld\n", (long)(MSG_PEEK)); return 0; } Compiler stdout: Compiler stderr: Program stdout: 2 Program stderr: Computing int of "MSG_PEEK" : 2 Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpewaytjbu Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpewaytjbu/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpewaytjbu/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #include #include #include int main(void) { printf("%ld\n", (long)(MSG_DONTROUTE)); return 0; } Compiler stdout: Compiler stderr: Program stdout: 4 Program stderr: Computing int of "MSG_DONTROUTE" : 4 Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpjsh1ruc8 Command line: /usr/bin/cc -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpjsh1ruc8/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpjsh1ruc8/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #include void bar(void) { sizeof(struct in6_addr); } Compiler stdout: Compiler stderr: Checking for type "struct in6_addr" : YES Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpckxtyt1j Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpckxtyt1j/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpckxtyt1j/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: int main() { int atomic = 2; __sync_bool_compare_and_swap (&atomic, 2, 3); return 0; } Compiler stdout: Compiler stderr: Checking if "atomic ops" : links: YES Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpja45dp60 Command line: /usr/bin/cc -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpja45dp60/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpja45dp60/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 #error "compiler has atomic ops, but doesn't define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4" #endif Compiler stdout: Compiler stderr: Checking if "atomic ops define" compiles: YES Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp0jg8cc5x Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp0jg8cc5x/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp0jg8cc5x/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: int main() { int atomic = 2; __sync_swap (&atomic, 2); return 0; } Compiler stdout: Compiler stderr: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp0jg8cc5x/testfile.c: In function 'main': /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp0jg8cc5x/testfile.c:4:9: warning: implicit declaration of function '__sync_swap' [-Wimplicit-function-declaration] 4 | __sync_swap (&atomic, 2); | ^~~~~~~~~~~ /usr/bin/ld: /tmp/ccz4daNb.o: in function `main': /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp0jg8cc5x/testfile.c:4: undefined reference to `__sync_swap' collect2: error: ld returned 1 exit status Checking if "sync swap" : links: NO Run-time dependency threads found: YES Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp8guy0rgx Command line: /usr/bin/cc -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp8guy0rgx/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp8guy0rgx/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef pthread_attr_setstacksize pthread_attr_setstacksize; #endif return 0; } Compiler stdout: Compiler stderr: Header has symbol "pthread_attr_setstacksize" : YES Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp9am_gn1r Command line: /usr/bin/cc -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp9am_gn1r/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp9am_gn1r/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef pthread_attr_setinheritsched pthread_attr_setinheritsched; #endif return 0; } Compiler stdout: Compiler stderr: Header has symbol "pthread_attr_setinheritsched" : YES Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpx3ofgp50 Command line: /usr/bin/cc -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpx3ofgp50/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpx3ofgp50/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef pthread_condattr_setclock pthread_condattr_setclock; #endif return 0; } Compiler stdout: Compiler stderr: Header has symbol "pthread_condattr_setclock" : YES Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpdih5alwd Command line: /usr/bin/cc -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpdih5alwd/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpdih5alwd/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef pthread_cond_timedwait_relative_np pthread_cond_timedwait_relative_np; #endif return 0; } Compiler stdout: Compiler stderr: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpdih5alwd/testfile.c: In function 'main': /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpdih5alwd/testfile.c:6:17: error: 'pthread_cond_timedwait_relative_np' undeclared (first use in this function); did you mean 'pthread_cond_timedwait'? 6 | pthread_cond_timedwait_relative_np; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | pthread_cond_timedwait /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpdih5alwd/testfile.c:6:17: note: each undeclared identifier is reported only once for each function it appears in Header has symbol "pthread_cond_timedwait_relative_np" : NO Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpaeuycw4_ Command line: /usr/bin/cc -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpaeuycw4_/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpaeuycw4_/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #ifndef _GNU_SOURCE # define _GNU_SOURCE #endif #include #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef pthread_getname_np pthread_getname_np; #endif return 0; } Compiler stdout: Compiler stderr: Header has symbol "pthread_getname_np" : YES Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp15f7r97j Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp15f7r97j/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp15f7r97j/output.exe -pthread -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #ifndef _GNU_SOURCE # define _GNU_SOURCE #endif #include int main() { pthread_setname_np("example"); return 0; } Compiler stdout: Compiler stderr: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp15f7r97j/testfile.c: In function 'main': /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp15f7r97j/testfile.c:7:36: warning: passing argument 1 of 'pthread_setname_np' makes integer from pointer without a cast [-Wint-conversion] 7 | pthread_setname_np("example"); | ^~~~~~~~~ | | | char * In file included from /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp15f7r97j/testfile.c:5: /usr/include/pthread.h:463:42: note: expected 'pthread_t' {aka 'long unsigned int'} but argument is of type 'char *' 463 | extern int pthread_setname_np (pthread_t __target_thread, const char *__name) | ~~~~~~~~~~^~~~~~~~~~~~~~~ /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp15f7r97j/testfile.c:7:17: error: too few arguments to function 'pthread_setname_np' 7 | pthread_setname_np("example"); | ^~~~~~~~~~~~~~~~~~ In file included from /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp15f7r97j/testfile.c:5: /usr/include/pthread.h:463:12: note: declared here 463 | extern int pthread_setname_np (pthread_t __target_thread, const char *__name) | ^~~~~~~~~~~~~~~~~~ Checking if "pthread_setname_np(const char*)" with dependency threads: links: NO Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpoa80jeim Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpoa80jeim/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpoa80jeim/output.exe -pthread -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #ifndef _GNU_SOURCE # define _GNU_SOURCE #endif #include int main() { pthread_setname_np(pthread_self(), "example"); return 0; } Compiler stdout: Compiler stderr: Checking if "pthread_setname_np(pthread_t, const char*)" with dependency threads: links: YES Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpoixjgb3_ Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpoixjgb3_/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpoixjgb3_/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: volatile int *a = 0, *b = 0; void f (int i) { volatile int x = 5; if (i == 0) b = &x; else f (i - 1); } int main () { volatile int y = 7; a = &y; f (100); return b > a ? 0 : 1; } Compiler stdout: Compiler stderr: Program stdout: Program stderr: Checking if "stack grows check" runs: NO (1) Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpfs2htbyf Command line: /usr/bin/c++ -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpfs2htbyf/testfile.cpp -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpfs2htbyf/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -fpermissive Code: #include int main() { iconv_open("",""); } Compiler stdout: Compiler stderr: Run-time dependency iconv found: YES Pkg-config binary for 1 is not cached. Pkg-config binary for 1 specified from cross file, native file, or env var as ['/bin/pkg-config'] Found pkg-config: /bin/pkg-config (0.29.2) Determining dependency 'libpcre2-8' with pkg-config executable '/bin/pkg-config' env[PKG_CONFIG]: /bin/pkg-config env[PKG_CONFIG_PATH]: /home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/jason/vcpkg/installed/x64-linux/debug/share/pkgconfig/ Called `/bin/pkg-config --modversion libpcre2-8` -> 0 10.42 env[PKG_CONFIG]: /bin/pkg-config env[PKG_CONFIG_PATH]: /home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/jason/vcpkg/installed/x64-linux/debug/share/pkgconfig/ Called `/bin/pkg-config --cflags libpcre2-8` -> 0 -I/home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include env[PKG_CONFIG]: /bin/pkg-config env[PKG_CONFIG_PATH]: /home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/jason/vcpkg/installed/x64-linux/debug/share/pkgconfig/ env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1 Called `/bin/pkg-config --libs libpcre2-8` -> 0 -L/home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib -lpcre2-8 env[PKG_CONFIG]: /bin/pkg-config env[PKG_CONFIG_PATH]: /home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/jason/vcpkg/installed/x64-linux/debug/share/pkgconfig/ Called `/bin/pkg-config --libs libpcre2-8` -> 0 -L/home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib -lpcre2-8 Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpm3x4888f Command line: /usr/bin/c++ -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpm3x4888f/testfile.cpp -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpm3x4888f/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -fpermissive Code: #include int main(void) { printf("%ld\n", (long)(sizeof(void *))); return 0; } Compiler stdout: Compiler stderr: Program stdout: 8 Program stderr: Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp3p_hwrzv Command line: /usr/bin/c++ -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp3p_hwrzv/testfile.cpp -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp3p_hwrzv/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -fpermissive --print-search-dirs Code: Compiler stdout: install: /usr/lib/gcc/x86_64-linux-gnu/11/ programs: =/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/bin/ libraries: =/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/11/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/11/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/ Compiler stderr: Run-time dependency libpcre2-8 found: YES 10.42 Executing subproject gvdb Project name: gvdb Project version: 0.0 C compiler for the host machine: /usr/bin/cc (gcc 11.4.0 "cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") C linker for the host machine: /usr/bin/cc ld.bfd 2.38 C compiler for the build machine: /usr/bin/cc (gcc 11.4.0 "cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") C linker for the build machine: /usr/bin/cc ld.bfd 2.38 Build targets in project: 0 Subproject gvdb finished. Dependency gvdb found: YES 0.0 (overridden) Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmprcs2792h Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmprcs2792h/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmprcs2792h/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -Wl,--start-group -lm -Wl,--end-group -Wl,--allow-shlib-undefined Code: int main(void) { return 0; } Compiler stdout: Compiler stderr: Library m found: YES Pkg-config binary for 1 is cached. Determining dependency 'libffi' with pkg-config executable '/bin/pkg-config' env[PKG_CONFIG]: /bin/pkg-config env[PKG_CONFIG_PATH]: /home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/jason/vcpkg/installed/x64-linux/debug/share/pkgconfig/ Called `/bin/pkg-config --modversion libffi` -> 0 3.4.4 env[PKG_CONFIG]: /bin/pkg-config env[PKG_CONFIG_PATH]: /home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/jason/vcpkg/installed/x64-linux/debug/share/pkgconfig/ Called `/bin/pkg-config --cflags libffi` -> 0 -I/home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include env[PKG_CONFIG]: /bin/pkg-config env[PKG_CONFIG_PATH]: /home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/jason/vcpkg/installed/x64-linux/debug/share/pkgconfig/ env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1 Called `/bin/pkg-config --libs libffi` -> 0 -L/home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib -lffi env[PKG_CONFIG]: /bin/pkg-config env[PKG_CONFIG_PATH]: /home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/jason/vcpkg/installed/x64-linux/debug/share/pkgconfig/ Called `/bin/pkg-config --libs libffi` -> 0 -L/home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib -lffi Run-time dependency libffi found: YES 3.4.4 Pkg-config binary for 1 is cached. Determining dependency 'zlib' with pkg-config executable '/bin/pkg-config' env[PKG_CONFIG]: /bin/pkg-config env[PKG_CONFIG_PATH]: /home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/jason/vcpkg/installed/x64-linux/debug/share/pkgconfig/ Called `/bin/pkg-config --modversion zlib` -> 0 1.3 env[PKG_CONFIG]: /bin/pkg-config env[PKG_CONFIG_PATH]: /home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/jason/vcpkg/installed/x64-linux/debug/share/pkgconfig/ Called `/bin/pkg-config --cflags zlib` -> 0 -I/home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include env[PKG_CONFIG]: /bin/pkg-config env[PKG_CONFIG_PATH]: /home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/jason/vcpkg/installed/x64-linux/debug/share/pkgconfig/ env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1 Called `/bin/pkg-config --libs zlib` -> 0 -L/home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib -lz env[PKG_CONFIG]: /bin/pkg-config env[PKG_CONFIG_PATH]: /home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/jason/vcpkg/installed/x64-linux/debug/share/pkgconfig/ Called `/bin/pkg-config --libs zlib` -> 0 -L/home/jason/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib -lz Run-time dependency zlib found: YES 1.3 CMake binary for 1 is not cached CMake binary for 1 specified from cross file, native file, or env var as ['/home/jason/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake'] Found CMake: /home/jason/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake (3.27.1) Extracting basic cmake information CMake Toolchain: Calling CMake once to generate the compiler state Calling CMake (['/home/jason/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake']) in /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/__CMake_compiler_info__ with: - "--trace-expand" - "--trace-format=json-v1" - "--no-warn-unused-cli" - "--trace-redirect=cmake_trace.txt" - "-G" - "Ninja" - "-DCMAKE_TOOLCHAIN_FILE=/home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/__CMake_compiler_info__/CMakeMesonTempToolchainFile.cmake" - "." - "-DCMAKE_PREFIX_PATH=/home/jason/vcpkg/installed/x64-linux/debug;/home/jason/vcpkg/installed/x64-linux" CMake trace warning: add_executable() non imported executables are not supported CMake TRACE: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-LqN7mf/CMakeLists.txt:20 add_executable(['cmTC_861d3', '/home/jason/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/share/cmake-3.27/Modules/CMakeCCompilerABI.c']) CMake trace warning: target_link_options() TARGET cmTC_861d3 not found CMake TRACE: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-LqN7mf/CMakeLists.txt:23 target_link_libraries(['cmTC_861d3', '']) CMake trace warning: add_executable() non imported executables are not supported CMake TRACE: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-TWzEWE/CMakeLists.txt:20 add_executable(['cmTC_eee31', '/home/jason/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/share/cmake-3.27/Modules/CMakeCXXCompilerABI.cpp']) CMake trace warning: target_link_options() TARGET cmTC_eee31 not found CMake TRACE: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-TWzEWE/CMakeLists.txt:23 target_link_libraries(['cmTC_eee31', '']) Try CMake generator: auto Calling CMake (['/home/jason/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake']) in /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/cmake_Intl with: - "--trace-expand" - "--trace-format=json-v1" - "--no-warn-unused-cli" - "--trace-redirect=cmake_trace.txt" - "-DCMAKE_TOOLCHAIN_FILE=/home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/cmake_Intl/CMakeMesonToolchainFile.cmake" - "." - "-DCMAKE_PREFIX_PATH=/home/jason/vcpkg/installed/x64-linux/debug;/home/jason/vcpkg/installed/x64-linux" -- Module search paths: ['/', '/home/jason/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64', '/home/jason/vcpkg/installed/x64-linux', '/home/jason/vcpkg/installed/x64-linux/debug', '/opt', '/usr', '/usr/local'] -- CMake root: /home/jason/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/share/cmake-3.27 -- CMake architectures: ['x86_64-linux-gnu'] -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share', 'lib/x86_64-linux-gnu'] Determining dependency 'Intl' with CMake executable '/home/jason/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake' Try CMake generator: auto Calling CMake (['/home/jason/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake']) in /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/cmake_Intl with: - "-DNAME=Intl" - "-DARCHS=x86_64-linux-gnu" - "-DVERSION=" - "-DCOMPS=" - "--trace-expand" - "--trace-format=json-v1" - "--no-warn-unused-cli" - "--trace-redirect=cmake_trace.txt" - "-DCMAKE_TOOLCHAIN_FILE=/home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/cmake_Intl/CMakeMesonToolchainFile.cmake" - "." - "-DCMAKE_PREFIX_PATH=/home/jason/vcpkg/installed/x64-linux/debug;/home/jason/vcpkg/installed/x64-linux" CMake trace warning: add_executable() non imported executables are not supported CMake TRACE: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/cmake_Intl/CMakeFiles/CMakeScratch/TryCompile-Wk0r7a/CMakeLists.txt:17 add_executable(['cmTC_b9412', '/home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/cmake_Intl/CMakeFiles/CMakeScratch/TryCompile-Wk0r7a/src.c']) CMake trace warning: set_target_properties() TARGET cmTC_b9412 not found CMake TRACE: /home/jason/vcpkg/scripts/buildsystems/vcpkg.cmake:632 set_target_properties(['cmTC_b9412', 'PROPERTIES', 'VS_USER_PROPS', 'do_not_import_user.props']) CMake trace warning: set_target_properties() TARGET cmTC_b9412 not found CMake TRACE: /home/jason/vcpkg/scripts/buildsystems/vcpkg.cmake:633 set_target_properties(['cmTC_b9412', 'PROPERTIES', 'VS_GLOBAL_VcpkgEnabled', 'false']) CMake trace warning: target_link_options() TARGET cmTC_b9412 not found CMake TRACE: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/cmake_Intl/CMakeFiles/CMakeScratch/TryCompile-Wk0r7a/CMakeLists.txt:20 target_link_libraries(['cmTC_b9412', '']) Guessed CMake target 'Intl::Intl' CMake TARGET: -- name: Intl::Intl -- type: INTERFACE -- imported: True -- properties: { 'INTERFACE_INCLUDE_DIRECTORIES': [''] 'INTERFACE_LINK_LIBRARIES': [''] } -- tline: CMake TRACE: /home/jason/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/share/cmake-3.27/Modules/FindIntl.cmake:178 add_library(['Intl::Intl', 'INTERFACE', 'IMPORTED']) Include Dirs: [] Compiler Options: [] Libraries: [] Run-time dependency intl found: YES Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp5rebo56w Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp5rebo56w/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp5rebo56w/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #define bind_textdomain_codeset meson_disable_define_of_bind_textdomain_codeset #include #undef bind_textdomain_codeset #ifdef __cplusplus extern "C" #endif char bind_textdomain_codeset (void); #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset fail fail fail this function is not going to work #endif int main(void) { return bind_textdomain_codeset (); } Compiler stdout: Compiler stderr: Checking for function "bind_textdomain_codeset" with dependency Intl: YES Dependency mount skipped: feature libmount disabled Dependency libselinux skipped: feature selinux disabled Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp4934heru Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp4934heru/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp4934heru/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #define strlcpy meson_disable_define_of_strlcpy #include #undef strlcpy #ifdef __cplusplus extern "C" #endif char strlcpy (void); #if defined __stub_strlcpy || defined __stub___strlcpy fail fail fail this function is not going to work #endif int main(void) { return strlcpy (); } Compiler stdout: Compiler stderr: /usr/bin/ld: /tmp/ccBk40TX.o: in function `main': /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp4934heru/testfile.c:17: undefined reference to `strlcpy' collect2: error: ld returned 1 exit status Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmppxlrpgu1 Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmppxlrpgu1/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmppxlrpgu1/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: 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 !1 && !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: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmppxlrpgu1/testfile.c: In function 'main': /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmppxlrpgu1/testfile.c:17:18: error: #error "__builtin_strlcpy not found" 17 | #error "__builtin_strlcpy not found" | ^~~~~ Checking for function "strlcpy" : NO Running compile: Working directory: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpvx12g2r_ Command line: /usr/bin/cc -L/home/jason/vcpkg/installed/x64-linux/debug/lib -I/home/jason/vcpkg/installed/x64-linux/include /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpvx12g2r_/testfile.c -o /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpvx12g2r_/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 Code: #include #include #include #include #include static int __getcmdline (void) { /* This code is a dumbed-down version of g_file_get_contents() */ #ifndef O_BINARY #define O_BINARY 0 #endif #define BUFSIZE 1024 char result[BUFSIZE]; struct stat stat_buf; int fd = open ("/proc/self/cmdline", O_RDONLY|O_BINARY); if (fd < 0) exit (1); if (fstat (fd, &stat_buf)) exit (1); if (stat_buf.st_size > 0 && S_ISREG (stat_buf.st_mode)) { if (read (fd, result, BUFSIZE) <= 0) exit (1); } else { FILE *f = fdopen (fd, "r"); if (f == NULL) exit (1); if (fread (result, 1, BUFSIZE, f) <= 0) exit (1); } return 0; } int main (void) { exit (__getcmdline ()); } Compiler stdout: Compiler stderr: Program stdout: Program stderr: Checking if "/proc/self/cmdline" runs: YES Could not introspect Python (['/usr/bin/python3', '/tmp/tmp253v40xr.py']): exit code 1 Program stdout: Program stderr: /tmp/tmp253v40xr.py:5: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives import distutils.command.install Traceback (most recent call last): File "/tmp/tmp253v40xr.py", line 5, in import distutils.command.install ModuleNotFoundError: No module named 'distutils.command' ../src/glib-2-63e74fc4f1.clean/meson.build:2277:0: ERROR: ['/usr/bin/python3']> is not a valid python or it is missing distutils ```
/home/jason/vcpkg/buildtrees/glib/config-x64-linux-dbg-out.log ``` WARNING: Recommend using either -Dbuildtype or -Doptimization + -Ddebug. Using both is redundant since they override each other. See: https://mesonbuild.com/Builtin-options.html#build-type-options The Meson build system Version: 0.62.1 Source dir: /home/jason/vcpkg/buildtrees/glib/src/glib-2-63e74fc4f1.clean Build dir: /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg Build type: native build Project name: glib Project version: 2.76.5 C compiler for the host machine: /usr/bin/cc (gcc 11.4.0 "cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") C linker for the host machine: /usr/bin/cc ld.bfd 2.38 Host machine cpu family: x86_64 Host machine cpu: x86_64 Compiler for C supports arguments -std=c90: YES Compiler for C supports arguments -std=c99: YES Compiler for C supports arguments -std=c11: YES Compiler for C supports arguments -std=c17: YES C++ compiler for the host machine: /usr/bin/c++ (gcc 11.4.0 "c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") C++ linker for the host machine: /usr/bin/c++ ld.bfd 2.38 Compiler for C++ supports arguments -std=c++98: YES Compiler for C++ supports arguments -std=c++03: YES Compiler for C++ supports arguments -std=c++11: YES Compiler for C++ supports arguments -std=c++14: YES Compiler for C++ supports arguments -std=c++17: YES Compiler for C++ supports arguments -std=c++20: YES Compiler for C++ supports arguments -std=c++2b: YES Compiler for C++ supports arguments -std=c++latest: NO Program valgrind found: NO Compiler for C supports arguments -fno-strict-aliasing: YES Message: Enabling various debug infrastructure Has header "alloca.h" : YES Has header "afunix.h" : NO Has header "crt_externs.h" : NO Has header "dirent.h" : YES Has header "float.h" : YES Has header "fstab.h" : YES Has header "grp.h" : YES Has header "inttypes.h" : YES Has header "limits.h" : YES Has header "locale.h" : YES Has header "mach/mach_time.h" : NO Has header "memory.h" : YES Has header "mntent.h" : YES Has header "poll.h" : YES Has header "pwd.h" : YES Has header "sched.h" : YES Has header "spawn.h" : YES Has header "stdatomic.h" : YES Has header "stdint.h" : YES Has header "stdlib.h" : YES Has header "string.h" : YES Has header "strings.h" : YES Has header "sys/auxv.h" : YES Has header "sys/event.h" : NO Has header "sys/filio.h" : NO Has header "sys/inotify.h" : YES Has header "sys/mkdev.h" : NO Has header "sys/mntctl.h" : NO Has header "sys/mnttab.h" : NO Has header "sys/mount.h" : YES Has header "sys/param.h" : YES Has header "sys/resource.h" : YES Has header "sys/select.h" : YES Has header "sys/statfs.h" : YES Has header "sys/stat.h" : YES Has header "sys/statvfs.h" : YES Has header "sys/sysctl.h" : NO Has header "sys/time.h" : YES Has header "sys/times.h" : YES Has header "sys/types.h" : YES Has header "sys/uio.h" : YES Has header "sys/vfs.h" : YES Has header "sys/vfstab.h" : NO Has header "sys/vmount.h" : NO Has header "sys/wait.h" : YES Has header "termios.h" : YES Has header "unistd.h" : YES Has header "values.h" : YES Has header "wchar.h" : YES Has header "xlocale.h" : NO Check usable header "malloc.h" : YES Has header "linux/netlink.h" : YES Checking if "statx() test" compiles: YES Header has symbol "LC_MESSAGES" : YES Checking whether type "struct stat" has member "st_mtimensec" : NO Checking whether type "struct stat" has member "st_mtim.tv_nsec" : YES Checking whether type "struct stat" has member "st_atimensec" : NO Checking whether type "struct stat" has member "st_atim.tv_nsec" : YES Checking whether type "struct stat" has member "st_ctimensec" : NO Checking whether type "struct stat" has member "st_ctim.tv_nsec" : YES Checking whether type "struct stat" has member "st_birthtime" : NO Checking whether type "struct stat" has member "st_birthtimensec" : NO Checking whether type "struct stat" has member "st_birthtim" : NO Checking whether type "struct stat" has member "st_birthtim.tv_nsec" : NO Checking whether type "struct stat" has member "st_blksize" : YES Checking whether type "struct stat" has member "st_blocks" : YES Checking whether type "struct statfs" has member "f_fstypename" : NO Checking whether type "struct statfs" has member "f_bavail" : YES Checking whether type "struct dirent" has member "d_type" : YES Checking whether type "struct statvfs" has member "f_basetype" : NO Checking whether type "struct statvfs" has member "f_fstypename" : NO Checking whether type "struct tm" has member "tm_gmtoff" : YES Checking whether type "struct tm" has member "__tm_gmtoff" : NO Compiler for C supports arguments -Wduplicated-branches: YES Compiler for C supports arguments -Wimplicit-fallthrough: YES Compiler for C supports arguments -Wmisleading-indentation: YES Compiler for C supports arguments -Wmissing-field-initializers: YES Compiler for C supports arguments -Wnonnull: YES Compiler for C supports arguments -Wunused: YES Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -Wno-cast-function-type: YES Compiler for C supports arguments -Wno-pedantic: YES Compiler for C supports arguments -Wno-format-zero-length: YES Compiler for C supports arguments -Wno-variadic-macros: YES Compiler for C supports arguments -Werror=format=2: YES Compiler for C supports arguments -Werror=init-self: YES Compiler for C supports arguments -Werror=missing-include-dirs: YES Compiler for C supports arguments -Werror=pointer-arith: YES Compiler for C supports arguments -Werror=unused-result: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wno-bad-function-cast: YES Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports arguments -Werror=missing-prototypes: YES Compiler for C supports arguments -Werror=pointer-sign: YES Compiler for C supports arguments -Wno-string-plus-int: NO Compiler for C++ supports arguments -Wduplicated-branches: YES Compiler for C++ supports arguments -Wimplicit-fallthrough: YES Compiler for C++ supports arguments -Wmisleading-indentation: YES Compiler for C++ supports arguments -Wmissing-field-initializers: YES Compiler for C++ supports arguments -Wnonnull: YES Compiler for C++ supports arguments -Wunused: YES Compiler for C++ supports arguments -Wno-unused-parameter: YES Compiler for C++ supports arguments -Wno-cast-function-type: YES Compiler for C++ supports arguments -Wno-pedantic: YES Compiler for C++ supports arguments -Wno-format-zero-length: YES Compiler for C++ supports arguments -Wno-variadic-macros: YES Compiler for C++ supports arguments -Werror=format=2: YES Compiler for C++ supports arguments -Werror=init-self: YES Compiler for C++ supports arguments -Werror=missing-include-dirs: YES Compiler for C++ supports arguments -Werror=pointer-arith: YES Compiler for C++ supports arguments -Werror=unused-result: YES Compiler for C supports link arguments -Wl,-z,nodelete: YES Compiler for C supports link arguments -Wl,-Bsymbolic-functions: YES Checking for function "accept4" : YES Checking for function "close_range" : YES Checking for function "endmntent" : YES Checking for function "endservent" : YES Checking for function "epoll_create" : YES Checking for function "fallocate" : YES Checking for function "fchmod" : YES Checking for function "fchown" : YES Checking for function "fdwalk" : NO Checking for function "free_aligned_sized" : NO Checking for function "free_sized" : NO Checking for function "fsync" : YES Checking for function "getauxval" : YES Checking for function "getc_unlocked" : YES Checking for function "getfsstat" : NO Checking for function "getgrgid_r" : YES Checking for function "getmntent_r" : YES Checking for function "getpwuid_r" : YES Checking for function "getresuid" : YES Checking for function "getvfsstat" : NO Checking for function "gmtime_r" : YES Checking for function "hasmntopt" : YES Checking for function "inotify_init1" : YES Checking for function "issetugid" : NO Checking for function "kevent" : NO Checking for function "kqueue" : NO Checking for function "lchmod" : YES Checking for function "lchown" : YES Checking for function "link" : YES Checking for function "localtime_r" : YES Checking for function "lstat" : YES Checking for function "mbrtowc" : YES Checking for function "memalign" : YES Checking for function "mmap" : YES Checking for function "newlocale" : YES Checking for function "pipe2" : YES Checking for function "poll" : YES Checking for function "prlimit" : YES Checking for function "readlink" : YES Checking for function "recvmmsg" : YES Checking for function "sendmmsg" : YES Checking for function "setenv" : YES Checking for function "setmntent" : YES Checking for function "strerror_r" : YES Checking for function "strnlen" : YES Checking for function "strsignal" : YES Checking for function "strtod_l" : YES Checking for function "strtoll_l" : YES Checking for function "strtoull_l" : YES Checking for function "symlink" : YES Checking for function "timegm" : YES Checking for function "unsetenv" : YES Checking for function "uselocale" : YES Checking for function "utimes" : YES Checking for function "utimensat" : YES Checking for function "valloc" : YES Checking for function "vasprintf" : YES Checking for function "vsnprintf" : YES Checking for function "wcrtomb" : YES Checking for function "wcslen" : YES Checking for function "wcsnlen" : YES Checking for function "sysctlbyname" : NO Checking for function "statvfs" : YES Checking for function "statfs" : YES Checking for function "if_indextoname" : YES Checking for function "if_nametoindex" : YES Checking for function "splice" : YES Checking for function "stpcpy" : YES Checking for function "memalign" : YES Checking for function "_aligned_malloc" : NO Checking for function "aligned_alloc" : NO Checking for function "posix_memalign" : YES Checking for function "posix_spawn" : YES Checking if "strerror_r() returns char *" compiles: YES Checking for function "snprintf" : YES Checking for function "strcasecmp" : YES Checking for function "strncasecmp" : YES Header has symbol "major" : YES Header has symbol "RTLD_LAZY" : YES Header has symbol "RTLD_NOW" : YES Header has symbol "RTLD_GLOBAL" : YES Header has symbol "RTLD_NEXT" : YES Message: Checking whether to use statfs or statvfs .. statfs Checking for function "mkostemp" : YES Checking if "futex(2) system call" compiles: YES Checking if "futex(2) system call" compiles: NO Checking if "eventfd(2) system call" : links: YES Checking if "pidfd_open(2) system call" : links: YES Checking if "__uint128_t available" compiles: YES Checking if "clock_gettime" : links: YES Checking if "dlopen() and dlsym() in system libraries" : links: YES Checking if "number of arguments to statfs() (n=2)" compiles: YES Checking if "open() option O_DIRECTORY" compiles: YES Checking if "fcntl() option F_FULLFSYNC" compiles: NO Checking if "C99 vsnprintf" runs: YES Checking if "C99 snprintf" runs: YES Checking if "Unix98 printf positional parameters" runs: YES Checking if "nl_langinfo and CODESET" : links: YES Checking if "nl_langinfo (PM_STR)" : links: YES Checking if "nl_langinfo (_NL_CTYPE_OUTDIGITn_MB)" : links: YES Checking if "nl_langinfo (ALTMON_n)" : links: YES Checking if "nl_langinfo (_NL_ABALTMON_n)" : links: YES Checking if "nl_langinfo and _NL_TIME_CODESET" : links: YES Checking if "signed" compiles: YES Header has symbol "ptrdiff_t" : YES Checking if "sig_atomic_t" : links: YES Checking if "long long" compiles: YES Checking if "long double" compiles: YES Header has symbol "wchar_t" : YES Header has symbol "wint_t" : YES Checking if "uintmax_t in inttypes.h" compiles: YES Checking if "uintmax_t in stdint.h" compiles: YES Checking for size of "char" : 1 Checking for size of "short" : 2 Checking for size of "int" : 4 Checking for size of "void*" : 8 Checking for size of "long" : 8 Checking for size of "long long" : 8 Checking for size of "size_t" : 8 Checking for size of "ssize_t" : 8 Checking if "int64_t is long" compiles: YES Checking for alignment of "char" : 1 Checking for alignment of "short" : 2 Checking for alignment of "int" : 4 Checking for alignment of "void*" : 8 Checking for alignment of "long" : 8 Checking for alignment of "long long" : 8 Checking for alignment of "size_t" : 8 Checking for size of "wchar_t" : 4 Checking if "GCC size_t typedef is long" compiles: YES Checking if "GCC size_t typedef is long long" compiles: NO Checking if "va_lists can be copied as values" runs: DID NOT COMPILE Checking if "ISO C99 varargs macros in C" compiles: YES Checking if "ISO C99 varargs macros in C++" compiles: YES Checking if "GNUC varargs macros" compiles: YES Has header "alloca.h" : YES (cached) Has header "sys/poll.h" : YES Has header "sys/types.h" : YES (cached) Has header "winsock2.h" : NO Computing int of "POLLIN" : 1 Computing int of "POLLOUT" : 4 Computing int of "POLLPRI" : 2 Computing int of "POLLERR" : 8 Computing int of "POLLHUP" : 16 Computing int of "POLLNVAL" : 32 Computing int of "AF_UNIX" : 1 Computing int of "AF_INET" : 2 Computing int of "AF_INET6" : 10 Computing int of "MSG_OOB" : 1 Computing int of "MSG_PEEK" : 2 Computing int of "MSG_DONTROUTE" : 4 Checking for type "struct in6_addr" : YES Checking if "atomic ops" : links: YES Checking if "atomic ops define" compiles: YES Checking if "sync swap" : links: NO Run-time dependency threads found: YES Header has symbol "pthread_attr_setstacksize" : YES Header has symbol "pthread_attr_setinheritsched" : YES Header has symbol "pthread_condattr_setclock" : YES Header has symbol "pthread_cond_timedwait_relative_np" : NO Header has symbol "pthread_getname_np" : YES Checking if "pthread_setname_np(const char*)" with dependency threads: links: NO Checking if "pthread_setname_np(pthread_t, const char*)" with dependency threads: links: YES Checking if "stack grows check" runs: NO (1) Run-time dependency iconv found: YES Found pkg-config: /bin/pkg-config (0.29.2) Run-time dependency libpcre2-8 found: YES 10.42 Executing subproject gvdb gvdb| Project name: gvdb gvdb| Project version: 0.0 gvdb| C compiler for the host machine: /usr/bin/cc (gcc 11.4.0 "cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") gvdb| C linker for the host machine: /usr/bin/cc ld.bfd 2.38 gvdb| Build targets in project: 0 gvdb| Subproject gvdb finished. Dependency gvdb found: YES 0.0 (overridden) Library m found: YES Run-time dependency libffi found: YES 3.4.4 Run-time dependency zlib found: YES 1.3 Found CMake: /home/jason/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake (3.27.1) Run-time dependency intl found: YES Checking for function "bind_textdomain_codeset" with dependency Intl: YES Dependency mount skipped: feature libmount disabled Dependency libselinux skipped: feature selinux disabled Checking for function "strlcpy" : NO Checking if "/proc/self/cmdline" runs: YES ../src/glib-2-63e74fc4f1.clean/meson.build:2277:0: ERROR: ['/usr/bin/python3']> is not a valid python or it is missing distutils A full log can be found at /home/jason/vcpkg/buildtrees/glib/x64-linux-dbg/meson-logs/meson-log.txt ```
Cheney-W commented 11 months ago

Duplicate of https://github.com/microsoft/vcpkg/issues/33505