******************************************************************************** conan install libwebsockets/4.0.15@#10bef648ca451eeb91ca933508a44c50 --build=libwebsockets -pr /home/conan/w/prod/BuildSingleReference/44895/3038b0a8-d14c-46f2-a677-0d80ea0db1fd/profile_linux_11_libstdcpp11_gcc_release_64.libwebsockets-shared-False.txt ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/w/prod/BuildSingleReference/.conan/profiles/default) Found gcc 11.1 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=11 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=11 os=Linux [options] libwebsockets:shared=False [build_requires] [env] openssl/1.1.1o: Not found in local cache, looking in remotes... openssl/1.1.1o: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz openssl/1.1.1o: Downloaded recipe revision 213dbdeb846a4b40b4dec36cf2e673d7 libwebsockets/4.0.15: Forced build from source Installing package: libwebsockets/4.0.15 Requirements libwebsockets/4.0.15 from local cache - Cache openssl/1.1.1o from 'conan-center' - Downloaded Packages libwebsockets/4.0.15:d99481d4bf09227d41c63186868ac4b1d68cb38b - Build openssl/1.1.1o:dfbe50feef7f3c6223a476cd5aeadb687084a646 - Download Installing (downloading, building) binaries... openssl/1.1.1o: Retrieving package dfbe50feef7f3c6223a476cd5aeadb687084a646 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/1.1.1o: Package installed dfbe50feef7f3c6223a476cd5aeadb687084a646 openssl/1.1.1o: Downloaded package revision 641d723ee1fc3d279c16a8f225e02957 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK libwebsockets/4.0.15: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/libwebsockets/4.0.15/_/_/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 libwebsockets/4.0.15: Copying sources to build folder libwebsockets/4.0.15: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/libwebsockets/4.0.15/_/_/build/d99481d4bf09227d41c63186868ac4b1d68cb38b libwebsockets/4.0.15: Generator cmake created conanbuildinfo.cmake libwebsockets/4.0.15: 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 libwebsockets/4.0.15: Calling build() libwebsockets/4.0.15: libwebsockets/4.0.15: ERROR: Package 'd99481d4bf09227d41c63186868ac4b1d68cb38b' build failed libwebsockets/4.0.15: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/libwebsockets/4.0.15/_/_/build/d99481d4bf09227d41c63186868ac4b1d68cb38b ERROR: libwebsockets/4.0.15: Error in build() method, line 455 self._patch_sources() while calling '_patch_sources', line 452 tools.replace_in_file(cmakelists, "add_compile_options(/W3 /WX)", "add_compile_options(/W3)") ConanException: replace_in_file didn't find pattern 'add_compile_options(/W3 /WX)' in 'source_subfolder/CMakeLists.txt' file.