******************************************************************************** conan test cci-c4577d7d/recipes/newmat/all/test_package/conanfile.py newmat/11.0.1@#4566e42ac392f685b462d965c12a822c -pr /home/conan/w/prod-v1/BuildSingleReference/9724/fae57274-570c-4bc0-95be-fd7f799b80ba/profile_linux_9_libstdcpp11_gcc_debug_64.newmat-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=9 os=Linux [options] newmat:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True newmat/11.0.1 (test package): Installing package Requirements newmat/11.0.1 from local cache - Cache Packages newmat/11.0.1:30eae4e50fefe0f7b788ed8928ac248681ea6af0 - Cache Installing (downloading, building) binaries... newmat/11.0.1: Already installed! newmat/11.0.1 (test package): Generator 'CMakeDeps' calling 'generate()' newmat/11.0.1 (test package): Generator 'CMakeToolchain' calling 'generate()' newmat/11.0.1 (test package): Preset 'debug' added to CMakePresets.json. Invoke it manually using 'cmake --preset debug' newmat/11.0.1 (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/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_package/build/Debug/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug' newmat/11.0.1 (test package): Generator txt created conanbuildinfo.txt newmat/11.0.1 (test package): Generator 'VirtualRunEnv' calling 'generate()' newmat/11.0.1 (test package): Aggregating env generators newmat/11.0.1 (test package): Generated conaninfo.txt newmat/11.0.1 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_package/build/Debug/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 newmat/11.0.1 (test package): Calling build() newmat/11.0.1 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_package/build/Debug/generators/conan_toolchain.cmake -- The C compiler identification is GNU 9.2.1 -- The CXX compiler identification is GNU 9.2.1 -- 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 -- Conan: Target declared 'newmat::newmat' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_package/build/Debug newmat/11.0.1 (test package): CMake command: cmake --build "/home/conan/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_package/build/Debug" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_package/build/Debug" '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o [100%] Linking CXX executable test_package [100%] Built target test_package newmat/11.0.1 (test package): Running test() ----Running------ > . "/home/conan/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_package/build/Debug/generators/conanrun.sh" && ./test_package ----------------- This tests the exception system, so you will get a long list of error messages Print a real number (may help lost memory test): 3.14159 ----------------------------------------- Incompatible dimensions An exception has been thrown Logic error:- detected by Newmat: incompatible dimensions MatrixType = Rect # Rows = 2; # Cols = 3 MatrixType = Rect # Rows = 4; # Cols = 5 Trace: AddedMatrix::Evaluate; Block A; Test. ----------------------------------------- Bad index An exception has been thrown Logic error:- detected by Newmat: index error: requested indices = 3, 3 MatrixType = Rect # Rows = 2; # Cols = 3 Trace: Block B; Test. ----------------------------------------- Illegal conversion An exception has been thrown Logic error:- detected by Newmat: Illegal Conversion MatrixTypes = Rect ; UT Trace: Block C; Test. ----------------------------------------- Invert non-square matrix - 1 An exception has been thrown Logic error:- detected by Newmat: matrix is not square MatrixType = Rect # Rows = 2; # Cols = 3 Trace: CroutMatrix; Block D; Test. ----------------------------------------- Invert non-square matrix - 2 An exception has been thrown Logic error:- detected by Newmat: matrix is not square MatrixType = Rect # Rows = 2; # Cols = 3 Trace: GeneralSolvI; InvertedMatrix::Evaluate; Block E; Test. ----------------------------------------- Non 1x1 matrix to scalar An exception has been thrown Logic error:- detected by Newmat: Cannot convert to scalar MatrixType = Rect # Rows = 2; # Cols = 3 Trace: as_scalar; Block F; Test. ----------------------------------------- Matrix to vector An exception has been thrown Logic error:- detected by Newmat: cannot convert matrix to vector MatrixType = Rect # Rows = 2; # Cols = 3 Trace: ColumnVector; Block G; Test. ----------------------------------------- Invert singular matrix An exception has been thrown Runtime error:- detected by Newmat: matrix is singular MatrixType = Crout # Rows = 2; # Cols = 2 Trace: Crout(lubksb); GeneralSolvI; InvertedMatrix::Evaluate; Block H; Test. ----------------------------------------- SubMatrix error An exception has been thrown Logic error:- detected by Newmat: incompatible submatrix dimension Trace: SubMatrix(evaluate); Block I; Test. ----------------------------------------- SubMatrix error An exception has been thrown Logic error:- detected by Newmat: incompatible submatrix dimension Trace: SubMatrix(row); Block J; Test. ----------------------------------------- Cholesky error An exception has been thrown Runtime error:- detected by Newmat: matrix not positive definite MatrixType = Sym # Rows = 50; # Cols = 50 Trace: Cholesky; Block K; Test. ----------------------------------------- Inequality error An exception has been thrown Logic error:- detected by Newmat: inequalities not defined for matrices Trace: Block L; Test. ----------------------------------------- Maximum of empty matrix An exception has been thrown Logic error:- detected by Newmat: Maximum or minimum of null matrix Trace: Block M; Test. ----------------------------------------- Incorrectly ReSizing band matrix An exception has been thrown Logic error:- detected by Newmat: UpperBandMatrix with non-zero lower band Trace: UpperBandMatrix::resize; Block N; Test. ----------------------------------------- Incorrectly resizing symmetric band matrix An exception has been thrown Logic error:- detected by Newmat: Upper and lower band-widths not equal Trace: SymmetricBandMatrix::resize(GM); Block M; Test. ----------------------------------------- ReSize CroutMatrix An exception has been thrown Logic error:- detected by Newmat: resize not defined for this type of matrix Trace: GeneralMatrix::resize(GM); Block O; Test. ----------------------------------------- Manipulate CroutMatrix An exception has been thrown Logic error:- detected by Newmat: Illegal use of CroutMatrix MatrixType = Crout # Rows = 3; # Cols = 3 Trace: CroutMatrix::Evaluate; Block P; Test. ----------------------------------------- Manipulate BandLUMatrix An exception has been thrown Logic error:- detected by Newmat: Illegal use of BandLUMatrix MatrixType = BndLU # Rows = 3; # Cols = 3; lower BW = 1; upper BW = 1 Trace: BandLUMatrix::Evaluate; Block Q; Test. ----------------------------------------- End test (The following memory checks are probably not valid with all compilers - see documentation) Checking for lost memory (large block): 94677796381024 94677796383360 - see section 2.8 Checking for lost memory (small block): 94677796381024 94677796381504 - see section 2.8 newmat/11.0.1 (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 newmat/11.0.1 (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 ******************************************************************************** conan test cci-c4577d7d/recipes/newmat/all/test_v1_package/conanfile.py newmat/11.0.1@#4566e42ac392f685b462d965c12a822c -pr /home/conan/w/prod-v1/BuildSingleReference/9724/fae57274-570c-4bc0-95be-fd7f799b80ba/profile_linux_9_libstdcpp11_gcc_debug_64.newmat-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=9 os=Linux [options] newmat:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True newmat/11.0.1 (test package): Installing package Requirements newmat/11.0.1 from local cache - Cache Packages newmat/11.0.1:30eae4e50fefe0f7b788ed8928ac248681ea6af0 - Cache Installing (downloading, building) binaries... newmat/11.0.1: Already installed! newmat/11.0.1 (test package): Generator txt created conanbuildinfo.txt newmat/11.0.1 (test package): Generator cmake created conanbuildinfo.cmake newmat/11.0.1 (test package): Generator cmake_find_package created Findnewmat.cmake newmat/11.0.1 (test package): Aggregating env generators newmat/11.0.1 (test package): Generated conaninfo.txt newmat/11.0.1 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_v1_package/build/4520e240b5c95139ab6e66e51a83f03e5836ee67/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 newmat/11.0.1 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_v1_package/build/4520e240b5c95139ab6e66e51a83f03e5836ee67' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="9" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_v1_package/build/4520e240b5c95139ab6e66e51a83f03e5836ee67/package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_MODULE_PATH="/home/conan/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_v1_package/build/4520e240b5c95139ab6e66e51a83f03e5836ee67" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_v1_package' ----------------- -- The C compiler identification is GNU 9.2.1 -- 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 -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library Newmat found /home/conan/w/prod-v1/BuildSingleReference/.conan/data/newmat/11.0.1/_/_/package/30eae4e50fefe0f7b788ed8928ac248681ea6af0/lib/libNewmat.so -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- This project seems to be plain C, using 'GNU' compiler -- Conan: Compiler GCC>=5, checking major version 9 -- Conan: Checking correct version: 9 -- Conan: C++ stdlib: libstdc++11 -- Configuring incomplete, errors occurred! See also "/home/conan/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_v1_package/build/4520e240b5c95139ab6e66e51a83f03e5836ee67/CMakeFiles/CMakeOutput.log". CMake Error at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message): Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.18/Modules/FindZLIB.cmake:115 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:7 (find_package) ERROR: newmat/11.0.1 (test package): Error in build() method, line 11 cmake.configure() ConanException: Error 1 while executing cd '/home/conan/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_v1_package/build/4520e240b5c95139ab6e66e51a83f03e5836ee67' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="9" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_v1_package/build/4520e240b5c95139ab6e66e51a83f03e5836ee67/package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_MODULE_PATH="/home/conan/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_v1_package/build/4520e240b5c95139ab6e66e51a83f03e5836ee67" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod-v1/BuildSingleReference/cci-c4577d7d/recipes/newmat/all/test_v1_package'