+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xtensa-esp-elf-gcc-13.2.0/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xtensa-esp-elf-gcc-13.2.0/work.log => Checksum BLAKE2s OK for crosstool-NG-esp-13.2.0_20240530-src.tar.xz => Checksum SHA512 OK for crosstool-NG-esp-13.2.0_20240530-src.tar.xz => Checksum BLAKE2s OK for espressif-gcc-13.2.0-8b450d265fc2e60f5be980feb6c9f9c214c6c298-8b450d265fc2e60f5be980feb6c9f9c214c6c298.tar.gz => Checksum SHA512 OK for espressif-gcc-13.2.0-8b450d265fc2e60f5be980feb6c9f9c214c6c298-8b450d265fc2e60f5be980feb6c9f9c214c6c298.tar.gz => Checksum BLAKE2s OK for newlib-esp-4.3.0_20240530.tar.gz => Checksum SHA512 OK for newlib-esp-4.3.0_20240530.tar.gz ===> Installing dependencies for xtensa-esp-elf-gcc-13.2.0 => Tool dependency gtexinfo>=5.1: found gtexinfo-7.1.1nb1 => Tool dependency gmake>=3.81: found gmake-4.4.1 => Tool dependency gsed>=3.0.2: found gsed-4.9nb1 => Tool dependency perl>=5.0: found perl-5.40.1 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency xtensa-esp-elf-binutils>=2.41.0: found xtensa-esp-elf-binutils-2.41.0 => Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3 => Full dependency gmp>=5.0.1: found gmp-6.3.0 => Full dependency isl>=0.11.1: found isl-0.26 => Full dependency mpcomplex>=1.0.3nb1: found mpcomplex-1.3.1 => Full dependency mpfr>=4.0.0: found mpfr-4.2.1 ===> Overriding tools for xtensa-esp-elf-gcc-13.2.0 ===> Extracting for xtensa-esp-elf-gcc-13.2.0 mv /home/pbulk/build/cross/xtensa-esp-elf-gcc/work/newlib-*/newlib /home/pbulk/build/cross/xtensa-esp-elf-gcc/work/gcc-8b450d265fc2e60f5be980feb6c9f9c214c6c298/newlib mv /home/pbulk/build/cross/xtensa-esp-elf-gcc/work/newlib-*/libgloss /home/pbulk/build/cross/xtensa-esp-elf-gcc/work/gcc-8b450d265fc2e60f5be980feb6c9f9c214c6c298/libgloss ===> Patching for xtensa-esp-elf-gcc-13.2.0 => Applying pkgsrc patches for xtensa-esp-elf-gcc-13.2.0 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/cross/xtensa-esp-elf-gcc/patches/patch-gcc_config_xtensa_xtensa-dynconfig.cc => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/cross/xtensa-esp-elf-gcc/patches/patch-gcc_config_xtensa_xtensa-dynconfig.cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_config_xtensa_xtensa-dynconfig.cc,v 1.1 2024/07/22 20:01:50 tnn Exp $ | |Try full path if dlopen of dynconfig lib fails. |Fails at least on macOS otherwise. | |--- gcc/config/xtensa/xtensa-dynconfig.cc.orig 2024-07-22 19:20:13.596989938 +0000 |+++ gcc/config/xtensa/xtensa-dynconfig.cc -------------------------- Patching file gcc/config/xtensa/xtensa-dynconfig.cc using Plan A... Hunk #1 succeeded at 134. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/cross/xtensa-esp-elf-gcc/patches/patch-gcc_system.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/cross/xtensa-esp-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 2024/07/22 20:01:50 tnn Exp $ | |XXX paper over problem on macOS | |--- gcc/system.h.orig 2024-07-20 15:49:56.110873778 +0000 |+++ gcc/system.h -------------------------- Patching file gcc/system.h using Plan A... Hunk #1 succeeded at 1. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/cross/xtensa-esp-elf-gcc/patches/patch-libgcc_libgcov.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/cross/xtensa-esp-elf-gcc/patches/patch-libgcc_libgcov.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libgcc_libgcov.h,v 1.1 2024/07/22 20:01:50 tnn Exp $ | |For some reason uses configure result from host, not target. | |--- libgcc/libgcov.h.orig 2024-07-22 15:25:59.142776507 +0000 |+++ libgcc/libgcov.h -------------------------- Patching file libgcc/libgcov.h using Plan A... Hunk #1 succeeded at 46. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/cross/xtensa-esp-elf-gcc/patches/patch-newlib_libc_posix_collate.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/cross/xtensa-esp-elf-gcc/patches/patch-newlib_libc_posix_collate.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-newlib_libc_posix_collate.c,v 1.1 2024/07/22 20:01:50 tnn Exp $ | |work around a problem where PATH_MAX is undefined | |--- newlib/libc/posix/collate.c.orig 2024-07-20 16:18:23.269162402 +0000 |+++ newlib/libc/posix/collate.c -------------------------- Patching file newlib/libc/posix/collate.c using Plan A... Hunk #1 succeeded at 26. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/cross/xtensa-esp-elf-gcc/patches/patch-newlib_libc_posix_regcomp.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/cross/xtensa-esp-elf-gcc/patches/patch-newlib_libc_posix_regcomp.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-newlib_libc_posix_regcomp.c,v 1.1 2024/07/22 20:01:50 tnn Exp $ | |work around a problem where _POSIX2_RE_DUP_MAX is undefined | |--- newlib/libc/posix/regcomp.c.orig 2024-07-20 16:19:51.128168994 +0000 |+++ newlib/libc/posix/regcomp.c -------------------------- Patching file newlib/libc/posix/regcomp.c using Plan A... Hunk #1 succeeded at 39. done ===> Creating toolchain wrappers for xtensa-esp-elf-gcc-13.2.0 ===> Configuring for xtensa-esp-elf-gcc-13.2.0 => Substitute GNU_CONFIGURE_PREFIX in patch => 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] => Found test ... == ...: ERROR: [check-portability] newlib/libc/ctype/mkcaseconv:92: if [ "$1" == "#error" ] 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. bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-upstream-trunk/cross/xtensa-esp-elf-gcc *** Error code 1 Stop. bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-upstream-trunk/cross/xtensa-esp-elf-gcc