=> Bootstrap dependency digest>=20010302: found digest-20160304
===> 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'.
=> Checksum SHA1 OK for rust-1.15.1-x86_64-unknown-netbsd.tar.gz
=> Checksum RMD160 OK for rust-1.15.1-x86_64-unknown-netbsd.tar.gz
=> Checksum SHA512 OK for rust-1.15.1-x86_64-unknown-netbsd.tar.gz
=> Checksum SHA1 OK for rustc-1.16.0-src.tar.gz
=> Checksum RMD160 OK for rustc-1.16.0-src.tar.gz
=> Checksum SHA512 OK for rustc-1.16.0-src.tar.gz
===> Installing dependencies for rust-1.16.0
==========================================================================
The following variables will affect the build process of this package,
rust-1.16.0.  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/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency bash-[0-9]*: found bash-4.4.012
=> Tool dependency gmake>=3.81: found gmake-4.1nb3
=> Tool dependency gtar-base>=1.13.25: found gtar-base-1.29
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency cmake>=2.8.5nb1: found cmake-3.8.2
=> Build dependency cwrappers>=20150314: found cwrappers-20170611
=> Full dependency python27>=2.7.1nb2: found python27-2.7.13nb1
===> Overriding tools for rust-1.16.0
===> Extracting for rust-1.16.0
===> Patching for rust-1.16.0
=> Applying pkgsrc patches for rust-1.16.0
=> Verifying /data/pkgsrc-current/lang/rust/patches/patch-mk_cfg_x86__64-apple-darwin.mk
=> Applying pkgsrc patch /data/pkgsrc-current/lang/rust/patches/patch-mk_cfg_x86__64-apple-darwin.mk
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-mk_cfg_x86__64-apple-darwin.mk,v 1.1 2016/09/06 10:36:49 jperkin Exp $
|
|Ensure we can use install_name_tool to fixup after.
|
|--- mk/cfg/x86_64-apple-darwin.mk.orig	2016-08-16 01:54:35.000000000 +0000
|+++ mk/cfg/x86_64-apple-darwin.mk
--------------------------
Patching file mk/cfg/x86_64-apple-darwin.mk using Plan A...
Hunk #1 succeeded at 13.
done
=> Verifying /data/pkgsrc-current/lang/rust/patches/patch-mk_main.mk
=> Applying pkgsrc patch /data/pkgsrc-current/lang/rust/patches/patch-mk_main.mk
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-mk_main.mk,v 1.1 2017/02/23 09:35:16 jperkin Exp $
|
|Specify full path to stage0 to work around NetBSD $ORIGIN issues.
|
|--- mk/main.mk.orig	2017-02-09 01:37:48.000000000 +0000
|+++ mk/main.mk
--------------------------
Patching file mk/main.mk using Plan A...
Hunk #1 succeeded at 398.
done
=> Verifying /data/pkgsrc-current/lang/rust/patches/patch-mk_rt.mk
=> Applying pkgsrc patch /data/pkgsrc-current/lang/rust/patches/patch-mk_rt.mk
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-mk_rt.mk,v 1.3 2017/02/23 09:35:16 jperkin Exp $
|
|Don't build gcc_personality_v0.o on NetBSD.
|
|--- mk/rt.mk.orig	2017-02-09 01:37:48.000000000 +0000
|+++ mk/rt.mk
--------------------------
Patching file mk/rt.mk using Plan A...
Hunk #1 succeeded at 552.
done
=> Verifying /data/pkgsrc-current/lang/rust/patches/patch-mk_rustllvm.mk
=> Applying pkgsrc patch /data/pkgsrc-current/lang/rust/patches/patch-mk_rustllvm.mk
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-mk_rustllvm.mk,v 1.2 2017/02/23 09:35:16 jperkin Exp $
|
|Ensure we can find generated LLVM includes.
|
|--- mk/rustllvm.mk.orig	2016-09-27 07:17:04.000000000 +0000
|+++ mk/rustllvm.mk
--------------------------
Patching file mk/rustllvm.mk using Plan A...
Hunk #1 succeeded at 17.
done
=> Verifying /data/pkgsrc-current/lang/rust/patches/patch-src_compiler-rt_lib_builtins_CMakeLists.txt
=> Applying pkgsrc patch /data/pkgsrc-current/lang/rust/patches/patch-src_compiler-rt_lib_builtins_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_compiler-rt_lib_builtins_CMakeLists.txt,v 1.1 2016/09/12 13:27:33 ryoon Exp $
|
|* On NetBSD, do not misdetect unwind.h
|  We do not support ARM build currently, so remove this unconditionally.
|
|--- src/compiler-rt/lib/builtins/CMakeLists.txt.orig	2016-08-16 01:54:40.000000000 +0000
|+++ src/compiler-rt/lib/builtins/CMakeLists.txt
--------------------------
Patching file src/compiler-rt/lib/builtins/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 188 (offset 29 lines).
done
=> Verifying /data/pkgsrc-current/lang/rust/patches/patch-src_etc_local__stage0.sh
=> Applying pkgsrc patch /data/pkgsrc-current/lang/rust/patches/patch-src_etc_local__stage0.sh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_etc_local__stage0.sh,v 1.4 2017/02/23 09:35:16 jperkin Exp $
|
|-Copy additional libarena required on Darwin.
|-Copy GCC support libraries required on SunOS.
|
|--- src/etc/local_stage0.sh.orig	2016-12-20 23:34:55.000000000 +0000
|+++ src/etc/local_stage0.sh
--------------------------
Patching file src/etc/local_stage0.sh using Plan A...
Hunk #1 succeeded at 18.
Hunk #2 succeeded at 72.
done
=> Verifying /data/pkgsrc-current/lang/rust/patches/patch-src_grammar_check.sh
=> Applying pkgsrc patch /data/pkgsrc-current/lang/rust/patches/patch-src_grammar_check.sh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_grammar_check.sh,v 1.1 2017/02/23 09:35:16 jperkin Exp $
|
|Shell portability fix.
|
|--- src/grammar/check.sh.orig	2017-02-09 01:37:48.000000000 +0000
|+++ src/grammar/check.sh
--------------------------
Patching file src/grammar/check.sh using Plan A...
Hunk #1 succeeded at 9.
done
=> Verifying /data/pkgsrc-current/lang/rust/patches/patch-src_libcompiler__builtins_build.rs
=> Applying pkgsrc patch /data/pkgsrc-current/lang/rust/patches/patch-src_libcompiler__builtins_build.rs
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_libcompiler__builtins_build.rs,v 1.1 2017/02/23 09:35:16 jperkin Exp $
|
|Don't build gcc_personality_v0.o on NetBSD.
|
|--- src/libcompiler_builtins/build.rs.orig	2017-02-09 01:37:48.000000000 +0000
|+++ src/libcompiler_builtins/build.rs
--------------------------
Patching file src/libcompiler_builtins/build.rs using Plan A...
Hunk #1 succeeded at 240 (offset -11 lines).
done
=> Verifying /data/pkgsrc-current/lang/rust/patches/patch-src_librustc__trans_back_linker.rs
=> Applying pkgsrc patch /data/pkgsrc-current/lang/rust/patches/patch-src_librustc__trans_back_linker.rs
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_librustc__trans_back_linker.rs,v 1.2 2017/02/23 09:35:16 jperkin Exp $
|
|Permit post-install install_name_tool fixup.
|
|--- src/librustc_trans/back/linker.rs.orig	2017-02-09 01:37:48.000000000 +0000
|+++ src/librustc_trans/back/linker.rs
--------------------------
Patching file src/librustc_trans/back/linker.rs using Plan A...
Hunk #1 succeeded at 213.
done
=> Verifying /data/pkgsrc-current/lang/rust/patches/patch-src_libstd_rtdeps.rs
=> Applying pkgsrc patch /data/pkgsrc-current/lang/rust/patches/patch-src_libstd_rtdeps.rs
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_libstd_rtdeps.rs,v 1.1 2016/09/06 10:36:49 jperkin Exp $
|
|Support PKGSRC_USE_SSP (ugly for now).
|Add umem.
|
|--- src/libstd/rtdeps.rs.orig	2016-08-16 01:54:35.000000000 +0000
|+++ src/libstd/rtdeps.rs
--------------------------
Patching file src/libstd/rtdeps.rs using Plan A...
Hunk #1 succeeded at 43.
done
=> Verifying /data/pkgsrc-current/lang/rust/patches/patch-src_libstd_sys_unix_os.rs
=> Applying pkgsrc patch /data/pkgsrc-current/lang/rust/patches/patch-src_libstd_sys_unix_os.rs
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_libstd_sys_unix_os.rs,v 1.1 2017/02/23 09:35:16 jperkin Exp $
|
|Match prototype (XXX: use POSIX_PTHREAD_SEMANTICS)
|
|--- src/libstd/sys/unix/os.rs.orig	2016-12-20 23:34:55.000000000 +0000
|+++ src/libstd/sys/unix/os.rs
--------------------------
Patching file src/libstd/sys/unix/os.rs using Plan A...
Hunk #1 succeeded at 501 (offset -5 lines).
done
=> Verifying /data/pkgsrc-current/lang/rust/patches/patch-src_llvm_cmake_modules_AddLLVM.cmake
=> Applying pkgsrc patch /data/pkgsrc-current/lang/rust/patches/patch-src_llvm_cmake_modules_AddLLVM.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_llvm_cmake_modules_AddLLVM.cmake,v 1.1 2016/09/06 10:36:49 jperkin Exp $
|
|"-z discard-unused" is only supported by Oracle Solaris ld.
|
|--- src/llvm/cmake/modules/AddLLVM.cmake.orig	2016-08-16 01:55:49.000000000 +0000
|+++ src/llvm/cmake/modules/AddLLVM.cmake
--------------------------
Patching file src/llvm/cmake/modules/AddLLVM.cmake using Plan A...
Hunk #1 succeeded at 175.
done
=> Verifying /data/pkgsrc-current/lang/rust/patches/patch-src_llvm_lib_CodeGen_MachineDominanceFrontier.cpp
=> Applying pkgsrc patch /data/pkgsrc-current/lang/rust/patches/patch-src_llvm_lib_CodeGen_MachineDominanceFrontier.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_llvm_lib_CodeGen_MachineDominanceFrontier.cpp,v 1.1 2016/09/06 10:36:49 jperkin Exp $
|
|Avoid relocation error.
|
|--- src/llvm/lib/CodeGen/MachineDominanceFrontier.cpp.orig	2016-08-16 01:55:50.000000000 +0000
|+++ src/llvm/lib/CodeGen/MachineDominanceFrontier.cpp
--------------------------
Patching file src/llvm/lib/CodeGen/MachineDominanceFrontier.cpp using Plan A...
Hunk #1 succeeded at 16.
done
=> Verifying /data/pkgsrc-current/lang/rust/patches/patch-src_rust-installer_gen-install-script.sh
=> Applying pkgsrc patch /data/pkgsrc-current/lang/rust/patches/patch-src_rust-installer_gen-install-script.sh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_rust-installer_gen-install-script.sh,v 1.2 2017/02/23 09:35:16 jperkin Exp $
|
|Do not use /bin/echo, not guaranteed to support -n.
|
|--- src/rust-installer/gen-install-script.sh.orig	2016-07-04 18:05:18.000000000 +0000
|+++ src/rust-installer/gen-install-script.sh
--------------------------
Patching file src/rust-installer/gen-install-script.sh using Plan A...
Hunk #1 succeeded at 11.
done
=> Verifying /data/pkgsrc-current/lang/rust/patches/patch-src_rust-installer_gen-installer.sh
=> Applying pkgsrc patch /data/pkgsrc-current/lang/rust/patches/patch-src_rust-installer_gen-installer.sh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_rust-installer_gen-installer.sh,v 1.2 2017/02/23 09:35:16 jperkin Exp $
|
|Do not use /bin/echo, not guaranteed to support -n.
|Unset CDPATH before printing cd output.
|
|--- src/rust-installer/gen-installer.sh.orig	2016-09-27 07:18:21.000000000 +0000
|+++ src/rust-installer/gen-installer.sh
--------------------------
Patching file src/rust-installer/gen-installer.sh using Plan A...
Hunk #1 succeeded at 281.
Hunk #2 succeeded at 317.
done
=> Verifying /data/pkgsrc-current/lang/rust/patches/patch-src_rust-installer_install-template.sh
=> Applying pkgsrc patch /data/pkgsrc-current/lang/rust/patches/patch-src_rust-installer_install-template.sh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_rust-installer_install-template.sh,v 1.2 2017/02/23 09:35:16 jperkin Exp $
|
|Support SunOS.
|Fix undefined variable warnings.
|
|--- src/rust-installer/install-template.sh.orig	2016-09-27 07:18:21.000000000 +0000
|+++ src/rust-installer/install-template.sh
--------------------------
Patching file src/rust-installer/install-template.sh using Plan A...
Hunk #1 succeeded at 352.
done
===> Creating toolchain wrappers for rust-1.16.0
===> Configuring for rust-1.16.0
=> Replacing bash interpreter in src/rust-installer/gen-install-script.sh src/rust-installer/gen-installer.sh.
=> Checking for portability problems in extracted files
configure: looking for configure programs
configure: found program 'cmp'
configure: found program 'mkdir'
configure: found program 'printf'
configure: found program 'cut'
configure: found program 'head'
configure: found program 'grep'
configure: found program 'xargs'
configure: found program 'cp'
configure: found program 'find'
configure: found program 'uname'
configure: found program 'date'
configure: found program 'tr'
configure: found program 'sed'
configure: found program 'file'
configure: found program 'make'
configure: inspecting environment
configure: recreating config.tmp
configure: 
configure: processing ./configure args
configure: 
configure: CFG_DISABLE_DOCS     := 1 
configure: CFG_ENABLE_LOCAL_RUST := 1 
configure: CFG_DISABLE_RUSTBUILD := 1 
configure: CFG_LOCALSTATEDIR    := /var/lib 
configure: CFG_SYSCONFDIR       := /etc 
configure: CFG_DATADIR          := /share 
configure: CFG_INFODIR          := /share/info 
configure: CFG_LLVM_ROOT        :=  
configure: CFG_PYTHON           :=  
configure: CFG_JEMALLOC_ROOT    :=  
configure: CFG_BUILD            := x86_64-unknown-netbsd 
configure: CFG_ANDROID_CROSS_PATH :=  
configure: CFG_I686_LINUX_ANDROID_NDK :=  
configure: CFG_ARM_LINUX_ANDROIDEABI_NDK :=  
configure: CFG_ARMV7_LINUX_ANDROIDEABI_NDK :=  
configure: CFG_AARCH64_LINUX_ANDROID_NDK :=  
configure: CFG_NACL_CROSS_PATH  :=  
configure: CFG_MUSL_ROOT        := /usr/local 
configure: CFG_MUSL_ROOT_X86_64 :=  
configure: CFG_MUSL_ROOT_I686   :=  
configure: CFG_MUSL_ROOT_ARM    :=  
configure: CFG_MUSL_ROOT_ARMHF  :=  
configure: CFG_MUSL_ROOT_ARMV7  :=  
configure: CFG_EXTRA_FILENAME   :=  
configure: CFG_GIT              :=  
configure: git: no git directory. Changing default release channel to stable
configure: CFG_RELEASE_CHANNEL  := stable 
configure: CFG_DEFAULT_LINKER   := cc 
configure: CFG_DEFAULT_AR       := ar 
configure: CFG_LIBDIR           := /usr/pkg/lib 
configure: 
configure: validating ./configure args
configure: 
configure: overriding settings for stable
configure: CFG_ENABLE_DEBUGINFO_LINES := 1 
configure: CFG_ENABLE_DEBUGINFO_ONLY_STD := 1 
configure: 
configure: looking for build programs
configure: 
configure: CFG_CURL             := /usr/pkg/bin/curl (7.54.1)
configure: CFG_PYTHON           := /usr/pkg/bin/python2.7 
configure: CFG_GIT              :=  
configure: git: no git directory. disabling submodules
configure: CFG_MD5              := /usr/bin/md5 
configure: CFG_MD5SUM           :=  
configure: CFG_HASH_COMMAND     := /usr/bin/md5 -q | cut -c 1-8 
configure: CFG_CLANG            := /data/scratch/lang/rust/work/.cwrap ...
configure: CFG_CCACHE           :=  
configure: CFG_GCC              := /data/scratch/lang/rust/work/.cwrap ...
configure: CFG_LD               := /data/scratch/lang/rust/work/.cwrap ...
configure: CFG_VALGRIND         :=  
configure: CFG_PERF             :=  
configure: CFG_ISCC             :=  
configure: CFG_ANTLR4           :=  
configure: CFG_GRUN             :=  
configure: CFG_FLEX             := /usr/bin/flex (2.5.39)
configure: CFG_BISON            :=  
configure: CFG_GDB              := /usr/bin/gdb (7.7.1)
configure: CFG_LLDB             :=  
configure: CFG_CMAKE            := /usr/pkg/bin/cmake (3.8.2)
configure: CFG_DISABLE_VALGRIND_RPASS := 1 
configure: CFG_LLDB_PYTHON      := /usr/pkg/bin/python2.7 
configure: 
configure: looking for target specific programs
configure: 
configure: CFG_ADB              :=  
configure: 
configure: using rustc at: /data/scratch/lang/rust/work/rust-1.15.1-x86_64-unknown-netbsd/rustc with version: rustc 1.15.1 (021bd294c 2017-02-08)
configure: 
configure: CFG_LOCAL_RUST_ROOT  := /data/scratch/lang/rust/work/rust-1 ...
configure: CFG_DISABLE_JEMALLOC := 1 
configure: skipping compiler inference steps; using provided CC=gcc
configure: CFG_CC               := gcc 
configure: CFG_CXX              := c++ 
configure: CFG_CFLAGS           := -O2 -I/usr/pkg/include -I/usr/inclu ...
configure: CFG_CXXFLAGS         := -O2 -I/usr/pkg/include -I/usr/inclu ...
configure: CFG_LDFLAGS          := -L/usr/pkg/lib -L/usr/lib -Wl,-R/us ...
configure: CFG_STDCPP_NAME      := stdc++ 
configure: 
configure: making directories
configure: 
configure: mkdir -p doc
configure: mkdir -p doc/std
configure: mkdir -p doc/extra
configure: mkdir -p dl
configure: mkdir -p tmp
configure: mkdir -p dist
configure: mkdir -p x86_64-unknown-netbsd/llvm
configure: mkdir -p x86_64-unknown-netbsd/rustllvm
configure: mkdir -p x86_64-unknown-netbsd/rt
configure: mkdir -p x86_64-unknown-netbsd/rt/stage0
configure: mkdir -p x86_64-unknown-netbsd/rt/jemalloc
configure: mkdir -p x86_64-unknown-netbsd/rt/compiler-rt
configure: mkdir -p x86_64-unknown-netbsd/rt/stage0/isaac
configure: mkdir -p x86_64-unknown-netbsd/rt/stage0/sync
configure: mkdir -p x86_64-unknown-netbsd/rt/stage0/test
configure: mkdir -p x86_64-unknown-netbsd/rt/stage0/arch/i386
configure: mkdir -p x86_64-unknown-netbsd/rt/stage0/arch/x86_64
configure: mkdir -p x86_64-unknown-netbsd/rt/stage0/arch/arm
configure: mkdir -p x86_64-unknown-netbsd/rt/stage0/arch/aarch64
configure: mkdir -p x86_64-unknown-netbsd/rt/stage0/arch/mips
configure: mkdir -p x86_64-unknown-netbsd/rt/stage0/arch/powerpc
configure: mkdir -p x86_64-unknown-netbsd/rt/stage1
configure: mkdir -p x86_64-unknown-netbsd/rt/stage1/isaac
configure: mkdir -p x86_64-unknown-netbsd/rt/stage1/sync
configure: mkdir -p x86_64-unknown-netbsd/rt/stage1/test
configure: mkdir -p x86_64-unknown-netbsd/rt/stage1/arch/i386
configure: mkdir -p x86_64-unknown-netbsd/rt/stage1/arch/x86_64
configure: mkdir -p x86_64-unknown-netbsd/rt/stage1/arch/arm
configure: mkdir -p x86_64-unknown-netbsd/rt/stage1/arch/aarch64
configure: mkdir -p x86_64-unknown-netbsd/rt/stage1/arch/mips
configure: mkdir -p x86_64-unknown-netbsd/rt/stage1/arch/powerpc
configure: mkdir -p x86_64-unknown-netbsd/rt/stage2
configure: mkdir -p x86_64-unknown-netbsd/rt/stage2/isaac
configure: mkdir -p x86_64-unknown-netbsd/rt/stage2/sync
configure: mkdir -p x86_64-unknown-netbsd/rt/stage2/test
configure: mkdir -p x86_64-unknown-netbsd/rt/stage2/arch/i386
configure: mkdir -p x86_64-unknown-netbsd/rt/stage2/arch/x86_64
configure: mkdir -p x86_64-unknown-netbsd/rt/stage2/arch/arm
configure: mkdir -p x86_64-unknown-netbsd/rt/stage2/arch/aarch64
configure: mkdir -p x86_64-unknown-netbsd/rt/stage2/arch/mips
configure: mkdir -p x86_64-unknown-netbsd/rt/stage2/arch/powerpc
configure: mkdir -p x86_64-unknown-netbsd/rt/stage3
configure: mkdir -p x86_64-unknown-netbsd/rt/stage3/isaac
configure: mkdir -p x86_64-unknown-netbsd/rt/stage3/sync
configure: mkdir -p x86_64-unknown-netbsd/rt/stage3/test
configure: mkdir -p x86_64-unknown-netbsd/rt/stage3/arch/i386
configure: mkdir -p x86_64-unknown-netbsd/rt/stage3/arch/x86_64
configure: mkdir -p x86_64-unknown-netbsd/rt/stage3/arch/arm
configure: mkdir -p x86_64-unknown-netbsd/rt/stage3/arch/aarch64
configure: mkdir -p x86_64-unknown-netbsd/rt/stage3/arch/mips
configure: mkdir -p x86_64-unknown-netbsd/rt/stage3/arch/powerpc
configure: mkdir -p x86_64-unknown-netbsd/stage0/bin
configure: mkdir -p x86_64-unknown-netbsd/stage0/lib
configure: mkdir -p x86_64-unknown-netbsd/stage0/test
configure: mkdir -p x86_64-unknown-netbsd/stage0/lib/rustlib/x86_64-unknown-netbsd/bin
configure: mkdir -p x86_64-unknown-netbsd/stage0/lib/rustlib/x86_64-unknown-netbsd/lib
configure: mkdir -p x86_64-unknown-netbsd/stage1/bin
configure: mkdir -p x86_64-unknown-netbsd/stage1/lib
configure: mkdir -p x86_64-unknown-netbsd/stage1/test
configure: mkdir -p x86_64-unknown-netbsd/stage1/lib/rustlib/x86_64-unknown-netbsd/bin
configure: mkdir -p x86_64-unknown-netbsd/stage1/lib/rustlib/x86_64-unknown-netbsd/lib
configure: mkdir -p x86_64-unknown-netbsd/stage2/bin
configure: mkdir -p x86_64-unknown-netbsd/stage2/lib
configure: mkdir -p x86_64-unknown-netbsd/stage2/test
configure: mkdir -p x86_64-unknown-netbsd/stage2/lib/rustlib/x86_64-unknown-netbsd/bin
configure: mkdir -p x86_64-unknown-netbsd/stage2/lib/rustlib/x86_64-unknown-netbsd/lib
configure: mkdir -p x86_64-unknown-netbsd/stage3/bin
configure: mkdir -p x86_64-unknown-netbsd/stage3/lib
configure: mkdir -p x86_64-unknown-netbsd/stage3/test
configure: mkdir -p x86_64-unknown-netbsd/stage3/lib/rustlib/x86_64-unknown-netbsd/bin
configure: mkdir -p x86_64-unknown-netbsd/stage3/lib/rustlib/x86_64-unknown-netbsd/lib
configure: mkdir -p x86_64-unknown-netbsd/test/run-pass
configure: mkdir -p x86_64-unknown-netbsd/test/run-pass-valgrind
configure: mkdir -p x86_64-unknown-netbsd/test/run-pass-fulldeps
configure: mkdir -p x86_64-unknown-netbsd/test/run-fail
configure: mkdir -p x86_64-unknown-netbsd/test/run-fail-fulldeps
configure: mkdir -p x86_64-unknown-netbsd/test/compile-fail
configure: mkdir -p x86_64-unknown-netbsd/test/parse-fail
configure: mkdir -p x86_64-unknown-netbsd/test/compile-fail-fulldeps
configure: mkdir -p x86_64-unknown-netbsd/test/bench
configure: mkdir -p x86_64-unknown-netbsd/test/perf
configure: mkdir -p x86_64-unknown-netbsd/test/pretty
configure: mkdir -p x86_64-unknown-netbsd/test/debuginfo-gdb
configure: mkdir -p x86_64-unknown-netbsd/test/debuginfo-lldb
configure: mkdir -p x86_64-unknown-netbsd/test/codegen
configure: mkdir -p x86_64-unknown-netbsd/test/codegen-units
configure: mkdir -p x86_64-unknown-netbsd/test/rustdoc
configure: 
configure: configuring submodules
configure: 
configure: 
configure: looking at LLVM
configure: 
configure: CFG_CMAKE_GENERATOR  := Unix Makefiles 
configure: configuring LLVM for x86_64-unknown-netbsd
configure: configuring LLVM for x86_64-unknown-netbsd with cmake
configure: configuring LLVM with:
configure:  -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_DOCS=OFF -DLLVM_ENABLE_ZLIB=OFF -DWITH_POLY=OFF -DLLVM_ENABLE_TERMINFO=OFF -DLLVM_ENABLE_LIBEDIT=OFF -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ '-DCMAKE_C_FLAGS=' '-DCMAKE_CXX_FLAGS=' -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=OFF -DLLVM_TARGETS_TO_BUILD='X86;ARM;AArch64;Mips;PowerPC;SystemZ;JSBackend;MSP430;Sparc' -G 'Unix Makefiles' /data/scratch/lang/rust/work/rustc-1.16.0-src/src/llvm/
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- The ASM compiler identification is GNU
-- Found assembler: /data/scratch/lang/rust/work/.cwrapper/bin/gcc
-- Check for working C compiler: /data/scratch/lang/rust/work/.cwrapper/bin/gcc
-- Check for working C compiler: /data/scratch/lang/rust/work/.cwrapper/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: /data/scratch/lang/rust/work/.cwrapper/bin/g++
-- Check for working CXX compiler: /data/scratch/lang/rust/work/.cwrapper/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/types.h
-- Looking for sys/types.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 - found
-- 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  
-- Looking for el_init in edit
-- Looking for el_init in edit - found
-- Looking for xar_open in xar
-- Looking for xar_open in xar - not found
-- Looking for arc4random
-- Looking for arc4random - found
-- Looking for backtrace
-- Looking for backtrace - not found
-- Looking for _Unwind_Backtrace
-- Looking for _Unwind_Backtrace - 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 sigaltstack
-- Looking for sigaltstack - 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 - Success
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- Performing Test SUPPORTS_NO_VARIADIC_MACROS_FLAG
-- Performing Test SUPPORTS_NO_VARIADIC_MACROS_FLAG - Success
-- Performing Test HAS_MAYBE_UNINITIALIZED
-- Performing Test HAS_MAYBE_UNINITIALIZED - Success
-- Target triple: x86_64-unknown-netbsd7.0.1.
-- Native target architecture is X86
-- Threads enabled.
-- Doxygen disabled.
-- Sphinx disabled.
-- Go bindings disabled.
-- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- OCaml bindings disabled.
-- Performing Test C_SUPPORTS_FPIC
-- Performing Test C_SUPPORTS_FPIC - Success
-- Performing Test CXX_SUPPORTS_FPIC
-- Performing Test CXX_SUPPORTS_FPIC - Success
-- Building with -fPIC
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Failed
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Failed
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Failed
-- Performing Test CXX_SUPPORTS_CXX11
-- Performing Test CXX_SUPPORTS_CXX11 - Success
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FDATA_SECTIONS
-- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success
-- Found PythonInterp: /data/scratch/lang/rust/work/.buildlink/bin/python (found version "2.7.13") 
-- Constructing LLVMBuild project information
-- Targeting X86
-- Targeting ARM
-- Targeting AArch64
-- Targeting Mips
-- Targeting PowerPC
-- Targeting SystemZ
-- Targeting JSBackend
-- Targeting MSP430
-- Targeting Sparc
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    LLVM_ENABLE_LIBEDIT
    WITH_POLY


-- Build files have been written to: /data/scratch/lang/rust/work/rustc-1.16.0-src/x86_64-unknown-netbsd/llvm
configure: 
configure: writing configuration
configure: 
configure: CFG_SRC_DIR          := /data/scratch/lang/rust/work/rustc- ...
configure: CFG_SRC_DIR_RELATIVE := ./ 
configure: CFG_BUILD_DIR        := /data/scratch/lang/rust/work/rustc- ...
configure: CFG_OSTYPE           := unknown-netbsd 
configure: CFG_CPUTYPE          := x86_64 
configure: CFG_CONFIGURE_ARGS   := --prefix=/usr/pkg --build=x86_64-un ...
configure: CFG_PREFIX           := /usr/pkg 
configure: CFG_HOST             := x86_64-unknown-netbsd 
configure: CFG_TARGET           := x86_64-unknown-netbsd 
configure: CFG_LIBDIR_RELATIVE  := lib 
configure: CFG_DISABLE_MANAGE_SUBMODULES := 1 
configure: CFG_AARCH64_LINUX_ANDROID_NDK :=  
configure: CFG_ARM_LINUX_ANDROIDEABI_NDK :=  
configure: CFG_ARMV7_LINUX_ANDROIDEABI_NDK :=  
configure: CFG_I686_LINUX_ANDROID_NDK :=  
configure: CFG_NACL_CROSS_PATH  :=  
configure: CFG_MANDIR           := /usr/pkg/man 
configure: CFG_DOCDIR           := /usr/pkg/share/doc/rust 
configure: CFG_USING_LIBCPP     := 0 
configure: CFG_LLVM_SRC_DIR     := /data/scratch/lang/rust/work/rustc- ...
configure: CFG_LLVM_BUILD_DIR_x86_64_unknown_netbsd := /data/scratch/lang/rust/work/rustc- ...
configure: CFG_LLVM_INST_DIR_x86_64_unknown_netbsd := /data/scratch/lang/rust/work/rustc- ...
configure: 
configure: cp -f /data/scratch/lang/rust/work/rustc-1.16.0-src/Makefile.in ./Makefile
configure: mv -f config.tmp config.mk
configure: 
configure: configured in release mode. for development consider --enable-debug
configure: 
configure: WARNING: the makefile-based build system is deprecated in favor of rustbuild
configure: 
configure: It is recommended you avoid passing --disable-rustbuild to get your
configure: build working as the makefiles will be deleted on 2017-02-02. If you
configure: encounter bugs with rustbuild please file issues against rust-lang/rust
configure: 
configure: run `make help`
configure: 
