Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devel/xtensa-esp-elf: build failure: lazy-static.rs-1.4.0: No such file or directory #59

Open
SB211 opened this issue Sep 6, 2024 · 1 comment

Comments

@SB211
Copy link

SB211 commented Sep 6, 2024

On recent FreeBSD CURRENT and 14-STABLE, building recently pulled devel/extensa-esp-elf port fails in the error shown below (branch devel, commit 5ac10dc (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
@trombik
Copy link
Owner

trombik commented Sep 7, 2024

run the following commands and paste the complete log here.

make clean
make

also use https://github.com/freebsd/poudriere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants