[package - main-armv7-default][devel/xtensa-esp-elf] Failed for xtensa-esp-elf-13.2.0.20240530 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 05 Oct 2024 10:41:43 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     leres@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/p4a16d2e85dd9_sb7cbf741d/logs/xtensa-esp-elf-13.2.0.20240530.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p4a16d2e85dd9_sb7cbf741d
Log:

=>> Building devel/xtensa-esp-elf
build started at Sat Oct  5 10:22:18 UTC 2024
port directory: /usr/ports/devel/xtensa-esp-elf
package name: xtensa-esp-elf-13.2.0.20240530
building for: FreeBSD main-armv7-default-job-13 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 arm
maintained by: leres@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 4031 Sep 28 01:02 /usr/ports/devel/xtensa-esp-elf/Makefile
Ports top last git commit: 4a16d2e85dd
Ports top unclean checkout: no
Port dir last git commit: 771e57d671d
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500023
Job Id: 13

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500023
UNAME_v=FreeBSD 15.0-CURRENT 1500023
UNAME_r=15.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-armv7-default/13/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
leres@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/xtensa-esp-elf/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/xtensa-esp-elf/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/.cache  HOME=/wrkdirs/usr/ports/devel/xtensa-esp-elf/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.72
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/xtensa-esp-elf/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/xtensa-esp-elf/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/.cache  HOME=/wrkdirs/usr/ports/devel/xtensa-esp-elf/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" DEFAULT_AU
TOCONF=2.72 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc13" CFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing "  CPP="cpp13" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 " LIBS=""  CXX="g++13" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -Wl,-rpath=/usr/local/lib/gcc13 " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PKGBASE=xtensa-esp-elf GCCVER=13.2.0 PYTHON_INCLUDEDIR=include/python3.11  PYTHON_LIBDIR=lib/python3.11  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xtensa-esp-elf"  EXAMPLESDIR="share/examples/xtensa-esp-elf"  DATADIR="share/xtensa-esp-elf"  WWWDIR="www/xtensa-esp-elf"  ETCDIR="etc/xtensa-esp-elf"
--End PLIST_SUB--

--SUB_LIST--
PYTHON_INCLUDEDIR=/usr/local/include/python3.11  PYTHON_LIBDIR=/usr/local/lib/python3.11  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/xtensa-esp-elf DOCSDIR=/usr/local/share/doc/xtensa-esp-elf EXAMPLESDIR=/usr/local/share/examples/xtensa-esp-elf  WWWDIR=/usr/local/www/xtensa-esp-elf ETCDIR=/usr/local/etc/xtensa-esp-elf
--End SUB_LIST--

---Begin make.conf---
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
ulimit: can't get limit: Invalid argument
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 LGPL21 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   xtensa-esp-elf-13.2.0.20240530 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-armv7-default-job-13] Installing pkg-1.21.3...
[main-armv7-default-job-13] Extracting pkg-1.21.3: .......... done
===>   xtensa-esp-elf-13.2.0.20240530 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of xtensa-esp-elf-13.2.0.20240530
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 LGPL21 accepted by the user
===> Fetching all distfiles required by xtensa-esp-elf-13.2.0.20240530 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 LGPL21 accepted by the user
===> Fetching all distfiles required by xtensa-esp-elf-13.2.0.20240530 for building
=> SHA256 Checksum OK for crosstool-NG-esp-13.2.0_20240530-src.tar.xz.
=> SHA256 Checksum OK for gmp-6.2.1.tar.bz2.
=> SHA256 Checksum OK for isl-0.26.tar.gz.
=> SHA256 Checksum OK for mpc-1.2.1.tar.gz.
=> SHA256 Checksum OK for mpfr-4.2.1.zip.
=> SHA256 Checksum OK for zlib-1.2.13.tar.xz.
=> SHA256 Checksum OK for zstd-1.5.5.tar.gz.
=> SHA256 Checksum OK for espressif-binutils-gdb-esp-2.41.0_20240305_GH0.tar.gz.
=> SHA256 Checksum OK for espressif-gcc-esp-13.2.0_20240305_GH0.tar.gz.
=> SHA256 Checksum OK for espressif-newlib-esp32-esp-4.3.0_20240305_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 LGPL21 accepted by the user
===> Fetching all distfiles required by xtensa-esp-elf-13.2.0.20240530 for building
===>  Extracting for xtensa-esp-elf-13.2.0.20240530
=> SHA256 Checksum OK for crosstool-NG-esp-13.2.0_20240530-src.tar.xz.
=> SHA256 Checksum OK for gmp-6.2.1.tar.bz2.
=> SHA256 Checksum OK for isl-0.26.tar.gz.
=> SHA256 Checksum OK for mpc-1.2.1.tar.gz.
=> SHA256 Checksum OK for mpfr-4.2.1.zip.
=> SHA256 Checksum OK for zlib-1.2.13.tar.xz.
=> SHA256 Checksum OK for zstd-1.5.5.tar.gz.
=> SHA256 Checksum OK for espressif-binutils-gdb-esp-2.41.0_20240305_GH0.tar.gz.
=> SHA256 Checksum OK for espressif-gcc-esp-13.2.0_20240305_GH0.tar.gz.
=> SHA256 Checksum OK for espressif-newlib-esp32-esp-4.3.0_20240305_GH0.tar.gz.
/bin/mkdir -p /wrkdirs/usr/ports/devel/xtensa-esp-elf/work/crosstool-NG-esp-13.2.0_20240530-src/.build/tarballs
/bin/ln -s /portdistfiles/gmp-6.2.1.tar.bz2 /wrkdirs/usr/ports/devel/xtensa-esp-elf/work/crosstool-NG-esp-13.2.0_20240530-src/.build/tarballs
/bin/ln -s /portdistfiles/isl-0.26.tar.gz /wrkdirs/usr/ports/devel/xtensa-esp-elf/work/crosstool-NG-esp-13.2.0_20240530-src/.build/tarballs
/bin/ln -s /portdistfiles/mpc-1.2.1.tar.gz /wrkdirs/usr/ports/devel/xtensa-esp-elf/work/crosstool-NG-esp-13.2.0_20240530-src/.build/tarballs
/bin/ln -s /portdistfiles/mpfr-4.2.1.zip /wrkdirs/usr/ports/devel/xtensa-esp-elf/work/crosstool-NG-esp-13.2.0_20240530-src/.build/tarballs
/bin/ln -s /portdistfiles/zlib-1.2.13.tar.xz /wrkdirs/usr/ports/devel/xtensa-esp-elf/work/crosstool-NG-esp-13.2.0_20240530-src/.build/tarballs
/bin/ln -s /portdistfiles/zstd-1.5.5.tar.gz /wrkdirs/usr/ports/devel/xtensa-esp-elf/work/crosstool-NG-esp-13.2.0_20240530-src/.build/tarballs
echo CT_LOG_PROGRESS_BAR=n >>  /wrkdirs/usr/ports/devel/xtensa-esp-elf/work/crosstool-NG-esp-13.2.0_20240530-src/samples/xtensa-esp-elf/crosstool.config
/bin/ln -s  /portdistfiles/espressif-binutils-gdb-esp-2.41.0_20240305_GH0.tar.gz  /wrkdirs/usr/ports/devel/xtensa-esp-elf/work/crosstool-NG-esp-13.2.0_20240530-src/.build/tarballs/binutils-gdb-esp-2.41.0_20240305.tar.gz
/bin/ln -s /portdistfiles/espressif-gcc-esp-13.2.0_20240305_GH0.tar.gz  /wrkdirs/usr/ports/devel/xtensa-esp-elf/work/crosstool-NG-esp-13.2.0_20240530-src/.build/tarballs/gcc-esp-13.2.0_20240305.tar.gz
/bin/ln -s  /portdistfiles/espressif-newlib-esp32-esp-4.3.0_20240305_GH0.tar.gz  /wrkdirs/usr/ports/devel/xtensa-esp-elf/work/crosstool-NG-esp-13.2.0_20240530-src/.build/tarballs/newlib-esp32-esp-4.3.0_20240305.tar.gz
<snip>
 mkdir -p '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/samples/s390x-ibm-linux-gnu'
 /usr/bin/install -c -m 644  samples/s390x-ibm-linux-gnu/crosstool.config samples/s390x-ibm-linux-gnu/reported.by '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/samples/s390x-ibm-linux-gnu'
 mkdir -p '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/packages/gcc/13.2.0'
 /usr/bin/install -c -m 644  packages/gcc/13.2.0/0000-libtool-leave-framework-alone.patch packages/gcc/13.2.0/0001-gcc-plugin-POSIX-include-sys-select-h.patch packages/gcc/13.2.0/0002-arm-softfloat-libgcc.patch packages/gcc/13.2.0/0003-libgcc-disable-split-stack-nothreads.patch packages/gcc/13.2.0/0004-Remove-use-of-include_next-from-c-headers.patch packages/gcc/13.2.0/0005-Allow-default-libc-to-be-specified-to-configure.patch packages/gcc/13.2.0/0006-driver-Extend-getenv-function-to-allow-default-value.patch packages/gcc/13.2.0/0007-Add-newlib-and-picolibc-as-default-C-library-choices.patch packages/gcc/13.2.0/0008-Support-picolibc-targets.patch packages/gcc/13.2.0/0009-gcc-Allow-g-to-work-differently-from-gcc.patch packages/gcc/13.2.0/0010-RISC-V-fix-build-issue-with-gcc-4.9.x.patch packages/gcc/13.2.0/0011-libsanitizer-Remove-crypt-and-crypt_r-interceptors.patch packages/gcc/13.2.0/0012-libgcc-m68k-Fixes-for-soft-float.patch packages/gcc/13.2.0/0013-libgcc-Exclude-UCLIBC-
from-GLIBC-thread-check.patch packages/gcc/13.2.0/0014-aarch64-Use-local-frame-vars-in-shrink-wrapping-code.patch packages/gcc/13.2.0/0015-aarch64-Avoid-a-use-of-callee_offset.patch packages/gcc/13.2.0/0016-aarch64-Explicitly-handle-frames-with-no-saved-regis.patch packages/gcc/13.2.0/0017-aarch64-Add-bytes_below_saved_regs-to-frame-info.patch packages/gcc/13.2.0/0018-aarch64-Add-bytes_below_hard_fp-to-frame-info.patch packages/gcc/13.2.0/0019-aarch64-Tweak-aarch64_save-restore_callee_saves.patch packages/gcc/13.2.0/0020-aarch64-Only-calculate-chain_offset-if-there-is-a-ch.patch packages/gcc/13.2.0/0021-aarch64-Rename-locals_offset-to-bytes_above_locals.patch packages/gcc/13.2.0/0022-aarch64-Rename-hard_fp_offset-to-bytes_above_hard_fp.patch packages/gcc/13.2.0/0023-aarch64-Tweak-frame_size-comment.patch packages/gcc/13.2.0/0024-aarch64-Measure-reg_offset-from-the-bottom-of-the-fr.patch packages/gcc/13.2.0/0025-aarch64-Simplify-top-of-frame-allocation.patch packages/gcc/13.2
.0/0026-aarch64-Minor-initial-adjustment-tweak.patch packages/gcc/13.2.0/0027-aarch64-Tweak-stack-clash-boundary-condition.patch packages/gcc/13.2.0/0028-aarch64-Put-LR-save-probe-in-first-16-bytes.patch packages/gcc/13.2.0/0029-aarch64-Simplify-probe-of-final-frame-allocation.patch packages/gcc/13.2.0/0030-aarch64-Explicitly-record-probe-registers-in-frame-i.patch packages/gcc/13.2.0/0031-aarch64-Remove-below_hard_fp_saved_regs_size.patch packages/gcc/13.2.0/0032-aarch64-Make-stack-smash-canary-protect-saved-regist.patch packages/gcc/13.2.0/chksum packages/gcc/13.2.0/version.desc '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/packages/gcc/13.2.0'
 mkdir -p '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/samples/arm-none-eabi'
 /usr/bin/install -c -m 644  samples/arm-none-eabi/crosstool.config samples/arm-none-eabi/reported.by '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/samples/arm-none-eabi'
 mkdir -p '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/samples/moxie-unknown-elf'
 /usr/bin/install -c -m 644  samples/moxie-unknown-elf/crosstool.config samples/moxie-unknown-elf/reported.by '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/samples/moxie-unknown-elf'
 mkdir -p '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/packages/newlib-nano'
 /usr/bin/install -c -m 644  packages/newlib-nano/package.desc '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/packages/newlib-nano'
 mkdir -p '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/packages/ltrace/0.7.3'
 /usr/bin/install -c -m 644  packages/ltrace/0.7.3/0000-avoid-libstdc++.patch packages/ltrace/0.7.3/0001-printf-p.patch packages/ltrace/0.7.3/0002-alpha-debug.h.patch packages/ltrace/0.7.3/0003-compile-warning.patch packages/ltrace/0.7.3/0004-sparc-ftbfs.patch packages/ltrace/0.7.3/0005-unexpected-breakpoint.patch packages/ltrace/0.7.3/0006-gcc-5.patch packages/ltrace/0.7.3/0007-glibc-2.24.patch packages/ltrace/0.7.3/0008-mips-printf-format.patch packages/ltrace/0.7.3/chksum packages/ltrace/0.7.3/version.desc '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/packages/ltrace/0.7.3'
 mkdir -p '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/scripts/build/kernel'
 /usr/bin/install -c -m 644  scripts/build/kernel/bare-metal.sh scripts/build/kernel/linux.sh scripts/build/kernel/windows.sh '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/scripts/build/kernel'
 mkdir -p '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/packages/mingw-w64/v4.0.6'
 /usr/bin/install -c -m 644  packages/mingw-w64/v4.0.6/0000-mingw64-malloc.patch packages/mingw-w64/v4.0.6/0001-gendef-explicit-fallthrough.patch packages/mingw-w64/v4.0.6/0002-genpeimg-explicit-fallthrough.patch packages/mingw-w64/v4.0.6/chksum packages/mingw-w64/v4.0.6/version.desc '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/packages/mingw-w64/v4.0.6'
 mkdir -p '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/packages/gmp/6.1.2'
 /usr/bin/install -c -m 644  packages/gmp/6.1.2/chksum packages/gmp/6.1.2/version.desc '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/packages/gmp/6.1.2'
 mkdir -p '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/samples/arc-multilib-linux-uclibc'
 /usr/bin/install -c -m 644  samples/arc-multilib-linux-uclibc/crosstool.config samples/arc-multilib-linux-uclibc/reported.by '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/samples/arc-multilib-linux-uclibc'
 mkdir -p '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng'
 mkdir -p '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/config'
 /usr/bin/install -c -m 644  config/configure.in '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/config'
 /usr/bin/install -c -m 644  paths.sh '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/.'
/usr/local/bin/gmake  install-data-hook
gmake[3]: Entering directory '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/crosstool-NG-esp-13.2.0_20240530-src'
rm -f /wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/man/man1/`echo ct-ng | sed 's,x,x,'`.1.gz
gzip -9 /wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/man/man1/`echo ct-ng | sed 's,x,x,'`.1
chmod a+x /wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/scripts/config.guess
chmod a+x /wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/scripts/config.sub
rm -f /wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/LICENSE
ln -s COPYING /wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/crosstool-ng/LICENSE
chmod a-x /wrkdirs/usr/ports/devel/xtensa-esp-elf/work/ct-ng/share/bash-completion/completions/`echo ct-ng | sed 's,x,x,'`
gmake[3]: Leaving directory '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/crosstool-NG-esp-13.2.0_20240530-src'
gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/crosstool-NG-esp-13.2.0_20240530-src'
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/crosstool-NG-esp-13.2.0_20240530-src'
  CONF  xtensa-esp-elf
/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/crosstool-NG-esp-13.2.0_20240530-src/samples/xtensa-esp-elf/crosstool.config:25:warning: unexpected data: crosstool-ng doesn't apply bundled patches in the case of using git repo
#
# configuration written to .config
#

***********************************************************

Initially reported by: Ivan Grokhotkov <ivan@espressif.com>
URL: https://github.com/espressif/crosstool-NG

Comment:
Initially based on xtensa-esp108-elf sample reported by Max Filippov <jcmvbkbc@gmail.com>

***********************************************************

WARNING! This sample may enable experimental features.
         Please be sure to review the configuration prior
         to building and using your toolchain!
Now, you have been warned!

***********************************************************

Now configured for "xtensa-esp-elf"
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for xtensa-esp-elf-13.2.0.20240530
cd /wrkdirs/usr/ports/devel/xtensa-esp-elf/work/crosstool-NG-esp-13.2.0_20240530-src && /usr/bin/env CT_ALLOW_BUILD_AS_ROOT_SURE=1  CT_FORBID_DOWNLOAD=y  GREP=/usr/local/bin/grep  LD_RUN_PATH=/usr/local/lib/gcc13  LDFLAGS=-I/usr/local/lib  PATH=/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin ./ct-ng build
[INFO ]  Performing some trivial sanity checks
[INFO ]  Build started 20241005.102913
[INFO ]  Building environment variables
[WARN ]  Directory '/root/src' does not exist.
[WARN ]  Will not save downloaded tarballs to local storage.
[EXTRA]  Preparing working directories
[EXTRA]  Installing user-supplied crosstool-NG configuration
[EXTRA]  =================================================================
[EXTRA]  Dumping internal crosstool-NG configuration
[EXTRA]    Building a toolchain for:
[EXTRA]      build  = armv7-unknown-freebsd15.0-gnueabihf
[EXTRA]      host   = armv7-unknown-freebsd15.0-gnueabihf
[EXTRA]      target = xtensa-esp-elf
[EXTRA]  Dumping internal crosstool-NG configuration: done in 0.20s (at 00:03)
[INFO ]  =================================================================
[INFO ]  Retrieving needed toolchain components' tarballs
[INFO ]  Retrieving needed toolchain components' tarballs: done in 0.86s (at 00:04)
[INFO ]  =================================================================
[INFO ]  Extracting and patching toolchain components
[EXTRA]    Extracting zlib-1.2.13
[EXTRA]    Patching zlib-1.2.13
[EXTRA]    Extracting zstd-1.5.5
[EXTRA]    Patching zstd-1.5.5
[EXTRA]    Extracting gmp-6.2.1
[EXTRA]    Patching gmp-6.2.1
[EXTRA]    Extracting mpfr-4.2.1
[EXTRA]    Patching mpfr-4.2.1
[EXTRA]    Extracting isl-0.26
[EXTRA]    Patching isl-0.26
[EXTRA]    Extracting mpc-1.2.1
[EXTRA]    Patching mpc-1.2.1
[WARN ]    binutils: using custom location, no patches applied
[WARN ]    gcc: using custom location, no patches applied
[WARN ]    newlib: using custom location, no patches applied
[INFO ]  Extracting and patching toolchain components: done in 63.82s (at 01:08)
[INFO ]  =================================================================
[INFO ]  Installing xtensa-dynconfig for build
[EXTRA]    Building xtensa-dynconfig
[EXTRA]    Installing xtensa-dynconfig
[INFO ]  Installing xtensa-dynconfig for build: done in 29.44s (at 01:38)
[INFO ]  =================================================================
[INFO ]  Installing zlib for host
[EXTRA]    Configuring zlib
[EXTRA]    Building zlib
[EXTRA]    Installing zlib
[INFO ]  Installing zlib for host: done in 3.78s (at 01:41)
[INFO ]  =================================================================
[INFO ]  Installing zstd for host
[EXTRA]    Building zstd
[EXTRA]    Installing zstd
[INFO ]  Installing zstd for host: done in 40.50s (at 02:22)
[INFO ]  =================================================================
[INFO ]  Installing GMP for host
[EXTRA]    Configuring GMP
[EXTRA]    Building GMP
[EXTRA]    Installing GMP
[INFO ]  Installing GMP for host: done in 87.18s (at 03:49)
[INFO ]  =================================================================
[INFO ]  Installing MPFR for host
[EXTRA]    Configuring MPFR
[EXTRA]    Building MPFR
[EXTRA]    Installing MPFR
[INFO ]  Installing MPFR for host: done in 44.28s (at 04:33)
[INFO ]  =================================================================
[INFO ]  Installing ISL for host
[EXTRA]    Configuring ISL
[EXTRA]    Building ISL
[EXTRA]    Installing ISL
[INFO ]  Installing ISL for host: done in 77.36s (at 05:51)
[INFO ]  =================================================================
[INFO ]  Installing MPC for host
[EXTRA]    Configuring MPC
[EXTRA]    Building MPC
[EXTRA]    Installing MPC
[INFO ]  Installing MPC for host: done in 19.78s (at 06:11)
[INFO ]  =================================================================
[INFO ]  Installing xtensa-dynconfig for host
[EXTRA]    Building xtensa-dynconfig
[EXTRA]    Installing xtensa-dynconfig
[INFO ]  Installing xtensa-dynconfig for host: done in 33.03s (at 06:44)
[INFO ]  =================================================================
[INFO ]  Installing binutils for host
[EXTRA]    Configuring binutils
[EXTRA]    Building binutils
[EXTRA]    Installing binutils
[INFO ]  Installing binutils for host: done in 301.29s (at 11:45)
[INFO ]  =================================================================
[INFO ]  Installing C library headers
[EXTRA]    Installing Xtensa headers
[INFO ]  Installing C library headers: done in 0.06s (at 11:45)
[INFO ]  =================================================================
[INFO ]  Installing core C gcc compiler
[EXTRA]    Configuring core C gcc compiler
[ERROR]    configure: error: in `/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/crosstool-NG-esp-13.2.0_20240530-src/.build/xtensa-esp-elf/build/build-cc-gcc-core/intl':
[ERROR]    configure: error: C compiler cannot create executables
[ERROR]    checking build system type... make[2]: *** [Makefile:5870: configure-intl] Error 1
[ERROR]    make[2]: *** Waiting for unfinished jobs....
[ERROR]    configure: error: in `/wrkdirs/usr/ports/devel/xtensa-esp-elf/work/crosstool-NG-esp-13.2.0_20240530-src/.build/xtensa-esp-elf/build/build-cc-gcc-core/lto-plugin':
[ERROR]    configure: error: C compiler cannot create executables
[ERROR]    make[2]: *** [Makefile:11228: configure-lto-plugin] Error 1
[ERROR]    checking for library containing strerror... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
[ERROR]    checking for getcwd... make[2]: *** [Makefile:8526: configure-libiberty] Error 1
[ERROR]  
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing core C gcc compiler'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@377]
[ERROR]  >>        called from: do_gcc_core_backend[scripts/build/cc/gcc.sh@660]
[ERROR]  >>        called from: do_cc_core[scripts/build/cc/gcc.sh@212]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@699]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>      https://crosstool-ng.github.io/docs/known-issues/
[ERROR]  >>
[ERROR]  >> NOTE: Your configuration includes features marked EXPERIMENTAL.
[ERROR]  >> Before submitting a bug report, try to reproduce it without enabling
[ERROR]  >> any experimental features. Otherwise, you'll need to debug it
[ERROR]  >> and present an explanation why it is a bug in crosstool-NG - or
[ERROR]  >> preferably, a fix.
[ERROR]  >>
[ERROR]  >>  If you feel this is a bug in crosstool-NG, report it at:
[ERROR]  >>      https://github.com/crosstool-ng/crosstool-ng/issues/
[ERROR]  >>
[ERROR]  >>  Make sure your report includes all the information pertinent to this issue.
[ERROR]  >>  Read the bug reporting guidelines here:
[ERROR]  >>      http://crosstool-ng.github.io/support/
[ERROR]  
[ERROR]  (elapsed: 12:29.89)
gmake[1]: *** [ct-ng:261: build] Error 2
*** Error code 2

Stop.
make: stopped making "build" in /usr/ports/devel/xtensa-esp-elf