=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for rust-1.65.0-powerpc-unknown-netbsd.tar.xz => Checksum SHA512 OK for rust-1.65.0-powerpc-unknown-netbsd.tar.xz => Checksum BLAKE2s OK for rust-std-1.65.0-powerpc-unknown-netbsd.tar.xz => Checksum SHA512 OK for rust-std-1.65.0-powerpc-unknown-netbsd.tar.xz => Checksum BLAKE2s OK for rustc-1.66.1-src.tar.gz => Checksum SHA512 OK for rustc-1.66.1-src.tar.gz ===> Installing dependencies for rust-1.66.1 ========================================================================== 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.66.1. Their current value is shown below: * BDB185_DEFAULT = db1 * BDB_DEFAULT = db4 * KRB5_DEFAULT = heimdal * PYTHON_VERSION_DEFAULT = 310 * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /usr/pkg/etc/openssl/certs * SSLDIR = /usr/pkg/etc/openssl * SSLKEYS = /usr/pkg/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 = python310 * 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 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.15 => Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3 => Tool dependency gmake>=3.81: found gmake-4.4 => Tool dependency gtar-base>=1.13.25: found gtar-base-1.34 => Tool dependency perl>=5.0: found perl-5.36.0 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.9.4 => 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.25.2 => Build dependency python310>=3.10: found python310-3.10.10 => Build dependency gcc7>=7.5.0nb6: found gcc7-7.5.0nb6 => Full dependency libatomic-links>=0: found libatomic-links-1.0 => Full dependency llvm>=15: found llvm-15.0.7 => Full dependency curl>=7.86.0nb1: found curl-7.88.1 => Full dependency openssl>=1.1.1pnb1: found openssl-1.1.1t => Full dependency libatomic>=12.1.0nb1: found libatomic-12.2.0 => Full dependency gcc7-libs>=7.5.0: found gcc7-libs-7.5.0nb7 ===> 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.66.1 ===> Extracting for rust-1.66.1 set -e; if test -e /usr/pkgsrc/lang/rust/work/rust-1.65.0-powerpc-unknown-netbsd/install.sh -a ! -e /usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/rustc; then cd /usr/pkgsrc/lang/rust/work/rust-1.65.0-powerpc-unknown-netbsd; env CARGO_BUILD_JOBS=1 LZMA_API_STATIC=1 USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python3.10 CC=gcc CFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/krb5\ -I/usr/pkg/include/python3.10 CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/krb5\ -I/usr/pkg/include/python3.10 CXX=c++ CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/krb5\ -I/usr/pkg/include/python3.10 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=-L/usr/pkg/gcc7/lib/gcc/powerpc--netbsd/7.5.0\ -Wl,-R/usr/pkg/gcc7/lib/gcc/powerpc--netbsd/7.5.0\ -Wl,-zrelro\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -latomic LINKER_RPATH_FLAG=-R PATH=/usr/pkgsrc/lang/rust/work/.cwrapper/bin:/usr/pkgsrc/lang/rust/work/.buildlink/bin:/usr/pkgsrc/lang/rust/work/.gcc/bin:/usr/pkgsrc/lang/rust/work/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/pbulk/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/usr/pkgsrc/lang/rust/work/.home CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/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="/usr/pkgsrc/lang/rust/work/.cwrapper/bin/libtool " BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/usr/pkgsrc/lang/rust/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/usr/pkgsrc/lang/rust/work/.tools/bin/itstool GDBUS_CODEGEN=/usr/pkgsrc/lang/rust/work/.tools/bin/gdbus-codegen PKG_CONFIG=/usr/pkgsrc/lang/rust/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/usr/pkgsrc/lang/rust/work/.buildlink/lib/pkgconfig:/usr/pkgsrc/lang/rust/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/pkgsrc/lang/rust/work/.pkg-config.log PKG_CONFIG_PATH= KRB5_CONFIG=/usr/pkg/bin/krb5-config CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/lang/rust/work/.cwrapper/config /usr/pkg/bin/bash ./install.sh --prefix=/usr/pkgsrc/lang/rust/work/rust-bootstrap; cd /usr/pkgsrc/lang/rust/work/rust-std-1.65.0-powerpc-unknown-netbsd; env CARGO_BUILD_JOBS=1 LZMA_API_STATIC=1 USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python3.10 CC=gcc CFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/krb5\ -I/usr/pkg/include/python3.10 CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/krb5\ -I/usr/pkg/include/python3.10 CXX=c++ CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/krb5\ -I/usr/pkg/include/python3.10 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=-L/usr/pkg/gcc7/lib/gcc/powerpc--netbsd/7.5.0\ -Wl,-R/usr/pkg/gcc7/lib/gcc/powerpc--netbsd/7.5.0\ -Wl,-zrelro\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -latomic LINKER_RPATH_FLAG=-R PATH=/usr/pkgsrc/lang/rust/work/.cwrapper/bin:/usr/pkgsrc/lang/rust/work/.buildlink/bin:/usr/pkgsrc/lang/rust/work/.gcc/bin:/usr/pkgsrc/lang/rust/work/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/pbulk/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/usr/pkgsrc/lang/rust/work/.home CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/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="/usr/pkgsrc/lang/rust/work/.cwrapper/bin/libtool " BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/usr/pkgsrc/lang/rust/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/usr/pkgsrc/lang/rust/work/.tools/bin/itstool GDBUS_CODEGEN=/usr/pkgsrc/lang/rust/work/.tools/bin/gdbus-codegen PKG_CONFIG=/usr/pkgsrc/lang/rust/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/usr/pkgsrc/lang/rust/work/.buildlink/lib/pkgconfig:/usr/pkgsrc/lang/rust/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/pkgsrc/lang/rust/work/.pkg-config.log PKG_CONFIG_PATH= KRB5_CONFIG=/usr/pkg/bin/krb5-config CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/lang/rust/work/.cwrapper/config /usr/pkg/bin/bash ./install.sh --prefix=/usr/pkgsrc/lang/rust/work/rust-bootstrap; fi install: installing component 'rustc' install: installing component 'rust-std-powerpc-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-powerpc-unknown-netbsd' rust installed. install: uninstalling component 'rust-std-powerpc-unknown-netbsd' install: installing component 'rust-std-powerpc-unknown-netbsd' rust std installed. SDIR=/usr/pkgsrc/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 /usr/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.66.1 => Applying pkgsrc patches for rust-1.66.1 => Verifying /usr/pkgsrc/lang/rust/patches/patch-compiler_rustc__codegen__ssa_src_back_linker.rs => Applying pkgsrc patch /usr/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.10 2023/01/23 18:49:04 he Exp $ | |Do not use @rpath on Darwin. | |--- compiler/rustc_codegen_ssa/src/back/linker.rs.orig 2022-12-12 16:02:12.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 325. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-compiler_rustc__llvm_build.rs => Applying pkgsrc patch /usr/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.10 2023/01/23 18:49:04 he 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 2021-11-01 07:17:29.000000000 +0000 |+++ compiler/rustc_llvm/build.rs -------------------------- Patching file compiler/rustc_llvm/build.rs using Plan A... Hunk #1 succeeded at 235. Hunk #2 succeeded at 346. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_aarch64__be__unknown__netbsd.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-compiler_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-compiler_rustc__target_src_spec_aarch64__be__unknown__netbsd.rs,v 1.5 2023/01/23 18:49:04 he Exp $ | |Add aarch64_be NetBSD target. | |--- compiler/rustc_target/src/spec/aarch64_be_unknown_netbsd.rs.orig 2021-09-10 09:47:35.334562996 +0000 |+++ compiler/rustc_target/src/spec/aarch64_be_unknown_netbsd.rs -------------------------- (Creating file compiler/rustc_target/src/spec/aarch64_be_unknown_netbsd.rs...) Patching file compiler/rustc_target/src/spec/aarch64_be_unknown_netbsd.rs using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__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_i586__unknown__netbsd.rs,v 1.7 2023/01/23 18:49:04 he Exp $ | |Add an i586 / pentium variant, in an effort to support AMD Geode etc. | |--- compiler/rustc_target/src/spec/i586_unknown_netbsd.rs.orig 2022-12-21 19:11:11.452711494 +0000 |+++ compiler/rustc_target/src/spec/i586_unknown_netbsd.rs -------------------------- (Creating file compiler/rustc_target/src/spec/i586_unknown_netbsd.rs...) Patching file compiler/rustc_target/src/spec/i586_unknown_netbsd.rs using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_mips64el__unknown__netbsd.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_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_mips64el__unknown__netbsd.rs,v 1.1 2023/01/23 18:49:04 he Exp $ | |Provide a mips64el target with N32, suitable for NetBSD/mips64el. | |--- compiler/rustc_target/src/spec/mips64el_unknown_netbsd.rs.orig 2022-12-29 22:55:00.640217876 +0000 |+++ compiler/rustc_target/src/spec/mips64el_unknown_netbsd.rs -------------------------- (Creating file compiler/rustc_target/src/spec/mips64el_unknown_netbsd.rs...) Patching file compiler/rustc_target/src/spec/mips64el_unknown_netbsd.rs using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_mipsel__unknown__netbsd.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_mipsel__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_mipsel__unknown__netbsd.rs,v 1.2 2023/01/23 18:49:04 he Exp $ | |Add target spec for NetBSD/mipsel. |This one uses mips32 (mips1 llvm fails), so this one is not universally |usable on NetBSD's supported 32-bit MIPS processors. | |--- compiler/rustc_target/src/spec/mipsel_unknown_netbsd.rs.orig 2022-11-06 18:16:59.750850353 +0000 |+++ compiler/rustc_target/src/spec/mipsel_unknown_netbsd.rs 2022-11-06 18:14:10.846209169 +0000 -------------------------- (Creating file compiler/rustc_target/src/spec/mipsel_unknown_netbsd.rs...) Patching file compiler/rustc_target/src/spec/mipsel_unknown_netbsd.rs using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_mod.rs => Applying pkgsrc patch /usr/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.12 2023/01/23 18:49:04 he Exp $ | |Add i586(pentium), aarch64_be and mips NetBSD targets. | |--- compiler/rustc_target/src/spec/mod.rs.orig 2021-03-23 16:15:10.000000000 +0000 |+++ compiler/rustc_target/src/spec/mod.rs -------------------------- Patching file compiler/rustc_target/src/spec/mod.rs using Plan A... Hunk #1 succeeded at 1094 (offset 105 lines). done => Verifying /usr/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_netbsd__base.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_netbsd__base.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-compiler_rustc__target_src_spec_netbsd__base.rs,v 1.7 2023/01/23 18:49:04 he Exp $ | |For the benefit of powerpc, when libatomic-links is installed, |search the directory containing the symlinks to -latomic. | |--- compiler/rustc_target/src/spec/netbsd_base.rs.orig 2022-12-12 16:02:12.000000000 +0000 |+++ compiler/rustc_target/src/spec/netbsd_base.rs -------------------------- Patching file compiler/rustc_target/src/spec/netbsd_base.rs using Plan A... Hunk #1 succeeded at 1. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-library_backtrace_src_symbolize_gimli.rs => Applying pkgsrc patch /usr/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.3 2023/01/23 18:49:04 he Exp $ | |Add NetBSD to the family who uses dl_iterate_phdr(). | |--- 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 177. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-library_backtrace_src_symbolize_gimli_elf.rs => Applying pkgsrc patch /usr/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.4 2023/01/23 18:49:04 he 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 276. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-library_std_src_sys_unix_mod.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-library_std_src_sys_unix_mod.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-library_std_src_sys_unix_mod.rs,v 1.7 2023/01/23 18:49:04 he Exp $ | |Add libexecinfo for backtrace() on NetBSD. | |--- library/std/src/sys/unix/mod.rs.orig 2021-02-10 17:36:44.000000000 +0000 |+++ library/std/src/sys/unix/mod.rs -------------------------- Patching file library/std/src/sys/unix/mod.rs using Plan A... Hunk #1 succeeded at 359 (offset 90 lines). done => Verifying /usr/pkgsrc/lang/rust/patches/patch-library_std_src_sys_unix_thread.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-library_std_src_sys_unix_thread.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-library_std_src_sys_unix_thread.rs,v 1.11 2023/01/23 18:49:04 he Exp $ | |Fix stack-clash on SunOS. | |--- library/std/src/sys/unix/thread.rs.orig 2020-10-07 07:53:22.000000000 +0000 |+++ library/std/src/sys/unix/thread.rs -------------------------- Patching file library/std/src/sys/unix/thread.rs using Plan A... Hunk #1 succeeded at 754 (offset 284 lines). done => Verifying /usr/pkgsrc/lang/rust/patches/patch-library_std_src_sys_unix_thread__parker_netbsd.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-library_std_src_sys_unix_thread__parker_netbsd.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-library_std_src_sys_unix_thread__parker_netbsd.rs,v 1.1 2023/01/23 18:49:04 he Exp $ | |Try to cast to make this build, to avoid | |74 | tv_nsec: dur.subsec_nanos().into(), | | ^^^^^^^^^^^^^^^^^^ ---- required by a bound introduced by this call | | | | | the trait `core::convert::From` is not implemented for `i32` |... | = note: required for `u32` to implement `core::convert::Into` | |For more information about this error, try `rustc --explain E0277`. | |Also, try to unbreak 32-bit ports ... again. | |--- library/std/src/sys/unix/thread_parker/netbsd.rs.orig 2022-11-02 14:36:24.000000000 +0000 |+++ library/std/src/sys/unix/thread_parker/netbsd.rs -------------------------- Patching file library/std/src/sys/unix/thread_parker/netbsd.rs using Plan A... Hunk #1 succeeded at 2. Hunk #2 succeeded at 24. Hunk #3 succeeded at 44. Hunk #4 succeeded at 65. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-library_unwind_build.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-library_unwind_build.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-library_unwind_build.rs,v 1.10 2023/01/23 18:49:04 he Exp $ | |Fix build on NetBSD HEAD-llvm. XXX there is probably a better way to do this. | |--- library/unwind/build.rs.orig 2020-10-07 07:53:22.000000000 +0000 |+++ library/unwind/build.rs -------------------------- Patching file library/unwind/build.rs using Plan A... Hunk #1 succeeded at 24 (offset 4 lines). done => Verifying /usr/pkgsrc/lang/rust/patches/patch-src_bootstrap_bootstrap.py => Applying pkgsrc patch /usr/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.17 2023/01/23 18:49:04 he Exp $ | |Use `uname -p` on NetBSD, as that is reliable and sensible there. |Handle earmv[67]hf for NetBSD. |Default to non-verbose compilation. | |--- src/bootstrap/bootstrap.py.orig 2022-09-19 14:07:21.000000000 +0000 |+++ src/bootstrap/bootstrap.py -------------------------- Patching file src/bootstrap/bootstrap.py using Plan A... Hunk #1 succeeded at 244. Hunk #2 succeeded at 302. Hunk #3 succeeded at 341. Hunk #4 succeeded at 776 (offset 7 lines). done => Verifying /usr/pkgsrc/lang/rust/patches/patch-src_bootstrap_builder.rs => Applying pkgsrc patch /usr/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.25 2023/01/23 18:49:04 he Exp $ | |Use @PREFIX@, not $ORIGIN in rpath. | |--- src/bootstrap/builder.rs.orig 2022-12-12 16:02:12.000000000 +0000 |+++ src/bootstrap/builder.rs -------------------------- Patching file src/bootstrap/builder.rs using Plan A... Hunk #1 succeeded at 1711 (offset 1 line). done => Verifying /usr/pkgsrc/lang/rust/patches/patch-src_bootstrap_compile.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-src_bootstrap_compile.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_bootstrap_compile.rs,v 1.11 2023/01/23 18:49:04 he Exp $ | |On Darwin, do not use @rpath for internal libraries. | |--- src/bootstrap/compile.rs.orig 2022-12-12 16:02:12.000000000 +0000 |+++ src/bootstrap/compile.rs -------------------------- Patching file src/bootstrap/compile.rs using Plan A... Hunk #1 succeeded at 465. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-src_bootstrap_install.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-src_bootstrap_install.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_bootstrap_install.rs,v 1.1 2023/01/23 18:49:04 he Exp $ | |Backport https://github.com/rust-lang/rust/commit/bcb75e61 | |--- src/bootstrap/install.rs.orig 2022-12-12 16:02:12.000000000 +0000 |+++ src/bootstrap/install.rs -------------------------- Patching file src/bootstrap/install.rs using Plan A... Hunk #1 succeeded at 200. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-src_bootstrap_lib.rs => Applying pkgsrc patch /usr/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.19 2023/01/23 18:49:04 he Exp $ | |Don't filter out optimization flags. |FreeBSD has a particular C++ runtime library name | |--- src/bootstrap/lib.rs.orig 2021-09-06 18:42:35.000000000 +0000 |+++ src/bootstrap/lib.rs -------------------------- Patching file src/bootstrap/lib.rs using Plan A... Hunk #1 succeeded at 1066 (offset 112 lines). done => Verifying /usr/pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_CMakeLists.txt => Applying pkgsrc patch /usr/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.11 2023/01/23 18:49:04 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 1072 (offset 133 lines). done => Verifying /usr/pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake => Applying pkgsrc patch /usr/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.12 2023/01/23 18:49:04 he Exp $ | |On Darwin, use correct install-name for shared libraries. | |--- src/llvm-project/llvm/cmake/modules/AddLLVM.cmake.orig 2020-09-22 17:14:20.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 2270 (offset 153 lines). done => Verifying /usr/pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_include_llvm-c_DataTypes.h => Applying pkgsrc patch /usr/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.5 2023/01/23 18:49:04 he 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 /usr/pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_include_llvm_Analysis_ConstantFolding.h => Applying pkgsrc patch /usr/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.7 2023/01/23 18:49:04 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. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_lib_Support_BLAKE3_blake3__impl.h => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_lib_Support_BLAKE3_blake3__impl.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_llvm-project_llvm_lib_Support_BLAKE3_blake3__impl.h,v 1.1 2023/01/23 18:49:04 he Exp $ | |Do not try to use neon on big-endian aarch64, as we have |an #error waiting there. | |--- src/llvm-project/llvm/lib/Support/BLAKE3/blake3_impl.h.orig 2022-09-02 08:17:54.000000000 +0000 |+++ src/llvm-project/llvm/lib/Support/BLAKE3/blake3_impl.h -------------------------- Patching file src/llvm-project/llvm/lib/Support/BLAKE3/blake3_impl.h using Plan A... Hunk #1 succeeded at 64. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp => Applying pkgsrc patch /usr/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.10 2023/01/23 18:49:04 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 595 (offset 3 lines). done => Verifying /usr/pkgsrc/lang/rust/patches/patch-src_tools_cargo_src_cargo_core_profiles.rs => Applying pkgsrc patch /usr/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.13 2023/01/23 18:49:04 he 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 672 (offset -48 lines). done => Verifying /usr/pkgsrc/lang/rust/patches/patch-src_tools_cargo_tests_testsuite_build.rs => Applying pkgsrc patch /usr/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.11 2023/01/23 18:49:04 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 47. Hunk #2 succeeded at 70. Hunk #3 succeeded at 113. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-src_tools_rust-installer_install-template.sh => Applying pkgsrc patch /usr/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.9 2023/01/23 18:49:04 he Exp $ | |No logging to 'install.log'. |Do not create 'uninstall.sh'. | |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 2021-05-09 02:52:58.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 434. Hunk #3 succeeded at 541. Hunk #4 succeeded at 551. Hunk #5 succeeded at 579. Hunk #6 succeeded at 608. Hunk #7 succeeded at 957. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_backtrace_src_symbolize_gimli.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_backtrace_src_symbolize_gimli.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_backtrace_src_symbolize_gimli.rs,v 1.3 2023/01/23 18:49:04 he Exp $ | |Do mmap on NetBSD as well. | |--- ./vendor/backtrace/src/symbolize/gimli.rs.orig 2022-04-04 11:10:55.000000000 +0000 |+++ ./vendor/backtrace/src/symbolize/gimli.rs -------------------------- Patching file ./vendor/backtrace/src/symbolize/gimli.rs using Plan A... Hunk #1 succeeded at 38. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_backtrace_src_symbolize_gimli_elf.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_backtrace_src_symbolize_gimli_elf.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_backtrace_src_symbolize_gimli_elf.rs,v 1.5 2023/01/23 18:49:04 he Exp $ | |Make NetBSD also find its debug libraries, if present. | |--- vendor/backtrace/src/symbolize/gimli/elf.rs.orig 2022-04-04 11:10:55.000000000 +0000 |+++ vendor/backtrace/src/symbolize/gimli/elf.rs -------------------------- Patching file vendor/backtrace/src/symbolize/gimli/elf.rs using Plan A... Hunk #1 succeeded at 276. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_cc_src_lib.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_cc_src_lib.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_cc_src_lib.rs,v 1.9 2023/01/23 18:49:04 he Exp $ | |Add aarch64_eb and mipsel for NetBSD. | |--- vendor/cc/src/lib.rs.orig 2021-07-26 15:20:38.000000000 +0000 |+++ vendor/cc/src/lib.rs -------------------------- Patching file vendor/cc/src/lib.rs using Plan A... Hunk #1 succeeded at 2551. Hunk #2 succeeded at 2586. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_crossbeam-epoch-0.9.6_no__atomic.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_crossbeam-epoch-0.9.6_no__atomic.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_crossbeam-epoch-0.9.6_no__atomic.rs,v 1.1 2023/01/23 18:49:04 he Exp $ | |Add "mipsel-unknown-netbsd" to the list who don't have |native 64-bit atomic ops. | |--- vendor/crossbeam-epoch-0.9.6/no_atomic.rs.orig 2022-09-19 15:35:01.000000000 +0000 |+++ vendor/crossbeam-epoch-0.9.6/no_atomic.rs -------------------------- Patching file vendor/crossbeam-epoch-0.9.6/no_atomic.rs using Plan A... Hunk #1 succeeded at 31. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_crossbeam-epoch-0.9.8_no__atomic.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_crossbeam-epoch-0.9.8_no__atomic.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_crossbeam-epoch-0.9.8_no__atomic.rs,v 1.2 2023/01/23 18:49:04 he Exp $ | |Add "mipsel-unknown-netbsd" to the list who don't have |native 64-bit atomic ops. | |--- vendor/crossbeam-epoch-0.9.8/no_atomic.rs.orig 2022-09-19 15:35:01.000000000 +0000 |+++ vendor/crossbeam-epoch-0.9.8/no_atomic.rs -------------------------- Patching file vendor/crossbeam-epoch-0.9.8/no_atomic.rs using Plan A... Hunk #1 succeeded at 36. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_crossbeam-epoch_no__atomic.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_crossbeam-epoch_no__atomic.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_crossbeam-epoch_no__atomic.rs,v 1.2 2023/01/23 18:49:04 he Exp $ | |Add "mipsel-unknown-netbsd" to the list who don't have |native 64-bit atomic ops. | |--- vendor/crossbeam-epoch/no_atomic.rs.orig 2022-09-19 15:35:01.000000000 +0000 |+++ vendor/crossbeam-epoch/no_atomic.rs -------------------------- Patching file vendor/crossbeam-epoch/no_atomic.rs using Plan A... Hunk #1 succeeded at 41 (offset 5 lines). done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_crossbeam-queue_no__atomic.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_crossbeam-queue_no__atomic.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_crossbeam-queue_no__atomic.rs,v 1.2 2023/01/23 18:49:04 he Exp $ | |Add "mipsel-unknown-netbsd" to the list who don't have |native 64-bit atomic ops. | |--- vendor/crossbeam-queue/no_atomic.rs.orig 2022-09-19 15:35:01.000000000 +0000 |+++ vendor/crossbeam-queue/no_atomic.rs -------------------------- Patching file vendor/crossbeam-queue/no_atomic.rs using Plan A... Hunk #1 succeeded at 36. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_crossbeam-utils-0.8.8_no__atomic.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_crossbeam-utils-0.8.8_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.8_no__atomic.rs,v 1.1 2023/01/23 18:49:04 he Exp $ | |Add "mipsel-unknown-netbsd" to the list who don't have |native 64-bit atomic ops. | |--- vendor/crossbeam-utils-0.8.8/no_atomic.rs.orig 2022-09-19 15:35:01.000000000 +0000 |+++ vendor/crossbeam-utils-0.8.8/no_atomic.rs -------------------------- Patching file vendor/crossbeam-utils-0.8.8/no_atomic.rs using Plan A... Hunk #1 succeeded at 36. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_crossbeam-utils_no__atomic.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_crossbeam-utils_no__atomic.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_crossbeam-utils_no__atomic.rs,v 1.2 2023/01/23 18:49:04 he Exp $ | |Add "mipsel-unknown-netbsd" to the list who don't have |native 64-bit atomic ops. | |--- vendor/crossbeam-utils/no_atomic.rs.orig 2022-09-19 15:35:01.000000000 +0000 |+++ vendor/crossbeam-utils/no_atomic.rs -------------------------- Patching file vendor/crossbeam-utils/no_atomic.rs using Plan A... Hunk #1 succeeded at 41 (offset 5 lines). done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_crossbeam_no__atomic.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_crossbeam_no__atomic.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_crossbeam_no__atomic.rs,v 1.1 2023/01/23 18:49:04 he Exp $ | |Add "mipsel-unknown-netbsd" to the list who don't have |native 64-bit atomic ops. | |--- vendor/crossbeam/no_atomic.rs.orig 2022-09-19 15:35:01.000000000 +0000 |+++ vendor/crossbeam/no_atomic.rs -------------------------- Patching file vendor/crossbeam/no_atomic.rs using Plan A... Hunk #1 succeeded at 28. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_kqueue_src_time.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_kqueue_src_time.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_kqueue_src_time.rs,v 1.2 2023/01/23 18:49:04 he Exp $ | |Use the timespec component types instead of hardcoding int lengths. |...except Linux has a quirk. | |--- vendor/kqueue/src/time.rs.orig 2022-09-19 15:35:02.000000000 +0000 |+++ vendor/kqueue/src/time.rs -------------------------- Patching file vendor/kqueue/src/time.rs using Plan A... Hunk #1 succeeded at 1. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.126_src_unix_bsd_netbsdlike_netbsd_mips.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.126_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.126_src_unix_bsd_netbsdlike_netbsd_mips.rs,v 1.1 2023/01/23 18:49:04 he Exp $ | |Replicate patch from unversioned libc. | |--- vendor/libc-0.2.126/src/unix/bsd/netbsdlike/netbsd/mips.rs.orig 2022-12-28 21:30:25.222843485 +0000 |+++ vendor/libc-0.2.126/src/unix/bsd/netbsdlike/netbsd/mips.rs -------------------------- (Creating file vendor/libc-0.2.126/src/unix/bsd/netbsdlike/netbsd/mips.rs...) Patching file vendor/libc-0.2.126/src/unix/bsd/netbsdlike/netbsd/mips.rs using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.126_src_unix_bsd_netbsdlike_netbsd_mod.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.126_src_unix_bsd_netbsdlike_netbsd_mod.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_libc-0.2.126_src_unix_bsd_netbsdlike_netbsd_mod.rs,v 1.1 2023/01/23 18:49:04 he Exp $ | |Replicate patch from un-versioned libc. | |--- vendor/libc-0.2.126/src/unix/bsd/netbsdlike/netbsd/mod.rs.orig 2022-12-12 18:23:58.000000000 +0000 |+++ vendor/libc-0.2.126/src/unix/bsd/netbsdlike/netbsd/mod.rs -------------------------- Patching file vendor/libc-0.2.126/src/unix/bsd/netbsdlike/netbsd/mod.rs using Plan A... Hunk #1 succeeded at 2840. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_libc_src_unix_bsd_netbsdlike_netbsd_mips.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_libc_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_src_unix_bsd_netbsdlike_netbsd_mips.rs,v 1.2 2023/01/23 18:49:04 he Exp $ | |Add mips support. | |--- vendor/libc/src/unix/bsd/netbsdlike/netbsd/mips.rs.orig 2022-11-06 22:14:03.866753983 +0000 |+++ vendor/libc/src/unix/bsd/netbsdlike/netbsd/mips.rs 2022-11-06 22:07:15.448812020 +0000 -------------------------- (Creating file vendor/libc/src/unix/bsd/netbsdlike/netbsd/mips.rs...) Patching file vendor/libc/src/unix/bsd/netbsdlike/netbsd/mips.rs using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_libc_src_unix_bsd_netbsdlike_netbsd_mod.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_libc_src_unix_bsd_netbsdlike_netbsd_mod.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_libc_src_unix_bsd_netbsdlike_netbsd_mod.rs,v 1.5 2023/01/23 18:49:04 he Exp $ | |Copy execinfo function definitions from openbsd's mod.rs. | |--- vendor/libc/src/unix/bsd/netbsdlike/netbsd/mod.rs.orig 2022-05-10 20:59:35.217463943 +0000 |+++ vendor/libc/src/unix/bsd/netbsdlike/netbsd/mod.rs -------------------------- Patching file vendor/libc/src/unix/bsd/netbsdlike/netbsd/mod.rs using Plan A... Hunk #1 succeeded at 3008. Hunk #2 succeeded at 3043. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_libc_src_unix_solarish_mod.rs => Applying pkgsrc patch /usr/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.11 2023/01/23 18:49:04 he 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 1516 (offset 301 lines). done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_lzma-sys_config.h => Applying pkgsrc patch /usr/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.6 2023/01/23 18:49:04 he Exp $ | |Fix SunOS builds with newer compilers. | |--- vendor/lzma-sys/config.h.orig 2020-10-07 09:33:31.000000000 +0000 |+++ vendor/lzma-sys/config.h -------------------------- Patching file vendor/lzma-sys/config.h using Plan A... Hunk #1 succeeded at 35. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_openssl-src_openssl_Configurations_10-main.conf => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_openssl-src_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_openssl_Configurations_10-main.conf,v 1.1 2023/01/23 18:49:04 he Exp $ | |Replicate part of |https://github.com/openssl/openssl/pull/15086 | |--- vendor/openssl-src/openssl/Configurations/10-main.conf.orig 2022-11-02 16:21:42.000000000 +0000 |+++ vendor/openssl-src/openssl/Configurations/10-main.conf -------------------------- Patching file vendor/openssl-src/openssl/Configurations/10-main.conf using Plan A... Hunk #1 succeeded at 943. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_openssl-src_src_lib.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_openssl-src_src_lib.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_openssl-src_src_lib.rs,v 1.9 2023/01/23 18:49:04 he Exp $ | |Provide defaults for the various NetBSD targets. | |--- vendor/openssl-src/src/lib.rs.orig 2022-09-19 15:35:02.000000000 +0000 |+++ vendor/openssl-src/src/lib.rs -------------------------- Patching file vendor/openssl-src/src/lib.rs using Plan A... Hunk #1 succeeded at 230. Hunk #2 succeeded at 242. Hunk #3 succeeded at 259. Hunk #4 succeeded at 269. Hunk #5 succeeded at 282. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_openssl-sys_build_main.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_openssl-sys_build_main.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_openssl-sys_build_main.rs,v 1.1 2023/01/23 18:49:04 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/build/main.rs.orig 2022-11-02 16:21:42.000000000 +0000 |+++ vendor/openssl-sys/build/main.rs -------------------------- Patching file vendor/openssl-sys/build/main.rs using Plan A... Hunk #1 succeeded at 117. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_rustc-ap-rustc__target_src_spec_aarch64__be__unknown__netbsd.rs => Applying pkgsrc patch /usr/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.6 2023/01/23 18:49:04 he 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 => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_stacker_src_lib.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_stacker_src_lib.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_stacker_src_lib.rs,v 1.7 2023/01/23 18:49:04 he Exp $ | |Avoid missing pthread_* on older SunOS. | |--- vendor/stacker/src/lib.rs.orig 2020-07-13 18:18:17.000000000 +0000 |+++ vendor/stacker/src/lib.rs -------------------------- Patching file vendor/stacker/src/lib.rs using Plan A... Hunk #1 succeeded at 407. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_target-lexicon_src_targets.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_target-lexicon_src_targets.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_target-lexicon_src_targets.rs,v 1.9 2023/01/23 18:49:04 he Exp $ | |Add aarch64_eb and mipsel for NetBSD. | |--- vendor/target-lexicon/src/targets.rs.orig 2021-05-03 21:35:46.000000000 +0000 |+++ vendor/target-lexicon/src/targets.rs -------------------------- Patching file vendor/target-lexicon/src/targets.rs using Plan A... Hunk #1 succeeded at 1335. Hunk #2 succeeded at 1424. done => Verifying /usr/pkgsrc/lang/rust/patches/patch-vendor_valuable_no__atomic.rs => Applying pkgsrc patch /usr/pkgsrc/lang/rust/patches/patch-vendor_valuable_no__atomic.rs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_valuable_no__atomic.rs,v 1.2 2023/01/23 18:49:04 he Exp $ | |Add mipsel-unknown-netbsd. | |--- vendor/valuable/no_atomic.rs.orig 2022-09-19 15:35:03.000000000 +0000 |+++ vendor/valuable/no_atomic.rs -------------------------- Patching file vendor/valuable/no_atomic.rs using Plan A... Hunk #1 succeeded at 30. done ===> Creating toolchain wrappers for rust-1.66.1 ===> Configuring for rust-1.66.1 => Substituting "cksum" in vendor/cc/.cargo-checksum.json vendor/libc/.cargo-checksum.json vendor/libc-0.2.126/.cargo-checksum.json vendor/lzma-sys/.cargo-checksum.json vendor/stacker/.cargo-checksum.json vendor/kqueue/.cargo-checksum.json vendor/crossbeam-utils-0.8.8/.cargo-checksum.json vendor/crossbeam/.cargo-checksum.json vendor/crossbeam-utils/.cargo-checksum.json vendor/crossbeam-epoch/.cargo-checksum.json vendor/crossbeam-queue/.cargo-checksum.json vendor/crossbeam-epoch-0.9.6/.cargo-checksum.json vendor/openssl-src/.cargo-checksum.json vendor/openssl-sys/.cargo-checksum.json => Substituting "rpath" in compiler/rustc_codegen_ssa/src/back/linker.rs compiler/rustc_target/src/spec/netbsd_base.rs src/bootstrap/builder.rs src/bootstrap/compile.rs => Generating pkg-config files for builtin xz package. => Checking for portability problems in extracted files configure: processing command line configure: configure: install.prefix := /usr/pkg configure: install.mandir := /usr/pkg/man configure: install.sysconfdir := /usr/pkg/etc configure: build.python := /usr/pkg/bin/python3.10 configure: rust.channel := stable configure: build.rustc := /usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/ ... configure: build.cargo := /usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/ ... 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: rust.debug := False configure: rust.debug-assertions := False configure: llvm.release-debuginfo := False configure: rust.debuginfo-level := 0 configure: rust.debuginfo-level-rustc := 0 configure: rust.debuginfo-level-std := 0 configure: rust.debuginfo-level-tools := 0 configure: rust.debuginfo-level-tests := 0 configure: llvm.link-shared := True configure: target.powerpc-unknown-netbsd.llvm-config := /usr/pkg/bin/llvm-config configure: build.docs := False configure: build.configure-args := ['--prefix=/usr/pkg', '--mandir=/usr/pkg/man', ... configure: configure: writing `config.toml` in current directory configure: configure: run `python /usr/pkgsrc/lang/rust/work/rustc-1.66.1-src/x.py --help` => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp