CMake Error at cMake/FindMissingVersions.cmake:21 (list): list GET given empty list Call Stack (most recent call first): CMakeLists.txt:603 (INCLUDE)
The output mentioned in the title is obtained on a cluster in NIX environment. It is breaks cmake (full log below). Commenting out CMakeLists.txt:603 fixes the issue.
Full log below (I can provide more info on request).
[nix-shell:~/.ssh/build]$ cmake -DCMAKE_INSTALL_PREFIX=../install ../trunk -DENABLE_GUI=OFF -DCMAKE_CXX_FLAGS="-Wno-int-in-bool-context" -DENABLE_OAR=ON -DLocalBoost=1.71.0 -DENABLE_POTENTIAL_PARTICLES=OFF -DENABLE_PFVFLOW=OFF -DENABLE_POTENTIAL_BLOCKS=OFF -DENABLE_LBMFLOW=OFF -DENABLE_POTENTIAL_PARTICLES=OFF -DENABLE_GL2PS=OFF -DENABLE_GTS=OFF -DSUFFIX=-daily
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc
-- Check for working C compiler: /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/g++
-- Check for working CXX compiler: /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Version is set to /bin/sh: error importing function definition for `BASH_FUNC_module%%'
2019-07-26.git-/bin/sh: error importing function definition for `BASH_FUNC_module%%'
5c94e10
-- GCC Version >= 4.8. Adding -ftrack-macro-expansion=0
-- GCC Version >= 4.8. Adding -save-temps
-- GCC Version >= 4.9. Adding -fstack-protector-strong
Loop on the following python versions and check available dependencies:3.8;3.7;3.6;3.5;3.4;3.3;3.2;3.1;3.0;2.7;2.6
-- Found PythonInterp: /nix/store/fw0zlsx7cbf4939215pdpw6s614c30ls-python3-3.7.3/bin/python (found version "3.7.3")
-- Found PythonInterp: /nix/store/fw0zlsx7cbf4939215pdpw6s614c30ls-python3-3.7.3/bin/python3.7 (found version "3.7.3")
Python version 3.7.3 found, try to import dependencies...
-- Boost 1.71.0 found.
-- Found Boost components:
python-py37;thread;filesystem;iostreams;regex;serialization;system;date_time
-- Found NumPy: version "1.16.1" /nix/store/i7vrd6sa32jji4brc5rbck2g2r765gdp-python3.7-numpy-1.16.1/lib/python3.7/site-packages/numpy/core/include
-- Found IPython: /nix/store/flibhzqvy2lhh2hlbr8q1gd8gjs3gsjq-python3.7-ipython-7.2.0/lib/python3.7/site-packages/IPython
-- Found matplotlib: /nix/store/l4p8znqa7b99d5n81sswgjq7d09ia7gj-python3.7-matplotlib-3.0.3/lib/python3.7/site-packages/matplotlib
-- Found pygraphviz: /nix/store/hif38dsxpv77kjpcxna0s7j4q429c9c8-python3.7-pygraphviz-1.3.1/lib/python3.7/site-packages/pygraphviz
-- Found Xlib: /nix/store/ac7124mql345vq3m0jhl5bmmlx9j954a-python3.7-xlib-0.17/lib/python3.7/site-packages/Xlib
-- Found minieigen: /nix/store/dyzp27yygzp7l4gqhavk6cvkbhqaq2n9-python3.7-minieigen/lib/python3.7/site-packages/minieigen.cpython-37m-x86_64-linux-gnu.so
-- Found future: /nix/store/afhj8hs6vgbshmb5syiv73sn1g3plmpn-python3.7-future-0.17.1/lib/python3.7/site-packages/future
-- Found past: /nix/store/afhj8hs6vgbshmb5syiv73sn1g3plmpn-python3.7-future-0.17.1/lib/python3.7/site-packages/past
-- Found tkinter: /nix/store/fw0zlsx7cbf4939215pdpw6s614c30ls-python3-3.7.3/lib/python3.7/tkinter
-- Boost_VERSION: 1.71.0
-- Boost_LIB_VERSION:
-- Boost_INCLUDE_DIRS: /nix/store/navnscrbmk6byysighl30wmi5gxrf3hd-boost-1.71/include
-- Boost_LIBRARIES: Boost::threadBoost::filesystemBoost::iostreamsBoost::regexBoost::serializationBoost::systemBoost::date_time
Found all python dependencies with version 3.7.3, will compile yade with that.
-- Found Loki: /nix/store/fx22chcs2hgk7j92x580chfc5h8appnj-loki-0.1.7/include
-- Found Eigen3: /nix/store/k61yicvvq8i7f13ck4j2m8g14wqh71kw-eigen-3.3.7/include/eigen3 (Required is at least version "2.91.0")
-- Found BZip2: /nix/store/wlivxbc4ny21gzq9a561bwx9b4p08m4m-bzip2-1.0.6.0.1/lib/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Found ZLIB: /nix/store/iiymx8j7nlar3gc23lfkcscvr61fng8s-zlib-1.2.11/lib/libz.so (found version "1.2.11")
-- Found Eigen3, version: 3.3.7
-- Disable vectorization
-- Boost Odeint can be enabled, only if Boost>=1.53 is used
-- Found VTK
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Found OpenMP
-- GMP libs: /nix/store/7mrq5v4nnqfkv1ka7a0kdw9mzvqs5w3c-gmp-6.1.2/lib/libgmp.so /nix/store/7mrq5v4nnqfkv1ka7a0kdw9mzvqs5w3c-gmp-6.1.2/lib/libgmpxx.so
-- Found GMP: /nix/store/qqfmwn6p3kdfqgkhg1qp7m3an69xjxv3-gmp-6.1.2-dev/include
-- Found CGAL: /nix/store/772ip0wn7jlm3i9j7dqf6bm1w4cpa5v3-cgal-4.13/include, /nix/store/772ip0wn7jlm3i9j7dqf6bm1w4cpa5v3-cgal-4.13/lib/libCGAL.so
-- GMP libs: /nix/store/7mrq5v4nnqfkv1ka7a0kdw9mzvqs5w3c-gmp-6.1.2/lib/libgmp.so /nix/store/7mrq5v4nnqfkv1ka7a0kdw9mzvqs5w3c-gmp-6.1.2/lib/libgmpxx.so
-- Found CGAL
-- SuiteSparse version 5.4.0 found, CHOLMOD direct solver for CPU activated.
-- Found Cholmod: /nix/store/jlldlkwxkx47hfk93qbk4wlgajcqdljc-suitesparse-5.4.0/lib/libcholmod.so
-- Found OpenBlas: /nix/store/rqm81jp42rrsk5v77gy1mk9djv6sxv56-openblas-0.3.5/lib/libopenblas.so
-- BLAS_INCLUDE_DIR=/nix/store/rqm81jp42rrsk5v77gy1mk9djv6sxv56-openblas-0.3.5/include
-- Found Metis: /nix/store/kspns9qkkapfbriqv0pagzqnagfd0r03-metis-5.1.0/include
-- Found Cholmod in /nix/store/jlldlkwxkx47hfk93qbk4wlgajcqdljc-suitesparse-5.4.0/lib/libcholmod.so
-- Found OpenBlas in /nix/store/rqm81jp42rrsk5v77gy1mk9djv6sxv56-openblas-0.3.5/lib/libopenblas.so
-- Found Metis in /nix/store/kspns9qkkapfbriqv0pagzqnagfd0r03-metis-5.1.0/lib/libmetis.a
-- Found MPI_C: /nix/store/iqmam68r4qcq14ixz248vdr46p9ysysj-openmpi-4.0.0/lib/libmpi.so (found version "3.1")
-- Found MPI_CXX: /nix/store/iqmam68r4qcq14ixz248vdr46p9ysysj-openmpi-4.0.0/lib/libmpi.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
-- MPI found
-- PFVFLOW disabled, TWOPHASEFLOW will not be compiled
CMake Error at cMake/FindMissingVersions.cmake:21 (list):
list GET given empty list
Call Stack (most recent call first):
CMakeLists.txt:603 (INCLUDE)
-- md5sum of freegult FORCE_FREEGLUT_PATH-NOTFOUND/freeglut_std.h is:
-- freegult version is unknown
Yade will be installed to /home/chareyrb/.ssh/install
-- Suffix is set to -daily
-- LIBRARY_OUTPUT_PATH is set to lib64
-- runtimePREFIX is set to /home/chareyrb/.ssh/install
-- VTK version >5 and <8 is found
-- ===========================================================
-- Yade configured with following features: VTK OpenMP CGAL LINSOLV MPI FEMLIKE THERMAL
-- Disabled features: Odeint GTS GUI PFVFLOW CHOLMOD_GPU TWOPHASEFLOW SPH DEFORM LIQMIGRATION GL2PS LBMFLOW MASK_ARBITRARY PROFILING PotentialParticles PotentialBlocks
-- Optimized build
-- ===========================================================
-- Configuring incomplete, errors occurred!
See also "/home/chareyrb/.ssh/build/CMakeFiles/CMakeOutput.log".
See also "/home/chareyrb/.ssh/build/CMakeFiles/CMakeError.log".