-- Version is set to 2021.01a -- GCC Version >= 4.8. Adding -ftrack-macro-expansion=0 -- GCC Version >= 4.8. Adding -save-temps -- Log filtering: enabled -- Enabling boost::log library and DEBUG=OFF. Logging will work nicely, backtraces will not have debug info, files will be small. -- Architecture: unknown -- Found freeglut: /usr/include/GL -- md5sum of freegult /usr/include/GL/freeglut_std.h is: 5d350938fc0be29757a26e466fff6414 -- freegult version is 3.0.0 Loop on the following python versions and check available dependencies:3.9;3.8;3.7;3.6;3.5;3.4;3.3;3.2;3.1;3.0;2.7;2.6 Using user defined PYTHON_EXECUTABLE: /usr/bin/python3.9 Python version 3.9.1 found, try to import dependencies... -- Boost_VERSION: 1.75.0 -- Boost_LIB_VERSION: 1_75 -- Boost_INCLUDE_DIRS: /usr/include -- Boost_LIBRARIES: Boost::pythonBoost::threadBoost::filesystemBoost::iostreamsBoost::regexBoost::serializationBoost::systemBoost::date_timeBoost::log Found all python dependencies with version 3.9.1, will compile yade with that. -- Chosen compiler flags are: CMAKE_CXX_FLAGS = -D_FORTIFY_SOURCE=2 -march=native -O2 -pipe -fno-plt -Werror -Wformat -Wformat-security -Wformat-nonliteral -Wall -Wextra -Wnarrowing -Wreturn-type -Wuninitialized -Wfloat-conversion -Wcast-align -Wdisabled-optimization -Wtrampolines -Wpointer-arith -Wswitch-bool -Wwrite-strings -Wnon-virtual-dtor -Wreturn-local-addr -Wno-error=maybe-uninitialized -Wno-comment -Wno-cast-function-type -Wno-deprecated-copy -Wshadow=compatible-local -Wno-error=cpp -fdce -fstack-protector-strong -- Determining preferred precision of Real numbers -- Will now try to find python-mpmath using /usr/bin/python3.9 -- Enabling RealHP, double, quadruple and more precisions are available: RealHP for N ∈ {1,2,3,4,8,10,20}. See file lib/high-precision/RealHPConfig.hpp -- python-mpmath found, version: 1.1.0 -- Will now try to find MPFR library https://www.mpfr.org, debian package libmpfr-dev -- Checking /usr/include/mpreal.h provided by package libmpfrc++-dev -- MPFR enabled, version: 4.1.0, linking with /usr/lib/libmpfr.so -- Will use PrecisionDouble as Real type with 15 decimal places precision and use 64 bits of storage. -- Found Eigen3, version: 3.3.9 -- Enable vectorization -- Found VTK -- Found OpenMP -- GTS using gts-config /usr/bin/gts-config -- Using GTS from /usr -- Found GTS -- USE QT5 -- Found GUI-Qt5-LIBS -- GMP libs: /usr/lib/libgmp.so /usr/lib/libgmpxx.so -- GMP libs: /usr/lib/libgmp.so /usr/lib/libgmpxx.so -- Found CGAL -- Using typical suitesparse path /usr -- SuiteSparse version 5.8.1 found, CHOLMOD direct solver for CPU activated. -- BLAS_INCLUDE_DIR=/usr/include -- Found Cholmod in /usr/lib/libcholmod.so -- Found OpenBlas in /usr/lib/libopenblas.so -- Found Metis in /usr/lib/libmetis.so -- Found CuBlas in /opt/cuda/lib64/libcublas.so -- Found Lapack in /usr/lib/liblapack.so -- MPI found -- Found GL2PS LBMFLOW is still experimental, building and running LBM engine are at your own risk! MASK_ARBITRARY_SIZE = 256 -- BLAS_INCLUDE_DIR=/usr/include -- Found OpenBlas -- Found Lapack -- BLAS_INCLUDE_DIR=/usr/include -- Found CLP version: 1.17.6, coinutils version: 2.11.4 Yade will be installed to /usr -- Suffix is set to -- LIBRARY_OUTPUT_PATH is set to lib -- runtimePREFIX is set to /usr -- Could NOT find gts (missing: PY_gts) -- Use embedded version of gts. Please, consider installing the corresponding package -- linking -lquadmath -- =========================================================== -- Yade configured with following features: BoostLog RealHP mpmath PrecisionDouble MPFR VECTORIZE Odeint VTK OpenMP GTS GUI-Qt5 CGAL PFVFLOW PFVFLOW LINSOLV CHOLMOD_GPU MPI TWOPHASEFLOW SPH DEFORM FEMLIKE LIQMIGRATION GL2PS LBMFLOW MASK_ARBITRARY THERMAL PARTIALSAT PROFILING PotentialParticles PotentialBlocks -- Disabled features: -- Using MAX_LOG_LEVEL=5, ENABLE_LOGGER=ON -- Optimized build -- C++ standard version: 17 -- CHUNKSIZE is set to 50 -- =========================================================== -- Configuring done -- Generating done -- Build files have been written to: /tmp/makepkg/yade/src/build [ 1%] Automatic MOC for target _GLViewer [ 4%] Built target _polyhedra_utils [ 7%] Built target WeightedAverage2d [ 11%] Built target _packObb [ 11%] Built target _GLViewer_autogen [ 28%] Built target _gts [ 39%] Built target _GLViewer Scanning dependencies of target yade [ 41%] Building CXX object CMakeFiles/yade.dir/lib.0.cpp.o c++: warning: '-pipe' ignored because '-save-temps' specified [ 42%] Building CXX object CMakeFiles/yade.dir/core.0.cpp.o c++: warning: '-pipe' ignored because '-save-temps' specified [ 44%] Building CXX object CMakeFiles/yade.dir/pkg.0.cpp.o c++: warning: '-pipe' ignored because '-save-temps' specified [ 46%] Building CXX object CMakeFiles/yade.dir/pkg.1.cpp.o [ 47%] Building CXX object CMakeFiles/yade.dir/pkg.2.cpp.o c++: warning: '-pipe' ignored because '-save-temps' specified c++: warning: '-pipe' ignored because '-save-temps' specified In file included from /tmp/makepkg/yade/src/build/core.0.cpp:10: /tmp/makepkg/yade/src/trunk/core/InteractionContainer.cpp:82:2: warning: #warning ("is cpu cost of this mutex known?") [-Wcpp] 82 | #warning("is cpu cost of this mutex known?") | ^~~~~~~ In file included from /usr/include/boost/python/exception_translator.hpp:10, from /usr/include/boost/python.hpp:28, from /tmp/makepkg/yade/src/trunk/lib/high-precision/RealHPConfig.hpp:35, from /tmp/makepkg/yade/src/trunk/lib/high-precision/Real.hpp:243, from /tmp/makepkg/yade/src/trunk/lib/base/Math.hpp:12, from /tmp/makepkg/yade/src/trunk/core/Bound.hpp:10, from /tmp/makepkg/yade/src/trunk/core/Body.hpp:13, from /tmp/makepkg/yade/src/trunk/core/Body.cpp:2, from /tmp/makepkg/yade/src/build/core.0.cpp:1: /usr/include/boost/bind.hpp:41:273: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 41 | ) | ^ In file included from /usr/include/boost/python/exception_translator.hpp:10, from /usr/include/boost/python.hpp:28, from /tmp/makepkg/yade/src/trunk/lib/high-precision/RealHPConfig.hpp:35, from /tmp/makepkg/yade/src/trunk/lib/high-precision/Real.hpp:243, from /tmp/makepkg/yade/src/trunk/lib/base/Math.hpp:12, from /tmp/makepkg/yade/src/trunk/lib/base/Math.cpp:1, from /tmp/makepkg/yade/src/build/lib.0.cpp:1: /usr/include/boost/bind.hpp:41:273: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 41 | ) | ^ In file included from /tmp/makepkg/yade/src/build/lib.0.cpp:10: /tmp/makepkg/yade/src/trunk/core/main/pyboot.cpp:5:74: error: redefinition of 'boost::log::v2_mt_posix::sources::severity_logger {anonymous}::logger' 5 | CREATE_CPP_LOCAL_LOGGER("pyboot.cpp"); | ^ In file included from /tmp/makepkg/yade/src/build/lib.0.cpp:9: /tmp/makepkg/yade/src/trunk/lib/pyutil/gil.cpp:5:74: note: 'boost::log::v2_mt_posix::sources::severity_logger {anonymous}::logger' previously declared here 5 | CREATE_CPP_LOCAL_LOGGER("gil.cpp") | ^ In file included from /usr/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822, from /usr/lib/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /tmp/makepkg/yade/src/trunk/lib/pyutil/numpy_boost.hpp:45, from /tmp/makepkg/yade/src/trunk/pkg/dem/TesselationWrapper.cpp:23, from /tmp/makepkg/yade/src/build/pkg.1.cpp:41: /usr/lib/python3.9/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | In file included from /usr/include/CGAL/boost/graph/copy_face_graph.h:37, from /usr/include/CGAL/Surface_mesh/Surface_mesh.h:53, from /usr/include/CGAL/Surface_mesh.h:27, from /tmp/makepkg/yade/src/trunk/lib/base/AliasCGAL.hpp:23, from /tmp/makepkg/yade/src/trunk/lib/triangulation/RegularTriangulation.h:11, from /tmp/makepkg/yade/src/trunk/lib/triangulation/Tenseur3.h:3, from /tmp/makepkg/yade/src/trunk/lib/triangulation/KinematicLocalisationAnalyser.hpp:15, from /tmp/makepkg/yade/src/trunk/lib/triangulation/KinematicLocalisationAnalyser.cpp:13, from /tmp/makepkg/yade/src/build/lib.0.cpp:12: /usr/include/boost/function_output_iterator.hpp:14:110: note: '#pragma message: This header is deprecated. Use instead.' 14 | BOOST_HEADER_DEPRECATED("") | ^ In file included from /usr/include/boost/python/exception_translator.hpp:10, from /usr/include/boost/python.hpp:28, from /tmp/makepkg/yade/src/trunk/lib/high-precision/RealHPConfig.hpp:35, from /tmp/makepkg/yade/src/trunk/lib/high-precision/Real.hpp:243, from /tmp/makepkg/yade/src/trunk/lib/base/Math.hpp:12, from /tmp/makepkg/yade/src/trunk/core/Bound.hpp:10, from /tmp/makepkg/yade/src/trunk/pkg/common/Aabb.hpp:11, from /tmp/makepkg/yade/src/trunk/pkg/common/Bo1_Aabb.hpp:11, from /tmp/makepkg/yade/src/trunk/pkg/common/Bo1_Aabb.cpp:9, from /tmp/makepkg/yade/src/build/pkg.0.cpp:1: /usr/include/boost/bind.hpp:41:273: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 41 | ) | ^ In file included from /usr/include/boost/python/exception_translator.hpp:10, from /usr/include/boost/python.hpp:28, from /tmp/makepkg/yade/src/trunk/lib/high-precision/RealHPConfig.hpp:35, from /tmp/makepkg/yade/src/trunk/lib/high-precision/Real.hpp:243, from /tmp/makepkg/yade/src/trunk/lib/base/Math.hpp:12, from /tmp/makepkg/yade/src/trunk/lib/base/Logging.hpp:33, from /tmp/makepkg/yade/src/trunk/core/Engine.hpp:13, from /tmp/makepkg/yade/src/trunk/core/GlobalEngine.hpp:11, from /tmp/makepkg/yade/src/trunk/pkg/dem/CohesiveFrictionalContactLaw.hpp:11, from /tmp/makepkg/yade/src/trunk/pkg/dem/InelastCohFrictPM.hpp:11, from /tmp/makepkg/yade/src/trunk/pkg/dem/InelastCohFrictPM.cpp:1, from /tmp/makepkg/yade/src/build/pkg.1.cpp:1: /usr/include/boost/bind.hpp:41:273: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 41 | ) | ^ In file included from /tmp/makepkg/yade/src/build/pkg.0.cpp:9: /tmp/makepkg/yade/src/trunk/pkg/common/Gl1_PotentialBlock.cpp: In member function 'virtual void yade::PotentialBlockVTKRecorder::action()': /tmp/makepkg/yade/src/trunk/pkg/common/Gl1_PotentialBlock.cpp:694:31: error: no matching function for call to 'vtkUnsignedCharArray::InsertNextTuple(unsigned char [3])' 694 | pbColors->INSERT_NEXT_TUPLE(c); | ^ In file included from /usr/include/vtk/vtkIntArray.h:33, from /usr/include/vtk/vtkCellTypes.h:42, from /usr/include/vtk/vtkPolyData.h:64, from /tmp/makepkg/yade/src/trunk/pkg/common/Gl1_PotentialBlock.hpp:15, from /tmp/makepkg/yade/src/trunk/pkg/common/Gl1_PotentialBlock.cpp:9, from /tmp/makepkg/yade/src/build/pkg.0.cpp:9: /usr/include/vtk/vtkAOSDataArrayTemplate.h:214:13: note: candidate: 'vtkIdType vtkAOSDataArrayTemplate::InsertNextTuple(const float*) [with ValueTypeT = unsigned char; vtkIdType = long long int]' 214 | vtkIdType InsertNextTuple(const float *tuple) override; | ^~~~~~~~~~~~~~~ /usr/include/vtk/vtkAOSDataArrayTemplate.h:214:42: note: no known conversion for argument 1 from 'unsigned char [3]' to 'const float*' 214 | vtkIdType InsertNextTuple(const float *tuple) override; | ~~~~~~~~~~~~~^~~~~ /usr/include/vtk/vtkAOSDataArrayTemplate.h:215:13: note: candidate: 'vtkIdType vtkAOSDataArrayTemplate::InsertNextTuple(const double*) [with ValueTypeT = unsigned char; vtkIdType = long long int]' 215 | vtkIdType InsertNextTuple(const double *tuple) override; | ^~~~~~~~~~~~~~~ /usr/include/vtk/vtkAOSDataArrayTemplate.h:215:43: note: no known conversion for argument 1 from 'unsigned char [3]' to 'const double*' 215 | vtkIdType InsertNextTuple(const double *tuple) override; | ~~~~~~~~~~~~~~^~~~~ /usr/include/vtk/vtkAOSDataArrayTemplate.h:218:13: note: candidate: 'vtkIdType vtkAOSDataArrayTemplate::InsertNextTuple(vtkIdType, vtkAbstractArray*) [with ValueTypeT = unsigned char; vtkIdType = long long int]' 218 | vtkIdType InsertNextTuple(vtkIdType srcTupleIdx, | ^~~~~~~~~~~~~~~ /usr/include/vtk/vtkAOSDataArrayTemplate.h:218:13: note: candidate expects 2 arguments, 1 provided In file included from /usr/include/boost/python/exception_translator.hpp:10, from /usr/include/boost/python.hpp:28, from /tmp/makepkg/yade/src/trunk/lib/high-precision/RealHPConfig.hpp:35, from /tmp/makepkg/yade/src/trunk/lib/high-precision/Real.hpp:243, from /tmp/makepkg/yade/src/trunk/lib/base/Math.hpp:12, from /tmp/makepkg/yade/src/trunk/pkg/common/Dispatching.hpp:2, from /tmp/makepkg/yade/src/trunk/pkg/dem/ViscoelasticPM.hpp:7, from /tmp/makepkg/yade/src/trunk/pkg/dem/ViscoelasticCapillarPM.hpp:2, from /tmp/makepkg/yade/src/trunk/pkg/dem/ViscoelasticCapillarPM.cpp:1, from /tmp/makepkg/yade/src/build/pkg.2.cpp:1: /usr/include/boost/bind.hpp:41:273: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 41 | ) | ^ make[2]: *** [CMakeFiles/yade.dir/build.make:82: CMakeFiles/yade.dir/lib.0.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /usr/include/CGAL/boost/graph/copy_face_graph.h:37, from /usr/include/CGAL/Surface_mesh/Surface_mesh.h:53, from /usr/include/CGAL/Surface_mesh.h:27, from /tmp/makepkg/yade/src/trunk/lib/base/AliasCGAL.hpp:23, from /tmp/makepkg/yade/src/trunk/lib/triangulation/RegularTriangulation.h:11, from /tmp/makepkg/yade/src/trunk/lib/triangulation/Tenseur3.h:3, from /tmp/makepkg/yade/src/trunk/lib/triangulation/KinematicLocalisationAnalyser.hpp:15, from /tmp/makepkg/yade/src/trunk/pkg/dem/MicroMacroAnalyser.hpp:12, from /tmp/makepkg/yade/src/trunk/pkg/dem/MicroMacroAnalyser.cpp:10, from /tmp/makepkg/yade/src/build/pkg.1.cpp:16: /usr/include/boost/function_output_iterator.hpp:14:110: note: '#pragma message: This header is deprecated. Use instead.' 14 | BOOST_HEADER_DEPRECATED("") | ^ In file included from /usr/include/CGAL/boost/graph/copy_face_graph.h:37, from /usr/include/CGAL/Surface_mesh/Surface_mesh.h:53, from /usr/include/CGAL/Surface_mesh.h:27, from /tmp/makepkg/yade/src/trunk/lib/base/AliasCGAL.hpp:23, from /tmp/makepkg/yade/src/trunk/lib/triangulation/RegularTriangulation.h:11, from /tmp/makepkg/yade/src/trunk/lib/triangulation/Tesselation.h:9, from /tmp/makepkg/yade/src/trunk/lib/triangulation/Network.hpp:11, from /tmp/makepkg/yade/src/trunk/lib/triangulation/FlowBoundingSphere.hpp:13, from /tmp/makepkg/yade/src/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:39, from /tmp/makepkg/yade/src/trunk/pkg/pfv/FlowEngine.cpp:11, from /tmp/makepkg/yade/src/build/pkg.2.cpp:24: /usr/include/boost/function_output_iterator.hpp:14:110: note: '#pragma message: This header is deprecated. Use instead.' 14 | BOOST_HEADER_DEPRECATED("") | ^ In file included from /tmp/makepkg/yade/src/build/pkg.1.cpp:24: /tmp/makepkg/yade/src/trunk/pkg/dem/Polyhedra_support.cpp:17:74: error: redefinition of 'boost::log::v2_mt_posix::sources::severity_logger yade::{anonymous}::logger' 17 | CREATE_CPP_LOCAL_LOGGER("Polyhedra_support.cpp"); | ^ In file included from /tmp/makepkg/yade/src/build/pkg.1.cpp:10: /tmp/makepkg/yade/src/trunk/pkg/dem/Law2_ScGeom_CapillaryPhys_Capillarity.cpp:29:74: note: 'boost::log::v2_mt_posix::sources::severity_logger yade::{anonymous}::logger' previously declared here 29 | CREATE_CPP_LOCAL_LOGGER("Law2_ScGeom_CapillaryPhys_Capillarity.cpp"); | ^ In file included from /tmp/makepkg/yade/src/trunk/pkg/pfv/PartialSatClayEngine.hpp:14, from /tmp/makepkg/yade/src/trunk/pkg/pfv/PartialSatClayEngine.cpp:11, from /tmp/makepkg/yade/src/build/pkg.2.cpp:25: /tmp/makepkg/yade/src/build/pkg/pfv/FlowEngine_PartialSatClayEngineT.hpp:52:6: error: multiple definition of 'enum yade::UseFlowSolver' 52 | enum /* class */ UseFlowSolver { | ^~~~~~~~~~~~~ In file included from /tmp/makepkg/yade/src/trunk/pkg/pfv/FlowEngine.cpp:11, from /tmp/makepkg/yade/src/build/pkg.2.cpp:24: /tmp/makepkg/yade/src/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:52:6: note: previous definition here 52 | enum /* class */ UseFlowSolver { | ^~~~~~~~~~~~~ In file included from /tmp/makepkg/yade/src/trunk/pkg/pfv/PeriodicFlowEngine.cpp:16, from /tmp/makepkg/yade/src/build/pkg.2.cpp:26: /tmp/makepkg/yade/src/build/pkg/pfv/FlowEngine_FlowEngine_PeriodicInfo.hpp:52:6: error: multiple definition of 'enum yade::UseFlowSolver' 52 | enum /* class */ UseFlowSolver { | ^~~~~~~~~~~~~ In file included from /tmp/makepkg/yade/src/trunk/pkg/pfv/FlowEngine.cpp:11, from /tmp/makepkg/yade/src/build/pkg.2.cpp:24: /tmp/makepkg/yade/src/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:52:6: note: previous definition here 52 | enum /* class */ UseFlowSolver { | ^~~~~~~~~~~~~ In file included from /tmp/makepkg/yade/src/trunk/pkg/pfv/TwoPhaseFlowEngine.hpp:20, from /tmp/makepkg/yade/src/trunk/pkg/pfv/TwoPhaseFlowEngine.cpp:11, from /tmp/makepkg/yade/src/build/pkg.2.cpp:29: /tmp/makepkg/yade/src/build/pkg/pfv/FlowEngine_TwoPhaseFlowEngineT.hpp:52:6: error: multiple definition of 'enum yade::UseFlowSolver' 52 | enum /* class */ UseFlowSolver { | ^~~~~~~~~~~~~ In file included from /tmp/makepkg/yade/src/trunk/pkg/pfv/FlowEngine.cpp:11, from /tmp/makepkg/yade/src/build/pkg.2.cpp:24: /tmp/makepkg/yade/src/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:52:6: note: previous definition here 52 | enum /* class */ UseFlowSolver { | ^~~~~~~~~~~~~ make[2]: *** [CMakeFiles/yade.dir/build.make:108: CMakeFiles/yade.dir/pkg.0.cpp.o] Error 1 make[2]: *** [CMakeFiles/yade.dir/build.make:134: CMakeFiles/yade.dir/pkg.2.cpp.o] Error 1 make[2]: *** [CMakeFiles/yade.dir/build.make:121: CMakeFiles/yade.dir/pkg.1.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:275: CMakeFiles/yade.dir/all] Error 2 make: *** [Makefile:149: all] Error 2