******************************************************************************** conan test cci-7c95ff50/recipes/statistic/all/test_package/conanfile.py statistic/1.0.8@#230a34fa4f818c4797ed067b0684816a -pr /home/conan/workspace/prod-v1/bsr/92657/dddee/profile_linux_5_libstdcpp11_gcc_release_64..txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=5 os=Linux [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True statistic/1.0.8 (test package): Installing package Requirements statistic/1.0.8 from local cache - Cache Packages statistic/1.0.8:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache Installing (downloading, building) binaries... statistic/1.0.8: Already installed! statistic/1.0.8 (test package): Generator 'CMakeDeps' calling 'generate()' statistic/1.0.8 (test package): Generator 'CMakeToolchain' calling 'generate()' statistic/1.0.8 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' statistic/1.0.8 (test package): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' statistic/1.0.8 (test package): Generator 'VirtualRunEnv' calling 'generate()' statistic/1.0.8 (test package): Generator txt created conanbuildinfo.txt statistic/1.0.8 (test package): Aggregating env generators statistic/1.0.8 (test package): Generated conaninfo.txt statistic/1.0.8 (test package): Generated graphinfo Using lockfile: '/home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/build/Release/generators/conan.lock' Using cached profile from lockfile [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 statistic/1.0.8 (test package): Calling build() statistic/1.0.8 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/build/Release/generators/conan_toolchain.cmake -- The CXX compiler identification is GNU 5.4.0 -- 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 -- Conan: Target declared 'statistic::statistic' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/build/Release statistic/1.0.8 (test package): CMake command: cmake --build "/home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/build/Release" '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o CMakeFiles/test_package.dir/build.make:81: recipe for target 'CMakeFiles/test_package.dir/test_package.cpp.o' failed CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/test_package.dir/all' failed Makefile:102: recipe for target 'all' failed CMake Warning: Manually-specified variables were not used by the project: CMAKE_POLICY_DEFAULT_CMP0091 In file included from /usr/include/c++/5/type_traits:35:0, from /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:61, from /home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/test_package.cpp:5: /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support \ ^ In file included from /home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/test_package.cpp:5:0: /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:107:12: error: ‘constexpr’ does not name a type static constexpr T ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:107:12: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:112:12: error: ‘constexpr’ does not name a type static constexpr float ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:112:12: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:117:12: error: ‘constexpr’ does not name a type static constexpr double ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:117:12: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:122:12: error: ‘constexpr’ does not name a type static constexpr long double ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:122:12: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:136:44: error: ‘uint32_t’ does not name a type template ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:143:10: error: ‘constexpr’ does not name a type static constexpr value_type NaN { std::numeric_limits::quiet_NaN() }; ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:143:10: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:275:17: error: ‘conditional’ in namespace ‘std’ does not name a template type typename std::conditional<_useStdDev, StdDev, Empty>::type _extra; ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:275:28: error: expected unqualified-id before ‘<’ token typename std::conditional<_useStdDev, StdDev, Empty>::type _extra; ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h: In member function ‘void statistic::Statistic::clear()’: /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:153:5: error: ‘_extra’ was not declared in this scope _extra.clear(); ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h: In member function ‘statistic::Statistic::value_type statistic::Statistic::add(statistic::Statistic::value_type)’: /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:177:7: error: ‘_extra’ was not declared in this scope _extra.ssqdif(_extra.ssqdif() + _cnt * _store * _store / (_cnt - 1)); ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h: In member function ‘statistic::Statistic::value_type statistic::Statistic::average() const’: /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:207:27: error: ‘NaN’ was not declared in this scope if (_cnt == 0) return NaN; // prevent DIV0 error ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h: In member function ‘statistic::Statistic::value_type statistic::Statistic::variance() const’: /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:215:29: error: ‘NaN’ was not declared in this scope if (!_useStdDev) return NaN; ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:216:27: error: ‘NaN’ was not declared in this scope if (_cnt == 0) return NaN; // prevent DIV0 error ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:217:12: error: ‘_extra’ was not declared in this scope return _extra.ssqdif() / _cnt; ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h: In member function ‘statistic::Statistic::value_type statistic::Statistic::pop_stdev() const’: /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:223:29: error: ‘NaN’ was not declared in this scope if (!_useStdDev) return NaN; ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:224:27: error: ‘NaN’ was not declared in this scope if (_cnt == 0) return NaN; // prevent DIV0 error ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:225:23: error: ‘_extra’ was not declared in this scope return std::sqrt( _extra.ssqdif() / _cnt); ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h: In member function ‘statistic::Statistic::value_type statistic::Statistic::unbiased_stdev() const’: /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:230:29: error: ‘NaN’ was not declared in this scope if (!_useStdDev) return NaN; ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:231:26: error: ‘NaN’ was not declared in this scope if (_cnt < 2) return NaN; // prevent DIV0 error ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:232:23: error: ‘_extra’ was not declared in this scope return std::sqrt( _extra.ssqdif() / (_cnt - 1)); ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h: In member function ‘statistic::Statistic::value_type statistic::Statistic::getCoefficientOfVariation() const’: /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:236:27: error: ‘NaN’ was not declared in this scope if (_sum == 0) return NaN; ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:238:17: error: ‘NaN’ was not declared in this scope if (temp == NaN) return NaN; ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h: In member function ‘statistic::Statistic::value_type statistic::Statistic::Empty::ssqdif() const’: /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:262:40: error: ‘NaN’ was not declared in this scope value_type ssqdif() const { return NaN; } ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h: At global scope: /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:283:37: error: ‘uint32_t’ was not declared in this scope typedef statistic::Statistic Statistic; ^ /home/conan/workspace/prod-v1/bsr/92657/cedfe/.conan/data/statistic/1.0.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/Statistic.h:283:51: error: template argument 2 is invalid typedef statistic::Statistic Statistic; ^ /home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/test_package.cpp: In function ‘int main()’: /home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/test_package.cpp:8:33: error: ‘uint32_t’ was not declared in this scope statistic::Statistic myStats; ^ /home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/test_package.cpp:8:47: error: template argument 2 is invalid statistic::Statistic myStats; ^ /home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/test_package.cpp:11:17: error: request for member ‘add’ in ‘myStats’, which is of non-class type ‘int’ myStats.add(i); ^ /home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/test_package.cpp:13:26: error: request for member ‘count’ in ‘myStats’, which is of non-class type ‘int’ std::cout << myStats.count() << std::endl; ^ /home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/test_package.cpp:14:26: error: request for member ‘average’ in ‘myStats’, which is of non-class type ‘int’ std::cout << myStats.average() << std::endl; ^ /home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/test_package.cpp:15:26: error: request for member ‘variance’ in ‘myStats’, which is of non-class type ‘int’ std::cout << myStats.variance() << std::endl; ^ /home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/test_package.cpp:16:26: error: request for member ‘minimum’ in ‘myStats’, which is of non-class type ‘int’ std::cout << myStats.minimum() << std::endl; ^ /home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/test_package.cpp:17:26: error: request for member ‘maximum’ in ‘myStats’, which is of non-class type ‘int’ std::cout << myStats.maximum() << std::endl; ^ make[2]: *** [CMakeFiles/test_package.dir/test_package.cpp.o] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 WARN: *** Conan 1 is legacy and on a deprecation path *** WARN: *** Please upgrade to Conan 2 *** statistic/1.0.8 (test package): 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 statistic/1.0.8 (test package): 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 ERROR: statistic/1.0.8 (test package): Error in build() method, line 21 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/workspace/prod-v1/bsr/cci-7c95ff50/recipes/statistic/all/test_package/build/Release" '--' '-j3'