******************************************************************************** conan install libwebsockets/4.0.15@#10bef648ca451eeb91ca933508a44c50 --build=libwebsockets -pr /home/conan/w/prod/BuildSingleReference/44895/9b6233db-d84c-4c8e-828a-768e073d808e/profile_linux_8_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) 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++11 compiler.version=8 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:87b3fa210ad2da778eeb5cdeb7cee4ca9969c6d6 - Build openssl/1.1.1o:1d877a3df840030e6a8abb74c5ffb9088d08b47a - Download Installing (downloading, building) binaries... openssl/1.1.1o: Retrieving package 1d877a3df840030e6a8abb74c5ffb9088d08b47a from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/1.1.1o: Package installed 1d877a3df840030e6a8abb74c5ffb9088d08b47a openssl/1.1.1o: Downloaded package revision a9e3bc148d7a768be6a6302c2ea4ac86 [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/87b3fa210ad2da778eeb5cdeb7cee4ca9969c6d6 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 '87b3fa210ad2da778eeb5cdeb7cee4ca9969c6d6' build failed libwebsockets/4.0.15: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/libwebsockets/4.0.15/_/_/build/87b3fa210ad2da778eeb5cdeb7cee4ca9969c6d6 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.