SASANO Takayoshi writes: > Here is the port of tomlplusplus(https://github.com/marzer/tomlplusplus).
Doesn't build for me: ===> Building from scratch tomlplusplus-3.4.0 ===> tomlplusplus-3.4.0 depends on: cmake-core-* -> cmake-core-3.31.8p0 ===> tomlplusplus-3.4.0 depends on: meson->=1.10.0v0 -> meson-1.10.0v0 ===> Verifying specs: c++ c++abi m ===> found c++.12.0 c++abi.9.0 m.10.1 ===> Checking files for tomlplusplus-3.4.0 >> Fetch >> https://github.com/marzer/tomlplusplus/archive/refs/tags/v3.4.0/tomlplusplus-3.4.0.tar.gz >> (SHA256) all files: OK ===> Extracting for tomlplusplus-3.4.0 ===> Patching for tomlplusplus-3.4.0 ===> Compiler link: clang -> env CCACHE_DIR=/usr/ports/pobj/.ccache ccache /usr/bin/clang ===> Compiler link: clang++ -> env CCACHE_DIR=/usr/ports/pobj/.ccache ccache /usr/bin/clang++ ===> Compiler link: cc -> env CCACHE_DIR=/usr/ports/pobj/.ccache ccache /usr/bin/cc ===> Compiler link: c++ -> env CCACHE_DIR=/usr/ports/pobj/.ccache ccache /usr/bin/c++ ===> Generating configure for tomlplusplus-3.4.0 ===> Configuring for tomlplusplus-3.4.0 The Meson build system Version: 1.10.0 Source dir: /usr/ports/pobj/tomlplusplus-3.4.0/tomlplusplus-3.4.0 Build dir: /usr/ports/pobj/tomlplusplus-3.4.0/build-amd64 Build type: native build Project name: tomlplusplus Project version: 3.4.0 C++ compiler for the host machine: c++ (clang 19.1.7 "OpenBSD clang version 19.1.7") C++ linker for the host machine: c++ ld.lld 19.1.7 Host machine cpu family: x86_64 Host machine cpu: x86_64 Message: target cpu_family: x86_64 Message: target cpu: x86_64 Message: target system: openbsd Message: target endian: little Compiler for C++ supports arguments -ferror-limit=5: YES Compiler for C++ supports arguments -fmax-errors=5: NO Compiler for C++ supports arguments -Wno-unused-command-line-argument: YES Compiler for C++ supports arguments -Wno-reserved-macro-identifier: YES Compiler for C++ supports arguments -Wno-init-list-lifetime: NO Compiler for C++ supports arguments -fchar8_t: YES Compiler for C++ supports arguments /bigobj: NO Compiler for C++ supports arguments /Gy: NO Compiler for C++ supports arguments /GF: NO Compiler for C++ supports arguments /openmp-: NO Compiler for C++ supports arguments /permissive-: NO Compiler for C++ supports arguments /utf-8: NO Compiler for C++ supports arguments /volatile:iso: NO Compiler for C++ supports arguments /Zc:__cplusplus: NO Compiler for C++ supports arguments /Zc:inline: NO Compiler for C++ supports arguments /Zc:externConstexpr: NO Compiler for C++ supports arguments /Zc:preprocessor: NO Compiler for C++ supports arguments /Zc:throwingNew: NO Compiler for C++ supports arguments -D_HAS_EXCEPTIONS=1: YES Compiler for C++ supports arguments -Wno-c++98-compat: YES Compiler for C++ supports arguments -Wno-c++98-compat-pedantic: YES Compiler for C++ supports arguments -Wno-documentation: YES Compiler for C++ supports arguments -Wno-documentation-unknown-command: YES Compiler for C++ supports arguments -Wno-switch-enum: YES Compiler for C++ supports arguments -Wno-covered-switch-default: YES Compiler for C++ supports arguments -Wno-padded: YES Compiler for C++ supports arguments -Wno-float-equal: YES Compiler for C++ supports link arguments /OPT:REF,ICF=3: NO Compiler for C++ supports link arguments /INCREMENTAL:NO: NO Compiler for C++ supports arguments -DTOML_HEADER_ONLY=0: YES Compiler for C++ supports arguments -DTOML_SHARED_LIB=1: YES Found pkg-config: YES (/usr/bin/pkg-config) 2.4.3 Program cmake found: YES (/usr/local/bin/cmake) error retrieving cmake information: returnCode=1 stdout= stderr=Error: --system-information must be run from a writable directory! ../../../pobj/tomlplusplus-3.4.0/tomlplusplus-3.4.0/src/meson.build:58:7: ERROR: Unable to find cmake A full log can be found at /usr/ports/pobj/tomlplusplus-3.4.0/build-amd64/meson-logs/meson-log.txt *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3028 'do-configure': @/usr/bin/env -i LC_CTYPE="en_US.UTF-8" AR="ar" CC="cc" CFLA...) *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3048 '/usr/ports/pobj/tomlplusplus-3.4.0/build-amd64/.configure_done': @cd /usr/p...) *** Error 2 in /usr/ports/mystuff/devel/tomlplusplus (/usr/ports/infrastructure/mk/bsd.port.mk:2710 'update-plist': @lock=tomlplusplus-3.4.0...) Here's what meson-log.txt says: ----------- Command line: `c++ /usr/ports/pobj/tomlplusplus-3.4.0/build-amd64/meson-private/ tmpkucoog3h/testfile.cpp -o /usr/ports/pobj/tomlplusplus-3.4.0/build-amd64/meson -private/tmpkucoog3h/output.obj -c -O2 -pipe -D_FILE_OFFSET_BITS=64 -O0 -fpermis sive -Werror=implicit-function-declaration -Werror=unknown-warning-option -Werro r=unused-command-line-argument -Werror=ignored-optimization-argument -DTOML_SHAR ED_LIB=1` -> 0 Compiler for C++ supports arguments -DTOML_SHARED_LIB=1: YES Pkg-config binary missing from cross or native file, or env var undefined. Trying a default Pkg-config fallback at pkg-config Found pkg-config: YES (/usr/bin/pkg-config) 2.4.3 Program cmake found: YES (/usr/local/bin/cmake) error retrieving cmake information: returnCode=1 stdout= stderr=Error: --system- information must be run from a writable directory! ../../../pobj/tomlplusplus-3.4.0/tomlplusplus-3.4.0/src/meson.build:58:7: ERROR: Unable to find cmake I use PORTS_PRIVSEP=Yes, maybe that's why?
