******************************************************************************** conan install libe57format/2.2.0@#6a733879307224eff71e4e59fd4f0840 --build=libe57format -pr /home/conan/w/prod/BuildSingleReference/103516/880c0df3-bd60-4985-b047-7a5641114213/profile_linux_11_libstdcpp_gcc_release_64.libe57format-shared-False.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) 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++ compiler.version=11 os=Linux [options] libe57format:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True xerces-c/3.2.3: Not found in local cache, looking in remotes... xerces-c/3.2.3: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz xerces-c/3.2.3: Downloaded recipe revision 1af5eb075b3a8ee232f43cc8288e17ed libe57format/2.2.0: Forced build from source Installing package: libe57format/2.2.0 Requirements libe57format/2.2.0 from local cache - Cache xerces-c/3.2.3 from 'conan-center' - Downloaded Packages libe57format/2.2.0:fc027b660e9b1620b97f67443d1552d633a8d769 - Build xerces-c/3.2.3:92551d9587953d60bea895138cdba13f4db8f6ba - Download Installing (downloading, building) binaries... xerces-c/3.2.3: Retrieving package 92551d9587953d60bea895138cdba13f4db8f6ba from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz xerces-c/3.2.3: Package installed 92551d9587953d60bea895138cdba13f4db8f6ba xerces-c/3.2.3: Downloaded package revision 1818c3e7ea0b9c7d78f10072f51eaecc [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK libe57format/2.2.0: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/libe57format/2.2.0/_/_/source/src libe57format/2.2.0: [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 libe57format/2.2.0: Copying sources to build folder libe57format/2.2.0: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/libe57format/2.2.0/_/_/build/fc027b660e9b1620b97f67443d1552d633a8d769 libe57format/2.2.0: Generator txt created conanbuildinfo.txt libe57format/2.2.0: Calling generate() libe57format/2.2.0: 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 libe57format/2.2.0: Calling build() libe57format/2.2.0: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/libe57format/2.2.0/_/_/build/fc027b660e9b1620b97f67443d1552d633a8d769/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/libe57format/2.2.0/_/_/package/fc027b660e9b1620b97f67443d1552d633a8d769" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/libe57format/2.2.0/_/_/build/fc027b660e9b1620b97f67443d1552d633a8d769/src" ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/libe57format/2.2.0/_/_/build/fc027b660e9b1620b97f67443d1552d633a8d769/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/libe57format/2.2.0/_/_/package/fc027b660e9b1620b97f67443d1552d633a8d769" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/libe57format/2.2.0/_/_/build/fc027b660e9b1620b97f67443d1552d633a8d769/src" ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/.conan/data/libe57format/2.2.0/_/_/build/fc027b660e9b1620b97f67443d1552d633a8d769/build/generators/conan_toolchain.cmake -- Conan toolchain: Setting CMAKE_POSITION_INDEPENDENT_CODE=ON (options.fPIC) -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF -- The CXX compiler identification is GNU 11.1.0 -- Check for working CXX compiler: /usr/local/bin/c++ -- Check for working CXX compiler: /usr/local/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for C++ include pthread.h -- Looking for C++ include 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 -- Conan: Target declared 'XercesC::XercesC' -- [E57] Revison ID: E57Format-2.2.0-x86_64-linux-gcc111 -- [E57] Building static library -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/.conan/data/libe57format/2.2.0/_/_/build/fc027b660e9b1620b97f67443d1552d633a8d769/build/Release libe57format/2.2.0: CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/libe57format/2.2.0/_/_/build/fc027b660e9b1620b97f67443d1552d633a8d769/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/libe57format/2.2.0/_/_/build/fc027b660e9b1620b97f67443d1552d633a8d769/build/Release" '--' '-j3' ----------------- Scanning dependencies of target E57Format [ 3%] Building CXX object CMakeFiles/E57Format.dir/src/BlobNodeImpl.cpp.o [ 6%] Building CXX object CMakeFiles/E57Format.dir/src/CheckedFile.cpp.o [ 10%] Building CXX object CMakeFiles/E57Format.dir/src/Common.cpp.o [ 13%] Building CXX object CMakeFiles/E57Format.dir/src/CompressedVectorNodeImpl.cpp.o [ 17%] Building CXX object CMakeFiles/E57Format.dir/src/CompressedVectorReaderImpl.cpp.o [ 20%] Building CXX object CMakeFiles/E57Format.dir/src/CompressedVectorWriterImpl.cpp.o [ 24%] Building CXX object CMakeFiles/E57Format.dir/src/DecodeChannel.cpp.o [ 27%] Building CXX object CMakeFiles/E57Format.dir/src/Decoder.cpp.o [ 31%] Building CXX object CMakeFiles/E57Format.dir/src/Encoder.cpp.o [ 34%] Building CXX object CMakeFiles/E57Format.dir/src/FloatNodeImpl.cpp.o [ 37%] Building CXX object CMakeFiles/E57Format.dir/src/IntegerNodeImpl.cpp.o [ 41%] Building CXX object CMakeFiles/E57Format.dir/src/NodeImpl.cpp.o [ 44%] Building CXX object CMakeFiles/E57Format.dir/src/Packet.cpp.o [ 48%] Building CXX object CMakeFiles/E57Format.dir/src/ImageFileImpl.cpp.o [ 51%] Building CXX object CMakeFiles/E57Format.dir/src/ReaderImpl.cpp.o [ 55%] Building CXX object CMakeFiles/E57Format.dir/src/ScaledIntegerNodeImpl.cpp.o [ 58%] Building CXX object CMakeFiles/E57Format.dir/src/SectionHeaders.cpp.o [ 62%] Building CXX object CMakeFiles/E57Format.dir/src/SourceDestBufferImpl.cpp.o [ 65%] Building CXX object CMakeFiles/E57Format.dir/src/StringNodeImpl.cpp.o [ 68%] Building CXX object CMakeFiles/E57Format.dir/src/StructureNodeImpl.cpp.o [ 72%] Building CXX object CMakeFiles/E57Format.dir/src/VectorNodeImpl.cpp.o [ 75%] Building CXX object CMakeFiles/E57Format.dir/src/WriterImpl.cpp.o [ 79%] Building CXX object CMakeFiles/E57Format.dir/src/E57Exception.cpp.o [ 82%] Building CXX object CMakeFiles/E57Format.dir/src/E57Format.cpp.o [ 86%] Building CXX object CMakeFiles/E57Format.dir/src/E57SimpleData.cpp.o [ 89%] Building CXX object CMakeFiles/E57Format.dir/src/E57SimpleReader.cpp.o [ 93%] Building CXX object CMakeFiles/E57Format.dir/src/E57SimpleWriter.cpp.o [ 96%] Building CXX object CMakeFiles/E57Format.dir/src/E57XmlParser.cpp.o CMakeFiles/E57Format.dir/build.make:413: recipe for target 'CMakeFiles/E57Format.dir/src/E57XmlParser.cpp.o' failed CMakeFiles/Makefile2:78: recipe for target 'CMakeFiles/E57Format.dir/all' failed Makefile:129: recipe for target 'all' failed libe57format/2.2.0: /home/conan/w/prod/BuildSingleReference/.conan/data/libe57format/2.2.0/_/_/build/fc027b660e9b1620b97f67443d1552d633a8d769/src/src/E57XmlParser.cpp: In member function 'virtual XMLSize_t E57FileInputStream::readBytes(XMLByte*, XMLSize_t)': /home/conan/w/prod/BuildSingleReference/.conan/data/libe57format/2.2.0/_/_/build/fc027b660e9b1620b97f67443d1552d633a8d769/src/src/E57XmlParser.cpp:143:37: error: 'numeric_limits' is not a member of 'std' 143 | const int64_t size_max = std::numeric_limits::max(); | ^~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libe57format/2.2.0/_/_/build/fc027b660e9b1620b97f67443d1552d633a8d769/src/src/E57XmlParser.cpp:143:58: error: expected primary-expression before '>' token 143 | const int64_t size_max = std::numeric_limits::max(); | ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libe57format/2.2.0/_/_/build/fc027b660e9b1620b97f67443d1552d633a8d769/src/src/E57XmlParser.cpp:143:61: error: '::max' has not been declared; did you mean 'std::max'? 143 | const int64_t size_max = std::numeric_limits::max(); | ^~~ | std::max In file included from /usr/local/include/c++/11.1.0/algorithm:62, from /home/conan/w/prod/BuildSingleReference/.conan/data/libe57format/2.2.0/_/_/build/fc027b660e9b1620b97f67443d1552d633a8d769/src/src/CheckedFile.h:30, from /home/conan/w/prod/BuildSingleReference/.conan/data/libe57format/2.2.0/_/_/build/fc027b660e9b1620b97f67443d1552d633a8d769/src/src/E57XmlParser.cpp:35: /usr/local/include/c++/11.1.0/bits/stl_algo.h:3467:5: note: 'std::max' declared here 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ make[2]: *** [CMakeFiles/E57Format.dir/src/E57XmlParser.cpp.o] Error 1 make[1]: *** [CMakeFiles/E57Format.dir/all] Error 2 make: *** [all] Error 2 libe57format/2.2.0: 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 libe57format/2.2.0: 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 libe57format/2.2.0: ERROR: Package 'fc027b660e9b1620b97f67443d1552d633a8d769' build failed libe57format/2.2.0: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/libe57format/2.2.0/_/_/build/fc027b660e9b1620b97f67443d1552d633a8d769/build/Release ERROR: libe57format/2.2.0: Error in build() method, line 68 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/libe57format/2.2.0/_/_/build/fc027b660e9b1620b97f67443d1552d633a8d769/build/Release" '--' '-j3'