=> 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.25.0-x86_64-unknown-netbsd.tar.gz
=> Checksum RMD160 OK for rust-1.25.0-x86_64-unknown-netbsd.tar.gz
=> Checksum SHA512 OK for rust-1.25.0-x86_64-unknown-netbsd.tar.gz
=> Checksum SHA1 OK for rust-std-1.25.0-x86_64-unknown-netbsd.tar.gz
=> Checksum RMD160 OK for rust-std-1.25.0-x86_64-unknown-netbsd.tar.gz
=> Checksum SHA512 OK for rust-std-1.25.0-x86_64-unknown-netbsd.tar.gz
=> Checksum SHA1 OK for rustc-1.26.2-src.tar.gz
=> Checksum RMD160 OK for rustc-1.26.2-src.tar.gz
=> Checksum SHA512 OK for rustc-1.26.2-src.tar.gz
===> Installing dependencies for rust-1.26.2
==========================================================================
The following variables will affect the build process of this package,
rust-1.26.2.  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.6nb1
=> Tool dependency bash-[0-9]*: found bash-4.4.019
=> Tool dependency gmake>=3.81: found gmake-4.1nb4
=> Tool dependency gtar-base>=1.13.25: found gtar-base-1.30
=> Tool dependency perl>=5.0: found perl-5.26.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.4.1nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cmake>=2.8.5nb1: found cmake-3.11.3
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency libgit2>=0.26.0: found libgit2-0.27.1
=> Full dependency python27>=2.7.1nb2: found python27-2.7.15nb1
=> Full dependency libssh2>=1.7.0nb1: found libssh2-1.8.0
=> Full dependency curl>=7.57.0nb1: found curl-7.60.0
=> Full dependency http-parser>=2.7.0: found http-parser-2.8.1
===> Overriding tools for rust-1.26.2
===> Extracting for rust-1.26.2
set -e;									 if test -e /data/scratch/lang/rust/work/rust-1.25.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.25.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.25.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 'rustfmt-preview'
install: installing component 'rust-analysis-x86_64-unknown-netbsd'
install: installing component 'rust-std-x86_64-unknown-netbsd'
install: installing component 'rust-docs'

    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.26.2
=> Applying pkgsrc patches for rust-1.26.2
=> 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.3 2018/05/18 12:45:52 ryoon Exp $
|
|* Set RPATH for pkgsrc wrapper
|
|--- src/bootstrap/bin/rustc.rs.orig	2018-05-07 17:31:28.000000000 +0000
|+++ src/bootstrap/bin/rustc.rs
--------------------------
Patching file src/bootstrap/bin/rustc.rs using Plan A...
Hunk #1 succeeded at 226.
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.3 2018/03/02 05:59:18 triaxx Exp $
|
|Don't filter out optimization flags.
|FreeBSD has a particular C++ runtime library name
|
|--- src/bootstrap/lib.rs.orig	2018-02-12 18:51:18.000000000 +0000
|+++ src/bootstrap/lib.rs
--------------------------
Patching file src/bootstrap/lib.rs using Plan A...
Hunk #1 succeeded at 641 (offset 9 lines).
Hunk #2 succeeded at 651 (offset 9 lines).
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 50 (offset 4 lines).
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 205 (offset 30 lines).
done
=> Substituting "rpath" in src/bootstrap/bin/rustc.rs
===> Creating toolchain wrappers for rust-1.26.2
===> Configuring for rust-1.26.2
=> 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 /data/scratch/lang/rust/work/rustc-1.26.2-src/x.py --help`
configure: 
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp