IBM / fhe-toolkit-linux

IBM Fully Homomorphic Encryption Toolkit For Linux. This toolkit is a Linux based Docker container that demonstrates computing on encrypted data without decrypting it! The toolkit ships with two demos including a fully encrypted Machine Learning inference with a Neural Network and a Privacy-Preserving key-value search.
MIT License
1.44k stars 158 forks source link

Toolkit Failing to Build on CentOS container #117

Closed boland25 closed 3 years ago

boland25 commented 3 years ago

Describe the bug Build the centOS version of the toolkit on the master branch, but it fails to build

To Reproduce Steps to reproduce the behavior:

  1. on master branch, run `./BuildDockerImage.sh centos
  2. it will attempt to build and fail when trying to compile mlhelib

Here is the error:

 > [29/34] RUN /bin/bash ./install_system_wide.sh &&     ldconfig:                                                                                                                                                          
 #34 0.361 -- The CXX compiler identification is GNU 8.3.1
 #34 0.366 -- Check for working CXX compiler: /usr/bin/c++
 #34 0.454 -- Check for working CXX compiler: /usr/bin/c++ -- works
 #34 0.455 -- Detecting CXX compiler ABI info
 #34 0.537 -- Detecting CXX compiler ABI info - done
 #34 0.541 -- Detecting CXX compile features
 #34 0.897 -- Detecting CXX compile features - done
 #34 0.898 CMake Error at CMakeLists.txt:35 (cmake_policy):
 #34 0.898   Policy "CMP0074" is not known to this version of CMake.
 #34 0.898 
 #34 0.898 
 #34 0.898 CMake Warning (dev) at CMakeLists.txt:55 (find_package):
 #34 0.898   Ignoring EXACT since no version is requested.
 #34 0.898 This warning is for project developers.  Use -Wno-dev to suppress it.
 #34 0.898 
 #34 1.104 -- Boost  found.
 #34 1.104 -- Found Boost components:
 #34 1.104    filesystem;system;thread
 #34 1.415 -- HDF5: Using hdf5 compiler wrapper to determine CXX configuration
 #34 1.419 -- Found HDF5: /usr/lib64/libhdf5_cpp.so;/usr/lib64/libhdf5.so;/usr/lib64/libsz.so;/usr/lib64/libz.so;/usr/lib64/libdl.so;/usr/lib64/libm.so (found version "1.10.5") found components:  CXX 
 #34 1.476 -- Configuring done
 #34 1.478 -- Generating done
 #34 1.479 -- Build files have been written to: /opt/IBM/FHE-distro/ML-HElib/make/googletest-download
 #34 1.505 Scanning dependencies of target googletest
 #34 1.512 [ 11%] Creating directories for 'googletest'
 #34 1.553 [ 22%] Performing download step (git clone) for 'googletest'
 #34 1.565 Cloning into 'googletest-src'...
 #34 3.122 Already on 'master'
 #34 3.122 Your branch is up to date with 'origin/master'.
 #34 3.234 [ 33%] No patch step for 'googletest'
 #34 3.248 [ 44%] Performing update step for 'googletest'
 #34 3.427 Current branch master is up to date.
 #34 3.477 [ 55%] No configure step for 'googletest'
 #34 3.493 [ 66%] No build step for 'googletest'
 #34 3.508 [ 77%] No install step for 'googletest'
 #34 3.524 [ 88%] No test step for 'googletest'
 #34 3.541 [100%] Completed 'googletest'
 #34 3.562 [100%] Built target googletest
 #34 3.626 -- The C compiler identification is GNU 8.3.1
 #34 3.630 -- Check for working C compiler: /usr/bin/cc
 #34 3.688 -- Check for working C compiler: /usr/bin/cc -- works
 #34 3.689 -- Detecting C compiler ABI info
 #34 3.749 -- Detecting C compiler ABI info - done
 #34 3.756 -- Detecting C compile features
 #34 3.927 -- Detecting C compile features - done
 #34 3.938 -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) 
 #34 3.940 -- Found Threads: TRUE  
 #34 3.948 -- Configuring incomplete, errors occurred!
 #34 3.948 See also "/opt/IBM/FHE-distro/ML-HElib/make/CMakeFiles/CMakeOutput.log".

Environment (please complete the following information):

Additional context Add any other context about the problem here.

boland25 commented 3 years ago

can definitely close this out, has been fixed!