=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. => Checksum SHA1 OK for gcc-9.1.0.tar.xz => Checksum RMD160 OK for gcc-9.1.0.tar.xz => Checksum SHA512 OK for gcc-9.1.0.tar.xz => Checksum SHA1 OK for newlib-3.1.0.tar.gz => Checksum RMD160 OK for newlib-3.1.0.tar.gz => Checksum SHA512 OK for newlib-3.1.0.tar.gz ===> Installing dependencies for cross-or1k-none-elf-gcc-9.1.0nb1 => Tool dependency gtexinfo>=5.1: found gtexinfo-6.5nb4 => Tool dependency bash-[0-9]*: found bash-5.0.11 => Tool dependency gmake>=3.81: found gmake-4.2.1nb1 => Tool dependency perl>=5.0: found perl-5.30.0 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency cross-or1k-none-elf-binutils-[0-9]*: found cross-or1k-none-elf-binutils-2.32 => Full dependency gmp>=5.0.1: found gmp-6.1.2 => Full dependency mpfr>=4.0.0: found mpfr-4.0.2 => Full dependency mpcomplex>=1.0.3nb1: found mpcomplex-1.1.0 ===> Overriding tools for cross-or1k-none-elf-gcc-9.1.0nb1 ===> Extracting for cross-or1k-none-elf-gcc-9.1.0nb1 /bin/ln -s /tmp/cross/or1k-none-elf-gcc/work/newlib-3.1.0/newlib /tmp/cross/or1k-none-elf-gcc/work/gcc-9.1.0/newlib /bin/ln -s /tmp/cross/or1k-none-elf-gcc/work/newlib-3.1.0/libgloss /tmp/cross/or1k-none-elf-gcc/work/gcc-9.1.0/libgloss ===> Patching for cross-or1k-none-elf-gcc-9.1.0nb1 => Applying pkgsrc patches for cross-or1k-none-elf-gcc-9.1.0nb1 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/cross/or1k-none-elf-gcc/patches/patch-contrib_download__prerequisites => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/cross/or1k-none-elf-gcc/patches/patch-contrib_download__prerequisites Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-contrib_download__prerequisites,v 1.1 2019/07/15 05:59:13 maya Exp $ | |--- contrib/download_prerequisites.orig 2019-03-10 12:49:13.000000000 +0000 |+++ contrib/download_prerequisites -------------------------- Patching file contrib/download_prerequisites using Plan A... Hunk #1 succeeded at 122. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/cross/or1k-none-elf-gcc/patches/patch-gcc_system.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/cross/or1k-none-elf-gcc/patches/patch-gcc_system.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_system.h,v 1.1 2019/07/15 05:59:13 maya Exp $ | |--- gcc/system.h.orig 2019-01-01 12:31:55.000000000 +0000 |+++ gcc/system.h -------------------------- Patching file gcc/system.h using Plan A... Hunk #1 succeeded at 44. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/cross/or1k-none-elf-gcc/patches/patch-libcc1_configure => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/cross/or1k-none-elf-gcc/patches/patch-libcc1_configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libcc1_configure,v 1.1 2019/07/15 05:59:13 maya Exp $ | |--- libcc1/configure.orig 2018-10-31 17:03:16.000000000 +0000 |+++ libcc1/configure -------------------------- Patching file libcc1/configure using Plan A... Hunk #1 succeeded at 14650. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/cross/or1k-none-elf-gcc/patches/patch-libcc1_connection.cc => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/cross/or1k-none-elf-gcc/patches/patch-libcc1_connection.cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libcc1_connection.cc,v 1.1 2019/07/15 05:59:13 maya Exp $ | |--- libcc1/connection.cc.orig 2019-01-01 12:31:55.000000000 +0000 |+++ libcc1/connection.cc -------------------------- Patching file libcc1/connection.cc using Plan A... Hunk #1 succeeded at 23. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/cross/or1k-none-elf-gcc/patches/patch-libiberty_Makefile.in => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/cross/or1k-none-elf-gcc/patches/patch-libiberty_Makefile.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libiberty_Makefile.in,v 1.1 2019/07/15 05:59:13 maya Exp $ | |--- libiberty/Makefile.in.orig 2019-01-01 12:31:55.000000000 +0000 |+++ libiberty/Makefile.in -------------------------- Patching file libiberty/Makefile.in using Plan A... Hunk #1 succeeded at 364. Hunk #2 succeeded at 382. done ===> Creating toolchain wrappers for cross-or1k-none-elf-gcc-9.1.0nb1 ===> Configuring for cross-or1k-none-elf-gcc-9.1.0nb1 => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Checking for portability problems in extracted files ERROR: [check-portability.awk] => Found test ... == ...: ERROR: [check-portability.awk] libgo/mksysinfo.sh: if test "$statfs" == ""; then Explanation: =========================================================================== The "test" command, as well as the "[" command, are not required to know the "==" operator. Only a few implementations like bash and some versions of ksh support it. When you run "test foo == foo" on a platform that does not support the "==" operator, the result will be "false" instead of "true". This can lead to unexpected behavior. There are two ways to fix this error message. If the file that contains the "test ==" is needed for building the package, you should create a patch for it, replacing the "==" operator with "=". If the file is not needed, add its name to the CHECK_PORTABILITY_SKIP variable in the package Makefile. =========================================================================== *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/cross/or1k-none-elf-gcc *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/cross/or1k-none-elf-gcc