On recent FreeBSD CURRENT and 14-STABLE, building recently pulled devel/extensa-esp-elf port fails in the error shown below (branch devel, commit 5ac10dc665a7cbe6ab319d9fec3249b5e1b8baa4 (HEAD -> devel, origin/devel, origin/HEAD).
[...]
===> Configuring for xtensa-esp-elf-idf53-13.2.0.20240530
/usr/bin/sed -i.bak -e 's|%%ESPRESSIF_VERSION%%|esp-13.2.0_20240530|g' /usr/ports/devel/xtensa-esp-elf/work-idf53/crosstool-NG-esp-13.2.0_20240530/maintainer/git-version-gen
/usr/bin/sed -i.bak -e 's|%%WRKDIR%%|/usr/ports/devel/xtensa-esp-elf/work-idf53|g' -e 's|%%ESPRESSIF_VERSION%%|esp-13.2.0_20240530|g' -e 's|%%PYTHON_VERSION%%|python3.11|g' -e 's|%%TAGNAME%%||g' -e 's|%%ESPRESSIF_NEWLIB_TAG%%|esp-4.3.0_20240903|' -e 's|%%ESPRESSIF_GCC_TAG%%|esp-13.2.0_20240530|' -e 's|%%ESPRESSIF_BINUTILS_TAG%%|esp-2.41.0_20240530|' /usr/ports/devel/xtensa-esp-elf/work-idf53/crosstool-NG-esp-13.2.0_20240530/samples/xtensa-esp-elf/crosstool.config
echo CT_FORBID_DOWNLOAD=y CT_PARALLEL_JOBS=4 CT_LOG_DEBUG=y | /usr/bin/tr '[[:space:]]' '\n' >> /usr/ports/devel/xtensa-esp-elf/work-idf53/crosstool-NG-esp-13.2.0_20240530/samples/xtensa-esp-elf/crosstool.config
/usr/bin/sed -i.bak -e 's|%%PREFIX%%|/usr/local|g' /usr/ports/devel/xtensa-esp-elf/work-idf53/crosstool-NG-esp-13.2.0_20240530/scripts/crosstool-NG.sh
/usr/bin/sed -i.bak -e 's|%%PREFIX%%|usr/local|g' /usr/ports/devel/xtensa-esp-elf/work-idf53/crosstool-NG-esp-13.2.0_20240530/esp-toolchain-bin-wrappers/gnu-xtensa-toolchian/main.rs
===> Cargo config:
/bin/mkdir -p /usr/ports/devel/xtensa-esp-elf/work-idf53/crosstool-NG-esp-13.2.0_20240530/esp-toolchain-bin-wrappers/gnu-xtensa-toolchian/vendor
/bin/mkdir -p /usr/ports/devel/xtensa-esp-elf/work-idf53/crosstool-NG-esp-13.2.0_20240530/esp-toolchain-bin-wrappers/gnu-xtensa-toolchian/vendor/../.cargo
/bin/mv /usr/ports/devel/xtensa-esp-elf/work-idf53/lazy-static.rs-1.4.0 /usr/ports/devel/xtensa-esp-elf/work-idf53/crosstool-NG-esp-13.2.0_20240530/esp-toolchain-bin-wrappers/gnu-xtensa-toolchian/vendor/lazy_static
mv: rename /usr/ports/devel/xtensa-esp-elf/work-idf53/lazy-static.rs-1.4.0 to /usr/ports/devel/xtensa-esp-elf/work-idf53/crosstool-NG-esp-13.2.0_20240530/esp-toolchain-bin-wrappers/gnu-xtensa-toolchian/vendor/lazy_static/lazy-static.rs-1.4.0: No such file or directory
*** Error code 1
Stop.
make: stopped making "build" in /usr/ports/devel/xtensa-esp-elf
===>>> make build failed for devel/xtensa-esp-elf
===>>> Aborting update
On recent FreeBSD CURRENT and 14-STABLE, building recently pulled devel/extensa-esp-elf port fails in the error shown below (branch devel, commit 5ac10dc665a7cbe6ab319d9fec3249b5e1b8baa4 (HEAD -> devel, origin/devel, origin/HEAD).