[package - 132powerpc64le-quarterly][devel/xtensa-esp32-elf] Failed for xtensa-esp32-elf-1.22.0.g20200907_3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 01 Dec 2023 14:14:23 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/foul2/data/132powerpc64le-quarterly/84b4661ec108/logs/xtensa-esp32-elf-1.22.0.g20200907_3.log
Build URL:      https://pkg-status.freebsd.org/foul2/build.html?mastername=132powerpc64le-quarterly&build=84b4661ec108
Log:

=>> Building devel/xtensa-esp32-elf
build started at Fri Dec  1 14:00:32 UTC 2023
port directory: /usr/ports/devel/xtensa-esp32-elf
package name: xtensa-esp32-elf-1.22.0.g20200907_3
building for: FreeBSD 132powerpc64le-quarterly-job-07 13.2-RELEASE FreeBSD 13.2-RELEASE powerpc
maintained by: leres@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  3480 Oct  3 01:04 /usr/ports/devel/xtensa-esp32-elf/Makefile
Ports top last git commit: 84b4661ec
Ports top unclean checkout: no
Port dir last git commit: 2195304f9
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.0-1258-gbc38e2e6
Host OSVERSION: 1500000
Jail OSVERSION: 1302001
Job Id: 07

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1302001
UNAME_v=FreeBSD 13.2-RELEASE
UNAME_r=13.2-RELEASE
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
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.0-1258-gbc38e2e6
MASTERMNT=/usr/local/poudriere/data/.m/132powerpc64le-quarterly/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/132powerpc64le-quarterly/07/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=132powerpc64le-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/132powerpc64le-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.3.0-1258-gbc38e2e6
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.9" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/.cache  HOME=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/xtensa-esp32-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-esp32-elf/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.71
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/.cache  HOME=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/xtensa-esp32-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-esp32-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
 _AUTOCONF=2.71 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc10" CFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -fno-strict-aliasing "  CPP="cpp10" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 " LIBS=""  CXX="g++10" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 "  MANPREFIX="/usr/local" 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-esp32-elf GCCVER=5.2.0 PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xtensa-esp32-elf"  EXAMPLESDIR="share/examples/xtensa-esp32-elf"  DATADIR="share/xtensa-esp32-elf"  WWWDIR="www/xtensa-esp32-elf"  ETCDIR="etc/xtensa-esp32-elf"
--End PLIST_SUB--

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

---Begin make.conf---
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--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
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-esp32-elf-1.22.0.g20200907_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.8.pkg
[132powerpc64le-quarterly-job-07] Installing pkg-1.20.8...
[132powerpc64le-quarterly-job-07] Extracting pkg-1.20.8: .......... done
===>   xtensa-esp32-elf-1.22.0.g20200907_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of xtensa-esp32-elf-1.22.0.g20200907_3
===========================================================================
=======================<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-esp32-elf-1.22.0.g20200907_3 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-esp32-elf-1.22.0.g20200907_3 for building
=> SHA256 Checksum OK for binutils-2.25.1.tar.bz2.
=> SHA256 Checksum OK for expat-2.1.0.tar.gz.
=> SHA256 Checksum OK for gcc-5.2.0.tar.bz2.
=> SHA256 Checksum OK for gdb-7.10.tar.xz.
=> SHA256 Checksum OK for gmp-6.0.0a.tar.xz.
=> SHA256 Checksum OK for isl-0.14.tar.xz.
=> SHA256 Checksum OK for mpc-1.0.3.tar.gz.
=> SHA256 Checksum OK for mpfr-3.1.3.tar.xz.
=> SHA256 Checksum OK for ncurses-6.0.tar.gz.
=> SHA256 Checksum OK for newlib-2.2.0.tar.gz.
=> SHA256 Checksum OK for espressif-crosstool-NG-1.22.0.g20200907-1.22.0-97-gc752ad5_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-esp32-elf-1.22.0.g20200907_3 for building
===>  Extracting for xtensa-esp32-elf-1.22.0.g20200907_3
=> SHA256 Checksum OK for binutils-2.25.1.tar.bz2.
=> SHA256 Checksum OK for expat-2.1.0.tar.gz.
=> SHA256 Checksum OK for gcc-5.2.0.tar.bz2.
=> SHA256 Checksum OK for gdb-7.10.tar.xz.
=> SHA256 Checksum OK for gmp-6.0.0a.tar.xz.
=> SHA256 Checksum OK for isl-0.14.tar.xz.
=> SHA256 Checksum OK for mpc-1.0.3.tar.gz.
=> SHA256 Checksum OK for mpfr-3.1.3.tar.xz.
=> SHA256 Checksum OK for ncurses-6.0.tar.gz.
=> SHA256 Checksum OK for newlib-2.2.0.tar.gz.
=> SHA256 Checksum OK for espressif-crosstool-NG-1.22.0.g20200907-1.22.0-97-gc752ad5_GH0.tar.gz.
/bin/mkdir -p /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/tarballs
/bin/ln -s /portdistfiles/binutils-2.25.1.tar.bz2 /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/tarballs
/bin/ln -s /portdistfiles/expat-2.1.0.tar.gz /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/tarballs
/bin/ln -s /portdistfiles/gcc-5.2.0.tar.bz2 /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/tarballs
/bin/ln -s /portdistfiles/gdb-7.10.tar.xz /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/tarballs
/bin/ln -s /portdistfiles/gmp-6.0.0a.tar.xz /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/tarballs
/bin/ln -s /portdistfiles/isl-0.14.tar.xz /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/tarballs
/bin/ln -s /portdistfiles/mpc-1.0.3.tar.gz /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/tarballs
/bin/ln -s /portdistfiles/mpfr-3.1.3.tar.xz /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/tarballs
/bin/ln -s /portdistfiles/ncurses-6.0.tar.gz /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/tarballs
/bin/ln -s /portdistfiles/newlib-2.2.0.tar.gz /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/tarballs
/bin/mkdir -p /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/local-patches/gdb/7.10
cp -f /usr/ports/devel/xtensa-esp32-elf/files/0001-gdb-7.12.1.patch /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/local-patches/gdb/7.10
echo CT_LOG_PROGRESS_BAR=n >>  /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/samples/xtensa-esp32-elf/crosstool.config
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
<snip>
checking for absolute path to objdump... /usr/local/bin/objdump
checking for greadelf... no
checking for readelf... readelf
checking for absolute path to readelf... /usr/bin/readelf
checking for gperf... gperf
checking for absolute path to gperf... /usr/local/bin/gperf
checking for bison... bison
checking for flex... flex
checking for makeinfo... makeinfo
checking for cut... cut
checking for stat... stat
checking for readlink... readlink
checking for wget... wget
checking for tar... tar
checking for gzip... gzip
checking for bzip2... bzip2
checking for help2man... help2man
checking for gpatch... gpatch
checking for absolute path to gpatch... /usr/local/bin/gpatch
checking for bash >= 3.1... /usr/local/bin/bash
checking for GNU awk... /usr/local/bin/gawk
checking for GNU make >= 3.80... /usr/local/bin/gmake
checking whether /usr/local/bin/gmake sets $(MAKE)... yes
checking for make 3.81... no
checking for GNU libtool >= 1.5.26... /usr/local/bin/libtool
checking for GNU libtoolize >= 1.5.26... /usr/local/bin/libtoolize
checking for GNU automake >= 1.10... /usr/local/bin/automake
checking for the type used in gperf declarations... size_t
checking for xz... xz
checking for cvs... no
checking for svn... no
checking for inline... inline
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for egrep... (cached) /usr/local/bin/grep -E
checking for GNU libc compatible malloc... yes
checking for GNU libc compatible realloc... yes
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for libintl.h... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether gettext is declared... yes
checking for library containing bindtextdomain... -lintl
checking for ncurses/ncurses.h... no
checking for ncurses/curses.h... no
checking for ncursesw/curses.h... no
checking for ncurses.h... yes
checking for library containing initscr... -lncursesw
checking for library containing tgetent... none required
configure: overiding all of --prefix and the likes, because --enable-local was set
configure: creating ./config.status
config.status: creating Makefile
cd /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5 &&  /usr/bin/env -uMAKELEVEL -uMAKEFLAGS -u.MAKE.LEVEL.ENV CT_ALLOW_BUILD_AS_ROOT_SURE=1  CT_FORBID_DOWNLOAD=y  GREP=/usr/local/bin/grep  LD_RUN_PATH=/usr/local/lib/gcc10  LDFLAGS=-I/usr/local/lib  PATH=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin  gmake install && /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/gcc10  LDFLAGS=-I/usr/local/lib  PATH=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin ./ct-ng xtensa-esp32-elf
  SED    'ct-ng'
  SED    'scripts/crosstool-NG.sh'
  SED    'scripts/saveSample.sh'
  SED    'scripts/showTuple.sh'
  GEN    'config/configure.in'
  GEN    'paths.mk'
  GEN    'paths.sh'
  DEP    'nconf.gui.dep'
  DEP    'nconf.dep'
  DEP    'lxdialog/yesno.dep'
  DEP    'lxdialog/util.dep'
  DEP    'lxdialog/textbox.dep'
  DEP    'lxdialog/menubox.dep'
  DEP    'lxdialog/inputbox.dep'
  DEP    'lxdialog/checklist.dep'
  DEP    'mconf.dep'
  DEP    'conf.dep'
  BISON  'zconf.tab.c'
  GPERF  'zconf.hash.c'
  LEX    'zconf.lex.c'
  DEP    'zconf.tab.dep'
  CC     'zconf.tab.o'
  CC     'conf.o'
  LD     'conf'
  CC     'lxdialog/checklist.o'
  CC     'lxdialog/inputbox.o'
  CC     'lxdialog/menubox.o'
  CC     'lxdialog/textbox.o'
  CC     'lxdialog/util.o'
  CC     'lxdialog/yesno.o'
  CC     'mconf.o'
  LD     'mconf'
  CC     'nconf.o'
  CC     'nconf.gui.o'
  LD     'nconf'
  SED    'docs/ct-ng.1'
  GZIP   'docs/ct-ng.1.gz'
gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5'
  MKDIR config.gen
  IN    config.gen/arch.in
  IN    config.gen/kernel.in
  IN    config.gen/cc.in
  IN    config.gen/binutils.in
  IN    config.gen/libc.in
  IN    config.gen/debug.in
  CONF  config/config.in
#
# 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-esp32-elf"
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5'
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for xtensa-esp32-elf-1.22.0.g20200907_3
cd /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5 && /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/gcc10  LDFLAGS=-I/usr/local/lib  PATH=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin ./ct-ng build
gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5'
[INFO ]  Performing some trivial sanity checks
[INFO ]  Build started 20231201.140222
[INFO ]  Building environment variables
[INFO ]  =================================================================
[INFO ]  Retrieving needed toolchain components' tarballs
[INFO ]  Retrieving needed toolchain components' tarballs: done in 1.00s (at 00:12)
[INFO ]  =================================================================
[INFO ]  Extracting and patching toolchain components
[INFO ]  Extracting and patching toolchain components: done in 119.00s (at 02:11)
[INFO ]  =================================================================
[INFO ]  Installing ncurses for build
[INFO ]  Installing ncurses for build: done in 135.00s (at 04:26)
[INFO ]  =================================================================
[INFO ]  Installing GMP for host
[INFO ]  Installing GMP for host: done in 243.00s (at 08:29)
[INFO ]  =================================================================
[INFO ]  Installing MPFR for host
[INFO ]  Installing MPFR for host: done in 112.00s (at 10:21)
[INFO ]  =================================================================
[INFO ]  Installing ISL for host
[ERROR]    collect2: error: ld returned 1 exit status
[ERROR]    gmake[4]: *** [Makefile:1165: isl_cat] Error 1
[ERROR]    /usr/local/bin/ld: collect2: error: ld returned 1 exit status
[ERROR]    collect2: error: ld returned 1 exit status
[ERROR]    gmake[4]: *** [Makefile:1189: isl_polyhedron_sample] Error 1
[ERROR]    gmake[4]: *** [Makefile:1181: isl_polyhedron_detect_equalities] Error 1
[ERROR]    collect2: error: ld returned 1 exit status
[ERROR]    collect2: error: ld returned 1 exit status
[ERROR]    gmake[4]: *** [Makefile:1177: isl_pip] Error 1
[ERROR]    gmake[4]: *** [Makefile:1185: isl_polyhedron_minimize] Error 1
[ERROR]    collect2: error: ld returned 1 exit status
[ERROR]    gmake[4]: *** [Makefile:1173: isl_codegen] Error 1
[ERROR]    collect2: error: ld returned 1 exit status
[ERROR]    gmake[4]: *** [Makefile:1197: isl_test] Error 1
[ERROR]    collect2: error: ld returned 1 exit status
[ERROR]    gmake[4]: *** [Makefile:1161: isl_bound] Error 1
[ERROR]    collect2: error: ld returned 1 exit status
[ERROR]    gmake[4]: *** [Makefile:1169: isl_closure] Error 1
[ERROR]    collect2: error: ld returned 1 exit status
[ERROR]    gmake[4]: *** [Makefile:1193: isl_polytope_scan] Error 1
[ERROR]    gmake[3]: *** [Makefile:1418: all-recursive] Error 1
[ERROR]    gmake[2]: *** [Makefile:1040: all] Error 2
[ERROR]  
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing ISL for host'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR]  >>        called from: do_isl_backend[scripts/build/companion_libs/121-isl.sh@125]
[ERROR]  >>        called from: do_isl_for_host[scripts/build/companion_libs/121-isl.sh@73]
[ERROR]  >>        called from: do_companion_libs_for_host[scripts/build/companion_libs.sh@36]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@646]
[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]  >>      'docs/B - Known issues.txt'
[ERROR]  
[ERROR]  (elapsed: 12:01.00)
gmake[1]: *** [ct-ng:152: build] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5'
*** Error code 2

Stop.
make: stopped in /usr/ports/devel/xtensa-esp32-elf