microsoft / vcpkg

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

[glib] Build error #33505

Closed LXY-S closed 9 months ago

LXY-S commented 10 months ago

Package: glib:x64-linux -> 2.76.3#3

Host Environment

To Reproduce

vcpkg install opencv Failure logs

-- Downloading https://download.gnome.org/sources/glib/2.76/glib-2.76.3.tar.xz -> glib-2.76.3.tar.xz...
-- Extracting source /home/mars/.vcpkg-clion/vcpkg/downloads/glib-2.76.3.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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/src/glib-2-d7c387c0f9.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/mars/.vcpkg-clion/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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/meson-x64-linux-dbg.log -Ddebug=true --prefix /home/mars/.vcpkg-clion/vcpkg/packages/glib_x64-linux/debug --includedir ../include -Dcmake_prefix_path=['/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug','/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux'] /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/src/glib-2-d7c387c0f9.clean
    Working Directory: /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg
    Error code: 1
    See logs for more information:
      /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/config-x64-linux-dbg-meson-log.txt.log
      /home/mars/.vcpkg-clion/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:147 (include)

Build started at 2023-09-02T10:34:01.607760
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/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug'"'"','"'"'/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux'"'"']' -Dprefix=/home/mars/.vcpkg-clion/vcpkg/packages/glib_x64-linux/debug -Dincludedir=../include -Dlibdir=lib -Dbackend=ninja -Dbuildtype=plain -Dwrap_mode=nodownload '--native-file /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/meson-x64-linux-dbg.log'
Python system: Linux
The Meson build system
Version: 0.62.1
Source dir: /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/src/glib-2-d7c387c0f9.clean
Build dir: /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg
Build type: native build
Project name: glib
Project version: 2.76.3
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/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include -D_FILE_OFFSET_BITS=64 -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /home/mars/.vcpkg-clion/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/mars/.vcpkg-clion/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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpnqu_jedr
Command line:  /usr/bin/cc -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpnqu_jedr/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpnqu_jedr/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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpxswqoghv
Command line:  /usr/bin/cc -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpxswqoghv/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpxswqoghv/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=c99 
...
Skipped 6987 lines
...
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpch3_w7hd/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpch3_w7hd/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:
 #include<stdio.h>

      #include<sys/poll.h>
      #include<sys/types.h>
        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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpmrqlk2f8
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpmrqlk2f8/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpmrqlk2f8/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:
 #include<stdio.h>

      #include<sys/poll.h>
      #include<sys/types.h>
        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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpo37lkngf
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpo37lkngf/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpo37lkngf/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:
 #include<stdio.h>

      #include<sys/poll.h>
      #include<sys/types.h>
        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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpvzva9l7h
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpvzva9l7h/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpvzva9l7h/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:
 #include<stdio.h>

      #include<sys/poll.h>
      #include<sys/types.h>
        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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpkicxn7wj
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpkicxn7wj/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpkicxn7wj/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:
 #include<stdio.h>

      #include<sys/poll.h>
      #include<sys/types.h>
        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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpusq561j_
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpusq561j_/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpusq561j_/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:
 #include<stdio.h>

      #include <sys/types.h>
      #include <sys/socket.h>
        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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp8bomf7vj
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp8bomf7vj/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp8bomf7vj/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:
 #include<stdio.h>

      #include <sys/types.h>
      #include <sys/socket.h>
        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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpkpyslinn
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpkpyslinn/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpkpyslinn/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:
 #include<stdio.h>

      #include <sys/types.h>
      #include <sys/socket.h>
        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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmprjy79e3y
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmprjy79e3y/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmprjy79e3y/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:
 #include<stdio.h>

      #include <sys/types.h>
      #include <sys/socket.h>
        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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpzvaya3ob
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpzvaya3ob/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpzvaya3ob/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:
 #include<stdio.h>

      #include <sys/types.h>
      #include <sys/socket.h>
        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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpjoz8eo73
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpjoz8eo73/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpjoz8eo73/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:
 #include<stdio.h>

      #include <sys/types.h>
      #include <sys/socket.h>
        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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpfd0gty6z
Command line:  /usr/bin/cc -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpfd0gty6z/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpfd0gty6z/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:
 #include <netinet/in.h>
        void bar(void) {
            sizeof(struct in6_addr);
        }
Compiler stdout:

Compiler stderr:

Checking for type "struct in6_addr" : YES 
Running compile:
Working directory:  /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpfyqnir5l
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpfyqnir5l/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpfyqnir5l/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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpjwl13j8a
Command line:  /usr/bin/cc -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpjwl13j8a/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpjwl13j8a/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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpsm7guv2z
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpsm7guv2z/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpsm7guv2z/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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpsm7guv2z/testfile.c: In function 'main':
/home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpsm7guv2z/testfile.c:4:9: warning: implicit declaration of function '__sync_swap' [-Wimplicit-function-declaration]
    4 |         __sync_swap (&atomic, 2);
      |         ^~~~~~~~~~~
/usr/bin/ld: /tmp/ccEtXRMx.o: in function `main':
/home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpsm7guv2z/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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp2ni86vqe
Command line:  /usr/bin/cc -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp2ni86vqe/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp2ni86vqe/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:

        #include <pthread.h>
        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 <pthread.h> has symbol "pthread_attr_setstacksize" : YES 
Running compile:
Working directory:  /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmph_ndx4ko
Command line:  /usr/bin/cc -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmph_ndx4ko/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmph_ndx4ko/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:

        #include <pthread.h>
        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 <pthread.h> has symbol "pthread_attr_setinheritsched" : YES 
Running compile:
Working directory:  /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpvexrp2hu
Command line:  /usr/bin/cc -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpvexrp2hu/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpvexrp2hu/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:

        #include <pthread.h>
        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 <pthread.h> has symbol "pthread_condattr_setclock" : YES 
Running compile:
Working directory:  /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp6v1aw12k
Command line:  /usr/bin/cc -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp6v1aw12k/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp6v1aw12k/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:

        #include <pthread.h>
        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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp6v1aw12k/testfile.c: In function 'main':
/home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp6v1aw12k/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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp6v1aw12k/testfile.c:6:17: note: each undeclared identifier is reported only once for each function it appears in

Header <pthread.h> has symbol "pthread_cond_timedwait_relative_np" : NO 
Running compile:
Working directory:  /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpaqenpunw
Command line:  /usr/bin/cc -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpaqenpunw/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpaqenpunw/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:

      #ifndef _GNU_SOURCE
      # define _GNU_SOURCE
      #endif
      #include <pthread.h>
        #include <pthread.h>
        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 <pthread.h> has symbol "pthread_getname_np" : YES 
Running compile:
Working directory:  /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp97u6q1_d
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp97u6q1_d/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp97u6q1_d/output.exe -pthread -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:

      #ifndef _GNU_SOURCE
      # define _GNU_SOURCE
      #endif
      #include <pthread.h>
              int main() {
                pthread_setname_np("example");
                return 0;
              }
Compiler stdout:

Compiler stderr:
 /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp97u6q1_d/testfile.c: In function 'main':
/home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp97u6q1_d/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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp97u6q1_d/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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp97u6q1_d/testfile.c:7:17: error: too few arguments to function 'pthread_setname_np'
    7 |                 pthread_setname_np("example");
      |                 ^~~~~~~~~~~~~~~~~~
In file included from /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp97u6q1_d/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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpig99wsyr
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpig99wsyr/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpig99wsyr/output.exe -pthread -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:

      #ifndef _GNU_SOURCE
      # define _GNU_SOURCE
      #endif
      #include <pthread.h>
                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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpe6u9nthu
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpe6u9nthu/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpe6u9nthu/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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp3epkroxt
Command line:  /usr/bin/c++ -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp3epkroxt/testfile.cpp -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp3epkroxt/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -fpermissive 

Code:
 #include <iconv.h>

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/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/mars/.vcpkg-clion/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/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/share/pkgconfig/
Called `/bin/pkg-config --cflags libpcre2-8` -> 0
-I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include
env[PKG_CONFIG]: /bin/pkg-config
env[PKG_CONFIG_PATH]: /home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/share/pkgconfig/
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/bin/pkg-config --libs libpcre2-8` -> 0
-L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib -lpcre2-8
env[PKG_CONFIG]: /bin/pkg-config
env[PKG_CONFIG_PATH]: /home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/share/pkgconfig/
Called `/bin/pkg-config --libs libpcre2-8` -> 0
-L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib -lpcre2-8
Running compile:
Working directory:  /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpuo10o1_d
Command line:  /usr/bin/c++ -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpuo10o1_d/testfile.cpp -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpuo10o1_d/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -fpermissive 

Code:
 #include<stdio.h>

        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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp5zm506ci
Command line:  /usr/bin/c++ -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp5zm506ci/testfile.cpp -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmp5zm506ci/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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpfiexxahd
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpfiexxahd/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpfiexxahd/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/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/mars/.vcpkg-clion/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/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/share/pkgconfig/
Called `/bin/pkg-config --cflags libffi` -> 0
-I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include
env[PKG_CONFIG]: /bin/pkg-config
env[PKG_CONFIG_PATH]: /home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/share/pkgconfig/
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/bin/pkg-config --libs libffi` -> 0
-L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib -lffi
env[PKG_CONFIG]: /bin/pkg-config
env[PKG_CONFIG_PATH]: /home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/share/pkgconfig/
Called `/bin/pkg-config --libs libffi` -> 0
-L/home/mars/.vcpkg-clion/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/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/mars/.vcpkg-clion/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/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/share/pkgconfig/
Called `/bin/pkg-config --cflags zlib` -> 0
-I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include
env[PKG_CONFIG]: /bin/pkg-config
env[PKG_CONFIG_PATH]: /home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/share/pkgconfig/
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/bin/pkg-config --libs zlib` -> 0
-L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib -lz
env[PKG_CONFIG]: /bin/pkg-config
env[PKG_CONFIG_PATH]: /home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib/pkgconfig/:/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/share/pkgconfig/
Called `/bin/pkg-config --libs zlib` -> 0
-L/home/mars/.vcpkg-clion/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/mars/.vcpkg-clion/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake']
Found CMake: /home/mars/.vcpkg-clion/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/mars/.vcpkg-clion/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake']) in /home/mars/.vcpkg-clion/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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/__CMake_compiler_info__/CMakeMesonTempToolchainFile.cmake"
  - "."
  - "-DCMAKE_PREFIX_PATH=/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug;/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux"
CMake trace warning: add_executable() non imported executables are not supported
CMake TRACE: /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-7fkoei/CMakeLists.txt:20 add_executable(['cmTC_e64ee', '/home/mars/.vcpkg-clion/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_e64ee not found
CMake TRACE: /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-7fkoei/CMakeLists.txt:23 target_link_libraries(['cmTC_e64ee', ''])
CMake trace warning: add_executable() non imported executables are not supported
CMake TRACE: /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-cecri2/CMakeLists.txt:20 add_executable(['cmTC_a476b', '/home/mars/.vcpkg-clion/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_a476b not found
CMake TRACE: /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-cecri2/CMakeLists.txt:23 target_link_libraries(['cmTC_a476b', ''])
Try CMake generator: auto
Calling CMake (['/home/mars/.vcpkg-clion/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake']) in /home/mars/.vcpkg-clion/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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/cmake_Intl/CMakeMesonToolchainFile.cmake"
  - "."
  - "-DCMAKE_PREFIX_PATH=/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug;/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux"
  -- Module search paths:    ['/', '/home/mars/.vcpkg-clion/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64', '/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux', '/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug', '/opt', '/usr', '/usr/local']
  -- CMake root:             /home/mars/.vcpkg-clion/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/mars/.vcpkg-clion/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake'
Try CMake generator: auto
Calling CMake (['/home/mars/.vcpkg-clion/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake']) in /home/mars/.vcpkg-clion/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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/cmake_Intl/CMakeMesonToolchainFile.cmake"
  - "."
  - "-DCMAKE_PREFIX_PATH=/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug;/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux"
CMake trace warning: add_executable() non imported executables are not supported
CMake TRACE: /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/cmake_Intl/CMakeFiles/CMakeScratch/TryCompile-4aaYUw/CMakeLists.txt:17 add_executable(['cmTC_c318f', '/home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/cmake_Intl/CMakeFiles/CMakeScratch/TryCompile-4aaYUw/src.c'])
CMake trace warning: set_target_properties() TARGET cmTC_c318f not found
CMake TRACE: /home/mars/.vcpkg-clion/vcpkg/scripts/buildsystems/vcpkg.cmake:632 set_target_properties(['cmTC_c318f', 'PROPERTIES', 'VS_USER_PROPS', 'do_not_import_user.props'])
CMake trace warning: set_target_properties() TARGET cmTC_c318f not found
CMake TRACE: /home/mars/.vcpkg-clion/vcpkg/scripts/buildsystems/vcpkg.cmake:633 set_target_properties(['cmTC_c318f', 'PROPERTIES', 'VS_GLOBAL_VcpkgEnabled', 'false'])
CMake trace warning: target_link_options() TARGET cmTC_c318f not found
CMake TRACE: /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/cmake_Intl/CMakeFiles/CMakeScratch/TryCompile-4aaYUw/CMakeLists.txt:20 target_link_libraries(['cmTC_c318f', ''])
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/mars/.vcpkg-clion/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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpezf3507_
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpezf3507_/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpezf3507_/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 <limits.h>
        #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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpyeqb4koy
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpyeqb4koy/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpyeqb4koy/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:

        #define strlcpy meson_disable_define_of_strlcpy

        #include <limits.h>
        #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/ccH1qSx5.o: in function `main':
/home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpyeqb4koy/testfile.c:17: undefined reference to `strlcpy'
collect2: error: ld returned 1 exit status

Running compile:
Working directory:  /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpamwkgpv3
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpamwkgpv3/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpamwkgpv3/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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpamwkgpv3/testfile.c: In function 'main':
/home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmpamwkgpv3/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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmplo5xz7_7
Command line:  /usr/bin/cc -L/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/debug/lib -I/home/mars/.vcpkg-clion/vcpkg/installed/x64-linux/include /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmplo5xz7_7/testfile.c -o /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-private/tmplo5xz7_7/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:

#include <fcntl.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

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/tmpgow9jpav.py']): exit code 1
Program stdout:

Program stderr:

/tmp/tmpgow9jpav.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/tmpgow9jpav.py", line 5, in <module>
    import distutils.command.install
ModuleNotFoundError: No module named 'distutils.command'

../src/glib-2-d7c387c0f9.clean/meson.build:2277:0: ERROR: <PythonExternalProgram 'python' -> ['/usr/bin/python3']> is not a valid python or it is missing distutils

/home/mars/.vcpkg-clion/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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/src/glib-2-d7c387c0f9.clean Build dir: /home/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg Build type: native build Project name: glib Project version: 2.76.3 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/mars/.vcpkg-clion/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-d7c387c0f9.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/mars/.vcpkg-clion/vcpkg/buildtrees/glib/x64-linux-dbg/meson-logs/meson-log.txt ```
SchaichAlonso commented 10 months ago

You need to install python using the distribution's package manager

jimwang118 commented 10 months ago

If you have python3 installed, then you may need to install python3-distutils.

LXY-S commented 9 months ago

Thank you. Problem solved