=> Bootstrap dependency digest>=20010302: found digest-20180917 ===> 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.31.1-x86_64-unknown-netbsd.tar.gz => Checksum RMD160 OK for rust-1.31.1-x86_64-unknown-netbsd.tar.gz => Checksum SHA512 OK for rust-1.31.1-x86_64-unknown-netbsd.tar.gz => Checksum SHA1 OK for rust-std-1.31.1-x86_64-unknown-netbsd.tar.gz => Checksum RMD160 OK for rust-std-1.31.1-x86_64-unknown-netbsd.tar.gz => Checksum SHA512 OK for rust-std-1.31.1-x86_64-unknown-netbsd.tar.gz => Checksum SHA1 OK for rustc-1.32.0-src.tar.gz => Checksum RMD160 OK for rustc-1.32.0-src.tar.gz => Checksum SHA512 OK for rustc-1.32.0-src.tar.gz ===> Installing dependencies for rust-1.32.0 ========================================================================== The following variables will affect the build process of this package, rust-1.32.0. Their current value is shown below: * 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: * 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.6nb2 => Tool dependency bash-[0-9]*: found bash-5.0 => Tool dependency gmake>=3.81: found gmake-4.2.1nb1 => Tool dependency gtar-base>=1.13.25: found gtar-base-1.31 => Tool dependency perl>=5.0: found perl-5.28.1 => 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.13.3 => Build dependency python27>=2.7.1nb2: found python27-2.7.15nb1 => Build dependency cwrappers>=20150314: found cwrappers-20180325 ===> Overriding tools for rust-1.32.0 ===> Extracting for rust-1.32.0 set -e; if test -e /data/scratch/lang/rust/work/rust-1.31.1-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.31.1-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.31.1-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 'clippy-preview' install: installing component 'rustfmt-preview' install: installing component 'llvm-tools-preview' install: installing component 'rust-analysis-x86_64-unknown-netbsd' 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. /bin/cp /data/scratch/lang/rust/work/rustc-1.32.0-src/vendor/rand/.cargo-checksum.json /data/scratch/lang/rust/work/rustc-1.32.0-src/vendor/rand/.cargo-checksum.json.orig /usr/bin/sed -e 's/cb94a0b54e47022b2e9b58b45e0196785c61d083760333276226da435cc040d9/bcb195562cf830c9e2078757e6d0976f86ede59816ff305e21a2764a4a4cf43e/' /data/scratch/lang/rust/work/rustc-1.32.0-src/vendor/rand/.cargo-checksum.json.orig > /data/scratch/lang/rust/work/rustc-1.32.0-src/vendor/rand/.cargo-checksum.json SDIR=/data/scratch/lang/rust/work/scripts; /bin/mkdir -p ${SDIR}; cd ${SDIR}; /bin/rm -f c++-wrap; /bin/rm -f clang++-wrap; /bin/rm -f clang-wrap; /bin/cp /data/pkgsrc/lang/rust/files/gcc-wrap .; /bin/chmod +x gcc-wrap; /bin/ln -s gcc-wrap c++-wrap; /bin/ln -s gcc-wrap clang++-wrap; /bin/ln -s gcc-wrap clang-wrap ===> Patching for rust-1.32.0 => Applying pkgsrc patches for rust-1.32.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.5 2019/01/19 12:44:08 ryoon Exp $ | |* Set RPATH for pkgsrc wrapper | |--- src/bootstrap/bin/rustc.rs.orig 2019-01-16 09:30:27.000000000 +0000 |+++ src/bootstrap/bin/rustc.rs -------------------------- Patching file src/bootstrap/bin/rustc.rs using Plan A... Hunk #1 succeeded at 237. done => Verifying /data/pkgsrc/lang/rust/patches/patch-src_bootstrap_bootstrap.py => Applying pkgsrc patch /data/pkgsrc/lang/rust/patches/patch-src_bootstrap_bootstrap.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_bootstrap_bootstrap.py,v 1.3 2018/11/27 15:45:23 adam Exp $ | |Use `uname -p` on NetBSD, as that is reliable and sensible there. |Do not use debuginfo; optimize 'bootstrap' instead. |Handle earmv7hf for NetBSD. | |--- src/bootstrap/bootstrap.py.orig 2018-11-07 03:22:38.000000000 +0000 |+++ src/bootstrap/bootstrap.py -------------------------- Patching file src/bootstrap/bootstrap.py using Plan A... Hunk #1 succeeded at 196. Hunk #2 succeeded at 280. Hunk #3 succeeded at 629. done => Verifying /data/pkgsrc/lang/rust/patches/patch-src_bootstrap_builder.rs => Applying pkgsrc patch /data/pkgsrc/lang/rust/patches/patch-src_bootstrap_builder.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_bootstrap_builder.rs,v 1.1 2018/11/27 15:45:23 adam Exp $ | |Do not install 'src'. | |--- src/bootstrap/builder.rs.orig 2018-11-25 15:56:35.000000000 +0000 |+++ src/bootstrap/builder.rs -------------------------- Patching file src/bootstrap/builder.rs using Plan A... Hunk #1 succeeded at 472 (offset -1 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.4 2019/01/19 12:44:08 ryoon Exp $ | |Don't filter out optimization flags. |FreeBSD has a particular C++ runtime library name | |--- src/bootstrap/lib.rs.orig 2019-01-16 09:30:27.000000000 +0000 |+++ src/bootstrap/lib.rs -------------------------- Patching file src/bootstrap/lib.rs using Plan A... Hunk #1 succeeded at 779. Hunk #2 succeeded at 789. 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 7352 (offset -431 lines). done => Verifying /data/pkgsrc/lang/rust/patches/patch-src_liblibc_src_unix_solaris_mod.rs => Applying pkgsrc patch /data/pkgsrc/lang/rust/patches/patch-src_liblibc_src_unix_solaris_mod.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_liblibc_src_unix_solaris_mod.rs,v 1.4 2018/09/14 10:04:43 jperkin Exp $ | |Add temporary upstream fixes for SunOS. | |--- src/liblibc/src/unix/solaris/mod.rs.orig 2018-09-11 03:38:01.000000000 +0000 |+++ src/liblibc/src/unix/solaris/mod.rs -------------------------- Patching file src/liblibc/src/unix/solaris/mod.rs using Plan A... Hunk #1 succeeded at 693 (offset 1 line). done => Verifying /data/pkgsrc/lang/rust/patches/patch-src_librustc__llvm_build.rs => Applying pkgsrc patch /data/pkgsrc/lang/rust/patches/patch-src_librustc__llvm_build.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_librustc__llvm_build.rs,v 1.1 2019/01/05 23:29:40 tnn Exp $ | |fix build on NetBSD HEAD-llvm. XXX there is probably a better way to do this. | |--- src/librustc_llvm/build.rs.orig 2018-12-18 23:11:17.000000000 +0000 |+++ src/librustc_llvm/build.rs -------------------------- Patching file src/librustc_llvm/build.rs using Plan A... Hunk #1 succeeded at 250. 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.3 2019/01/19 12:44:08 ryoon Exp $ | |SunOS support: | - Support PKGSRC_USE_SSP (ugly for now). | - Add libumem support. | - Add libexecinfo for backtrace(). | |--- src/libstd/build.rs.orig 2019-01-16 09:30:27.000000000 +0000 |+++ src/libstd/build.rs -------------------------- Patching file src/libstd/build.rs using Plan A... Hunk #1 succeeded at 42. Hunk #2 succeeded at 53. done => Verifying /data/pkgsrc/lang/rust/patches/patch-src_libstd_sys_unix_thread.rs => Applying pkgsrc patch /data/pkgsrc/lang/rust/patches/patch-src_libstd_sys_unix_thread.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_libstd_sys_unix_thread.rs,v 1.4 2018/08/09 17:04:03 jperkin Exp $ | |Fix stack-clash on SunOS. | |--- src/libstd/sys/unix/thread.rs.orig 2018-07-30 22:15:53.000000000 +0000 |+++ src/libstd/sys/unix/thread.rs -------------------------- Patching file src/libstd/sys/unix/thread.rs using Plan A... Hunk #1 succeeded at 310 (offset 1 line). Hunk #2 succeeded at 355 (offset 1 line). done => Verifying /data/pkgsrc/lang/rust/patches/patch-src_libsyntax__pos_span__encoding.rs => Applying pkgsrc patch /data/pkgsrc/lang/rust/patches/patch-src_libsyntax__pos_span__encoding.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_libsyntax__pos_span__encoding.rs,v 1.1 2018/10/29 22:24:11 he Exp $ | |Workaround for compiler bug hitting sparc64 causing unaligned accesses. | |--- src/libsyntax_pos/span_encoding.rs.orig 2018-10-24 20:00:01.000000000 +0000 |+++ src/libsyntax_pos/span_encoding.rs -------------------------- Patching file src/libsyntax_pos/span_encoding.rs using Plan A... Hunk #1 succeeded at 26. done => Verifying /data/pkgsrc/lang/rust/patches/patch-src_libunwind_build.rs => Applying pkgsrc patch /data/pkgsrc/lang/rust/patches/patch-src_libunwind_build.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_libunwind_build.rs,v 1.1 2019/01/05 23:29:40 tnn Exp $ | |fix build on NetBSD HEAD-llvm. XXX there is probably a better way to do this. | |--- src/libunwind/build.rs.orig 2018-12-18 23:11:17.000000000 +0000 |+++ src/libunwind/build.rs -------------------------- Patching file src/libunwind/build.rs using Plan A... Hunk #1 succeeded at 25. done => Verifying /data/pkgsrc/lang/rust/patches/patch-src_llvm_CMakeLists.txt => Applying pkgsrc patch /data/pkgsrc/lang/rust/patches/patch-src_llvm_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_llvm_CMakeLists.txt,v 1.1 2018/06/21 17:13:13 jperkin Exp $ | |Don't implement sys/regset.h workaround, fix source instead. | |--- src/llvm/CMakeLists.txt.orig 2018-03-10 02:51:13.000000000 +0000 |+++ src/llvm/CMakeLists.txt -------------------------- Patching file src/llvm/CMakeLists.txt using Plan A... Hunk #1 succeeded at 810 (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.3 2018/09/24 03:42:42 minskim Exp $ | |"-z discard-unused" is only supported by Oracle Solaris ld. |On Darwin, use correct install-name for shared libraries. | |--- src/llvm/cmake/modules/AddLLVM.cmake.orig 2018-08-01 16:32:37.000000000 +0000 |+++ src/llvm/cmake/modules/AddLLVM.cmake -------------------------- Patching file src/llvm/cmake/modules/AddLLVM.cmake using Plan A... Hunk #1 succeeded at 219. Hunk #2 succeeded at 1662 (offset 62 lines). done => Verifying /data/pkgsrc/lang/rust/patches/patch-src_llvm_include_llvm-c_DataTypes.h => Applying pkgsrc patch /data/pkgsrc/lang/rust/patches/patch-src_llvm_include_llvm-c_DataTypes.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_llvm_include_llvm-c_DataTypes.h,v 1.1 2018/09/14 10:04:43 jperkin Exp $ | |Don't implement sys/regset.h workaround, fix source instead. | |--- src/llvm/include/llvm-c/DataTypes.h.orig 2018-08-01 16:32:37.000000000 +0000 |+++ src/llvm/include/llvm-c/DataTypes.h -------------------------- Patching file src/llvm/include/llvm-c/DataTypes.h using Plan A... Hunk #1 succeeded at 87. done => Verifying /data/pkgsrc/lang/rust/patches/patch-src_llvm_include_llvm_Analysis_ConstantFolding.h => Applying pkgsrc patch /data/pkgsrc/lang/rust/patches/patch-src_llvm_include_llvm_Analysis_ConstantFolding.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_llvm_include_llvm_Analysis_ConstantFolding.h,v 1.1 2018/09/14 10:04:43 jperkin Exp $ | |Fix SunOS CS conflict not handled by include/llvm-c/DataTypes.h | |--- src/llvm/include/llvm/Analysis/ConstantFolding.h.orig 2018-08-01 16:32:37.000000000 +0000 |+++ src/llvm/include/llvm/Analysis/ConstantFolding.h -------------------------- Patching file src/llvm/include/llvm/Analysis/ConstantFolding.h using Plan A... Hunk #1 succeeded at 20. done => Verifying /data/pkgsrc/lang/rust/patches/patch-src_tools_cargo_src_cargo_core_profiles.rs => Applying pkgsrc patch /data/pkgsrc/lang/rust/patches/patch-src_tools_cargo_src_cargo_core_profiles.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_tools_cargo_src_cargo_core_profiles.rs,v 1.2 2018/11/27 15:45:23 adam Exp $ | |Turn off incremental builds for sparc64, ref. |https://sources.debian.org/patches/cargo/0.29.0-1/2007_sparc64_disable_incremental_build.patch/ | |--- src/tools/cargo/src/cargo/core/profiles.rs.orig 2018-10-24 20:01:28.000000000 +0000 |+++ src/tools/cargo/src/cargo/core/profiles.rs -------------------------- Patching file src/tools/cargo/src/cargo/core/profiles.rs using Plan A... Hunk #1 succeeded at 461 (offset 3 lines). done => Verifying /data/pkgsrc/lang/rust/patches/patch-src_tools_cargo_tests_testsuite_build.rs => Applying pkgsrc patch /data/pkgsrc/lang/rust/patches/patch-src_tools_cargo_tests_testsuite_build.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_tools_cargo_tests_testsuite_build.rs,v 1.2 2018/11/27 15:45:23 adam Exp $ | |Don't attempt incremental operations on sparc64, ref. |https://sources.debian.org/patches/cargo/0.29.0-1/2007_sparc64_disable_incremental_build.patch/ | |--- src/tools/cargo/tests/testsuite/build.rs.orig 2018-10-24 20:01:28.000000000 +0000 |+++ src/tools/cargo/tests/testsuite/build.rs -------------------------- Patching file src/tools/cargo/tests/testsuite/build.rs using Plan A... Hunk #1 succeeded at 38. Hunk #2 succeeded at 59. Hunk #3 succeeded at 101. done => Verifying /data/pkgsrc/lang/rust/patches/patch-src_tools_rls_src_cmd.rs => Applying pkgsrc patch /data/pkgsrc/lang/rust/patches/patch-src_tools_rls_src_cmd.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_tools_rls_src_cmd.rs,v 1.1 2018/12/21 23:12:34 he Exp $ | |--- src/tools/rls/src/cmd.rs.orig 2018-12-18 23:12:41.000000000 +0000 |+++ src/tools/rls/src/cmd.rs -------------------------- Patching file src/tools/rls/src/cmd.rs using Plan A... Hunk #1 succeeded at 17. Hunk #2 succeeded at 426 (offset 2 lines). done => Verifying /data/pkgsrc/lang/rust/patches/patch-src_tools_rls_src_server_io.rs => Applying pkgsrc patch /data/pkgsrc/lang/rust/patches/patch-src_tools_rls_src_server_io.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_tools_rls_src_server_io.rs,v 1.1 2018/12/21 23:12:34 he Exp $ | |--- src/tools/rls/src/server/io.rs.orig 2018-12-18 23:12:41.000000000 +0000 |+++ src/tools/rls/src/server/io.rs -------------------------- Patching file src/tools/rls/src/server/io.rs using Plan A... Hunk #1 succeeded at 17. Hunk #2 succeeded at 190. Hunk #3 succeeded at 215. done => Verifying /data/pkgsrc/lang/rust/patches/patch-src_tools_rust-installer_install-template.sh => Applying pkgsrc patch /data/pkgsrc/lang/rust/patches/patch-src_tools_rust-installer_install-template.sh Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_tools_rust-installer_install-template.sh,v 1.3 2018/11/27 15:45:23 adam Exp $ | |No logging to 'install.log'. |Do not create 'uninstall.sh'. | |--- src/tools/rust-installer/install-template.sh.orig 2018-11-07 03:23:50.000000000 +0000 |+++ src/tools/rust-installer/install-template.sh -------------------------- Patching file src/tools/rust-installer/install-template.sh using Plan A... Hunk #1 succeeded at 15. Hunk #2 succeeded at 964. done => Verifying /data/pkgsrc/lang/rust/patches/patch-vendor_rand_src_rngs_os.rs => Applying pkgsrc patch /data/pkgsrc/lang/rust/patches/patch-vendor_rand_src_rngs_os.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_rand_src_rngs_os.rs,v 1.1 2019/01/22 09:17:15 jperkin Exp $ | |Explicitly disable getrandom support on SunOS, the test fails. |https://github.com/rust-random/rand/issues/637 | |--- vendor/rand/src/rngs/os.rs.orig 2019-01-16 11:06:08.000000000 +0000 |+++ vendor/rand/src/rngs/os.rs -------------------------- Patching file vendor/rand/src/rngs/os.rs using Plan A... Hunk #1 succeeded at 675. done ===> Creating toolchain wrappers for rust-1.32.0 ===> Configuring for rust-1.32.0 => Substituting "rpath" in src/bootstrap/bin/rustc.rs => 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.32.0-src/x.py --help` configure: => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp