******************************************************************************** conan install tree-sitter-cpp/0.20.0@#9096384205dac23977ce20b673c5d01f --build=tree-sitter-cpp -pr /home/conan/w/prod/BuildSingleReference/269299/dc2b3102-d0d4-4e3c-b65a-7ea842323b77/profile_linux_7_libstdcpp11_gcc_release_64.tree-sitter-cpp-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 7 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=7 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++11 compiler.version=7 os=Linux [options] tree-sitter-cpp:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True tree-sitter/0.20.6: Not found in local cache, looking in remotes... tree-sitter/0.20.6: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz tree-sitter/0.20.6: Downloaded recipe revision 1423cc857093b91defd726f5d44d7147 tree-sitter-cpp/0.20.0: Forced build from source Installing package: tree-sitter-cpp/0.20.0 Requirements tree-sitter/0.20.6 from 'conan-center' - Downloaded tree-sitter-cpp/0.20.0 from local cache - Cache Packages tree-sitter/0.20.6:d50a0d523d98c15bb147b18fa7d203887c38be8b - Download tree-sitter-cpp/0.20.0:f87d83a3f925cf48546aca818aedcfb14db15efc - Build Installing (downloading, building) binaries... tree-sitter/0.20.6: Retrieving package d50a0d523d98c15bb147b18fa7d203887c38be8b from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz tree-sitter/0.20.6: Package installed d50a0d523d98c15bb147b18fa7d203887c38be8b tree-sitter/0.20.6: Downloaded package revision f54889af2a062abe3d7fffe1634d3b0f [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK tree-sitter-cpp/0.20.0: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/tree-sitter-cpp/0.20.0/_/_/source/src tree-sitter-cpp/0.20.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 tree-sitter-cpp/0.20.0: Copying sources to build folder tree-sitter-cpp/0.20.0: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/tree-sitter-cpp/0.20.0/_/_/build/f87d83a3f925cf48546aca818aedcfb14db15efc tree-sitter-cpp/0.20.0: Generator 'CMakeToolchain' calling 'generate()' tree-sitter-cpp/0.20.0: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' tree-sitter-cpp/0.20.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/tree-sitter-cpp/0.20.0/_/_/build/f87d83a3f925cf48546aca818aedcfb14db15efc/build-release/conan/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' tree-sitter-cpp/0.20.0: Generator 'CMakeDeps' calling 'generate()' tree-sitter-cpp/0.20.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 tree-sitter-cpp/0.20.0: Calling build() tree-sitter-cpp/0.20.0: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/tree-sitter-cpp/0.20.0/_/_/build/f87d83a3f925cf48546aca818aedcfb14db15efc/build-release/conan/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/tree-sitter-cpp/0.20.0/_/_/package/f87d83a3f925cf48546aca818aedcfb14db15efc" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/tree-sitter-cpp/0.20.0/_/_/build/f87d83a3f925cf48546aca818aedcfb14db15efc/src/.." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/tree-sitter-cpp/0.20.0/_/_/build/f87d83a3f925cf48546aca818aedcfb14db15efc/build-release/conan/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/tree-sitter-cpp/0.20.0/_/_/package/f87d83a3f925cf48546aca818aedcfb14db15efc" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/tree-sitter-cpp/0.20.0/_/_/build/f87d83a3f925cf48546aca818aedcfb14db15efc/src/.." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/.conan/data/tree-sitter-cpp/0.20.0/_/_/build/f87d83a3f925cf48546aca818aedcfb14db15efc/build-release/conan/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = ON -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.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: Target declared 'tree-sitter::tree-sitter' -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/.conan/data/tree-sitter-cpp/0.20.0/_/_/build/f87d83a3f925cf48546aca818aedcfb14db15efc/build-release tree-sitter-cpp/0.20.0: CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/tree-sitter-cpp/0.20.0/_/_/build/f87d83a3f925cf48546aca818aedcfb14db15efc/build-release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/tree-sitter-cpp/0.20.0/_/_/build/f87d83a3f925cf48546aca818aedcfb14db15efc/build-release" '--' '-j3' ----------------- Scanning dependencies of target tree-sitter-cpp [ 33%] Building C object CMakeFiles/tree-sitter-cpp.dir/src/src/parser.c.o [ 66%] Building CXX object CMakeFiles/tree-sitter-cpp.dir/src/src/scanner.cc.o [100%] Linking CXX shared library libtree-sitter-cpp.so CMakeFiles/tree-sitter-cpp.dir/build.make:118: recipe for target 'libtree-sitter-cpp.so' failed CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/tree-sitter-cpp.dir/all' failed Makefile:148: recipe for target 'all' failed tree-sitter-cpp/0.20.0: /usr/bin/ld: cannot find -lCXX collect2: error: ld returned 1 exit status make[2]: *** [libtree-sitter-cpp.so] Error 1 make[1]: *** [CMakeFiles/tree-sitter-cpp.dir/all] Error 2 make: *** [all] Error 2 tree-sitter-cpp/0.20.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 tree-sitter-cpp/0.20.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 tree-sitter-cpp/0.20.0: ERROR: Package 'f87d83a3f925cf48546aca818aedcfb14db15efc' build failed tree-sitter-cpp/0.20.0: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/tree-sitter-cpp/0.20.0/_/_/build/f87d83a3f925cf48546aca818aedcfb14db15efc/build-release ERROR: tree-sitter-cpp/0.20.0: Error in build() method, line 64 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/tree-sitter-cpp/0.20.0/_/_/build/f87d83a3f925cf48546aca818aedcfb14db15efc/build-release" '--' '-j3'