=> Bootstrap dependency digest>=20010302: found digest-20160304 => Checksum SHA1 OK for llvm-3.8.1.src.tar.xz => Checksum RMD160 OK for llvm-3.8.1.src.tar.xz => Checksum SHA512 OK for llvm-3.8.1.src.tar.xz ===> Installing dependencies for libLLVM-3.8.1 ========================================================================== The supported build options for libLLVM are: llvm-target-aarch64 llvm-target-amdgpu llvm-target-arm llvm-target-bpf llvm-target-cppbackend llvm-target-hexagon llvm-target-mips llvm-target-msp430 llvm-target-nvptx llvm-target-powerpc llvm-target-sparc llvm-target-systemz llvm-target-x86 llvm-target-xcore The currently selected options are: llvm-target-aarch64 llvm-target-amdgpu llvm-target-arm llvm-target-bpf llvm-target-cppbackend llvm-target-hexagon llvm-target-mips llvm-target-msp430 llvm-target-nvptx llvm-target-powerpc llvm-target-sparc llvm-target-systemz llvm-target-x86 llvm-target-xcore You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.llvm (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, libLLVM-3.8.1. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 27 Based on these variables, the following variables have been set: * PYPACKAGE = python27 You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency cmake>=2.8.1nb1: found cmake-3.6.2 => Build dependency python27>=2.7.1nb2: found python27-2.7.12nb4 => Full dependency pth>=2.0.0nb2: found pth-2.0.7nb4 ===> Overriding tools for libLLVM-3.8.1 ===> Extracting for libLLVM-3.8.1 cp ../../mk/gnu-config/config.guess /usr/pkgsrc/work/lang/libLLVM/work/llvm-3.8.1.src/autoconf/config.guess cp ../../mk/gnu-config/config.sub /usr/pkgsrc/work/lang/libLLVM/work/llvm-3.8.1.src/autoconf/config.sub ===> Patching for libLLVM-3.8.1 => Applying pkgsrc patches for libLLVM-3.8.1 ===> Creating toolchain wrappers for libLLVM-3.8.1 ===> Configuring for libLLVM-3.8.1 => Fixing llvm-config paths => Replacing Perl interpreter in utils/GenLibDeps.pl utils/UpdateCMakeLists.pl utils/codegen-diff utils/findsym.pl utils/llvm-native-gxx utils/test_debuginfo.pl. => Fixing CMAKE_MODULE_PATH in CMakeLists.txt INFO: [subst.mk:cmake] Nothing changed in ./CMakeLists.txt. -- The C compiler identification is Clang 3.6.0 -- The CXX compiler identification is Clang 3.6.0 -- The ASM compiler identification is Clang -- Found assembler: /usr/pkgsrc/work/lang/libLLVM/work/.wrapper/bin/gcc -- Check for working C compiler: /usr/pkgsrc/work/lang/libLLVM/work/.wrapper/bin/gcc -- Check for working C compiler: /usr/pkgsrc/work/lang/libLLVM/work/.wrapper/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: /usr/pkgsrc/work/lang/libLLVM/work/.wrapper/bin/g++ -- Check for working CXX compiler: /usr/pkgsrc/work/lang/libLLVM/work/.wrapper/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for dirent.h -- Looking for dirent.h - found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for errno.h -- Looking for errno.h - found -- Looking for execinfo.h -- Looking for execinfo.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for limits.h -- Looking for limits.h - found -- Looking for link.h -- Looking for link.h - found -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for malloc/malloc.h -- Looking for malloc/malloc.h - not found -- Looking for ndir.h -- Looking for ndir.h - not found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for signal.h -- Looking for signal.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for sys/dir.h -- Looking for sys/dir.h - found -- Looking for sys/ioctl.h -- Looking for sys/ioctl.h - found -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for sys/ndir.h -- Looking for sys/ndir.h - not found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/uio.h -- Looking for sys/uio.h - found -- Looking for termios.h -- Looking for termios.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for utime.h -- Looking for utime.h - found -- Looking for valgrind/valgrind.h -- Looking for valgrind/valgrind.h - not found -- Looking for zlib.h -- Looking for zlib.h - found -- Looking for fenv.h -- Looking for fenv.h - found -- Looking for FE_ALL_EXCEPT -- Looking for FE_ALL_EXCEPT - found -- Looking for FE_INEXACT -- Looking for FE_INEXACT - found -- Looking for mach/mach.h -- Looking for mach/mach.h - not found -- Looking for mach-o/dyld.h -- Looking for mach-o/dyld.h - not found -- Looking for histedit.h -- Looking for histedit.h - found -- Performing Test HAVE_CXXABI_H -- Performing Test HAVE_CXXABI_H - Success -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for pthread_getspecific in pthread -- Looking for pthread_getspecific in pthread - found -- Looking for pthread_rwlock_init in pthread -- Looking for pthread_rwlock_init in pthread - found -- Looking for pthread_mutex_lock in pthread -- Looking for pthread_mutex_lock in pthread - found -- Looking for dlopen in dl -- Looking for dlopen in dl - not found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - not found -- Looking for compress2 in z -- Looking for compress2 in z - found -- Looking for el_init in edit -- Looking for el_init in edit - found -- Looking for setupterm in tinfo -- Looking for setupterm in tinfo - not found -- Looking for setupterm in terminfo -- Looking for setupterm in terminfo - found -- Looking for arc4random -- Looking for arc4random - found -- Looking for backtrace -- Looking for backtrace - not found -- Looking for getpagesize -- Looking for getpagesize - found -- Looking for getrusage -- Looking for getrusage - found -- Looking for setrlimit -- Looking for setrlimit - found -- Looking for isatty -- Looking for isatty - found -- Looking for futimens -- Looking for futimens - found -- Looking for futimes -- Looking for futimes - found -- Looking for writev -- Looking for writev - found -- Looking for mallctl -- Looking for mallctl - not found -- Looking for mallinfo -- Looking for mallinfo - not found -- Looking for malloc_zone_statistics -- Looking for malloc_zone_statistics - not found -- Looking for mkdtemp -- Looking for mkdtemp - found -- Looking for mkstemp -- Looking for mkstemp - found -- Looking for mktemp -- Looking for mktemp - found -- Looking for closedir -- Looking for closedir - found -- Looking for opendir -- Looking for opendir - found -- Looking for readdir -- Looking for readdir - found -- Looking for getcwd -- Looking for getcwd - found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for getrlimit -- Looking for getrlimit - found -- Looking for posix_spawn -- Looking for posix_spawn - found -- Looking for pread -- Looking for pread - found -- Looking for realpath -- Looking for realpath - found -- Looking for sbrk -- Looking for sbrk - found -- Looking for srand48 -- Looking for srand48 - found -- Looking for lrand48 -- Looking for lrand48 - found -- Looking for drand48 -- Looking for drand48 - found -- Looking for strtoll -- Looking for strtoll - found -- Looking for strtoq -- Looking for strtoq - found -- Looking for strerror -- Looking for strerror - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for strerror_s -- Looking for strerror_s - not found -- Looking for setenv -- Looking for setenv - found -- Looking for dlerror -- Looking for dlerror - found -- Looking for dlopen -- Looking for dlopen - found -- Looking for __GLIBC__ -- Looking for __GLIBC__ - not found -- Performing Test HAVE_INT64_T -- Performing Test HAVE_INT64_T - Success -- Performing Test HAVE_UINT64_T -- Performing Test HAVE_UINT64_T - Success -- Performing Test HAVE_U_INT64_T -- Performing Test HAVE_U_INT64_T - Success -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Failed -- Looking for __atomic_fetch_add_4 in atomic -- Looking for __atomic_fetch_add_4 in atomic - not found CMake Error at cmake/modules/CheckAtomic.cmake:36 (message): Host compiler appears to require libatomic, but cannot find it. Call Stack (most recent call first): cmake/config-ix.cmake:296 (include) CMakeLists.txt:407 (include) -- Configuring incomplete, errors occurred! See also "/usr/pkgsrc/work/lang/libLLVM/work/build/CMakeFiles/CMakeOutput.log". See also "/usr/pkgsrc/work/lang/libLLVM/work/build/CMakeFiles/CMakeError.log". *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/lang/libLLVM *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/lang/libLLVM