******************************************************************************** conan install libwebsockets/4.0.15@#10bef648ca451eeb91ca933508a44c50 --build=libwebsockets -pr /home/conan/w/prod/BuildSingleReference/44895/7471c086-9dfc-484a-a722-5f49db614278/profile_linux_5_libstdcpp11_gcc_release_64.libwebsockets-shared-True.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 5.4 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=5 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=5 os=Linux [options] libwebsockets:shared=True [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:bf869f6bf209e0eac960eeb011c826d4d0cf5b47 - Build openssl/1.1.1o:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download Installing (downloading, building) binaries... openssl/1.1.1o: Retrieving package 76f87539fc90ff313e0b3182641a9bb558a717d2 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/1.1.1o: Package installed 76f87539fc90ff313e0b3182641a9bb558a717d2 openssl/1.1.1o: Downloaded package revision d87a5783be581b8c9cdfc4c59cb5a801 [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/bf869f6bf209e0eac960eeb011c826d4d0cf5b47 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)] 'fPIC' option not found [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 'bf869f6bf209e0eac960eeb011c826d4d0cf5b47' build failed libwebsockets/4.0.15: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/libwebsockets/4.0.15/_/_/build/bf869f6bf209e0eac960eeb011c826d4d0cf5b47 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.