=> 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.19.0-x86_64-unknown-netbsd.tar.gz => Checksum RMD160 OK for rust-1.19.0-x86_64-unknown-netbsd.tar.gz => Checksum SHA512 OK for rust-1.19.0-x86_64-unknown-netbsd.tar.gz => Checksum SHA1 OK for rust-std-1.19.0-x86_64-unknown-netbsd.tar.gz => Checksum RMD160 OK for rust-std-1.19.0-x86_64-unknown-netbsd.tar.gz => Checksum SHA512 OK for rust-std-1.19.0-x86_64-unknown-netbsd.tar.gz => Checksum SHA1 OK for rustc-1.20.0-src.tar.gz => Checksum RMD160 OK for rustc-1.20.0-src.tar.gz => Checksum SHA512 OK for rustc-1.20.0-src.tar.gz ===> Installing dependencies for rust-1.20.0 ========================================================================== The following variables will affect the build process of this package, rust-1.20.0. Their current value is shown below: * KRB5_DEFAULT = heimdal * PYTHON_VERSION_DEFAULT = 27 * SSLBASE = /usr * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private * TERMINFO_DEFAULT = terminfo Based on these variables, the following variables have been set: * KRB5BASE (defined, but empty) * KRB5_TYPE = heimdal * PYPACKAGE = python27 * TERMINFO_TYPE = terminfo 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. ========================================================================== bash / [0-9]* pkgconf / [0-9]* => 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 perl>=5.0: found perl-5.26.1 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.3.5 => Tool dependency checkperms>=1.1: found checkperms-1.11nb1 => Build dependency cmake>=2.8.5nb1: found cmake-3.9.3 => Build dependency cwrappers>=20150314: found cwrappers-20170611 => Full dependency libgit2>=0.26.0: found libgit2-0.26.0nb1 => Full dependency llvm>=4.0.1nb1: found llvm-4.0.1nb1 => Full dependency libssh2>=1.7.0nb1: found libssh2-1.8.0 => Full dependency curl>=7.55.1nb1: found curl-7.56.0 => Full dependency http-parser>=2.7.0: found http-parser-2.7.1 ===> Overriding tools for rust-1.20.0 ===> Extracting for rust-1.20.0 /bin/mv /data/scratch/lang/rust/work/rust-std-1.19.0-x86_64-unknown-netbsd/rust-std-x86_64-unknown-netbsd/lib/rustlib/x86_64-unknown-netbsd /data/scratch/lang/rust/work/rust-1.19.0-x86_64-unknown-netbsd/rustc/lib/rustlib ===> Patching for rust-1.20.0 => Applying pkgsrc patches for rust-1.20.0 => Verifying /data/pkgsrc/lang/rust/patches/patch-src_bootstrap_bin_rustc.rs => Applying pkgsrc patch /data/pkgsrc/lang/rust/patches/patch-src_bootstrap_bin_rustc.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_bootstrap_bin_rustc.rs,v 1.1 2017/09/30 04:42:43 ryoon Exp $ | |* Set RPATH for pkgsrc wrapper | |--- src/bootstrap/bin/rustc.rs.orig 2017-08-27 18:26:05.000000000 +0000 |+++ src/bootstrap/bin/rustc.rs -------------------------- Patching file src/bootstrap/bin/rustc.rs using Plan A... Hunk #1 succeeded at 225. done => Verifying /data/pkgsrc/lang/rust/patches/patch-src_llvm_cmake_modules_AddLLVM.cmake => Applying pkgsrc patch /data/pkgsrc/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 183 (offset 8 lines). done => Verifying /data/pkgsrc/lang/rust/patches/patch-src_llvm_lib_CodeGen_MachineDominanceFrontier.cpp => Applying pkgsrc patch /data/pkgsrc/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 => Substituting "rpath" in src/bootstrap/bin/rustc.rs ===> Creating toolchain wrappers for rust-1.20.0 ===> Configuring for rust-1.20.0 => Checking for portability problems in extracted files echo '[build]' > /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo 'rustc = "/data/scratch/lang/rust/work/rust-1.19.0-x86_64-unknown-netbsd/rustc/bin/rustc"' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo 'cargo = "/data/scratch/lang/rust/work/rust-1.19.0-x86_64-unknown-netbsd/cargo/bin/cargo"' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo 'python = "/usr/pkg/bin/python2.7"' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo 'vendor = true' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo 'extended = true' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo 'verbose = 2' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo '[install]' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo 'prefix = "/usr/pkg"' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo 'sysconfdir = ""' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo 'mandir = "man"' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo '[rust]' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo 'channel = "stable"' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo 'rpath = true' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo 'codegen-tests = false' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo '[dist]' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo 'src-tarball = false' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo '[llvm]' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo 'static-libstdcpp = false' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo 'ninja = true' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo '[target.x86_64-unknown-netbsd]' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml echo 'llvm-config = "/usr/pkg/bin/llvm-config"' >> /data/scratch/lang/rust/work/rustc-1.20.0-src/config.toml