=> 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.21.0-x86_64-unknown-netbsd.tar.gz => Checksum RMD160 OK for rust-1.21.0-x86_64-unknown-netbsd.tar.gz => Checksum SHA512 OK for rust-1.21.0-x86_64-unknown-netbsd.tar.gz => Checksum SHA1 OK for rust-std-1.21.0-x86_64-unknown-netbsd.tar.gz => Checksum RMD160 OK for rust-std-1.21.0-x86_64-unknown-netbsd.tar.gz => Checksum SHA512 OK for rust-std-1.21.0-x86_64-unknown-netbsd.tar.gz => Checksum SHA1 OK for rustc-1.22.1-src.tar.gz => Checksum RMD160 OK for rustc-1.22.1-src.tar.gz => Checksum SHA512 OK for rustc-1.22.1-src.tar.gz ===> Installing dependencies for rust-1.22.1nb3 ========================================================================== The following variables will affect the build process of this package, rust-1.22.1nb3. 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 Based on these variables, the following variables have been set: * KRB5BASE (defined, but empty) * KRB5_TYPE = heimdal * 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 libtool-base>=2.4.2nb9: found libtool-base-2.4.6 => 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.1nb1 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.3.5 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cmake>=2.8.5nb1: found cmake-3.10.1nb1 => Build dependency cwrappers>=20150314: found cwrappers-20171108 => Full dependency libgit2>=0.26.0: found libgit2-0.26.0nb2 => Full dependency python27>=2.7.1nb2: found python27-2.7.14 => Full dependency libssh2>=1.7.0nb1: found libssh2-1.8.0 => Full dependency curl>=7.57.0nb1: found curl-7.57.0nb1 => Full dependency http-parser>=2.7.0: found http-parser-2.7.1 ===> Overriding tools for rust-1.22.1nb3 ===> Extracting for rust-1.22.1nb3 set -e; if test -e /data/scratch/lang/rust/work/rust-1.21.0-x86_64-unknown-netbsd/install.sh -a ! -e /data/scratch/lang/rust/work/rust-bootstrap/bin/rustc; then cd /data/scratch/lang/rust/work/rust-1.21.0-x86_64-unknown-netbsd; /usr/pkg/bin/bash ./install.sh --prefix=/data/scratch/lang/rust/work/rust-bootstrap; cd /data/scratch/lang/rust/work/rust-std-1.21.0-x86_64-unknown-netbsd; /usr/pkg/bin/bash ./install.sh --prefix=/data/scratch/lang/rust/work/rust-bootstrap; fi install: creating uninstall script at /data/scratch/lang/rust/work/rust-bootstrap/lib/rustlib/uninstall.sh install: installing component 'rustc' install: installing component 'cargo' install: installing component 'rls-preview' install: installing component 'rust-analysis-x86_64-unknown-netbsd' install: installing component 'rust-docs' install: installing component 'rust-std-x86_64-unknown-netbsd' Rust is ready to roll. install: uninstalling component 'rust-std-x86_64-unknown-netbsd' install: creating uninstall script at /data/scratch/lang/rust/work/rust-bootstrap/lib/rustlib/uninstall.sh install: installing component 'rust-std-x86_64-unknown-netbsd' std is standing at the ready. ===> Patching for rust-1.22.1nb3 => Applying pkgsrc patches for rust-1.22.1nb3 => 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 228 (offset 3 lines). done => Verifying /data/pkgsrc/lang/rust/patches/patch-src_bootstrap_lib.rs => Applying pkgsrc patch /data/pkgsrc/lang/rust/patches/patch-src_bootstrap_lib.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_bootstrap_lib.rs,v 1.1 2017/12/07 12:12:44 maya Exp $ | |Don't filter out optimization flags. | |--- src/bootstrap/lib.rs.orig 2017-11-22 21:33:00.000000000 +0000 |+++ src/bootstrap/lib.rs -------------------------- Patching file src/bootstrap/lib.rs using Plan A... Hunk #1 succeeded at 622. done => Verifying /data/pkgsrc/lang/rust/patches/patch-src_libbacktrace_configure => Applying pkgsrc patch /data/pkgsrc/lang/rust/patches/patch-src_libbacktrace_configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_libbacktrace_configure,v 1.1 2017/11/16 19:48:24 jperkin Exp $ | |Use pkgsrc libtool. | |--- src/libbacktrace/configure.orig 2017-10-09 20:04:51.000000000 +0000 |+++ src/libbacktrace/configure -------------------------- Patching file src/libbacktrace/configure using Plan A... Hunk #1 succeeded at 7783. done => Verifying /data/pkgsrc/lang/rust/patches/patch-src_libstd_build.rs => Applying pkgsrc patch /data/pkgsrc/lang/rust/patches/patch-src_libstd_build.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_libstd_build.rs,v 1.1 2017/11/16 19:48:24 jperkin Exp $ | |SunOS support: | - Support PKGSRC_USE_SSP (ugly for now). | - Add libumem support. | |--- src/libstd/build.rs.orig 2017-10-09 20:04:51.000000000 +0000 |+++ src/libstd/build.rs -------------------------- Patching file src/libstd/build.rs using Plan A... Hunk #1 succeeded at 46. 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.22.1nb3 ===> Configuring for rust-1.22.1nb3 => Checking for portability problems in extracted files configure: processing command line configure: configure: rust.dist-src := False configure: build.extended := True configure: build.vendor := True configure: rust.channel := stable configure: build.python := /usr/pkg/bin/python2.7 configure: rust.rpath := True configure: install.sysconfdir := /usr/pkg/etc configure: rust.codegen-tests := False configure: install.prefix := /usr/pkg configure: build.rustc := /data/scratch/lang/rust/work/rust-bootstrap/bi ... configure: build.cargo := /data/scratch/lang/rust/work/rust-bootstrap/bi ... configure: llvm.static-libstdcpp := False configure: llvm.ninja := False configure: install.mandir := /usr/pkg/man configure: build.configure-args := ['--prefix=/usr/pkg', '--mandir=/usr/pkg/man', ... configure: configure: writing `config.toml` in current directory configure: configure: run `python ./src/bootstrap/x.py --help` configure: => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp