# Pastebin m74ka0N6 these derivations will be built: /nix/store/d8pj59whznqzlyllgcdr1vvw5wsjpmq7-osquery-4.0.0.drv building '/nix/store/d8pj59whznqzlyllgcdr1vvw5wsjpmq7-osquery-4.0.0.drv'... unpacking sources unpacking source archive /nix/store/50mavahqzd0jg21x2vsm6zlnysfj294g-source source root is source patching sources configuring fixing cmake files... cmake flags: -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DBUILD_TESTING=OFF -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/4zkf8qii0cay5v154ks7h2xd36d260lm-osquery-4.0.0/include -DCMAKE_INSTALL_LIBDIR=/nix/store/4zkf8qii0cay5v154ks7h2xd36d260lm-osquery-4.0.0/lib -DCMAKE_INSTALL_NAME_DIR=/nix/store/4zkf8qii0cay5v154ks7h2xd36d260lm-osquery-4.0.0/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_DEPLOYMENT_TARGET= -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=last -DCMAKE_STRIP=/nix/store/qw8rhqk004qmqgnkvkpj85l1s194ang1-binutils-2.31.1/bin/strip -DCMAKE_RANLIB=/nix/store/qw8rhqk004qmqgnkvkpj85l1s194ang1-binutils-2.31.1/bin/ranlib -DCMAKE_AR=/nix/store/qw8rhqk004qmqgnkvkpj85l1s194ang1-binutils-2.31.1/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/4zkf8qii0cay5v154ks7h2xd36d260lm-osquery-4.0.0 -DSKIP_TESTS=1 -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DPython2_ROOT_DIR=/nix/store/0ffvcjr89882qd4xp3gnyyi76xvb47ri-python-2.7.16 -DPython3_ROOT_DIR=/nix/store/0f331h72l3v42szvcqyc9pqg79ghid9m-python3-3.7.3 -- The C compiler identification is Clang 7.1.0 -- The CXX compiler identification is Clang 7.1.0 -- Check for working C compiler: /nix/store/yfqvwdll543vqx33hxzrnbi0lgddn48g-clang-wrapper-7.1.0/bin/clang -- Check for working C compiler: /nix/store/yfqvwdll543vqx33hxzrnbi0lgddn48g-clang-wrapper-7.1.0/bin/clang -- 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/yfqvwdll543vqx33hxzrnbi0lgddn48g-clang-wrapper-7.1.0/bin/clang++ -- Check for working CXX compiler: /nix/store/yfqvwdll543vqx33hxzrnbi0lgddn48g-clang-wrapper-7.1.0/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Not found: ccache. Install it and put it into the PATH if you want to speed up partial builds. -- Build type: Release -- Shared libraries: OFF -- Found Python2: /nix/store/0ffvcjr89882qd4xp3gnyyi76xvb47ri-python-2.7.16/bin/python2.7 (found version "2.7.16") found components: Interpreter -- Found Python3: /nix/store/0f331h72l3v42szvcqyc9pqg79ghid9m-python3-3.7.3/bin/python3.7 (found version "3.7.3") found components: Interpreter -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE CMake Warning at cmake/packaging.cmake:70 (message): Failed to identify Linux flavor, either lsb_release is missing or we couldn't identify your distro. If you want to generate packages, please either install lsb_release or set the CMake variable PACKAGING_SYSTEM to DEB or RPM depending on your distro. Call Stack (most recent call first): cmake/packaging.cmake:25 (identifyPackagingSystemFromPlatform) CMakeLists.txt:50 (identifyPackagingSystem) CMakeLists.txt:56 (main) -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY SKIP_TESTS -- Build files have been written to: /build/source/build cmake: enabled parallel building building build flags: -j8 -l8 SHELL=/nix/store/x6b81sfmbmkmcyqp2rmk6jgsmzvyrjj0-bash-4.4-p23/bin/bash Scanning dependencies of target gentable_dependency__generator_1 Scanning dependencies of target thirdparty_pythonmodule_jinja2_downloader Scanning dependencies of target thirdparty_pythonmodule_markupsafe_downloader Scanning dependencies of target thirdparty_pythonpath Scanning dependencies of target linenoise-ng Scanning dependencies of target thirdparty_augeas_downloader Scanning dependencies of target thirdparty_aws-sdk-cpp_downloader Scanning dependencies of target gtest [ 0%] Downloading: https://s3.amazonaws.com/osquery-packages/third-party/pre-built/linux-x86_64/MarkupSafe-1.1.0-cp37-cp37m-manylinux1_x86_64.whl [ 0%] Initializing custom PYTHONPATH: /build/source/build/python_path [ 0%] Building CXX object third-party/linenoise-ng/CMakeFiles/linenoise-ng.dir/ConvertUTF.cpp.o [ 0%] Downloading: https://s3.amazonaws.com/osquery-packages/third-party/pre-built/none/Jinja2-2.10-py2.py3-none-any.whl [ 0%] Generating gentable/osquery/__init__.py [ 0%] Downloading: https://s3.amazonaws.com/osquery-packages/third-party/pre-built/linux-x86_64/augeas-1.9.0.tar.gz [ 0%] Downloading: https://s3.amazonaws.com/osquery-packages/third-party/pre-built/linux-x86_64/aws-sdk-cpp-1.4.55.tar.gz [ 0%] Building CXX object third-party/googletest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o [ 0%] Built target thirdparty_pythonpath Downloading... Failed to retrieve the file from the given url Scanning dependencies of target thirdparty_berkeley-db_downloader Downloading... Failed to retrieve the file from the given url make[2]: *** [third-party/markupsafe/CMakeFiles/thirdparty_pythonmodule_markupsafe_downloader.dir/build.make:61: third-party/markupsafe/MarkupSafe-1.1.0-cp37-cp37m-manylinux1_x86_64.whl] Error 1 make[1]: *** [CMakeFiles/Makefile2:2758: third-party/markupsafe/CMakeFiles/thirdparty_pythonmodule_markupsafe_downloader.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: *** [third-party/augeas/CMakeFiles/thirdparty_augeas_downloader.dir/build.make:61: third-party/augeas/augeas-1.9.0.tar.gz] Error 1 make[1]: *** [CMakeFiles/Makefile2:547: third-party/augeas/CMakeFiles/thirdparty_augeas_downloader.dir/all] Error 2 [ 0%] Built target gentable_dependency__generator_1 Downloading... Failed to retrieve the file from the given url [ 0%] Building CXX object third-party/linenoise-ng/CMakeFiles/linenoise-ng.dir/wcwidth.cpp.o [ 0%] Building CXX object third-party/linenoise-ng/CMakeFiles/linenoise-ng.dir/linenoise.cpp.o Downloading... Failed to retrieve the file from the given url make[2]: *** [third-party/jinja2/CMakeFiles/thirdparty_pythonmodule_jinja2_downloader.dir/build.make:61: third-party/jinja2/Jinja2-2.10-py2.py3-none-any.whl] Error 1 make[1]: *** [CMakeFiles/Makefile2:1356: third-party/jinja2/CMakeFiles/thirdparty_pythonmodule_jinja2_downloader.dir/all] Error 2 [ 0%] Downloading: https://s3.amazonaws.com/osquery-packages/third-party/pre-built/linux-x86_64/berkeley-db-5.3.28.tar.gz make[2]: *** [third-party/aws-sdk-cpp/CMakeFiles/thirdparty_aws-sdk-cpp_downloader.dir/build.make:61: third-party/aws-sdk-cpp/aws-sdk-cpp-1.4.55.tar.gz] Error 1 make[1]: *** [CMakeFiles/Makefile2:598: third-party/aws-sdk-cpp/CMakeFiles/thirdparty_aws-sdk-cpp_downloader.dir/all] Error 2 Downloading... Failed to retrieve the file from the given url make[2]: *** [third-party/berkeley-db/CMakeFiles/thirdparty_berkeley-db_downloader.dir/build.make:61: third-party/berkeley-db/berkeley-db-5.3.28.tar.gz] Error 1 make[1]: *** [CMakeFiles/Makefile2:713: third-party/berkeley-db/CMakeFiles/thirdparty_berkeley-db_downloader.dir/all] Error 2 [ 0%] Built target linenoise-ng [ 0%] Linking CXX static library libgtest.a [ 0%] Built target gtest make: *** [Makefile:152: all] Error 2