Open kspiridonov opened 5 days ago
/bin/pkg-config --cflags libcrypt return empty string (that's ok as i understand):
$ /bin/pkg-config --cflags libcrypt
Using the latest version of vcpkg for local installation does not reproduce the issue.
It seems that there is a problem with python and meson. Could you try with a higher version of python 3.11 or above?
CMake Warning at scripts/ports.cmake:168 (message):
Unexpected UNKNOWN_READ_ACCESS on variable WIN32 in script mode.
Not the cause of the problem, but an indication that your vcpkg installation has outdated packages. Check with
vcpkg upgrade
CMake Warning at scripts/ports.cmake:168 (message): Unexpected UNKNOWN_READ_ACCESS on variable WIN32 in script mode.
Not the cause of the problem, but an indication that your vcpkg installation has outdated packages. Check with
vcpkg upgrade
vcpkg upgrade
All installed packages are up-to-date.
Using the latest version of vcpkg for local installation does not reproduce the issue.
It seems that there is a problem with python and meson. Could you try with a higher version of python 3.11 or above?
Hello! The same issue with python v3.11.9:
Package: libsystemd:x64-linux@255#1
Host Environment
To Reproduce
vcpkg install
Failure logs
-- Found Python version '3.11.9 at /usr/bin/python3'
-- Using meson: /opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/meson.py
-- Using cached systemd-systemd-v255.tar.gz.
-- Cleaning sources at /opt/vcpkg/buildtrees/libsystemd/src/v255-948a7f2e81.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /opt/vcpkg/downloads/systemd-systemd-v255.tar.gz
-- Applying patch disable-warning-nonnull.patch
-- Applying patch only-libsystemd.patch
-- Applying patch pkgconfig.patch
-- Using source at /opt/vcpkg/buildtrees/libsystemd/src/v255-948a7f2e81.clean
-- Getting CMake variables for x64-linux-dbg
-- Getting CMake variables for x64-linux-rel
CMake Warning at scripts/ports.cmake:168 (message):
Unexpected UNKNOWN_READ_ACCESS on variable WIN32 in script mode.
This variable name insufficiently expresses whether it refers to the target
system or to the host system. Use a prefixed variable instead.
- Variables providing information about the host:
CMAKE_HOST_<SYSTEM>
VCPKG_HOST_IS_<SYSTEM>
- Variables providing information about the target:
VCPKG_TARGET_IS_<SYSTEM>
VCPKG_DETECTED_<VARIABLE> (using vcpkg_cmake_get_vars)
Call Stack (most recent call first):
/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/share/vcpkg-tool-meson/vcpkg_configure_meson.cmake:9223372036854775807 (z_vcpkg_warn_ambiguous_system_variables)
/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/share/vcpkg-tool-meson/vcpkg_configure_meson.cmake:192 (if)
/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/share/vcpkg-tool-meson/vcpkg_configure_meson.cmake:361 (z_vcpkg_get_build_and_host_system)
/home/ksp/.cache/vcpkg/registries/git-trees/a69dc63dcb8666fd4fb3885193dc67889fe65c72/portfile.cmake:17 (vcpkg_configure_meson)
scripts/ports.cmake:192 (include)
CMake Warning at scripts/ports.cmake:168 (message):
Unexpected READ_ACCESS on variable UNIX in script mode.
This variable name insufficiently expresses whether it refers to the target
system or to the host system. Use a prefixed variable instead.
- Variables providing information about the host:
CMAKE_HOST_<SYSTEM>
VCPKG_HOST_IS_<SYSTEM>
- Variables providing information about the target:
VCPKG_TARGET_IS_<SYSTEM>
VCPKG_DETECTED_<VARIABLE> (using vcpkg_cmake_get_vars)
Call Stack (most recent call first):
/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/share/vcpkg-tool-meson/vcpkg_configure_meson.cmake:9223372036854775807 (z_vcpkg_warn_ambiguous_system_variables)
/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/share/vcpkg-tool-meson/vcpkg_configure_meson.cmake:361 (z_vcpkg_get_build_and_host_system)
/home/ksp/.cache/vcpkg/registries/git-trees/a69dc63dcb8666fd4fb3885193dc67889fe65c72/portfile.cmake:17 (vcpkg_configure_meson)
scripts/ports.cmake:192 (include)
CMake Warning at scripts/ports.cmake:168 (message):
Unexpected UNKNOWN_READ_ACCESS on variable WIN32 in script mode.
This variable name insufficiently expresses whether it refers to the target
system or to the host system. Use a prefixed variable instead.
- Variables providing information about the host:
CMAKE_HOST_<SYSTEM>
VCPKG_HOST_IS_<SYSTEM>
- Variables providing information about the target:
VCPKG_TARGET_IS_<SYSTEM>
VCPKG_DETECTED_<VARIABLE> (using vcpkg_cmake_get_vars)
Call Stack (most recent call first):
/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/share/vcpkg-tool-meson/vcpkg_configure_meson.cmake:9223372036854775807 (z_vcpkg_warn_ambiguous_system_variables)
/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/share/vcpkg-tool-meson/vcpkg_configure_meson.cmake:254 (if)
/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/share/vcpkg-tool-meson/vcpkg_configure_meson.cmake:361 (z_vcpkg_get_build_and_host_system)
/home/ksp/.cache/vcpkg/registries/git-trees/a69dc63dcb8666fd4fb3885193dc67889fe65c72/portfile.cmake:17 (vcpkg_configure_meson)
scripts/ports.cmake:192 (include)
-- Configuring x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: /usr/bin/python3 -I /opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/meson.py -Dmode=release -Dstatic-libsystemd=pic -Dtests=false -Ddns-over-tls=false -Dlz4=enabled -Dtranslations=false -Dxz=enabled -Dzstd=enabled --backend ninja --wrap-mode nodownload -Dbuildtype=plain -Doptimization=plain --libdir lib --native /opt/vcpkg/buildtrees/libsystemd/meson-x64-linux-dbg.log -Ddebug=true --prefix /opt/vcpkg/packages/libsystemd_x64-linux/debug --includedir ../include -Dcmake_prefix_path=['/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/debug','/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux'] /opt/vcpkg/buildtrees/libsystemd/src/v255-948a7f2e81.clean
Working Directory: /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg
Error code: 2
See logs for more information:
/opt/vcpkg/buildtrees/libsystemd/config-x64-linux-dbg-meson-log.txt.log
/opt/vcpkg/buildtrees/libsystemd/config-x64-linux-dbg-out.log
/opt/vcpkg/buildtrees/libsystemd/config-x64-linux-dbg-err.log
Call Stack (most recent call first):
/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/share/vcpkg-tool-meson/vcpkg_configure_meson.cmake:436 (vcpkg_execute_required_process)
/home/ksp/.cache/vcpkg/registries/git-trees/a69dc63dcb8666fd4fb3885193dc67889fe65c72/portfile.cmake:17 (vcpkg_configure_meson)
scripts/ports.cmake:192 (include)
Additional context
Package: libsystemd:x64-linux@255#1
Host Environment
To Reproduce
vcpkg install
Failure logs
/opt/vcpkg/buildtrees/libsystemd/config-x64-linux-dbg-err.log
``` Traceback (most recent call last): File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/mesonmain.py", line 194, in run return options.run_func(options) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/msetup.py", line 358, in run app.generate() File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/msetup.py", line 181, in generate return self._generate(env, capture, vslite_ctx) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/msetup.py", line 226, in _generate intr.run() File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/interpreter/interpreter.py", line 3006, in run super().run() File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/interpreterbase/interpreterbase.py", line 172, in run self.evaluate_codeblock(self.ast, start=1) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/interpreterbase/interpreterbase.py", line 198, in evaluate_codeblock raise e File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/interpreterbase/interpreterbase.py", line 190, in evaluate_codeblock self.evaluate_statement(cur) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/interpreterbase/interpreterbase.py", line 208, in evaluate_statement self.assignment(cur) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/interpreterbase/interpreterbase.py", line 644, in assignment value = self.evaluate_statement(node.value) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/interpreterbase/interpreterbase.py", line 204, in evaluate_statement return self.function_call(cur) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/interpreterbase/interpreterbase.py", line 530, in function_call res = func(node, func_args, kwargs) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/interpreterbase/decorators.py", line 809, in wrapped return f(*wrapped_args, **wrapped_kwargs) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/interpreterbase/decorators.py", line 809, in wrapped return f(*wrapped_args, **wrapped_kwargs) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/interpreterbase/decorators.py", line 809, in wrapped return f(*wrapped_args, **wrapped_kwargs) [Previous line repeated 4 more times] File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/interpreterbase/decorators.py", line 108, in wrapped ret = f(*wrapped_args, **wrapped_kwargs) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/interpreterbase/decorators.py", line 126, in wrapped return f(*wrapped_args, **wrapped_kwargs) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/interpreterbase/decorators.py", line 260, in wrapper return f(*nargs, **wrapped_kwargs) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/interpreterbase/decorators.py", line 579, in wrapper return f(*wrapped_args, **wrapped_kwargs) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/interpreter/interpreter.py", line 1794, in func_dependency d = df.lookup(kwargs) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/interpreter/dependencyfallbacks.py", line 355, in lookup dep = func(kwargs, func_args, func_kwargs) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/interpreter/dependencyfallbacks.py", line 87, in _do_dependency dep = dependencies.find_external_dependency(name, self.environment, kwargs) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/dependencies/detect.py", line 124, in find_external_dependency d = c() File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/dependencies/pkgconfig.py", line 307, in __init__ self._set_cargs() File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/dependencies/pkgconfig.py", line 362, in _set_cargs cflags = self.pkgconfig.cflags(self.name, allow_system) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/dependencies/pkgconfig.py", line 158, in cflags ret, out, err = self._call_pkgbin(args, env=env) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/dependencies/pkgconfig.py", line 280, in _call_pkgbin p, out, err = Popen_safe_logged(cmd, env=env) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/utils/universal.py", line 1572, in Popen_safe_logged p, o, e = Popen_safe(args, **kwargs) File "/opt/vcpkg/downloads/tools/meson-1.3.2-d646d3/mesonbuild/utils/universal.py", line 1530, in Popen_safe o, e = p.communicate(write) File "/usr/lib/python3.10/subprocess.py", line 1154, in communicate stdout, stderr = self._communicate(input, endtime, timeout) File "/usr/lib/python3.10/subprocess.py", line 2059, in _communicate stdout = self._translate_newlines(stdout, File "/usr/lib/python3.10/subprocess.py", line 1031, in _translate_newlines data = data.decode(encoding, errors) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd1 in position 32: invalid continuation byte ```/opt/vcpkg/buildtrees/libsystemd/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: 1.3.2 Source dir: /opt/vcpkg/buildtrees/libsystemd/src/v255-948a7f2e81.clean Build dir: /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg Build type: native build Project name: systemd Project version: 255 C compiler for the host machine: /usr/bin/cc -fPIC -g (gcc 11.4.0 "cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") C linker for the host machine: /usr/bin/cc -fPIC -g ld.bfd 2.38 Host machine cpu family: x86_64 Host machine cpu: x86_64 Program tools/add-git-hook.sh found: YES (/opt/vcpkg/buildtrees/libsystemd/src/v255-948a7f2e81.clean/tools/add-git-hook.sh) Program tools/meson-build.sh found: YES (/opt/vcpkg/buildtrees/libsystemd/src/v255-948a7f2e81.clean/tools/meson-build.sh) C++ compiler for the host machine: /usr/bin/c++ -fPIC -g (gcc 11.4.0 "c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") C++ linker for the host machine: /usr/bin/c++ -fPIC -g ld.bfd 2.38 Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -Warray-bounds: YES Compiler for C supports arguments -Warray-bounds=2: YES Compiler for C supports arguments -Wdate-time: YES Compiler for C supports arguments -Wendif-labels: YES Compiler for C supports arguments -Werror=format=2: YES Compiler for C supports arguments -Werror=format-signedness: YES Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports arguments -Werror=implicit-int: YES Compiler for C supports arguments -Werror=incompatible-pointer-types: YES Compiler for C supports arguments -Werror=int-conversion: YES Compiler for C supports arguments -Werror=missing-declarations: YES Compiler for C supports arguments -Werror=missing-prototypes: YES Compiler for C supports arguments -Werror=overflow: YES Compiler for C supports arguments -Werror=override-init: YES Compiler for C supports arguments -Werror=return-type: YES Compiler for C supports arguments -Werror=shift-count-overflow: YES Compiler for C supports arguments -Werror=shift-overflow=2: YES Compiler for C supports arguments -Werror=strict-flex-arrays: NO Compiler for C supports arguments -Werror=undef: YES Compiler for C supports arguments -Wfloat-equal: YES Compiler for C supports arguments -Wimplicit-fallthrough=5: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Wlogical-op: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Wmissing-noreturn: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wredundant-decls: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wstrict-aliasing=2: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wsuggest-attribute=noreturn: YES Compiler for C supports arguments -Wunused-function: YES Compiler for C supports arguments -Wwrite-strings: YES Compiler for C supports arguments -Wzero-length-bounds: YES Compiler for C supports arguments -Wno-error=#warnings: NO Compiler for C supports arguments -Wno-string-plus-int: NO Compiler for C supports arguments -fdiagnostics-show-option: YES Compiler for C supports arguments -fno-common: YES Compiler for C supports arguments -fstack-protector: YES Compiler for C supports arguments -fstack-protector-strong: YES Compiler for C supports arguments -fstrict-flex-arrays: NO Compiler for C supports arguments --param=ssp-buffer-size=4: YES Compiler for C supports arguments -Wno-maybe-uninitialized: YES Compiler for C supports arguments -Wno-unused-result: YES Compiler for C supports arguments -ftrivial-auto-var-init=zero: NO Compiler for C supports link arguments -fstack-protector: YES Compiler for C supports arguments -fno-strict-aliasing: YES Compiler for C supports arguments -fstrict-flex-arrays=1: NO Compiler for C supports arguments -fvisibility=hidden: YES Compiler for C supports arguments -ffunction-sections: YES Compiler for C supports arguments -fdata-sections: YES Compiler for C supports link arguments -Wl,--fatal-warnings: YES Compiler for C supports link arguments -Wl,-z,now: YES Compiler for C supports link arguments -Wl,-z,relro: YES Compiler for C supports link arguments -Wl,--warn-common: YES Compiler for C supports link arguments -Wl,--gc-sections: YES Compiler for C supports arguments -Wzero-length-bounds: YES (cached) Checking if "-Werror=shadow with local shadowing" compiles: YES Compiler for C++ supports arguments -Wno-missing-field-initializers: YES Compiler for C++ supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -Wstringop-truncation: YES Checking for size of "dev_t" : 8 Checking for size of "ino_t" : 8 Checking for size of "rlim_t" : 8 Checking for size of "time_t" : 8 Checking for size of "typeof(((struct timex *)0)->freq)" : 8 Computing int of "LONG_MAX" : 9223372036854775807 Checking for size of "char16_t" : 2 Checking for size of "char32_t" : 4 Checking for size of "struct mount_attr" : -1 Checking for size of "struct mount_attr" : 32 Checking for size of "struct statx" : 256 Checking for size of "struct dirent64" : 280 Checking for function "secure_getenv" : YES Checking for function "__secure_getenv" : NO Checking for function "memfd_create" : YES Checking for function "gettid" : YES Checking for function "fchmodat2" : NO Checking for function "pivot_root" : NO Checking for function "ioprio_get" : NO Checking for function "ioprio_set" : NO Checking for function "name_to_handle_at" : YES Checking for function "setns" : YES Checking for function "renameat2" : YES Checking for function "kcmp" : NO Checking for function "keyctl" : NO Checking for function "copy_file_range" : YES Checking for function "bpf" : NO Checking for function "statx" : YES Checking for function "explicit_bzero" : YES Checking for function "reallocarray" : YES Checking for function "set_mempolicy" : NO Checking for function "get_mempolicy" : NO Checking for function "pidfd_send_signal" : NO Checking for function "pidfd_open" : NO Checking for function "rt_sigqueueinfo" : NO Checking for function "rt_tgsigqueueinfo" : NO Checking for function "mallinfo" : YES Checking for function "mallinfo2" : YES Checking for function "execveat" : YES Checking for function "close_range" : YES Checking for function "epoll_pwait2" : YES Checking for function "mount_setattr" : NO Checking for function "move_mount" : NO Checking for function "open_tree" : NO Checking for function "fsopen" : NO Checking for function "fsconfig" : NO Checking for function "fsmount" : NO Checking for function "getdents64" : YES Checking for function "getrandom" : YES Program sh found: YES (/usr/bin/sh) Program echo found: YES (/usr/bin/echo) Program sed found: YES (/usr/bin/sed) Program awk found: YES (/usr/bin/awk) Program stat found: YES (/usr/bin/stat) Program ln found: YES (/usr/bin/ln) Program git found: YES (/usr/bin/git) Program env found: YES (/usr/bin/env) Program rsync found: YES (/usr/bin/rsync) Program diff found: YES (/usr/bin/diff) Program find found: YES (/usr/bin/find) Program quotaon /usr/sbin/quotaon /sbin/quotaon found: NO Program quotacheck /usr/sbin/quotacheck /sbin/quotacheck found: NO Program kmod found: YES (/usr/bin/kmod) Program kexec /usr/sbin/kexec /sbin/kexec found: NO Program sulogin found: YES (/usr/sbin/sulogin) Program mount found: YES (/usr/bin/mount) Program umount found: YES (/usr/bin/umount) Program loadkeys found: YES (/usr/bin/loadkeys) Program setfont found: YES (/usr/bin/setfont) Program nologin found: YES (/usr/sbin/nologin) Program gperf found: YES Message: gperf len type is size_t Has header "sys/capability.h" : YES Has header "crypt.h" : YES Has header "linux/memfd.h" : YES Has header "linux/vm_sockets.h" : YES Has header "sys/auxv.h" : YES Has header "threads.h" : YES Has header "valgrind/memcheck.h" : NO Has header "valgrind/valgrind.h" : NO Has header "linux/time_types.h" : YES Has header "sys/sdt.h" : NO ../src/v255-948a7f2e81.clean/meson.build:880: WARNING: The local group with the GID 65534 does not match the configured group name "nobody" of the nobody group (its name is nogroup). Your build will result in an group table setup that is incompatible with the local system. Run-time dependency threads found: YES Library rt found: YES Library m found: YES Library dl found: YES Found pkg-config: YES (/bin/pkg-config) 0.29.2 ../src/v255-948a7f2e81.clean/meson.build:1017:11: ERROR: Unhandled python exception This is a Meson bug and should be reported! WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. ```/opt/vcpkg/buildtrees/libsystemd/config-x64-linux-dbg-meson-log.txt.log
``` Build started at 2024-07-05T17:25:34.636095 Main binary: /usr/bin/python3 Build Options: -Dmode=release -Dstatic-libsystemd=pic -Dtests=false -Ddns-over-tls=false -Dlz4=enabled -Dtranslations=false -Dxz=enabled -Dzstd=enabled -Dbuildtype=plain -Doptimization=plain -Ddebug=true '-Dcmake_prefix_path=['"'"'/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/debug'"'"','"'"'/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux'"'"']' -Dprefix=/opt/vcpkg/packages/libsystemd_x64-linux/debug -Dincludedir=../include -Dlibdir=lib -Dbackend=ninja -Dwrap_mode=nodownload --native-file=/opt/vcpkg/buildtrees/libsystemd/meson-x64-linux-dbg.log Python system: Linux The Meson build system Version: 1.3.2 Source dir: /opt/vcpkg/buildtrees/libsystemd/src/v255-948a7f2e81.clean Build dir: /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg Build type: native build Project name: systemd Project version: 255 ----------- Detecting compiler via: `/usr/bin/cc -fPIC -g --version` -> 0 stdout: cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ----------- Running command: /usr/bin/cc -fPIC -g -E -dM - ----- ----------- Detecting linker via: `/usr/bin/cc -fPIC -g -Wl,--version '-L/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/debug/lib'` -> 0 stdout: GNU ld (GNU Binutils for Ubuntu) 2.38 Copyright (C) 2022 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. ----------- stderr: collect2 version 11.4.0 /usr/bin/ld -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/ccoAVfhY.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/debug/lib -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. --version -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o ----------- Sanity testing C compiler: /usr/bin/cc -fPIC -g Is cross compiler: False. Sanity check compiler command line: /usr/bin/cc -fPIC -g sanitycheckc.c -o sanitycheckc.exe -fPIC -g '-I/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/include' -D_FILE_OFFSET_BITS=64 '-L/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/debug/lib' Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/sanitycheckc.exe C compiler for the host machine: /usr/bin/cc -fPIC -g (gcc 11.4.0 "cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") C linker for the host machine: /usr/bin/cc -fPIC -g ld.bfd 2.38 ----------- Detecting archiver via: `/usr/bin/ar --version` -> 0 stdout: GNU ar (GNU Binutils for Ubuntu) 2.38 Copyright (C) 2022 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. ----------- ----------- Detecting compiler via: `/usr/bin/cc -fPIC -g --version` -> 0 stdout: cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ----------- Running command: /usr/bin/cc -fPIC -g -E -dM - ----- ----------- Detecting linker via: `/usr/bin/cc -fPIC -g -Wl,--version` -> 0 stdout: GNU ld (GNU Binutils for Ubuntu) 2.38 Copyright (C) 2022 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. ----------- stderr: collect2 version 11.4.0 /usr/bin/ld -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/cc5ORua8.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. --version -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o ----------- Sanity testing C compiler: /usr/bin/cc -fPIC -g Is cross compiler: False. Sanity check compiler command line: /usr/bin/cc -fPIC -g sanitycheckc.c -o sanitycheckc.exe -D_FILE_OFFSET_BITS=64 Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/sanitycheckc.exe C compiler for the build machine: /usr/bin/cc -fPIC -g (gcc 11.4.0 "cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") C linker for the build machine: /usr/bin/cc -fPIC -g ld.bfd 2.38 ----------- Detecting archiver via: `/usr/bin/ar --version` -> 0 stdout: GNU ar (GNU Binutils for Ubuntu) 2.38 Copyright (C) 2022 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. ----------- Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: x86_64 Host machine cpu: x86_64 Target machine cpu family: x86_64 Target machine cpu: x86_64 Running command: /usr/bin/realpath --relative-to=/opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg /opt/vcpkg/buildtrees/libsystemd/src/v255-948a7f2e81.clean --- stdout --- ../src/v255-948a7f2e81.clean --- stderr --- Program tools/add-git-hook.sh found: YES (/opt/vcpkg/buildtrees/libsystemd/src/v255-948a7f2e81.clean/tools/add-git-hook.sh) Running command: /opt/vcpkg/buildtrees/libsystemd/src/v255-948a7f2e81.clean/tools/add-git-hook.sh --- stdout --- --- stderr --- Program tools/meson-build.sh found: YES (/opt/vcpkg/buildtrees/libsystemd/src/v255-948a7f2e81.clean/tools/meson-build.sh) ----------- Detecting compiler via: `/usr/bin/c++ -fPIC -g --version` -> 0 stdout: c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ----------- Running command: /usr/bin/c++ -fPIC -g -E -dM - ----- ----------- Detecting linker via: `/usr/bin/c++ -fPIC -g -Wl,--version '-L/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/debug/lib'` -> 0 stdout: GNU ld (GNU Binutils for Ubuntu) 2.38 Copyright (C) 2022 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. ----------- stderr: collect2 version 11.4.0 /usr/bin/ld -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/ccGPp7Zd.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/debug/lib -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. --version -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o ----------- Sanity testing C++ compiler: /usr/bin/c++ -fPIC -g Is cross compiler: False. Sanity check compiler command line: /usr/bin/c++ -fPIC -g sanitycheckcpp.cc -o sanitycheckcpp.exe -fPIC -g '-I/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/include' -D_FILE_OFFSET_BITS=64 '-L/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/debug/lib' Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/sanitycheckcpp.exe C++ compiler for the host machine: /usr/bin/c++ -fPIC -g (gcc 11.4.0 "c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") C++ linker for the host machine: /usr/bin/c++ -fPIC -g ld.bfd 2.38 Running compile: Working directory: /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpth7utb0t Code: extern int i; int i; ----------- Command line: `/usr/bin/cc -fPIC -g '-I/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/include' /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpth7utb0t/testfile.c -o /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpth7utb0t/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -Wmissing-field-initializers -Wno-missing-field-initializers` -> 0 Compiler for C supports arguments -Wno-missing-field-initializers: YES Running compile: Working directory: /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpc5k76t4v Code: extern int i; int i; ----------- Command line: `/usr/bin/cc -fPIC -g '-I/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/include' /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpc5k76t4v/testfile.c -o /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpc5k76t4v/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -Wunused-parameter -Wno-unused-parameter` -> 0 Compiler for C supports arguments -Wno-unused-parameter: YES Running compile: Working directory: /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpjoma288h Code: extern int i; int i; ----------- Command line: `/usr/bin/cc -fPIC -g '-I/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/include' /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpjoma288h/testfile.c -o /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpjoma288h/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -Warray-bounds` -> 0 Compiler for C supports arguments -Warray-bounds: YES Running compile: Working directory: /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmps0ftlqvo Code: extern int i; int i; ----------- Command line: `/usr/bin/cc -fPIC -g '-I/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/include' /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmps0ftlqvo/testfile.c -o /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmps0ftlqvo/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -Warray-bounds=2` -> 0 Compiler for C supports arguments -Warray-bounds=2: YES Running compile: Working directory: /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpq2o0p1qg Code: extern int i; int i; ----------- Command line: `/usr/bin/cc -fPIC -g '-I/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/include' /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpq2o0p1qg/testfile.c -o /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpq2o0p1qg/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -Wdate-time` -> 0 Compiler for C supports arguments -Wdate-time: YES Running compile: Working directory: /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpxjgbgn9l Code: extern int i; int i; ----------- Command line: `/usr/bin/cc -fPIC -g '-I/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/include' /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpxjgbgn9l/testfile.c -o /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpxjgbgn9l/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -Wendif-labels` -> 0 Compiler for C supports arguments -Wendif-labels: YES Running compile: Working directory: /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmp_e90dd42 Code: extern int i; int i; ----------- Command line: `/usr/bin/cc -fPIC -g '-I/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/include' /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmp_e90dd42/testfile.c -o /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmp_e90dd42/output.obj -c -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -Werror=format=2` -> 0 Compiler for C supports arguments -Werror=format=2: YES Running compile: Working directory: /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmp0x2gw3o0 Code: extern int i; int i; ----------- ... Skipped 2224 lines ... * function we are checking isn't a builtin itself we assume the * builtin is not functional and we just error out. */ #if !0 && !defined(fsopen) && !0 #error "No definition for __builtin_fsopen found in the prefix" #endif #ifdef __has_builtin #if !__has_builtin(__builtin_fsopen) #error "__builtin_fsopen not found" #endif #elif ! defined(fsopen) __builtin_fsopen; #endif return 0; } ----------- Command line: `/usr/bin/cc -fPIC -g '-L/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/debug/lib' '-I/home/ksp/D/home/school/ilya/с++/chess/build/vcpkg_installed/x64-linux/include' /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpmsefbjwx/testfile.c -o /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpmsefbjwx/output.exe -fPIC -g -D_FILE_OFFSET_BITS=64 -O0 -std=gnu11 -D_GNU_SOURCE` -> 1 stderr: /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpmsefbjwx/testfile.c: In function 'main': /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpmsefbjwx/testfile.c:12:14: error: #error "No definition for __builtin_fsopen found in the prefix" 12 | #error "No definition for __builtin_fsopen found in the prefix" | ^~~~~ /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpmsefbjwx/testfile.c:17:18: error: #error "__builtin_fsopen not found" 17 | #error "__builtin_fsopen not found" | ^~~~~ ----------- Checking for function "fsopen" : NO Running compile: Working directory: /opt/vcpkg/buildtrees/libsystemd/x64-linux-dbg/meson-private/tmpqcl570iu Code: #includeAdditional context
vcpkg.json
``` { "dependencies": [ "fmt", "jsoncpp", "sdl2" ] } ```