******************************************************************************** conan install lightgbm/3.3.2@#616f21dea49a2e730076b6813ab6b82a --build=lightgbm -pr /home/conan/w/prod/BuildSingleReference/37421/5b8edb23-fcd5-49c7-a3b6-866551356005/profile_linux_10_libstdcpp_gcc_release_64.lightgbm-shared-False.txt ******************************************************************************** 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 10 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=10 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=10 os=Linux [options] lightgbm:shared=False [build_requires] [env] eigen/3.4.0: Not found in local cache, looking in remotes... eigen/3.4.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz eigen/3.4.0: Downloaded recipe revision 4cd099340b8b46dcc92a7ccb9c142a4b fast_double_parser/0.6.0: Not found in local cache, looking in remotes... fast_double_parser/0.6.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz fast_double_parser/0.6.0: Downloaded recipe revision 357f243c193cbaaf9aeb83a1f82e2e4c fmt/8.1.1: Not found in local cache, looking in remotes... fmt/8.1.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz fmt/8.1.1: Downloaded recipe revision b3e969f8561a85087bd0365c09bbf4fb lightgbm/3.3.2: Forced build from source Installing package: lightgbm/3.3.2 Requirements eigen/3.4.0 from 'conan-center' - Downloaded fast_double_parser/0.6.0 from 'conan-center' - Downloaded fmt/8.1.1 from 'conan-center' - Downloaded lightgbm/3.3.2 from local cache - Cache Packages eigen/3.4.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download fast_double_parser/0.6.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download fmt/8.1.1:1d886ef72d27d7ab9a1a64be277b3d28a290f3e4 - Download lightgbm/3.3.2:5b55c74ca1dac7ee7a8ffbbb2acadf2f11fa1f60 - Build Installing (downloading, building) binaries... eigen/3.4.0: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz eigen/3.4.0: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 eigen/3.4.0: Downloaded package revision 01558eaee392ff1f6de3fc2247b463f3 fast_double_parser/0.6.0: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz fast_double_parser/0.6.0: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 fast_double_parser/0.6.0: Downloaded package revision 039c19e336ebaab2e12aa0e825c6e250 fmt/8.1.1: Retrieving package 1d886ef72d27d7ab9a1a64be277b3d28a290f3e4 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz fmt/8.1.1: Package installed 1d886ef72d27d7ab9a1a64be277b3d28a290f3e4 fmt/8.1.1: Downloaded package revision 527e92fc8623919c1b0657245e59f9cf [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK lightgbm/3.3.2: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/lightgbm/3.3.2/_/_/source [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 lightgbm/3.3.2: Copying sources to build folder lightgbm/3.3.2: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/lightgbm/3.3.2/_/_/build/5b55c74ca1dac7ee7a8ffbbb2acadf2f11fa1f60 lightgbm/3.3.2: Generator cmake created conanbuildinfo.cmake lightgbm/3.3.2: Generator cmake_find_package created FindEigen3.cmake lightgbm/3.3.2: Generator cmake_find_package created Findfast_double_parser.cmake lightgbm/3.3.2: Generator cmake_find_package created Findfmt.cmake lightgbm/3.3.2: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK lightgbm/3.3.2: Calling build() patches/0002-fix-openmp-clang.patch: source file is different - b'CMakeLists.txt' lightgbm/3.3.2: WARN: patches/0002-fix-openmp-clang.patch: file 1/1: b'CMakeLists.txt' WARN: patches/0002-fix-openmp-clang.patch: hunk no.1 doesn't match source file at line 498 WARN: patches/0002-fix-openmp-clang.patch: expected: b'endif()' WARN: patches/0002-fix-openmp-clang.patch: actual : b' CMAKE_CXX_FLAGS_DEBUG' lightgbm/3.3.2: ERROR: Package '5b55c74ca1dac7ee7a8ffbbb2acadf2f11fa1f60' build failed lightgbm/3.3.2: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/lightgbm/3.3.2/_/_/build/5b55c74ca1dac7ee7a8ffbbb2acadf2f11fa1f60 ERROR: lightgbm/3.3.2: Error in build() method, line 76 self._patch_sources() while calling '_patch_sources', line 60 tools.patch(**patch) ConanException: Failed to apply patch: patches/0002-fix-openmp-clang.patch