Having trouble building this library for eventual use of phosphor-ipmi-flash. Attached is output. Building on ubuntu 20.04.
The Meson build system
Version: 0.56.0
Source dir: /state/home/rchow/stdplus
Build dir: /state/home/rchow/stdplus/builddir
Build type: native build
Project name: stdplus
Project version: 0.1
C++ compiler for the host machine: c++ (gcc 10.2.0 "c++ (GCC) 10.2.0")
C++ linker for the host machine: c++ ld.bfd 2.31.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Did not find pkg-config by name 'pkg-config'
Found Pkg-config: NO
Found CMake: /usr/local/bin/cmake (3.18.0)
Run-time dependency fmt found: NO (tried pkgconfig and cmake)
|Executing subproject fmt method cmake
|
|
||Configuring the build directory with CMake version 3.18.0
||Running CMake with: -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DMASTER_PROJECT=OFF
|| - build directory: /state/home/rchow/stdplus/builddir/subprojects/fmt/__CMake_build
|| - source directory: /state/home/rchow/stdplus/subprojects/fmt
|| - toolchain file: /state/home/rchow/stdplus/builddir/subprojects/fmt/CMakeMesonToolchainFile.cmake
|| - preload file: /state/home/rchow/stdplus/builddir/meson-private/data/preload.cmake
|| - trace args: --trace-expand --trace-format=json-v1 --no-warn-unused-cli --trace-redirect=cmake_trace.txt
|| - disabled policy warnings: [CMP0025, CMP0047, CMP0056, CMP0060, CMP0065, CMP0066, CMP0067, CMP0082, CMP0089, CMP0102]
||
||Running with expanded trace output on.
||Not searching for unused variables given on the command line.
||Trace will be written to cmake_trace.txt
||-- CMake version: 3.18.0
||-- The CXX compiler identification is GNU 10.2.0
||-- Detecting CXX compiler ABI info
||-- Detecting CXX compiler ABI info - done
||-- Check for working CXX compiler: /usr/bin/c++ - skipped
||-- Detecting CXX compile features
||-- Detecting CXX compile features - done
||-- Version: 7.1.2
||-- Build type: Release
||-- CXX_STANDARD: 11
||-- Performing Test has_std_11_flag
||-- Performing Test has_std_11_flag - Success
||-- Performing Test has_std_0x_flag
||-- Performing Test has_std_0x_flag - Success
||-- Performing Test SUPPORTS_USER_DEFINED_LITERALS
||-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success
||-- Performing Test FMT_HAS_VARIANT
||-- Performing Test FMT_HAS_VARIANT - Success
||-- Required features: cxx_variadic_templates
||-- Looking for strtod_l
||-- Looking for strtod_l - found
||-- Target 'doc' disabled (requires doxygen)
||-- Looking for C++ include pthread.h
||-- Looking for C++ include pthread.h - found
||-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
||-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
||-- Looking for pthread_create in pthreads
||-- Looking for pthread_create in pthreads - not found
||-- Looking for pthread_create in pthread
||-- Looking for pthread_create in pthread - found
||-- Found Threads: TRUE
||-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS
||-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS - Success
||-- FMT_PEDANTIC: OFF
||-- Configuring done
||-- Generating done
||-- Build files have been written to: /state/home/rchow/stdplus/builddir/subprojects/fmt/__CMake_build
|
|CMake configuration: SUCCEEDED
|WARNING: CMake: path /state/home/rchow/stdplus/subprojects/fmt/gmock does not exist.
|WARNING: --> Ignoring. This can lead to build errors.
|WARNING: CMake: path /state/home/rchow/stdplus/subprojects/fmt/gtest does not exist.
|WARNING: --> Ignoring. This can lead to build errors.
|WARNING: CMake: path /state/home/rchow/stdplus/subprojects/fmt/gtest does not exist.
|WARNING: --> Ignoring. This can lead to build errors.
|WARNING: CMake: path /state/home/rchow/stdplus/subprojects/fmt/gmock does not exist.
|WARNING: --> Ignoring. This can lead to build errors.
|CMake project FMT has 20 build targets.
|
||Processing generated meson AST
||Build file: /state/home/rchow/stdplus/builddir/subprojects/fmt/meson.build
||
||Project name: FMT
||Project version: undefined
||C compiler for the host machine: cc (gcc 10.2.0 "cc (GCC) 10.2.0")
||C linker for the host machine: cc ld.bfd 2.31.1
||C++ compiler for the host machine: c++ (gcc 10.2.0 "c++ (GCC) 10.2.0")
||C++ linker for the host machine: c++ ld.bfd 2.31.1
||Build targets in project: 19
||Subproject fmt finished.
|
Header <span> has symbol "std::dynamic_extent" with dependency not-found: NO
Run-time dependency span-lite found: NO (tried pkgconfig and cmake)
Header <nonstd/span.hpp> has symbol "nonstd::dynamic_extent" with dependency not-found: NO
Cloning into 'span-lite'...
remote: Enumerating objects: 264, done.
remote: Counting objects: 100% (264/264), done.
remote: Compressing objects: 100% (129/129), done.
remote: Total 1459 (delta 133), reused 195 (delta 71), pack-reused 1195
Receiving objects: 100% (1459/1459), 294.58 KiB | 2.45 MiB/s, done.
Resolving deltas: 100% (819/819), done.
|Executing subproject span-lite method cmake
|
|
||Configuring the build directory with CMake version 3.18.0
||Running CMake with: -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/local
|| - build directory: /state/home/rchow/stdplus/builddir/subprojects/span-lite/__CMake_build
|| - source directory: /state/home/rchow/stdplus/subprojects/span-lite
|| - toolchain file: /state/home/rchow/stdplus/builddir/subprojects/span-lite/CMakeMesonToolchainFile.cmake
|| - preload file: /state/home/rchow/stdplus/builddir/meson-private/data/preload.cmake
|| - trace args: --trace-expand --trace-format=json-v1 --no-warn-unused-cli --trace-redirect=cmake_trace.txt
|| - disabled policy warnings: [CMP0025, CMP0047, CMP0056, CMP0060, CMP0065, CMP0066, CMP0067, CMP0082, CMP0089, CMP0102]
||
||Running with expanded trace output on.
||Not searching for unused variables given on the command line.
||Trace will be written to cmake_trace.txt
||-- The CXX compiler identification is GNU 10.2.0
||-- Detecting CXX compiler ABI info
||-- Detecting CXX compiler ABI info - done
||-- Check for working CXX compiler: /usr/bin/c++ - skipped
||-- Detecting CXX compile features
||-- Detecting CXX compile features - done
||-- Project 'span_lite', package 'span-lite' version: '0.8.1'
||-- Subproject 'test', programs 'span-lite-*'
||-- CompilerId: 'GNU'
||-- Matched: GNU
||-- Make target: '98'
||-- Make target: '11'
||-- Make target: '14'
||-- Make target: '17'
||-- Configuring done
||-- Generating done
||-- Build files have been written to: /state/home/rchow/stdplus/builddir/subprojects/span-lite/__CMake_build
|
|CMake configuration: SUCCEEDED
|CMake project span_lite has 5 build targets.
|
||Processing generated meson AST
||Build file: /state/home/rchow/stdplus/builddir/subprojects/span-lite/meson.build
||
||Project name: span_lite
||Project version: undefined
||C++ compiler for the host machine: c++ (gcc 10.2.0 "c++ (GCC) 10.2.0")
||C++ linker for the host machine: c++ ld.bfd 2.31.1
||Build targets in project: 23
||Subproject span-lite finished.
|
Build targets in project: 24
stdplus 0.1
Subprojects
fmt: YES
span-lite: YES
Option tests is: disabled [default: auto]
Option examples is: false [default: true]
Found ninja-1.8.2 at /usr/bin/ninja```