=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for rust-1.78.0-x86_64-unknown-netbsd.tar.xz => Checksum SHA512 OK for rust-1.78.0-x86_64-unknown-netbsd.tar.xz => Checksum BLAKE2s OK for rust-std-1.78.0-x86_64-unknown-netbsd.tar.xz => Checksum SHA512 OK for rust-std-1.78.0-x86_64-unknown-netbsd.tar.xz => Checksum BLAKE2s OK for rustc-1.79.0-src.tar.gz => Checksum SHA512 OK for rustc-1.79.0-src.tar.gz ===> Installing dependencies for rust-1.79.0 ========================================================================== The supported build options for rust are: rust-cargo-static rust-docs rust-internal-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.79.0. Their current value is shown below: * BDB185_DEFAULT = db1 * BDB_DEFAULT = db4 * KRB5_DEFAULT = heimdal * PYTHON_VERSION_DEFAULT = 312 * SSLBASE = /usr * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private * TERMINFO_DEFAULT = terminfo Based on these variables, the following variables have been set: * BDBBASE = /usr * BDB_LIBS (defined, but empty) * BDB_TYPE = db1 * KRB5BASE (defined, but empty) * KRB5_TYPE = heimdal * PYPACKAGE = python312 * TERMINFO_TYPE = terminfo You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency cmake-[0-9]*: found cmake-3.30.2 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency bash-[0-9]*: found bash-5.2.26nb1 => Tool dependency gmake>=3.81: found gmake-4.4.1 => Tool dependency gtar-base>=1.13.25: found gtar-base-1.35 => Tool dependency perl>=5.0: found perl-5.38.2 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cmake>=2.8.5nb1: found cmake-3.30.2 => Build dependency python312>=3.12.0: found python312-3.12.5 => Full dependency libunwind>=18.0.0: found libunwind-18.1.8 => Full dependency llvm>=18.0.0: found llvm-18.1.8 => Full dependency curl>=8.7.1nb1: found curl-8.9.1nb1 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for rust-1.79.0 ===> Extracting for rust-1.79.0 set -e; if test -e /tmp/lang/rust/work/rust-1.78.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.78.0-x86_64-unknown-netbsd; env CARGO_BUILD_JOBS=4 USETOOLS=no LZMA_API_STATIC=1 PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr PYTHON=/usr/pkg/bin/python3.12 CC=gcc CFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/krb5\ -I/usr/pkg/include/python3.12 CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/krb5\ -I/usr/pkg/include/python3.12 CXX=c++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/krb5\ -I/usr/pkg/include/python3.12 COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/tmp/lang/rust/work/.cwrapper/bin:/tmp/lang/rust/work/.buildlink/bin:/tmp/lang/rust/work/.gcc/bin:/tmp/lang/rust/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/tmp/lang/rust/work/.home CWRAPPERS_CONFIG_DIR=/tmp/lang/rust/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no LIBTOOL="/tmp/lang/rust/work/.cwrapper/bin/libtool " BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ wheel\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/lang/rust/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/lang/rust/work/.tools/bin/itstool GDBUS_CODEGEN=/tmp/lang/rust/work/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/lang/rust/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/lang/rust/work/.buildlink/lib/pkgconfig:/tmp/lang/rust/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/lang/rust/work/.pkg-config.log PKG_CONFIG_PATH= KRB5_CONFIG=/usr/pkg/bin/krb5-config CWRAPPERS_CONFIG_DIR=/tmp/lang/rust/work/.cwrapper/config /usr/pkg/bin/bash ./install.sh --prefix=/tmp/lang/rust/work/rust-bootstrap; cd /tmp/lang/rust/work/rust-std-1.78.0-x86_64-unknown-netbsd; env CARGO_BUILD_JOBS=4 USETOOLS=no LZMA_API_STATIC=1 PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr PYTHON=/usr/pkg/bin/python3.12 CC=gcc CFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/krb5\ -I/usr/pkg/include/python3.12 CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/krb5\ -I/usr/pkg/include/python3.12 CXX=c++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/krb5\ -I/usr/pkg/include/python3.12 COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/tmp/lang/rust/work/.cwrapper/bin:/tmp/lang/rust/work/.buildlink/bin:/tmp/lang/rust/work/.gcc/bin:/tmp/lang/rust/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/tmp/lang/rust/work/.home CWRAPPERS_CONFIG_DIR=/tmp/lang/rust/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no LIBTOOL="/tmp/lang/rust/work/.cwrapper/bin/libtool " BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ wheel\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/lang/rust/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/lang/rust/work/.tools/bin/itstool GDBUS_CODEGEN=/tmp/lang/rust/work/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/lang/rust/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/lang/rust/work/.buildlink/lib/pkgconfig:/tmp/lang/rust/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/lang/rust/work/.pkg-config.log PKG_CONFIG_PATH= KRB5_CONFIG=/usr/pkg/bin/krb5-config CWRAPPERS_CONFIG_DIR=/tmp/lang/rust/work/.cwrapper/config /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 'rust-std-x86_64-unknown-netbsd' install: installing component 'rust-demangler-preview' install: installing component 'cargo' install: installing component 'rustfmt-preview' install: installing component 'rls-preview' install: installing component 'rust-analyzer-preview' install: installing component 'llvm-tools-preview' install: installing component 'clippy-preview' install: installing component 'rust-analysis-x86_64-unknown-netbsd' rust installed. 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' rust std installed. 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/rm -f ar-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; /bin/ln -s gcc-wrap ar-wrap ===> Patching for rust-1.79.0 => Applying pkgsrc patches for rust-1.79.0 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-compiler_rustc__codegen__ssa_src_back_linker.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-compiler_rustc__codegen__ssa_src_back_linker.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-compiler_rustc__codegen__ssa_src_back_linker.rs,v 1.17 2024/07/27 02:35:24 tnn Exp $ | |Do not use @rpath on Darwin. |Find external libunwind on Linux. | |--- compiler/rustc_codegen_ssa/src/back/linker.rs.orig 2006-07-24 01:21:28.000000000 +0000 |+++ compiler/rustc_codegen_ssa/src/back/linker.rs -------------------------- Patching file compiler/rustc_codegen_ssa/src/back/linker.rs using Plan A... Hunk #1 succeeded at 312. Hunk #2 succeeded at 462. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-compiler_rustc__llvm_build.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-compiler_rustc__llvm_build.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-compiler_rustc__llvm_build.rs,v 1.17 2024/04/18 09:29:42 pin Exp $ | |Fix build on NetBSD HEAD-llvm. XXX there is probably a better way to do this. | |Pick up -latomic tweak from |https://github.com/rust-lang/rust/issues/104220 |and |https://github.com/rust-lang/rust/pull/104572 | |--- compiler/rustc_llvm/build.rs.orig 2023-10-03 02:52:17.000000000 +0000 |+++ compiler/rustc_llvm/build.rs -------------------------- Patching file compiler/rustc_llvm/build.rs using Plan A... Hunk #1 succeeded at 237 (offset -12 lines). Hunk #2 succeeded at 253 (offset -12 lines). Hunk #3 succeeded at 348 (offset -12 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_base_netbsd.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_base_netbsd.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-compiler_rustc__target_src_spec_base_netbsd.rs,v 1.3 2024/07/15 03:32:23 wiz Exp $ | |For the benefit of powerpc, when libatomic-links is installed, |search the directory containing the symlinks to -latomic. | |--- compiler/rustc_target/src/spec/base/netbsd.rs.orig 2024-01-06 19:57:14.887897867 +0000 |+++ compiler/rustc_target/src/spec/base/netbsd.rs -------------------------- Patching file compiler/rustc_target/src/spec/base/netbsd.rs using Plan A... Hunk #1 succeeded at 1. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_mod.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_mod.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-compiler_rustc__target_src_spec_mod.rs,v 1.17 2024/04/18 09:29:42 pin Exp $ | |Add entry for NetBSD/mips64el. | |--- compiler/rustc_target/src/spec/mod.rs.orig 2024-01-13 14:20:59.236278792 +0000 |+++ compiler/rustc_target/src/spec/mod.rs -------------------------- Patching file compiler/rustc_target/src/spec/mod.rs using Plan A... Hunk #1 succeeded at 1581 (offset 49 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_targets_aarch64__be__unknown__netbsd.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_targets_aarch64__be__unknown__netbsd.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-compiler_rustc__target_src_spec_targets_aarch64__be__unknown__netbsd.rs,v 1.1 2024/07/31 08:05:50 he Exp $ | |NetBSD aarch64 has a bug in the thread-local storage implementation, |ref. PR#58154. Turn it off for now. |Ideally should check whether the version has the fix or not, but |e.g. __NetBSD_Version__ isn't easily available here that I know... | |--- compiler/rustc_target/src/spec/targets/aarch64_be_unknown_netbsd.rs.orig 2024-07-23 19:21:34.344805113 +0000 |+++ compiler/rustc_target/src/spec/targets/aarch64_be_unknown_netbsd.rs -------------------------- Patching file compiler/rustc_target/src/spec/targets/aarch64_be_unknown_netbsd.rs using Plan A... Hunk #1 succeeded at 18. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_targets_aarch64__unknown__netbsd.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_targets_aarch64__unknown__netbsd.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-compiler_rustc__target_src_spec_targets_aarch64__unknown__netbsd.rs,v 1.1 2024/07/31 08:05:50 he Exp $ | |NetBSD aarch64 has a bug in the thread-local storage implementation, |ref. PR#58154. Turn it off for now. |Ideally should check whether the version has the fix or not, but |e.g. __NetBSD_Version__ isn't easily available here that I know... | |--- compiler/rustc_target/src/spec/targets/aarch64_unknown_netbsd.rs.orig 2024-07-23 19:18:44.116841966 +0000 |+++ compiler/rustc_target/src/spec/targets/aarch64_unknown_netbsd.rs -------------------------- Patching file compiler/rustc_target/src/spec/targets/aarch64_unknown_netbsd.rs using Plan A... Hunk #1 succeeded at 17. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_targets_mips64el__unknown__netbsd.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_targets_mips64el__unknown__netbsd.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-compiler_rustc__target_src_spec_targets_mips64el__unknown__netbsd.rs,v 1.3 2024/07/15 03:32:23 wiz Exp $ | |Provide a mips64el target with N32, suitable for NetBSD/mips64el. | |--- compiler/rustc_target/src/spec/targets/mips64el_unknown_netbsd.rs.orig 2024-01-13 14:16:30.122042614 +0000 |+++ compiler/rustc_target/src/spec/targets/mips64el_unknown_netbsd.rs -------------------------- (Creating file compiler/rustc_target/src/spec/targets/mips64el_unknown_netbsd.rs...) Patching file compiler/rustc_target/src/spec/targets/mips64el_unknown_netbsd.rs using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_targets_sparc64__unknown__netbsd.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_targets_sparc64__unknown__netbsd.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-compiler_rustc__target_src_spec_targets_sparc64__unknown__netbsd.rs,v 1.1 2024/07/31 08:05:50 he Exp $ | |Make more similar to other sparc64 target specs. | |--- compiler/rustc_target/src/spec/targets/sparc64_unknown_netbsd.rs.orig 2006-07-24 01:21:28.000000000 +0000 |+++ compiler/rustc_target/src/spec/targets/sparc64_unknown_netbsd.rs -------------------------- Patching file compiler/rustc_target/src/spec/targets/sparc64_unknown_netbsd.rs using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 20. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-library_backtrace_src_symbolize_gimli.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-library_backtrace_src_symbolize_gimli.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-library_backtrace_src_symbolize_gimli.rs,v 1.6 2024/04/18 09:29:42 pin Exp $ | |Add NetBSD to the family who is in the unix class. | |--- library/backtrace/src/symbolize/gimli.rs.orig 2022-04-04 09:41:26.000000000 +0000 |+++ library/backtrace/src/symbolize/gimli.rs -------------------------- Patching file library/backtrace/src/symbolize/gimli.rs using Plan A... Hunk #1 succeeded at 39 (offset 1 line). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-library_backtrace_src_symbolize_gimli_elf.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-library_backtrace_src_symbolize_gimli_elf.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-library_backtrace_src_symbolize_gimli_elf.rs,v 1.8 2024/04/18 09:29:42 pin Exp $ | |Make NetBSD also find its debug libraries, if present. | |--- library/backtrace/src/symbolize/gimli/elf.rs.orig 2022-04-04 09:41:26.000000000 +0000 |+++ library/backtrace/src/symbolize/gimli/elf.rs -------------------------- Patching file library/backtrace/src/symbolize/gimli/elf.rs using Plan A... Hunk #1 succeeded at 304. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-library_std_src_sys_pal_unix_mod.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-library_std_src_sys_pal_unix_mod.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-library_std_src_sys_pal_unix_mod.rs,v 1.1 2024/07/15 03:32:23 wiz Exp $ | |Add libexecinfo for backtrace() on NetBSD. | |--- library/std/src/sys/pal/unix/mod.rs.orig 2024-03-22 12:47:54.470537834 +0000 |+++ library/std/src/sys/pal/unix/mod.rs -------------------------- Patching file library/std/src/sys/pal/unix/mod.rs using Plan A... Hunk #1 succeeded at 382 (offset -2 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-library_std_src_sys_pal_unix_thread__parking_netbsd.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-library_std_src_sys_pal_unix_thread__parking_netbsd.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-library_std_src_sys_pal_unix_thread__parking_netbsd.rs,v 1.1 2024/07/15 03:32:23 wiz Exp $ | |Try to cast to make this build, to avoid | |error[E0277]: the trait bound `i32: core::convert::From` is not satisfied | --> library/std/src/sys/unix/thread_parking/netbsd.rs:37:37 | | |37 | tv_nsec: dur.subsec_nanos().into(), | | ^^^^ the trait `core::convert::From` is not implemented for `i32` | | | = help: the following other types implement trait `core::convert::From`: | > | > | > | > | > | > | = note: required for `u32` to implement `core::convert::Into` | |For more information about this error, try `rustc --explain E0277`. | |This to un-break the 32-bit ports ... again. | |--- library/std/src/sys/pal/unix/thread_parking/netbsd.rs.orig 2024-03-22 14:07:26.254534488 +0000 |+++ library/std/src/sys/pal/unix/thread_parking/netbsd.rs -------------------------- Patching file library/std/src/sys/pal/unix/thread_parking/netbsd.rs using Plan A... Hunk #1 succeeded at 34. done => 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.23 2024/04/18 09:29:42 pin Exp $ | |Use `uname -p` on NetBSD, as that is reliable and sensible there. |Handle earmv[67]hf for NetBSD. |Also use @PREFIX@ and not $ORIGIN in rpath. | |--- src/bootstrap/bootstrap.py.orig 2023-07-12 03:32:40.000000000 +0000 |+++ src/bootstrap/bootstrap.py -------------------------- Patching file src/bootstrap/bootstrap.py using Plan A... Hunk #1 succeeded at 271. Hunk #2 succeeded at 379. Hunk #3 succeeded at 738 (offset -8 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_bootstrap_src_core_build__steps_compile.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_bootstrap_src_core_build__steps_compile.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_bootstrap_src_core_build__steps_compile.rs,v 1.2 2024/04/18 09:29:42 pin Exp $ | |On Darwin, do not use @rpath for internal libraries. | |--- src/bootstrap/src/core/build_steps/compile.rs.orig 2024-01-06 20:42:20.028206400 +0000 |+++ src/bootstrap/src/core/build_steps/compile.rs -------------------------- Patching file src/bootstrap/src/core/build_steps/compile.rs using Plan A... Hunk #1 succeeded at 694 (offset 68 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_bootstrap_src_core_build__steps_install.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_bootstrap_src_core_build__steps_install.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_bootstrap_src_core_build__steps_install.rs,v 1.1 2024/07/15 03:32:23 wiz Exp $ | |--- src/bootstrap/src/core/build_steps/install.rs.orig 2006-07-24 01:21:28.000000000 +0000 |+++ src/bootstrap/src/core/build_steps/install.rs -------------------------- Patching file src/bootstrap/src/core/build_steps/install.rs using Plan A... Hunk #1 succeeded at 200. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_bootstrap_src_core_builder.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_bootstrap_src_core_builder.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_bootstrap_src_core_builder.rs,v 1.5 2024/07/27 02:35:24 tnn Exp $ | |Find external libunwind on Linux. |Use @PREFIX@, not $ORIGIN in rpath. | |--- src/bootstrap/src/core/builder.rs.orig 2006-07-24 01:21:28.000000000 +0000 |+++ src/bootstrap/src/core/builder.rs -------------------------- Patching file src/bootstrap/src/core/builder.rs using Plan A... Hunk #1 succeeded at 2149. Hunk #2 succeeded at 2518. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_bootstrap_src_lib.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-src_bootstrap_src_lib.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_bootstrap_src_lib.rs,v 1.2 2024/04/18 09:29:42 pin Exp $ | |Don't filter out optimization flags. |FreeBSD has a particular C++ runtime library name | |--- src/bootstrap/src/lib.rs.orig 2024-01-06 20:52:50.892941220 +0000 |+++ src/bootstrap/src/lib.rs -------------------------- Patching file src/bootstrap/src/lib.rs using Plan A... Hunk #1 succeeded at 1252 (offset 57 lines). 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.14 2024/04/18 09:29:42 pin 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 1154 (offset 215 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.15 2024/04/18 09:29:42 pin Exp $ | |On Darwin, use correct install-name for shared libraries. | |Undo some of the RPATH magic so that cross-building |works inside pkgsrc again (indirectly eliminates $ORIGIN rpath |handling / editing, $ORIGIN handling is partially undone by cwrappers |in pkgsrc). | |--- src/llvm-project/llvm/cmake/modules/AddLLVM.cmake.orig 2023-07-12 03:33:01.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 2374 (offset 63 lines). Hunk #2 succeeded at 2383 (offset 63 lines). Hunk #3 succeeded at 2397 (offset 63 lines). 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.8 2024/04/18 09:29:42 pin Exp $ | |Don't implement sys/regset.h workaround, fix source instead. | |--- src/llvm-project/llvm/include/llvm-c/DataTypes.h.orig 2021-04-17 01:50: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 77. 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.10 2024/04/18 09:29:42 pin 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. 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.13 2024/04/18 09:29:42 pin 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 595 (offset 3 lines). 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.17 2024/04/18 09:29:42 pin 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 2023-07-12 03:33:05.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 710 (offset 29 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.14 2024/04/18 09:29:42 pin 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 99 (offset 52 lines). Hunk #2 succeeded at 122 (offset 52 lines). Hunk #3 succeeded at 114 (offset 1 line). 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.14 2024/04/18 09:29:42 pin Exp $ | |No logging to 'install.log'. |Do not create 'uninstall.sh'. |Do not make file backups (filename.old), so these will not end up in the final package. | |Rewrite to not use a whole lot of subprocesses just for doing |pattern matching and substitution in the install phase using "grep" |and "sed" when shell builtin "case" and "omit shortest match" ops |should do just fine. | |--- src/tools/rust-installer/install-template.sh.orig 2023-12-21 16:55:28.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 6. Hunk #2 succeeded at 425. Hunk #3 succeeded at 533. Hunk #4 succeeded at 543. Hunk #5 succeeded at 571. Hunk #6 succeeded at 598. Hunk #7 succeeded at 620. Hunk #8 succeeded at 968. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_cc-1.0.73_src_lib.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_cc-1.0.73_src_lib.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_cc-1.0.73_src_lib.rs,v 1.4 2024/04/18 09:29:42 pin Exp $ | |Use correct ABI on NetBSD/riscv64. | |--- vendor/cc-1.0.73/src/lib.rs.orig 2023-05-31 21:44:47.000000000 +0000 |+++ vendor/cc-1.0.73/src/lib.rs -------------------------- Patching file vendor/cc-1.0.73/src/lib.rs using Plan A... Hunk #1 succeeded at 1830. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_crossbeam-utils-0.8.18_no__atomic.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_crossbeam-utils-0.8.18_no__atomic.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_crossbeam-utils-0.8.18_no__atomic.rs,v 1.1 2024/07/15 03:32:23 wiz Exp $ | |Add NetBSD/mipsel to non-atomic targets. | |--- vendor/crossbeam-utils-0.8.18/no_atomic.rs.orig 2024-05-03 22:53:42.558166596 +0000 |+++ vendor/crossbeam-utils-0.8.18/no_atomic.rs -------------------------- Patching file vendor/crossbeam-utils-0.8.18/no_atomic.rs using Plan A... Hunk #1 succeeded at 5. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.148_src_unix_bsd_netbsdlike_netbsd_mips.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.148_src_unix_bsd_netbsdlike_netbsd_mips.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_libc-0.2.148_src_unix_bsd_netbsdlike_netbsd_mips.rs,v 1.1 2024/07/15 03:32:24 wiz Exp $ | |Add entry for NetBSD/mips. | |--- vendor/libc-0.2.148/src/unix/bsd/netbsdlike/netbsd/mips.rs.orig 2024-01-06 21:03:21.781003759 +0000 |+++ vendor/libc-0.2.148/src/unix/bsd/netbsdlike/netbsd/mips.rs 2024-01-06 22:27:31.830676317 +0000 -------------------------- (Creating file vendor/libc-0.2.148/src/unix/bsd/netbsdlike/netbsd/mips.rs...) Patching file vendor/libc-0.2.148/src/unix/bsd/netbsdlike/netbsd/mips.rs using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.148_src_unix_bsd_netbsdlike_netbsd_riscv64.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.148_src_unix_bsd_netbsdlike_netbsd_riscv64.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_libc-0.2.148_src_unix_bsd_netbsdlike_netbsd_riscv64.rs,v 1.2 2024/04/18 09:29:42 pin Exp $ | |Add support for NetBSD/riscv64. | |--- vendor/libc-0.2.148/src/unix/bsd/netbsdlike/netbsd/riscv64.rs.orig 2024-01-06 21:03:21.781003759 +0000 |+++ vendor/libc-0.2.148/src/unix/bsd/netbsdlike/netbsd/riscv64.rs 2024-01-06 22:31:25.289387359 +0000 -------------------------- (Creating file vendor/libc-0.2.148/src/unix/bsd/netbsdlike/netbsd/riscv64.rs...) Patching file vendor/libc-0.2.148/src/unix/bsd/netbsdlike/netbsd/riscv64.rs using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.151_src_unix_solarish_mod.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.151_src_unix_solarish_mod.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_libc-0.2.151_src_unix_solarish_mod.rs,v 1.1 2024/07/15 03:32:24 wiz Exp $ | |Fix xattr build. | |--- vendor/libc-0.2.151/src/unix/solarish/mod.rs.orig 2024-05-03 23:00:56.855657239 +0000 |+++ vendor/libc-0.2.151/src/unix/solarish/mod.rs -------------------------- Patching file vendor/libc-0.2.151/src/unix/solarish/mod.rs using Plan A... Hunk #1 succeeded at 1523. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_openssl-src-111.28.1+1.1.1w_openssl_Configurations_10-main.conf => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_openssl-src-111.28.1+1.1.1w_openssl_Configurations_10-main.conf Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_openssl-src-111.28.1+1.1.1w_openssl_Configurations_10-main.conf,v 1.1 2024/07/31 08:05:50 he Exp $ | |Replicate part of |https://github.com/openssl/openssl/pull/15086 | |--- vendor/openssl-src-111.28.1+1.1.1w/openssl/Configurations/10-main.conf.orig 2006-07-24 01:21:28.000000000 +0000 |+++ vendor/openssl-src-111.28.1+1.1.1w/openssl/Configurations/10-main.conf -------------------------- Patching file vendor/openssl-src-111.28.1+1.1.1w/openssl/Configurations/10-main.conf using Plan A... Hunk #1 succeeded at 950. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_openssl-src-111.28.1+1.1.1w_src_lib.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_openssl-src-111.28.1+1.1.1w_src_lib.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_openssl-src-111.28.1+1.1.1w_src_lib.rs,v 1.1 2024/07/31 08:05:50 he Exp $ | |Provide defaults for the various NetBSD targets. | |--- vendor/openssl-src-111.28.1+1.1.1w/src/lib.rs.orig 2006-07-24 01:21:28.000000000 +0000 |+++ vendor/openssl-src-111.28.1+1.1.1w/src/lib.rs -------------------------- Patching file vendor/openssl-src-111.28.1+1.1.1w/src/lib.rs using Plan A... Hunk #1 succeeded at 239. Hunk #2 succeeded at 251. Hunk #3 succeeded at 269. Hunk #4 succeeded at 279. Hunk #5 succeeded at 291. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.102_build_find__normal.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.102_build_find__normal.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_openssl-sys-0.9.102_build_find__normal.rs,v 1.1 2024/07/31 08:05:51 he Exp $ | |Add hack for Darwin when homebrew is installed. | |--- vendor/openssl-sys-0.9.102/build/find_normal.rs.orig 2006-07-24 01:21:28.000000000 +0000 |+++ vendor/openssl-sys-0.9.102/build/find_normal.rs -------------------------- Patching file vendor/openssl-sys-0.9.102/build/find_normal.rs using Plan A... Hunk #1 succeeded at 72. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.102_build_main.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.102_build_main.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_openssl-sys-0.9.102_build_main.rs,v 1.1 2024/07/31 08:05:51 he Exp $ | |Patterned after Linux and Android, on 32-bit NetBSD ports |include -latomic. Parts of this inspired by |https://github.com/sfackler/rust-openssl/commit/a0a1d1d29263abb7c47fc2e58cef8dab13762a45 | |--- vendor/openssl-sys-0.9.102/build/main.rs.orig 2006-07-24 01:21:28.000000000 +0000 |+++ vendor/openssl-sys-0.9.102/build/main.rs -------------------------- Patching file vendor/openssl-sys-0.9.102/build/main.rs using Plan A... Hunk #1 succeeded at 142. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.92_build_find__normal.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.92_build_find__normal.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_openssl-sys-0.9.92_build_find__normal.rs,v 1.1 2024/07/31 08:05:51 he Exp $ | |Add hack for Darwin when homebrew is installed. | |--- vendor/openssl-sys-0.9.92/build/find_normal.rs.orig 2006-07-24 01:21:28.000000000 +0000 |+++ vendor/openssl-sys-0.9.92/build/find_normal.rs -------------------------- Patching file vendor/openssl-sys-0.9.92/build/find_normal.rs using Plan A... Hunk #1 succeeded at 72. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.92_build_main.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.92_build_main.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_openssl-sys-0.9.92_build_main.rs,v 1.1 2024/07/31 08:05:51 he Exp $ | |Patterned after Linux and Android, on 32-bit NetBSD ports |include -latomic. Parts of this inspired by |https://github.com/sfackler/rust-openssl/commit/a0a1d1d29263abb7c47fc2e58cef8dab13762a45 | |--- vendor/openssl-sys-0.9.92/build/main.rs.orig 2006-07-24 01:21:28.000000000 +0000 |+++ vendor/openssl-sys-0.9.92/build/main.rs -------------------------- Patching file vendor/openssl-sys-0.9.92/build/main.rs using Plan A... Hunk #1 succeeded at 115. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_rustc-ap-rustc__target_src_spec_aarch64__be__unknown__netbsd.rs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/rust/patches/patch-vendor_rustc-ap-rustc__target_src_spec_aarch64__be__unknown__netbsd.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_rustc-ap-rustc__target_src_spec_aarch64__be__unknown__netbsd.rs,v 1.9 2024/04/18 09:29:43 pin Exp $ | |Add aarch64_be NetBSD target. | |--- /dev/null 2021-04-26 00:02:43.147970692 +0200 |+++ vendor/rustc-ap-rustc_target/src/spec/aarch64_be_unknown_netbsd.rs 2021-04-26 00:07:44.657579025 +0200 -------------------------- (Creating file vendor/rustc-ap-rustc_target/src/spec/aarch64_be_unknown_netbsd.rs...) Patching file vendor/rustc-ap-rustc_target/src/spec/aarch64_be_unknown_netbsd.rs using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done ===> Creating toolchain wrappers for rust-1.79.0 ===> Configuring for rust-1.79.0 => Substituting "cksum" in vendor/libc-0.2.151/.cargo-checksum.json vendor/cc-1.0.73/.cargo-checksum.json vendor/crossbeam-utils-0.8.18/.cargo-checksum.json vendor/openssl-sys-0.9.92/.cargo-checksum.json vendor/openssl-src-111.28.1+1.1.1w/.cargo-checksum.json => Substituting "prefix" in compiler/rustc_codegen_ssa/src/back/linker.rs compiler/rustc_target/src/spec/base/netbsd.rs src/bootstrap/src/core/build_steps/compile.rs src/bootstrap/src/core/builder.rs src/bootstrap/bootstrap.py /bin/rm -rf /tmp/lang/rust/work/.buildlink/include/libssh2* => Generating pkg-config files for builtin xz package. => Checking for portability problems in extracted files configure: processing command line configure: configure: build.configure-args := ['--prefix=/usr/pkg', '--mandir=/usr/pkg/man', ... configure: install.prefix := /usr/pkg configure: install.mandir := /usr/pkg/man configure: install.sysconfdir := /usr/pkg/etc configure: build.python := /usr/pkg/bin/python3.12 configure: rust.channel := stable configure: build.rustc := /tmp/lang/rust/work/rust-bootstrap/bin/rustc configure: build.cargo := /tmp/lang/rust/work/rust-bootstrap/bin/cargo configure: build.extended := True configure: rust.rpath := True configure: rust.codegen-tests := False configure: build.compiler-docs := False configure: llvm.static-libstdcpp := False configure: llvm.ninja := False configure: dist.compression-formats := ['xz'] configure: build.vendor := True configure: llvm.link-shared := True configure: rust.llvm-libunwind := system configure: target.x86_64-unknown-netbsd.llvm-config := /usr/pkg/bin/llvm-config configure: build.docs := False configure: profile := dist configure: configure: writing `config.toml` in current directory configure: configure: run `python /tmp/lang/rust/work/rustc-1.79.0-src/x.py --help` => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp