=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for coreclr-1.0.0nb9 Commencing CoreCLR Repo build Setting up directories for build Checking prerequisites... Laying out dynamically generated files consumed by the build system Laying out dynamically generated Event Logging Test files Generating Event Logging Tests Cleaning the temp folder of dynamically generated Event Logging files Updating /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug/Generated/eventprovider with /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug/Generated/eventprovider_new Updating /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug/Generated/eventprovider/tests Commencing build of native components for NetBSD.x64.Debug in /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug Invoking "/tmp/lang/coreclr/work/coreclr-1.0.0/src/pal/tools/gen-buildsys-clang.sh" "/tmp/lang/coreclr/work/coreclr-1.0.0" 3 5 x64 Debug Include_Tests -DCORECLR_SET_RPATH:BOOL=OFF -DPYVERSSUFFIX:STRING=3.7 -DPYTHON_INCLUDE_DIR:PATH=/tmp/lang/coreclr/work/.buildlink/include/python3.7 -DPYTHON_INCLUDE_PATH:PATH=/tmp/lang/coreclr/work/.buildlink/include/python3.7 -DPYTHON_EXECUTABLE:FILEPATH=/usr/pkg/bin/python3.7 -DCMAKE_INSTALL_PREFIX:PATH=/usr/pkg -DCMAKE_MODULE_PATH:PATH=/tmp/lang/coreclr/work/.buildlink/cmake-Modules -DCMAKE_PKGSRC_BUILD_FLAGS:BOOL=TRUE -DCMAKE_SKIP_RPATH:BOOL=TRUE -DCMAKE_INSTALL_LIBDIR:PATH=lib -DCMAKE_INSTALL_MANDIR:PATH=man Including tests directory in build. -- The C compiler identification is Clang 9.0.0 -- The CXX compiler identification is Clang 9.0.0 -- Check for working C compiler: /tmp/lang/coreclr/work/.cwrapper/bin/clang -- Check for working C compiler: /tmp/lang/coreclr/work/.cwrapper/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: /tmp/lang/coreclr/work/.cwrapper/bin/clang++ -- Check for working CXX compiler: /tmp/lang/coreclr/work/.cwrapper/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- The ASM compiler identification is Clang -- Found assembler: /tmp/lang/coreclr/work/.cwrapper/bin/clang Detected NetBSD amd64 -- Performing Test HAVE_UDAT_STANDALONE_SHORTER_WEEKDAYS -- Performing Test HAVE_UDAT_STANDALONE_SHORTER_WEEKDAYS - Success -- Looking for ucol_setMaxVariable -- Looking for ucol_setMaxVariable - found -- LLDB: /usr/pkg/lib/liblldb.so -- LLDB_H: /usr/pkg/include -- Looking for include file ieeefp.h -- Looking for include file ieeefp.h - found -- Looking for include file sys/vmparam.h -- Looking for include file sys/vmparam.h - not found -- Looking for include file mach/vm_types.h -- Looking for include file mach/vm_types.h - not found -- Looking for include file mach/vm_param.h -- Looking for include file mach/vm_param.h - not found -- Looking for 3 include files sys/param.h, ..., machine/npx.h -- Looking for 3 include files sys/param.h, ..., machine/npx.h - not found -- Looking for 3 include files sys/param.h, ..., machine/reg.h -- Looking for 3 include files sys/param.h, ..., machine/reg.h - found -- Looking for include file machine/vmparam.h -- Looking for include file machine/vmparam.h - found -- Looking for include file procfs.h -- Looking for include file procfs.h - not found -- Looking for include file crt_externs.h -- Looking for include file crt_externs.h - not found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include file pthread_np.h -- Looking for include file pthread_np.h - not found -- Looking for include file sys/lwp.h -- Looking for include file sys/lwp.h - found -- Looking for include file lwp.h -- Looking for include file lwp.h - found -- Looking for include file libunwind.h -- Looking for include file libunwind.h - found -- Looking for include file runetype.h -- Looking for include file runetype.h - not found -- Looking for include file lttng/tracepoint.h -- Looking for include file lttng/tracepoint.h - not found -- Looking for include file uuid/uuid.h -- Looking for include file uuid/uuid.h - not found -- Looking for kqueue -- Looking for kqueue - found -- Looking for getpwuid_r -- Looking for getpwuid_r - found -- Looking for pthread_suspend in pthread -- Looking for pthread_suspend in pthread - not found -- Looking for pthread_suspend_np in pthread -- Looking for pthread_suspend_np in pthread - found -- Looking for pthread_continue in pthread -- Looking for pthread_continue in pthread - not found -- Looking for pthread_continue_np in pthread -- Looking for pthread_continue_np in pthread - not found -- Looking for pthread_resume_np in pthread -- Looking for pthread_resume_np in pthread - found -- Looking for pthread_attr_get_np in pthread -- Looking for pthread_attr_get_np in pthread - found -- Looking for pthread_getattr_np in pthread -- Looking for pthread_getattr_np in pthread - found -- Looking for pthread_getcpuclockid in pthread -- Looking for pthread_getcpuclockid in pthread - found -- Looking for pthread_sigqueue in pthread -- Looking for pthread_sigqueue in pthread - not found -- Looking for sigreturn -- Looking for sigreturn - not found -- Looking for _thread_sys_sigreturn -- Looking for _thread_sys_sigreturn - not found -- Looking for copysign -- Looking for copysign - found -- Looking for fsync -- Looking for fsync - found -- Looking for futimes -- Looking for futimes - found -- Looking for utimes -- Looking for utimes - found -- Looking for sysctl -- Looking for sysctl - found -- Looking for sysconf -- Looking for sysconf - found -- Looking for localtime_r -- Looking for localtime_r - found -- Looking for gmtime_r -- Looking for gmtime_r - found -- Looking for timegm -- Looking for timegm - found -- Looking for _snwprintf -- Looking for _snwprintf - not found -- Looking for poll -- Looking for poll - found -- Looking for statvfs -- Looking for statvfs - found -- Looking for thread_self -- Looking for thread_self - not found -- Looking for _lwp_self -- Looking for _lwp_self - found -- Looking for pthread_mach_thread_np -- Looking for pthread_mach_thread_np - not found -- Looking for thread_set_exception_ports -- Looking for thread_set_exception_ports - not found -- Looking for vm_allocate -- Looking for vm_allocate - not found -- Looking for vm_read -- Looking for vm_read - not found -- Looking for directio -- Looking for directio - not found -- Looking for semget -- Looking for semget - found -- Looking for pthread_mutex_init -- Looking for pthread_mutex_init - not found -- Looking for ttrace -- Looking for ttrace - not found -- Performing Test HAVE_UNW_GET_SAVE_LOC -- Performing Test HAVE_UNW_GET_SAVE_LOC - Failed -- Performing Test HAVE_UNW_GET_ACCESSORS -- Performing Test HAVE_UNW_GET_ACCESSORS - Failed -- Performing Test HAVE_STAT_TIMESPEC -- Performing Test HAVE_STAT_TIMESPEC - Success -- Performing Test HAVE_STAT_NSEC -- Performing Test HAVE_STAT_NSEC - Success -- Performing Test HAVE_TM_GMTOFF -- Performing Test HAVE_TM_GMTOFF - Success -- Performing Test HAVE_GREGSET_T -- Performing Test HAVE_GREGSET_T - Failed -- Performing Test HAVE___GREGSET_T -- Performing Test HAVE___GREGSET_T - Success -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of struct reg -- Check size of struct reg - done -- Check size of struct pt_regs -- Check size of struct pt_regs - failed -- Check size of siginfo_t -- Check size of siginfo_t - done -- Check size of ucontext_t -- Check size of ucontext_t - done -- Check size of pthread_rwlock_t -- Check size of pthread_rwlock_t - done -- Check size of prwatch_t -- Check size of prwatch_t - failed -- Check size of off_t -- Check size of off_t - done -- Looking for SYS_yield -- Looking for SYS_yield - not found -- Looking for INFTIM -- Looking for INFTIM - found -- Looking for CHAR_BIT -- Looking for CHAR_BIT - found -- Looking for _DEBUG -- Looking for _DEBUG - not found -- Looking for _SC_PHYS_PAGES -- Looking for _SC_PHYS_PAGES - found -- Looking for _SC_AVPHYS_PAGES -- Looking for _SC_AVPHYS_PAGES - not found -- Performing Test HAVE_BSD_UUID_H -- Performing Test HAVE_BSD_UUID_H - Success -- Performing Test REALPATH_SUPPORTS_NONEXISTENT_FILES -- Performing Test REALPATH_SUPPORTS_NONEXISTENT_FILES - Failed -- Performing Test SSCANF_SUPPORT_ll -- Performing Test SSCANF_SUPPORT_ll - Success -- Performing Test SSCANF_CANNOT_HANDLE_MISSING_EXPONENT -- Performing Test SSCANF_CANNOT_HANDLE_MISSING_EXPONENT - Failed -- Performing Test HAVE_LARGE_SNPRINTF_SUPPORT -- Performing Test HAVE_LARGE_SNPRINTF_SUPPORT - Success -- Performing Test HAVE_BROKEN_FIFO_SELECT -- Performing Test HAVE_BROKEN_FIFO_SELECT - Failed -- Performing Test HAVE_BROKEN_FIFO_KEVENT -- Performing Test HAVE_BROKEN_FIFO_KEVENT - Failed -- Performing Test HAVE_SCHED_GET_PRIORITY -- Performing Test HAVE_SCHED_GET_PRIORITY - Failed -- Performing Test HAVE_SCHED_GETCPU -- Performing Test HAVE_SCHED_GETCPU - Failed -- Performing Test HAVE_WORKING_GETTIMEOFDAY -- Performing Test HAVE_WORKING_GETTIMEOFDAY - Success -- Performing Test HAVE_WORKING_CLOCK_GETTIME -- Performing Test HAVE_WORKING_CLOCK_GETTIME - Success -- Performing Test HAVE_CLOCK_MONOTONIC -- Performing Test HAVE_CLOCK_MONOTONIC - Success -- Performing Test HAVE_CLOCK_MONOTONIC_COARSE -- Performing Test HAVE_CLOCK_MONOTONIC_COARSE - Failed -- Performing Test HAVE_MACH_ABSOLUTE_TIME -- Performing Test HAVE_MACH_ABSOLUTE_TIME - Failed -- Performing Test HAVE_CLOCK_THREAD_CPUTIME -- Performing Test HAVE_CLOCK_THREAD_CPUTIME - Success -- Performing Test HAVE_MMAP_DEV_ZERO -- Performing Test HAVE_MMAP_DEV_ZERO - Success -- Performing Test MMAP_IGNORES_HINT -- Performing Test MMAP_IGNORES_HINT - Failed -- Performing Test MMAP_ANON_IGNORES_PROTECTION -- Performing Test MMAP_ANON_IGNORES_PROTECTION - Failed -- Performing Test MMAP_DOESNOT_ALLOW_REMAP -- Performing Test MMAP_DOESNOT_ALLOW_REMAP - Failed -- Performing Test ONE_SHARED_MAPPING_PER_FILEREGION_PER_PROCESS -- Performing Test ONE_SHARED_MAPPING_PER_FILEREGION_PER_PROCESS - Failed -- Performing Test PTHREAD_CREATE_MODIFIES_ERRNO -- Performing Test PTHREAD_CREATE_MODIFIES_ERRNO - Failed -- Performing Test SEM_INIT_MODIFIES_ERRNO -- Performing Test SEM_INIT_MODIFIES_ERRNO - Failed -- Performing Test HAVE_PROCFS_CTL -- Performing Test HAVE_PROCFS_CTL - Failed -- Performing Test HAVE_COMPATIBLE_ACOS -- Performing Test HAVE_COMPATIBLE_ACOS - Success -- Performing Test HAVE_COMPATIBLE_ASIN -- Performing Test HAVE_COMPATIBLE_ASIN - Success -- Performing Test HAVE_COMPATIBLE_POW -- Performing Test HAVE_COMPATIBLE_POW - Failed -- Performing Test HAVE_VALID_NEGATIVE_INF_POW -- Performing Test HAVE_VALID_NEGATIVE_INF_POW - Success -- Performing Test HAVE_VALID_POSITIVE_INF_POW -- Performing Test HAVE_VALID_POSITIVE_INF_POW - Success -- Performing Test HAVE_COMPATIBLE_ATAN2 -- Performing Test HAVE_COMPATIBLE_ATAN2 - Success -- Performing Test HAVE_COMPATIBLE_EXP -- Performing Test HAVE_COMPATIBLE_EXP - Failed -- Performing Test HAVE_COMPATIBLE_LOG -- Performing Test HAVE_COMPATIBLE_LOG - Success -- Performing Test HAVE_COMPATIBLE_LOG10 -- Performing Test HAVE_COMPATIBLE_LOG10 - Success -- Performing Test UNGETC_NOT_RETURN_EOF -- Performing Test UNGETC_NOT_RETURN_EOF - Failed -- Performing Test HAS_POSIX_SEMAPHORES -- Performing Test HAS_POSIX_SEMAPHORES - Success -- Performing Test GETPWUID_R_SETS_ERRNO -- Performing Test GETPWUID_R_SETS_ERRNO - Failed -- Performing Test FILE_OPS_CHECK_FERROR_OF_PREVIOUS_CALL -- Performing Test FILE_OPS_CHECK_FERROR_OF_PREVIOUS_CALL - Failed -- Performing Test UNWIND_CONTEXT_IS_UCONTEXT_T -- Performing Test UNWIND_CONTEXT_IS_UCONTEXT_T - Failed -- Performing Test HAVE_FULLY_FEATURED_PTHREAD_MUTEXES -- Performing Test HAVE_FULLY_FEATURED_PTHREAD_MUTEXES - Failed -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_MANDIR PYTHON_EXECUTABLE PYTHON_INCLUDE_DIR PYTHON_INCLUDE_PATH PYVERSSUFFIX -- Build files have been written to: /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug Executing make install -j 5 Scanning dependencies of target dlltest1_exports Scanning dependencies of target tracepointprovider Scanning dependencies of target dlltest2_exports Scanning dependencies of target System.Globalization.Native [ 0%] Generating exports file /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug/src/pal/tests/palsuite/exception_handling/pal_sxs/test1/dlltest1.exports [ 0%] Generating exports file /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug/src/pal/tests/palsuite/exception_handling/pal_sxs/test1/dlltest2.exports [ 0%] Built target dlltest1_exports [ 0%] Building CXX object src/corefx/System.Globalization.Native/CMakeFiles/System.Globalization.Native.dir/calendarData.cpp.o [ 0%] Built target dlltest2_exports [ 0%] Building CXX object src/pal/src/CMakeFiles/tracepointprovider.dir/misc/tracepointprovider.cpp.o Scanning dependencies of target debug-pal Scanning dependencies of target unixcoreruncommon [ 0%] Building CXX object src/coreclr/hosts/unixcoreruncommon/CMakeFiles/unixcoreruncommon.dir/coreruncommon.cpp.o [ 0%] Building CXX object src/debug/debug-pal/CMakeFiles/debug-pal.dir/unix/twowaypipe.cpp.o Scanning dependencies of target coreclrpal In file included from /tmp/lang/coreclr/work/coreclr-1.0.0/src/pal/src/misc/tracepointprovider.cpp:19: In file included from /tmp/lang/coreclr/work/coreclr-1.0.0/src/pal/src/include/pal/palinternal.h:327: /tmp/lang/coreclr/work/coreclr-1.0.0/src/pal/inc/pal.h:5983:22: error: definition of builtin function '_rotl' unsigned int __cdecl _rotl(unsigned int value, int shift) ^ /tmp/lang/coreclr/work/coreclr-1.0.0/src/pal/inc/pal.h:6006:22: error: definition of builtin function '_rotr' unsigned int __cdecl _rotr(unsigned int value, int shift) ^ [ 0%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/file.cpp.o In file included from /tmp/lang/coreclr/work/coreclr-1.0.0/src/debug/debug-pal/unix/twowaypipe.cpp:5: /tmp/lang/coreclr/work/coreclr-1.0.0/src/debug/debug-pal/../../pal/inc/pal.h:5983:22: error: definition of builtin function '_rotl' unsigned int __cdecl _rotl(unsigned int value, int shift) ^ /tmp/lang/coreclr/work/coreclr-1.0.0/src/debug/debug-pal/../../pal/inc/pal.h:6006:22: error: definition of builtin function '_rotr' unsigned int __cdecl _rotr(unsigned int value, int shift) ^ 2 errors generated. --- src/debug/debug-pal/CMakeFiles/debug-pal.dir/unix/twowaypipe.cpp.o --- *** [src/debug/debug-pal/CMakeFiles/debug-pal.dir/unix/twowaypipe.cpp.o] Error code 1 make[2]: stopped in /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug 1 error make[2]: stopped in /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug --- src/debug/debug-pal/CMakeFiles/debug-pal.dir/all --- *** [src/debug/debug-pal/CMakeFiles/debug-pal.dir/all] Error code 2 make[1]: stopped in /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug In file included from /tmp/lang/coreclr/work/coreclr-1.0.0/src/pal/src/cruntime/file.cpp:22: In file included from /tmp/lang/coreclr/work/coreclr-1.0.0/src/pal/src/include/pal/palinternal.h:327: /tmp/lang/coreclr/work/coreclr-1.0.0/src/pal/inc/pal.h:5983:22: error: definition of builtin function '_rotl' unsigned int __cdecl _rotl(unsigned int value, int shift) ^ /tmp/lang/coreclr/work/coreclr-1.0.0/src/pal/inc/pal.h:6006:22: error: definition of builtin function '_rotr' unsigned int __cdecl _rotr(unsigned int value, int shift) ^ 2 errors generated. --- src/pal/src/CMakeFiles/tracepointprovider.dir/misc/tracepointprovider.cpp.o --- *** [src/pal/src/CMakeFiles/tracepointprovider.dir/misc/tracepointprovider.cpp.o] Error code 1 make[2]: stopped in /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug 1 error make[2]: stopped in /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug --- src/pal/src/CMakeFiles/tracepointprovider.dir/all --- *** [src/pal/src/CMakeFiles/tracepointprovider.dir/all] Error code 2 make[1]: stopped in /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug 2 errors generated. --- src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/file.cpp.o --- *** [src/pal/src/CMakeFiles/coreclrpal.dir/cruntime/file.cpp.o] Error code 1 make[2]: stopped in /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug 1 error make[2]: stopped in /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug --- src/pal/src/CMakeFiles/coreclrpal.dir/all --- *** [src/pal/src/CMakeFiles/coreclrpal.dir/all] Error code 2 make[1]: stopped in /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug A failure has been detected in another branch of the parallel make make[2]: stopped in /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug --- src/coreclr/hosts/unixcoreruncommon/CMakeFiles/unixcoreruncommon.dir/all --- *** [src/coreclr/hosts/unixcoreruncommon/CMakeFiles/unixcoreruncommon.dir/all] Error code 2 make[1]: stopped in /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug A failure has been detected in another branch of the parallel make make[2]: stopped in /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug --- src/corefx/System.Globalization.Native/CMakeFiles/System.Globalization.Native.dir/all --- *** [src/corefx/System.Globalization.Native/CMakeFiles/System.Globalization.Native.dir/all] Error code 2 make[1]: stopped in /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug 5 errors make[1]: stopped in /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug *** [all] Error code 2 make: stopped in /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug 1 error make: stopped in /tmp/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug Failed to build coreclr components. *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/lang/coreclr *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/lang/coreclr