******************************************************************************** conan install thrift/0.18.1@#b7c4eaf69d268771924e11db13369468 --build=thrift -pr /home/conan/w/prod/BuildSingleReference/246711/2dd8e2e4-d4d1-4c7b-98b9-957201ccc70b/profile_linux_5_libstdcpp11_gcc_release_64.thrift-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 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] thrift:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True boost/1.82.0: Not found in local cache, looking in remotes... boost/1.82.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz boost/1.82.0: Downloaded recipe revision 902463606663219fc8c6d2102f1b8c6a zlib/1.2.13: Not found in local cache, looking in remotes... zlib/1.2.13: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zlib/1.2.13: Downloaded recipe revision e377bee636333ae348d51ca90874e353 bzip2/1.0.8: Not found in local cache, looking in remotes... bzip2/1.0.8: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz bzip2/1.0.8: Downloaded recipe revision 411fc05e80d47a89045edc1ee6f23c1d libbacktrace/cci.20210118: Not found in local cache, looking in remotes... libbacktrace/cci.20210118: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libbacktrace/cci.20210118: Downloaded recipe revision ec1aa63bbc10145c6a299e68e711670c openssl/3.1.1: Not found in local cache, looking in remotes... openssl/3.1.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz openssl/3.1.1: Downloaded recipe revision 3a25e05b364f335633143656dc265841 libevent/2.1.12: Not found in local cache, looking in remotes... libevent/2.1.12: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libevent/2.1.12: Downloaded recipe revision b6333a128075d75a3614bd8418bf2099 thrift/0.18.1: Forced build from source flex/2.6.4: Not found in local cache, looking in remotes... flex/2.6.4: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz flex/2.6.4: Downloaded recipe revision e35bc44b3fcbcd661e0af0dc5b5b1ad4 m4/1.4.19: Not found in local cache, looking in remotes... m4/1.4.19: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz m4/1.4.19: Downloaded recipe revision c1c4b1ee919e34630bb9b50046253d3c bison/3.8.2: Not found in local cache, looking in remotes... bison/3.8.2: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz bison/3.8.2: Downloaded recipe revision a8e86b304f8085ddbb22395c99a9a0a8 Version ranges solved openssl/* versions found in 'conan-center' remote Version range '>=1.1 <4' required by 'thrift/0.18.1' resolved to 'openssl/3.1.1' in remote 'conan-center' Version range '>=1.1 <4' required by 'libevent/2.1.12' valid for downstream requirement 'openssl/3.1.1' Installing package: thrift/0.18.1 Requirements boost/1.82.0 from 'conan-center' - Downloaded bzip2/1.0.8 from 'conan-center' - Downloaded libbacktrace/cci.20210118 from 'conan-center' - Downloaded libevent/2.1.12 from 'conan-center' - Downloaded openssl/3.1.1 from 'conan-center' - Downloaded thrift/0.18.1 from local cache - Cache zlib/1.2.13 from 'conan-center' - Downloaded Packages boost/1.82.0:56154adc3f3d79ab59603be6e388a2b59ef0ffe8 - Download bzip2/1.0.8:3df6ebb8a308d309e882b21988fd9ea103560e16 - Download libbacktrace/cci.20210118:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download libevent/2.1.12:2b65f59f296c8675d9e04308025fc41b43acbe9d - Download openssl/3.1.1:288ceea1eccdb5f24f7075ead24b83b854b1d943 - Download thrift/0.18.1:2585e768e672c4917c4fe4bcb678a925bbcbf1ae - Build zlib/1.2.13:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download Build requirements bison/3.8.2 from 'conan-center' - Downloaded flex/2.6.4 from 'conan-center' - Downloaded m4/1.4.19 from 'conan-center' - Downloaded Build requirements packages bison/3.8.2:d4e2c4fda75c443daaf5f26224d0044231fb93f3 - Download flex/2.6.4:d4e2c4fda75c443daaf5f26224d0044231fb93f3 - Download m4/1.4.19:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Download Installing (downloading, building) binaries... bzip2/1.0.8: Retrieving package 3df6ebb8a308d309e882b21988fd9ea103560e16 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz bzip2/1.0.8: Package installed 3df6ebb8a308d309e882b21988fd9ea103560e16 bzip2/1.0.8: Downloaded package revision 3ed22b12110483d39bac028fe6aa3be8 libbacktrace/cci.20210118: Retrieving package 76f87539fc90ff313e0b3182641a9bb558a717d2 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libbacktrace/cci.20210118: Package installed 76f87539fc90ff313e0b3182641a9bb558a717d2 libbacktrace/cci.20210118: Downloaded package revision ca3ec773b8332254c30a6e0b1bf40fb1 m4/1.4.19: Retrieving package 24647d9fe8ec489125dfbae4b3ebefaf7581674c from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz m4/1.4.19: Package installed 24647d9fe8ec489125dfbae4b3ebefaf7581674c m4/1.4.19: Downloaded package revision 351ccee7894d2c23306adbf48a6bd4d9 zlib/1.2.13: Retrieving package 76f87539fc90ff313e0b3182641a9bb558a717d2 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed 76f87539fc90ff313e0b3182641a9bb558a717d2 zlib/1.2.13: Downloaded package revision 9633cc508aa66c6c0394b13314c06c00 bison/3.8.2: Retrieving package d4e2c4fda75c443daaf5f26224d0044231fb93f3 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz bison/3.8.2: Package installed d4e2c4fda75c443daaf5f26224d0044231fb93f3 bison/3.8.2: Downloaded package revision 4c597713d3bf7f10cf07d7390977e974 boost/1.82.0: Retrieving package 56154adc3f3d79ab59603be6e388a2b59ef0ffe8 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz boost/1.82.0: Package installed 56154adc3f3d79ab59603be6e388a2b59ef0ffe8 boost/1.82.0: Downloaded package revision 5fa741e0456e31013c3120b68a4f204d flex/2.6.4: Retrieving package d4e2c4fda75c443daaf5f26224d0044231fb93f3 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz flex/2.6.4: Package installed d4e2c4fda75c443daaf5f26224d0044231fb93f3 flex/2.6.4: Downloaded package revision b5c3bb8ef8868746053327a3322f6892 openssl/3.1.1: Retrieving package 288ceea1eccdb5f24f7075ead24b83b854b1d943 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/3.1.1: Package installed 288ceea1eccdb5f24f7075ead24b83b854b1d943 openssl/3.1.1: Downloaded package revision c8656c9b33ef2f432c2f4316c21802a7 libevent/2.1.12: Retrieving package 2b65f59f296c8675d9e04308025fc41b43acbe9d from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libevent/2.1.12: Package installed 2b65f59f296c8675d9e04308025fc41b43acbe9d libevent/2.1.12: Downloaded package revision 9a9a3d344ef7d2abe46c0945379424ab m4/1.4.19: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/m4/1.4.19/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin flex/2.6.4: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/flex/2.6.4/_/_/package/d4e2c4fda75c443daaf5f26224d0044231fb93f3/bin flex/2.6.4: Setting LEX environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/flex/2.6.4/_/_/package/d4e2c4fda75c443daaf5f26224d0044231fb93f3/bin/flex thrift/0.18.1: Applying build-requirement: flex/2.6.4 thrift/0.18.1: Applying build-requirement: bison/3.8.2 thrift/0.18.1: Applying build-requirement: m4/1.4.19 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK thrift/0.18.1: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/source/src thrift/0.18.1: [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 thrift/0.18.1: Copying sources to build folder thrift/0.18.1: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae thrift/0.18.1: Generator txt created conanbuildinfo.txt thrift/0.18.1: Calling generate() thrift/0.18.1: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' thrift/0.18.1: 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/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0074=NEW -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' thrift/0.18.1: 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 thrift/0.18.1: Calling build() thrift/0.18.1: Apply patch (conan): use cci packages thrift/0.18.1: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/package/2585e768e672c4917c4fe4bcb678a925bbcbf1ae" -DCMAKE_POLICY_DEFAULT_CMP0074="NEW" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/src" ----Running------ > . "/home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/build/Release/generators/conanbuild.sh" && cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/package/2585e768e672c4917c4fe4bcb678a925bbcbf1ae" -DCMAKE_POLICY_DEFAULT_CMP0074="NEW" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/src" ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/build/Release/generators/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = ON -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.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 -- Configuring thrift 0.18.1 -- Setting C++11 as the default language level. -- To specify a different C++ language level, set CMAKE_CXX_STANDARD -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for getopt.h -- Looking for getopt.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for netdb.h -- Looking for netdb.h - found -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for signal.h -- Looking for signal.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for sys/ioctl.h -- Looking for sys/ioctl.h - found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for sys/socket.h -- Looking for sys/socket.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/un.h -- Looking for sys/un.h - found -- Looking for poll.h -- Looking for poll.h - found -- Looking for sys/poll.h -- Looking for sys/poll.h - found -- Looking for sys/select.h -- Looking for sys/select.h - found -- Looking for sched.h -- Looking for sched.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for strings.h -- Looking for strings.h - found -- Performing Test HAVE_AF_UNIX_H -- Performing Test HAVE_AF_UNIX_H - Failed -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for gethostbyname_r -- Looking for gethostbyname_r - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for sched_get_priority_max -- Looking for sched_get_priority_max - found -- Looking for sched_get_priority_min -- Looking for sched_get_priority_min - found -- Performing Test STRERROR_R_CHAR_P -- Performing Test STRERROR_R_CHAR_P - Success -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Building without tests -- Found FLEX: /home/conan/w/prod/BuildSingleReference/.conan/data/flex/2.6.4/_/_/package/d4e2c4fda75c443daaf5f26224d0044231fb93f3/bin/flex (found version "2.6.4") -- Found BISON: /home/conan/w/prod/BuildSingleReference/.conan/data/bison/3.8.2/_/_/package/d4e2c4fda75c443daaf5f26224d0044231fb93f3/bin/bison (found version "3.8.2") -- Conan: Including build module from '/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/3.1.1/_/_/package/288ceea1eccdb5f24f7075ead24b83b854b1d943/lib/cmake/conan-official-openssl-variables.cmake' -- ---------------------------------------------------------- -- Thrift version: 0.18.1 (0.18.1) -- Thrift package version: 0.18.1 -- -- Build configuration summary -- Build compiler: ON -- Build libraries: ON -- Build tests: OFF -- Build type: Release -- -- Language libraries: -- -- Build as3 library: OFF -- - Adobe Flex compc was not found - did you set env var FLEX_HOME? -- -- Build with OpenSSL: True -- Version: 3.1.1 -- -- Build C++ library: ON -- C++ Language Level: C++11 [compiler must support it] -- Build shared libraries: ON -- Build with libevent support: True -- Build with Qt5 support: OFF -- Build with ZLIB support: True -- -- Build C (GLib) library: OFF -- - Disabled by WITH_C_GLIB=OFF -- - GLib missing -- -- Build Java library: OFF -- - Disabled by WITH_JAVA=OFF -- - Java Runtime missing -- - Gradle missing -- Build Javascript library: -- - Disabled by WITH_JAVASCRIPT=OFF -- Build NodeJS library: -- - Disabled by WITH_NODEJS=OFF -- -- Build Python library: OFF -- - Disabled by WITH_PYTHON=OFF -- -- -- ---------------------------------------------------------- -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/build/Release thrift/0.18.1: CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/build/Release" '--' '-j3' ----Running------ > . "/home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/build/Release/generators/conanbuild.sh" && cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/build/Release" '--' '-j3' ----------------- [ 1%] [FLEX][thriftl] Building scanner with flex 2.6.4 [ 2%] [BISON][thrifty] Building parser with bison 3.8.2 Scanning dependencies of target thrift Scanning dependencies of target parse [ 3%] Building CXX object compiler/cpp/CMakeFiles/parse.dir/thrift/thrifty.cc.o [ 4%] Building CXX object compiler/cpp/CMakeFiles/parse.dir/thrift/thriftl.cc.o [ 5%] Building CXX object lib/cpp/CMakeFiles/thrift.dir/src/thrift/TApplicationException.cpp.o [ 6%] Building CXX object lib/cpp/CMakeFiles/thrift.dir/src/thrift/TOutput.cpp.o [ 7%] Building CXX object lib/cpp/CMakeFiles/thrift.dir/src/thrift/async/TAsyncChannel.cpp.o [ 8%] Building CXX object lib/cpp/CMakeFiles/thrift.dir/src/thrift/async/TAsyncProtocolProcessor.cpp.o lib/cpp/CMakeFiles/thrift.dir/build.make:120: recipe for target 'lib/cpp/CMakeFiles/thrift.dir/src/thrift/async/TAsyncProtocolProcessor.cpp.o' failed CMakeFiles/Makefile2:303: recipe for target 'lib/cpp/CMakeFiles/thrift.dir/all' failed [ 9%] Linking CXX static library ../../lib/libparse.a [ 9%] Built target parse Makefile:170: recipe for target 'all' failed thrift/0.18.1: In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/src/lib/cpp/src/thrift/async/TAsyncBufferProcessor.h:25:0, from /home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/src/lib/cpp/src/thrift/async/TAsyncProtocolProcessor.h:24, from /home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/src/lib/cpp/src/thrift/async/TAsyncProtocolProcessor.cpp:20: /home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/src/lib/cpp/src/thrift/transport/TBufferTransports.h: In member function ‘const uint8_t* apache::thrift::transport::TBufferBase::borrow(uint8_t*, uint32_t*)’: /home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/src/lib/cpp/src/thrift/transport/TBufferTransports.h:110:32: error: ‘ptrdiff_t’ does not name a type if (TDB_LIKELY(static_cast(*len) <= rBound_ - rBase_)) { ^ /home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/src/lib/cpp/src/thrift/transport/TBufferTransports.h:31:44: note: in definition of macro ‘TDB_LIKELY’ #define TDB_LIKELY(val) (__builtin_expect((val), 1)) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/src/lib/cpp/src/thrift/transport/TBufferTransports.h: In member function ‘void apache::thrift::transport::TBufferBase::consume(uint32_t)’: /home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/src/lib/cpp/src/thrift/transport/TBufferTransports.h:124:32: error: ‘ptrdiff_t’ does not name a type if (TDB_LIKELY(static_cast(len) <= rBound_ - rBase_)) { ^ /home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/src/lib/cpp/src/thrift/transport/TBufferTransports.h:31:44: note: in definition of macro ‘TDB_LIKELY’ #define TDB_LIKELY(val) (__builtin_expect((val), 1)) ^ make[2]: *** [lib/cpp/CMakeFiles/thrift.dir/src/thrift/async/TAsyncProtocolProcessor.cpp.o] Error 1 make[1]: *** [lib/cpp/CMakeFiles/thrift.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [all] Error 2 WARN: libevent/2.1.12: requirement openssl/[>=1.1 <4] overridden by thrift/0.18.1 to openssl/3.1.1 thrift/0.18.1: 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 thrift/0.18.1: 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 thrift/0.18.1: ERROR: Package '2585e768e672c4917c4fe4bcb678a925bbcbf1ae' build failed thrift/0.18.1: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/build/Release ERROR: thrift/0.18.1: Error in build() method, line 124 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/thrift/0.18.1/_/_/build/2585e768e672c4917c4fe4bcb678a925bbcbf1ae/build/Release" '--' '-j3'