=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> 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.38.0-x86_64-unknown-netbsd.tar.gz => Checksum RMD160 OK for rust-1.38.0-x86_64-unknown-netbsd.tar.gz => Checksum SHA512 OK for rust-1.38.0-x86_64-unknown-netbsd.tar.gz => Checksum SHA1 OK for rust-std-1.38.0-x86_64-unknown-netbsd.tar.gz => Checksum RMD160 OK for rust-std-1.38.0-x86_64-unknown-netbsd.tar.gz => Checksum SHA512 OK for rust-std-1.38.0-x86_64-unknown-netbsd.tar.gz => Checksum SHA1 OK for rustc-1.39.0-src.tar.gz => Checksum RMD160 OK for rustc-1.39.0-src.tar.gz => Checksum SHA512 OK for rustc-1.39.0-src.tar.gz ===> Installing dependencies for rust-1.39.0 ========================================================================== The supported build options for rust are: rust-llvm You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.rust (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, rust-1.39.0. Their current value is shown below: * KRB5_DEFAULT = heimdal * PYTHON_VERSION_DEFAULT = 37 * 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. ========================================================================== => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2 => Tool dependency bash-[0-9]*: found bash-5.0.11nb1 => Tool dependency gmake>=3.81: found gmake-4.2.1nb1 => Tool dependency gtar-base>=1.13.25: found gtar-base-1.32nb1 => Tool dependency perl>=5.0: found perl-5.30.1 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency python27>=2.7.1nb2: found python27-2.7.17 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency llvm>=9.0.0: found llvm-9.0.0nb2 => Full dependency curl>=7.65.3nb3: found curl-7.67.0 ===> Overriding tools for rust-1.39.0 ===> Extracting for rust-1.39.0 set -e; if test -e /tmp/lang/rust/work/rust-1.38.0-x86_64-unknown-netbsd/install.sh -a ! -e /tmp/lang/rust/work/rust-bootstrap/bin/rustc; then cd /tmp/lang/rust/work/rust-1.38.0-x86_64-unknown-netbsd; /usr/pkg/bin/bash ./install.sh --prefix=/tmp/lang/rust/work/rust-bootstrap; cd /tmp/lang/rust/work/rust-std-1.38.0-x86_64-unknown-netbsd; /usr/pkg/bin/bash ./install.sh --prefix=/tmp/lang/rust/work/rust-bootstrap; fi install: creating uninstall script at /tmp/lang/rust/work/rust-bootstrap/lib/rustlib/uninstall.sh install: installing component 'rustc' install: installing component 'cargo' 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 /tmp/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 /tmp/lang/rust/work/rustc-1.39.0-src/vendor/rand/.cargo-checksum.json /tmp/lang/rust/work/rustc-1.39.0-src/vendor/rand/.cargo-checksum.json.orig /usr/bin/sed -e 's/1e732c2e3b4bd1561f11e0979bf9d20669a96eae7afe0deff9dfbb980ee47bf1/bc03f2345d7cfa7000f9da817120b6afa073359789c21a9a790ebd8676c50cca/' /tmp/lang/rust/work/rustc-1.39.0-src/vendor/rand/.cargo-checksum.json.orig > /tmp/lang/rust/work/rustc-1.39.0-src/vendor/rand/.cargo-checksum.json /bin/cp /tmp/lang/rust/work/rustc-1.39.0-src/vendor/rand-0.6.1/.cargo-checksum.json /tmp/lang/rust/work/rustc-1.39.0-src/vendor/rand-0.6.1/.cargo-checksum.json.orig /usr/bin/sed -e 's/1e732c2e3b4bd1561f11e0979bf9d20669a96eae7afe0deff9dfbb980ee47bf1/bc03f2345d7cfa7000f9da817120b6afa073359789c21a9a790ebd8676c50cca/' /tmp/lang/rust/work/rustc-1.39.0-src/vendor/rand-0.6.1/.cargo-checksum.json.orig > /tmp/lang/rust/work/rustc-1.39.0-src/vendor/rand-0.6.1/.cargo-checksum.json /bin/cp /tmp/lang/rust/work/rustc-1.39.0-src/vendor/libc/.cargo-checksum.json /tmp/lang/rust/work/rustc-1.39.0-src/vendor/libc/.cargo-checksum.json.orig /usr/bin/sed -e 's/b715246dd48adf4794e7b6dc2ec166c80561fcae42fa100c62ffca23b624d6fc/efeeb8c29ec9b5c69e643cb9dfdb5d4760b6fc8ca6dec4c641450be95da1b7c3/' /tmp/lang/rust/work/rustc-1.39.0-src/vendor/libc/.cargo-checksum.json.orig > /tmp/lang/rust/work/rustc-1.39.0-src/vendor/libc/.cargo-checksum.json /bin/cp /tmp/lang/rust/work/rustc-1.39.0-src/vendor/backtrace-sys/.cargo-checksum.json /tmp/lang/rust/work/rustc-1.39.0-src/vendor/backtrace-sys/.cargo-checksum.json.orig /usr/bin/sed -e 's/59763fc255248b54fba5d0761d61093a73d51fa4cb400b0df1b5f339b9c2f48a/ba66d192421fd536ceddb50616c4c4aea06f4e39450eb0bc2bbbaed0b1e684c1/' /tmp/lang/rust/work/rustc-1.39.0-src/vendor/backtrace-sys/.cargo-checksum.json.orig > /tmp/lang/rust/work/rustc-1.39.0-src/vendor/backtrace-sys/.cargo-checksum.json /bin/cp /tmp/lang/rust/work/rustc-1.39.0-src/vendor/lzma-sys/.cargo-checksum.json /tmp/lang/rust/work/rustc-1.39.0-src/vendor/lzma-sys/.cargo-checksum.json.orig /usr/bin/sed -e 's/51a9ca7a4576822dc4fa01b31bc4bbed21817777abb304f605ef5951f68c3ed2/807c3aa4b5a62a70ba790df151e9ecf19f4bb562f2858575d690908751262db3/' /tmp/lang/rust/work/rustc-1.39.0-src/vendor/lzma-sys/.cargo-checksum.json.orig > /tmp/lang/rust/work/rustc-1.39.0-src/vendor/lzma-sys/.cargo-checksum.json SDIR=/tmp/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 /amd/pkgsrc/CHROOT/P/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.39.0 => Applying pkgsrc patches for rust-1.39.0 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_bootstrap_bootstrap.py => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/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 185 (offset -11 lines). Hunk #2 succeeded at 287 (offset 7 lines). Hunk #3 succeeded at 628 (offset -1 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_bootstrap_builder.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/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.4 2019/11/12 12:06:04 ryoon Exp $ | |Do not install 'src'. | |--- src/bootstrap/builder.rs.orig 2019-11-04 15:45:21.000000000 +0000 |+++ src/bootstrap/builder.rs -------------------------- Patching file src/bootstrap/builder.rs using Plan A... Hunk #1 succeeded at 465. Hunk #2 succeeded at 970. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_bootstrap_lib.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/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.6 2019/11/11 09:09:11 he 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 757. Hunk #2 succeeded at 767. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_build__helper_lib.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_build__helper_lib.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_build__helper_lib.rs,v 1.1 2019/09/09 16:19:49 adam Exp $ | |On Darwin, do not use @rpath for internal libraries. | |--- src/build_helper/lib.rs.orig 2019-09-06 11:17:24.000000000 +0000 |+++ src/build_helper/lib.rs -------------------------- Patching file src/build_helper/lib.rs using Plan A... Hunk #1 succeeded at 211 (offset -1 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_librustc__codegen__ssa_back_linker.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_librustc__codegen__ssa_back_linker.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_librustc__codegen__ssa_back_linker.rs,v 1.1 2019/09/09 16:19:49 adam Exp $ | |Do not use @rpath on Darwin. | |--- src/librustc_codegen_ssa/back/linker.rs.orig 2019-09-06 11:20:11.000000000 +0000 |+++ src/librustc_codegen_ssa/back/linker.rs -------------------------- Patching file src/librustc_codegen_ssa/back/linker.rs using Plan A... Hunk #1 succeeded at 367 (offset 5 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_librustc__llvm_build.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/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.6 2019/09/19 17:37:29 jperkin Exp $ | |fix build on NetBSD HEAD-llvm. XXX there is probably a better way to do this. | |--- src/librustc_llvm/build.rs.orig 2019-08-13 06:27:22.000000000 +0000 |+++ src/librustc_llvm/build.rs -------------------------- Patching file src/librustc_llvm/build.rs using Plan A... Hunk #1 succeeded at 265 (offset 4 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_librustc__target_spec_solaris__base.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_librustc__target_spec_solaris__base.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_librustc__target_spec_solaris__base.rs,v 1.2 2019/08/29 14:09:57 he Exp $ | |Enable frame pointers on SunOS. | |--- src/librustc_target/spec/solaris_base.rs.orig 2019-08-13 06:27:22.000000000 +0000 |+++ src/librustc_target/spec/solaris_base.rs -------------------------- Patching file src/librustc_target/spec/solaris_base.rs using Plan A... Hunk #1 succeeded at 8. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_librustc__target_spec_x86__64__sun__solaris.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_librustc__target_spec_x86__64__sun__solaris.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_librustc__target_spec_x86__64__sun__solaris.rs,v 1.1 2019/05/31 14:11:23 jperkin Exp $ | |Enable stack probes on SunOS. | |--- src/librustc_target/spec/x86_64_sun_solaris.rs.orig 2019-01-16 09:30:27.000000000 +0000 |+++ src/librustc_target/spec/x86_64_sun_solaris.rs -------------------------- Patching file src/librustc_target/spec/x86_64_sun_solaris.rs using Plan A... Hunk #1 succeeded at 5 (offset -10 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_libstd_build.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/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.5 2019/09/19 17:37:29 jperkin Exp $ | |SunOS support: | - Support PKGSRC_USE_SSP (ugly for now). | - Add libumem support. | - Add libexecinfo for backtrace(). | |--- src/libstd/build.rs.orig 2019-08-13 06:27:22.000000000 +0000 |+++ src/libstd/build.rs -------------------------- Patching file src/libstd/build.rs using Plan A... Hunk #1 succeeded at 16 (offset -2 lines). Hunk #2 succeeded at 26 (offset -2 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_libstd_sys_unix_thread.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/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.5 2019/03/03 09:16:21 he 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 308 (offset 8 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_libunwind_build.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/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.4 2019/11/11 10:28:34 he 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 21. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_CMakeLists.txt => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_llvm-project_llvm_CMakeLists.txt,v 1.1 2019/04/14 12:42:03 he Exp $ | |Don't implement sys/regset.h workaround, fix source instead. | |--- src/llvm-project/llvm/CMakeLists.txt.orig 2018-03-10 02:51:13.000000000 +0000 |+++ src/llvm-project/llvm/CMakeLists.txt -------------------------- Patching file src/llvm-project/llvm/CMakeLists.txt using Plan A... Hunk #1 succeeded at 864 (offset 58 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake,v 1.2 2019/10/02 12:51:43 he Exp $ | |"-z discard-unused" is only supported by Oracle Solaris ld. |On Darwin, use correct install-name for shared libraries. | |--- src/llvm-project/llvm/cmake/modules/AddLLVM.cmake.orig 2018-08-01 16:32:37.000000000 +0000 |+++ src/llvm-project/llvm/cmake/modules/AddLLVM.cmake -------------------------- Patching file src/llvm-project/llvm/cmake/modules/AddLLVM.cmake using Plan A... Hunk #1 succeeded at 223. Hunk #2 succeeded at 1725. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_include_llvm-c_DataTypes.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_llvm-project_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-project_llvm_include_llvm-c_DataTypes.h,v 1.1 2019/04/14 12:42:03 he Exp $ | |Don't implement sys/regset.h workaround, fix source instead. | |--- src/llvm-project/llvm/include/llvm-c/DataTypes.h.orig 2018-08-01 16:32:37.000000000 +0000 |+++ src/llvm-project/llvm/include/llvm-c/DataTypes.h -------------------------- Patching file src/llvm-project/llvm/include/llvm-c/DataTypes.h using Plan A... Hunk #1 succeeded at 87. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_include_llvm_Analysis_ConstantFolding.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_llvm-project_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-project_llvm_include_llvm_Analysis_ConstantFolding.h,v 1.1 2019/04/14 12:42:03 he Exp $ | |Fix SunOS CS conflict not handled by include/llvm-c/DataTypes.h | |--- src/llvm-project/llvm/include/llvm/Analysis/ConstantFolding.h.orig 2018-08-01 16:32:37.000000000 +0000 |+++ src/llvm-project/llvm/include/llvm/Analysis/ConstantFolding.h -------------------------- Patching file src/llvm-project/llvm/include/llvm/Analysis/ConstantFolding.h using Plan A... Hunk #1 succeeded at 19 (offset -1 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp,v 1.2 2019/10/02 12:51:43 he Exp $ | |Avoid ambiguous function call. | |--- src/llvm-project/llvm/utils/FileCheck/FileCheck.cpp.orig 2019-02-12 15:22:48.000000000 +0000 |+++ src/llvm-project/llvm/utils/FileCheck/FileCheck.cpp -------------------------- Patching file src/llvm-project/llvm/utils/FileCheck/FileCheck.cpp using Plan A... Hunk #1 succeeded at 406. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_tools_cargo_src_cargo_core_profiles.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/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.3 2019/03/07 20:19:11 jperkin 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 483 (offset 25 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_tools_cargo_tests_testsuite_build.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/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.5 2019/08/29 14:09:57 he 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 2019-08-13 06:27:40.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 36 (offset -2 lines). Hunk #2 succeeded at 59 (offset -2 lines). Hunk #3 succeeded at 102 (offset -2 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_tools_rls_rls_src_cmd.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_tools_rls_rls_src_cmd.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_tools_rls_rls_src_cmd.rs,v 1.1 2019/04/14 12:42:03 he Exp $ | |Use 32-bit atomic instead of 64-bit; latter may not be available on |32-bit platforms (powerpc, earmv7). | |--- src/tools/rls/rls/src/cmd.rs.orig 2019-04-10 18:46:16.000000000 +0000 |+++ src/tools/rls/rls/src/cmd.rs -------------------------- Patching file src/tools/rls/rls/src/cmd.rs using Plan A... Hunk #1 succeeded at 7 (offset -10 lines). Hunk #2 succeeded at 326 (offset 3 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_tools_rls_rls_src_server_io.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_tools_rls_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_rls_src_server_io.rs,v 1.2 2019/05/31 14:11:23 jperkin Exp $ | |Use 32-bit atomic instead of 64-bit; latter may not be available on |32-bit platforms (powerpc, earmv7). | |--- src/tools/rls/rls/src/server/io.rs.orig 2019-05-20 12:10:32.000000000 +0000 |+++ src/tools/rls/rls/src/server/io.rs -------------------------- Patching file src/tools/rls/rls/src/server/io.rs using Plan A... Hunk #1 succeeded at 7. Hunk #2 succeeded at 171. Hunk #3 succeeded at 194. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_tools_rust-installer_install-template.sh => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/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 /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_vendor_rand-0.6.1_src_rngs_os.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_vendor_rand-0.6.1_src_rngs_os.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_vendor_rand-0.6.1_src_rngs_os.rs,v 1.1 2019/10/02 12:51:43 he Exp $ | |-Explicitly disable getrandom support on SunOS, the test fails. |-https://github.com/rust-random/rand/issues/637 | |The rand implementation for NetBSD drains a byte from /dev/random on every |rustc invocation, with the intent to ensure /dev/urandom is seeded. |This is inappropriate; seeding the rng should be handled by rc.d scripts only. |The result is that rustc eventually blocks for very long times when generating |temp file names, causing the lang/rust build to take days(!) in some cases. |The fix is to delete the NetBSD specific implementation and instead use the |FreeBSD implementation which relies on the kern.arandom sysctl instead of |/dev/{u,}random. |The bootstrap compiler of course has the same issue so I will raise a PR |with upstream authors to address this. | |--- vendor/rand-0.6.1/src/rngs/os.rs.orig 2019-09-23 23:15:03.000000000 +0000 |+++ vendor/rand-0.6.1/src/rngs/os.rs -------------------------- Patching file vendor/rand-0.6.1/src/rngs/os.rs using Plan A... Hunk #1 succeeded at 246. Hunk #2 succeeded at 487. Hunk #3 succeeded at 627. Hunk #4 succeeded at 775. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_backtrace-sys_src_libbacktrace_configure => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_backtrace-sys_src_libbacktrace_configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_backtrace-sys_src_libbacktrace_configure,v 1.1 2019/03/03 09:16:21 he Exp $ | |Use pkgsrc libtool. | |--- vendor/backtrace-sys/src/libbacktrace/configure.orig 2019-02-28 10:22:21.000000000 +0000 |+++ vendor/backtrace-sys/src/libbacktrace/configure -------------------------- Patching file vendor/backtrace-sys/src/libbacktrace/configure using Plan A... Hunk #1 succeeded at 7352. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_libc_src_unix_solarish_mod.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_libc_src_unix_solarish_mod.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_libc_src_unix_solarish_mod.rs,v 1.1 2019/05/31 14:11:23 jperkin Exp $ | |Fix xattr build. | |--- vendor/libc/src/unix/solarish/mod.rs.orig 2019-05-20 13:47:24.000000000 +0000 |+++ vendor/libc/src/unix/solarish/mod.rs -------------------------- Patching file vendor/libc/src/unix/solarish/mod.rs using Plan A... Hunk #1 succeeded at 1051 (offset 70 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_lzma-sys_config.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_lzma-sys_config.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_lzma-sys_config.h,v 1.1 2019/10/28 00:42:21 jperkin Exp $ | |Fix SunOS builds with newer compilers. | |--- vendor/lzma-sys/config.h.orig 2019-09-23 23:15:03.000000000 +0000 |+++ vendor/lzma-sys/config.h -------------------------- Patching file vendor/lzma-sys/config.h using Plan A... Hunk #1 succeeded at 35. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_rand__os_src_netbsd.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_rand__os_src_netbsd.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_rand__os_src_netbsd.rs,v 1.1 2019/10/02 12:51:43 he Exp $ | |Use the FreeBSD implementation on NetBSD instead of the |one using /dev/urandom. | |The rand implementation for NetBSD drains a byte from /dev/random on every |rustc invocation, with the intent to ensure /dev/urandom is seeded. |This is inappropriate; seeding the rng should be handled by rc.d scripts only. |The result is that rustc eventually blocks for very long times when generating |temp file names, causing the lang/rust build to take days(!) in some cases. |The fix is to delete the NetBSD specific implementation and instead use the |FreeBSD implementation which relies on the kern.arandom sysctl instead of |/dev/{u,}random. |The bootstrap compiler of course has the same issue so I will raise a PR |with upstream authors to address this. | |--- vendor/rand_os/src/netbsd.rs.orig 2019-09-28 20:13:53.155901674 +0000 |+++ vendor/rand_os/src/netbsd.rs -------------------------- Patching file vendor/rand_os/src/netbsd.rs using Plan A... Hunk #1 succeeded at 6. done ===> Creating toolchain wrappers for rust-1.39.0 ===> Configuring for rust-1.39.0 => Substituting "rpath" in src/bootstrap/bin/rustc.rs src/build_helper/lib.rs src/librustc_codegen_ssa/back/linker.rs src/bootstrap/builder.rs INFO: [subst.mk:rpath] Nothing changed in ./src/bootstrap/bin/rustc.rs. => Checking for portability problems in extracted files configure: processing command line configure: configure: rust.dist-src := False configure: llvm.link-shared := True 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: target.x86_64-unknown-netbsd.llvm-config := /usr/pkg/bin/llvm-config configure: install.prefix := /usr/pkg configure: build.rustc := /tmp/lang/rust/work/rust-bootstrap/bin/rustc configure: build.cargo := /tmp/lang/rust/work/rust-bootstrap/bin/cargo 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 /tmp/lang/rust/work/rustc-1.39.0-src/x.py --help` configure: => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp