******************************************************************************** conan install seadex-essentials/2.1.0@#37a18bc558c71e0ee88dbc4787c3a385 --build=seadex-essentials -pr /home/conan/w/prod/BuildSingleReference/198836/60454a11-6a62-412c-96b2-03203a864b1d/profile_linux_8_libstdcpp_gcc_release_64.seadex-essentials-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/w/prod/BuildSingleReference/.conan/profiles/default) CC and CXX: /usr/bin/gcc, /usr/bin/g++ Found gcc 8 gcc>=5, using the major as version ************************* WARNING: GCC OLD ABI COMPATIBILITY *********************** Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to 'libstdc++' for backwards compatibility. Your compiler is likely using the new CXX11 ABI by default (libstdc++11). If you want Conan to use the new ABI for the default profile, run: $ conan profile update settings.compiler.libcxx=libstdc++11 default Or edit '/home/conan/w/prod/BuildSingleReference/.conan/profiles/default' and set compiler.libcxx=libstdc++11 ************************************************************************************ Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=gcc compiler.version=8 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/w/prod/BuildSingleReference/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++ compiler.version=8 os=Linux [options] seadex-essentials:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True spdlog/1.11.0: Not found in local cache, looking in remotes... spdlog/1.11.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz spdlog/1.11.0: Downloaded recipe revision faa6eb03bd1009bf2070b0c77e4f56a6 fmt/9.1.0: Not found in local cache, looking in remotes... fmt/9.1.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz fmt/9.1.0: Downloaded recipe revision e747928f85b03f48aaf227ff897d9634 seadex-essentials/2.1.0: Forced build from source Installing package: seadex-essentials/2.1.0 Requirements fmt/9.1.0 from 'conan-center' - Downloaded seadex-essentials/2.1.0 from local cache - Cache spdlog/1.11.0 from 'conan-center' - Downloaded Packages fmt/9.1.0:1ab440cc9cbac7229437610b68c69ac7438824b1 - Download seadex-essentials/2.1.0:8709c17bbcf680ca1d052e1b88bef88a76ee5289 - Build spdlog/1.11.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download Installing (downloading, building) binaries... fmt/9.1.0: Retrieving package 1ab440cc9cbac7229437610b68c69ac7438824b1 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz fmt/9.1.0: Package installed 1ab440cc9cbac7229437610b68c69ac7438824b1 fmt/9.1.0: Downloaded package revision 2b29ef75f0812d318f38897f91df17a2 spdlog/1.11.0: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz spdlog/1.11.0: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 spdlog/1.11.0: Downloaded package revision f9aa9144004c68c1f7671adcfe0433ea [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK seadex-essentials/2.1.0: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/seadex-essentials/2.1.0/_/_/source/src seadex-essentials/2.1.0: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK seadex-essentials/2.1.0: Copying sources to build folder seadex-essentials/2.1.0: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/seadex-essentials/2.1.0/_/_/build/8709c17bbcf680ca1d052e1b88bef88a76ee5289 seadex-essentials/2.1.0: Generator txt created conanbuildinfo.txt seadex-essentials/2.1.0: Calling generate() seadex-essentials/2.1.0: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' seadex-essentials/2.1.0: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/conan/w/prod/BuildSingleReference/.conan/data/seadex-essentials/2.1.0/_/_/build/8709c17bbcf680ca1d052e1b88bef88a76ee5289/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' seadex-essentials/2.1.0: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK seadex-essentials/2.1.0: Calling build() seadex-essentials/2.1.0: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/seadex-essentials/2.1.0/_/_/build/8709c17bbcf680ca1d052e1b88bef88a76ee5289/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/seadex-essentials/2.1.0/_/_/package/8709c17bbcf680ca1d052e1b88bef88a76ee5289" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/seadex-essentials/2.1.0/_/_/build/8709c17bbcf680ca1d052e1b88bef88a76ee5289/src" ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/seadex-essentials/2.1.0/_/_/build/8709c17bbcf680ca1d052e1b88bef88a76ee5289/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/seadex-essentials/2.1.0/_/_/package/8709c17bbcf680ca1d052e1b88bef88a76ee5289" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/seadex-essentials/2.1.0/_/_/build/8709c17bbcf680ca1d052e1b88bef88a76ee5289/src" ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/.conan/data/seadex-essentials/2.1.0/_/_/build/8709c17bbcf680ca1d052e1b88bef88a76ee5289/build/Release/generators/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = ON -- The C compiler identification is GNU 8.4.0 -- The CXX compiler identification is GNU 8.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan CMake file not present. Conan is not used. -- Performing Test flag_supported -- Performing Test flag_supported - Success -- Performing Test flag_supported -- Performing Test flag_supported - Success -- Build release. -- Performing Test flag_supported -- Performing Test flag_supported - Success -- Performing Test flag_supported -- Performing Test flag_supported - Success -- C++ standard set to c++17. -- Logger is used. -- [lib essentials] No libfmt or spdlog paths provided by user. Include Conan libraries headers. -- Build examples. -- Build context example. -- Performing Test flag_supported -- Performing Test flag_supported - Success -- Performing Test flag_supported -- Performing Test flag_supported - Success -- Build release. -- Performing Test flag_supported -- Performing Test flag_supported - Success -- Performing Test flag_supported -- Performing Test flag_supported - Success -- C++ standard set to c++17. -- Logger is used. -- Looking for pthread.h -- Looking for 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 -- context_example linking to libraries: libessentials;Threads::Threads -- Build logger example. -- Performing Test flag_supported -- Performing Test flag_supported - Success -- Performing Test flag_supported -- Performing Test flag_supported - Success -- Build release. -- Performing Test flag_supported -- Performing Test flag_supported - Success -- Performing Test flag_supported -- Performing Test flag_supported - Success -- C++ standard set to c++17. -- Logger is used. -- logger_example linking to libraries: libessentials;Threads::Threads -- Build enum example. -- Performing Test flag_supported -- Performing Test flag_supported - Success -- Performing Test flag_supported -- Performing Test flag_supported - Success -- Build release. -- Performing Test flag_supported -- Performing Test flag_supported - Success -- Performing Test flag_supported -- Performing Test flag_supported - Success -- C++ standard set to c++17. -- Logger is used. -- enum_example linking to libraries: libessentials;Threads::Threads -- Build bug reproductions projects. -- Build log brackets project. -- Performing Test flag_supported -- Performing Test flag_supported - Success -- Performing Test flag_supported -- Performing Test flag_supported - Success -- Build release. -- Performing Test flag_supported -- Performing Test flag_supported - Success -- Performing Test flag_supported -- Performing Test flag_supported - Success -- C++ standard set to c++17. -- Logger is used. -- log_brackets project linking to libraries: libessentials;Threads::Threads -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/.conan/data/seadex-essentials/2.1.0/_/_/build/8709c17bbcf680ca1d052e1b88bef88a76ee5289/build/Release seadex-essentials/2.1.0: CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/seadex-essentials/2.1.0/_/_/build/8709c17bbcf680ca1d052e1b88bef88a76ee5289/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/seadex-essentials/2.1.0/_/_/build/8709c17bbcf680ca1d052e1b88bef88a76ee5289/build/Release" '--' '-j3' ----------------- Scanning dependencies of target libessentials [ 4%] Building CXX object essentials/CMakeFiles/libessentials.dir/source/byte_helpers.cpp.o [ 8%] Building CXX object essentials/CMakeFiles/libessentials.dir/source/context.cpp.o [ 12%] Building CXX object essentials/CMakeFiles/libessentials.dir/source/context_client_configuration.cpp.o [ 16%] Building CXX object essentials/CMakeFiles/libessentials.dir/source/conversion.cpp.o [ 20%] Building CXX object essentials/CMakeFiles/libessentials.dir/source/essentials_version.cpp.o [ 24%] Building CXX object essentials/CMakeFiles/libessentials.dir/source/exception_utils.cpp.o [ 28%] Building CXX object essentials/CMakeFiles/libessentials.dir/source/file.cpp.o [ 32%] Building CXX object essentials/CMakeFiles/libessentials.dir/source/log_level.cpp.o [ 36%] Building CXX object essentials/CMakeFiles/libessentials.dir/source/logger.cpp.o [ 40%] Building CXX object essentials/CMakeFiles/libessentials.dir/source/logger_manager.cpp.o [ 44%] Building CXX object essentials/CMakeFiles/libessentials.dir/source/math.cpp.o [ 48%] Building CXX object essentials/CMakeFiles/libessentials.dir/source/null_logger.cpp.o [ 52%] Building CXX object essentials/CMakeFiles/libessentials.dir/source/string_utils.cpp.o [ 56%] Linking CXX shared library ../lib/libessentials.so [ 56%] Built target libessentials Scanning dependencies of target logger_example Scanning dependencies of target enum_example [ 60%] Building CXX object examples/logger_example/CMakeFiles/logger_example.dir/main.cpp.o Scanning dependencies of target context_example [ 64%] Building CXX object examples/enum_example/CMakeFiles/enum_example.dir/main.cpp.o [ 68%] Building CXX object examples/context_example/CMakeFiles/context_example.dir/context_tester.cpp.o [ 72%] Linking CXX executable ../../bin/enum_example examples/enum_example/CMakeFiles/enum_example.dir/build.make:103: recipe for target 'bin/enum_example' failed CMakeFiles/Makefile2:313: recipe for target 'examples/enum_example/CMakeFiles/enum_example.dir/all' failed [ 76%] Building CXX object examples/logger_example/CMakeFiles/logger_example.dir/no_log_logger.cpp.o [ 80%] Building CXX object examples/context_example/CMakeFiles/context_example.dir/main.cpp.o [ 84%] Building CXX object examples/logger_example/CMakeFiles/logger_example.dir/std_logger.cpp.o [ 88%] Linking CXX executable ../../bin/context_example examples/context_example/CMakeFiles/context_example.dir/build.make:118: recipe for target 'bin/context_example' failed CMakeFiles/Makefile2:259: recipe for target 'examples/context_example/CMakeFiles/context_example.dir/all' failed [ 92%] Linking CXX executable ../../bin/logger_example examples/logger_example/CMakeFiles/logger_example.dir/build.make:133: recipe for target 'bin/logger_example' failed CMakeFiles/Makefile2:286: recipe for target 'examples/logger_example/CMakeFiles/logger_example.dir/all' failed Makefile:148: recipe for target 'all' failed seadex-essentials/2.1.0: ../../lib/libessentials.so: undefined reference to `std::filesystem::file_size(std::filesystem::path const&)' collect2: error: ld returned 1 exit status make[2]: *** [bin/enum_example] Error 1 make[1]: *** [examples/enum_example/CMakeFiles/enum_example.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... ../../lib/libessentials.so: undefined reference to `std::filesystem::file_size(std::filesystem::path const&)' collect2: error: ld returned 1 exit status make[2]: *** [bin/context_example] Error 1 make[1]: *** [examples/context_example/CMakeFiles/context_example.dir/all] Error 2 ../../lib/libessentials.so: undefined reference to `std::filesystem::file_size(std::filesystem::path const&)' collect2: error: ld returned 1 exit status make[2]: *** [bin/logger_example] Error 1 make[1]: *** [examples/logger_example/CMakeFiles/logger_example.dir/all] Error 2 make: *** [all] Error 2 seadex-essentials/2.1.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior seadex-essentials/2.1.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior seadex-essentials/2.1.0: ERROR: Package '8709c17bbcf680ca1d052e1b88bef88a76ee5289' build failed seadex-essentials/2.1.0: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/seadex-essentials/2.1.0/_/_/build/8709c17bbcf680ca1d052e1b88bef88a76ee5289/build/Release ERROR: seadex-essentials/2.1.0: Error in build() method, line 88 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/seadex-essentials/2.1.0/_/_/build/8709c17bbcf680ca1d052e1b88bef88a76ee5289/build/Release" '--' '-j3'