=> Bootstrap dependency digest>=20010302: found digest-20160304 => Checksum SHA1 OK for glfw-3.1.2.tar.gz => Checksum RMD160 OK for glfw-3.1.2.tar.gz => Checksum SHA512 OK for glfw-3.1.2.tar.gz ===> Installing dependencies for glfw-3.1.2 => Tool dependency cmake>=2.8.1nb1: found cmake-3.6.2 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.0.1 => Build dependency x11-links>=1.02: found x11-links-1.02 => Full dependency libxkbcommon>=0.4.0nb1: found libxkbcommon-0.6.1 => Full dependency pth>=2.0.0nb2: found pth-2.0.7nb4 ===> Overriding tools for glfw-3.1.2 ===> Extracting for glfw-3.1.2 tar: Global extended headers posix ustar archive. Extracting as plain files. Following files might be in the wrong directory or have wrong attributes. ===> Patching for glfw-3.1.2 ===> Creating toolchain wrappers for glfw-3.1.2 src=/usr/X11R7/lib/pkgconfig/fixesproto.pc dst=/usr/pkgsrc/work/graphics/glfw/work/.buildlink/lib/pkgconfig/fixesext.pc; /bin/mkdir -p /usr/pkgsrc/work/graphics/glfw/work/.buildlink/lib/pkgconfig; if test -f ${src}; then /bin/ln -sf ${src} ${dst}; fi ===> Configuring for glfw-3.1.2 => Avoid hardcoded libGL.so => Generating pkg-config file for builtin expat package. => Fixing CMAKE_MODULE_PATH in CMakeLists.txt -- The C compiler identification is Clang 3.6.0 CMake Warning (dev) at /usr/pkg/share/cmake-3.6/Modules/Platform/Minix.cmake:11 (INCLUDE): File /usr/pkg/share/cmake-3.6/Modules/Platform/Minix.cmake includes /usr/pkgsrc/work/graphics/glfw/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake (found via CMAKE_MODULE_PATH) which shadows /usr/pkg/share/cmake-3.6/Modules/Platform/UnixPaths.cmake. This may cause errors later on . Policy CMP0017 is not set: Prefer files from the CMake module directory when including from there. Run "cmake --help-policy CMP0017" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/pkg/share/cmake-3.6/Modules/CMakeSystemSpecificInformation.cmake:36 (include) CMakeLists.txt:1 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/pkg/share/cmake-3.6/Modules/Platform/Minix.cmake:11 (INCLUDE): File /usr/pkg/share/cmake-3.6/Modules/Platform/Minix.cmake includes /usr/pkgsrc/work/graphics/glfw/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake (found via CMAKE_MODULE_PATH) which shadows /usr/pkg/share/cmake-3.6/Modules/Platform/UnixPaths.cmake. This may cause errors later on . Policy CMP0017 is not set: Prefer files from the CMake module directory when including from there. Run "cmake --help-policy CMP0017" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/pkg/share/cmake-3.6/Modules/CMakeCInformation.cmake:76 (include) CMakeLists.txt:1 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- Check for working C compiler: /usr/pkgsrc/work/graphics/glfw/work/.wrapper/bin/cc -- Check for working C compiler: /usr/pkgsrc/work/graphics/glfw/work/.wrapper/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found OpenGL: /usr/pkgsrc/work/graphics/glfw/work/.buildlink/lib/libGL.so -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Using X11 for window creation -- Using GLX for context creation -- Looking for XOpenDisplay in /usr/pkgsrc/work/graphics/glfw/work/.buildlink/lib/libX11.so;/usr/pkgsrc/work/graphics/glfw/work/.buildlink/lib/libXext.so -- Looking for XOpenDisplay in /usr/pkgsrc/work/graphics/glfw/work/.buildlink/lib/libX11.so;/usr/pkgsrc/work/graphics/glfw/work/.buildlink/lib/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/pkgsrc/work/graphics/glfw/work/.buildlink/lib/libX11.so CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: RT_LIBRARY (ADVANCED) linked by target "particles" in directory /usr/pkgsrc/work/graphics/glfw/work/glfw-3.1.2/examples linked by target "threads" in directory /usr/pkgsrc/work/graphics/glfw/work/glfw-3.1.2/tests linked by target "empty" in directory /usr/pkgsrc/work/graphics/glfw/work/glfw-3.1.2/tests -- Configuring incomplete, errors occurred! See also "/usr/pkgsrc/work/graphics/glfw/work/glfw-3.1.2/CMakeFiles/CMakeOutput.log". See also "/usr/pkgsrc/work/graphics/glfw/work/glfw-3.1.2/CMakeFiles/CMakeError.log". *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/graphics/glfw *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/graphics/glfw